The FreeBSD Diary: 2006-02-05 - 2006-02-25
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 25-Feb : Bacula - Digital DLT MiniLibrary - TL891 Getting Bacula working with a tape library http://freebsddiary.org/digital-tl891.php?2 10-Feb : Is your ISP blocking port 25? Here's a Postfix solution. Don't submit! Use submission. http://freebsddiary.org/postfix-transport.php?2 5-Feb : IPv6 - getting your LAN connected IPv6 avoids NAT, and gives you more than you'll ever need. http://freebsddiary.org/ipv6.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone recognize this panic?
On Sat, Feb 25, 2006 at 11:26:00PM -0800, Garrett Cooper wrote: Kris Kennaway wrote: On Sat, Feb 25, 2006 at 10:22:59PM -0800, Garrett Cooper wrote: re0: diagnostic failed to receive packet in loopback mode re0: attach aborted due to hardware diagnostic failure panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862 re0 is a Linksys EG-1032, less than two months old. It was connected, but had zero traffic at the time of the crash. Before I take this to current@ - has anyone seen anything like this before? A quick check of the archives and the web in general didn't show anything. You need to at least get a traceback from the panic, and preferably a crashdump. Kris Probably should pass this onto some devs. It seems like a null value was passed for locking a mutex in the OS, which is important. Having a traceback would be good though... but at least mentioning that the issue laid with the re (?) kernel driver would be a start. Unfortunately without a traceback the panic string is useless since it gives you no clue about how the system got into that state. This kind of panic is often a secondary effect of some other problem. Kris True, but at least you'd be able to find a way to the affected code... After that it's just tests and debugging =\... I don't understand what you're suggesting; how do you find the affected code without a traceback? Kris I'm thinking of the old fashioned way of doing things... reading tons of code. Lol. OK, let us know if you find anything :^) Kris pgpiFPNW8QdhR.pgp Description: PGP signature
cloning freebsd from desktop to laptop computer.
I've got laptop Toshiba Portege 3480CT(no floppy, no CD-ROM, no booting from USB flash supported etc. 40G HDD) and a desktop computer running FreeBSD 6.0(athlon 3200+, WD 80G HDD). I need to install freebsd on to my laptop computer. The question is, is it posible to copy the freebsd patition to the laptop computer somehow, so it would remain bootable? I tried to copy my ad0s2(my BSD partition) to ad0s3 on laptop, using dd.exe for windows, and all i get is Boot error. I'm using freebsd bootloader on desktop, and BootMagic on laptop, could that be a problem? any help or suggestions are appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 10 years of The Complete FreeBSD (5150)
Alle 23:18, venerdì 24 febbraio 2006, Bill Schoolcraft ha scritto: Greg, I want to thank you for you help in making FreeBSD what it is today. ... I want to thank Greg too for his great book. As an experienced linux user after reading it I was able to move safely and -above all- in a logical organized way from linux to freebsd 5.3. Any other way (asking the mailing lists, e.g.) would have been fragmented, tiring, boring, slippery, etc. I meanyou can effectively ask the mailing lists once you know about the basic and skeleton of FreeBSD. Thanks Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A question on console and UTF-8
On 2/26/06, Igor Robul [EMAIL PROTECTED] wrote: On Wed, Feb 22, 2006 at 09:35:51PM +0200, a wrote: How to force a console to use a multibyte character set (UTF-8)? I use FreeBSD 6.0-STABLE. AFAIK, FreeBSD does not support UTF-8 locales on text console. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Most modern PCs do not support it by design without ugly framebuffer hacks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Desperate - FreeBSD 6.0 Freezing
Derek, all, Regarding my recent system freeze ups, here is a list of software and hardware. Some other notes: At one point a week or so ago, I setup a ipfw firewall rule to allow access in port 3396 for a client who required remote access to it. I am still awaiting work to see if thier connection attempts coincided with the freez ups. I have since removed the firewall rule. The server has ran flawleslly sine November. No hardware changes have been made since it was installed and tested. It is running a custom kernel, because of the DRAC 4 card - it needs to use a usb keyboard, as noted in dmesg below. What I am really looking for is simply a way to see what software / hardware crashes the machine. Once identifies, should be easy to fix. It is a Dell PowerEdge 1850, Vintage November 2005. Basic hardware (dmesg below). CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU) Intel(R) PRO/1000 (x2 emo, em1) da0: SEAGATE ST373207LC D701 Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C) Dell DRAC 4 remote access card. (on mother board dedicated riser). real memory = 536608768 (511 MB) avail memory = 515784704 (491 MB) Ther are no other external devices attached, no keyboard,. no mouse or monitor. Basic Software: FreeBSD 6.0-RELEASE MySQL 4.1.13 (installed from ports) Apache 2.1.4 PHP 4.4.0 (from ports, installed into apache as static mod). vm-pop3d Exim 4.52-0 (from ports) spamassassin (running as deamon) perl 5.8.7 proftpd 1.3.0.rc2 IPA, version 1.3.6 (FreeBSD/i386 6.0-RELEASE) ** Begin dmesg* Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #1: Wed Jan 25 09:15:04 EST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DS9 ACPI APIC Table: DELL PE BKC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf43 Stepping = 3 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS E2,SS,HTT,TM,PBE Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14 AMD Features=0x2010NX,LM Hyperthreading: 2 logical CPUs real memory = 536608768 (511 MB) avail memory = 515784704 (491 MB) ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 4 ioapic2: WARNING: intbase 64 != expected base 56 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 32-55 on motherboard ioapic2 Version 2.0 irqs 64-87 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE BKC on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNKA irq 11 on acpi0 pci_link1: ACPI PCI Link LNKB irq 3 on acpi0 pci_link2: ACPI PCI Link LNKC irq 7 on acpi0 pci_link3: ACPI PCI Link LNKD irq 10 on acpi0 pci_link4: ACPI PCI Link LNKE irq 11 on acpi0 pci_link5: ACPI PCI Link LNKF irq 10 on acpi0 pci_link6: ACPI PCI Link LNKG on acpi0 pci_link7: ACPI PCI Link LNKH irq 5 on acpi0 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1 pci2: ACPI PCI bus on pcib2 mpt0: LSILogic 1030 Ultra4 Adapter port 0xec00-0xecff mem 0xdfdf-0xdfdf,0xdfde-0xdfde irq 34 at device 5.0 o n pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.12.0 mpt0: Unhandled Event Notify Frame. Event 0xa. pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1 pci3: ACPI PCI bus on pcib3 pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0 pci4: ACPI PCI bus on pcib4 pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0 pci5: ACPI PCI bus on pcib5 pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5 pci6: ACPI PCI bus on pcib6 em0: Intel(R) PRO/1000 Network Connection, Version - 2.1.7 port 0xdcc0-0xdcff mem 0xdfae-0xdfaf irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:14:22:1c:d5:7e em0: Speed:N/A Duplex:N/A pcib7: ACPI PCI-PCI bridge at device 0.2 on pci5 pci7: ACPI PCI bus on pcib7 em1: Intel(R) PRO/1000 Network Connection, Version - 2.1.7 port 0xccc0-0xccff mem 0xdf8e-0xdf8f irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:14:22:1c:d5:7f em1: Speed:N/A Duplex:N/A pcib8: ACPI PCI-PCI bridge at device 6.0 on pci0 pci8: ACPI PCI bus on pcib8 uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xace0-0xacff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801EB (ICH5) USB controller USB-A on
Re: Unable to find 'automake'
Kris Kennaway wrote: On Sat, Feb 25, 2006 at 06:23:42PM -0500, Gerard Seibert wrote: Using FreeBSD 5.4 While building 'portmanager', I noticed this error message: Making all in libMG Making all in src cd ../.. /bin/sh /usr/ports/sysutils/portmanager/work/portmanager-0.4.1/missing --run automake --gnu libMG/src/Makefile automake: not found WARNING: `automake' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. Verify that your system clock is correct. Kris The system clock is right on. Why would that affect it anyway? Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with Samba after upgrade
I just updated to the newest version of Samba (3.0.21b,1). The old version was working fine, but since there were a number of ports that I had that were out dated, I simply updated them all. The problem is that Samba does not appear to be working correctly now. I can access the FreeBSED machine from any of the WinXP machines without incident. However, the reverse is not true. I have tried running the following command which produces this output: smbclient -L boss -U username%password timeout connecting to 192.158.0.4:445 timeout connecting to 192.158.0.4:139 Error connecting to 192.158.0.4 (Operation already in progress) Connection to boss failed Absolutely nothing has changed other than the updating of Samba and a few other ports -- mostly KDE. The WinXP machines are untouched. There is no new firewall involved, etc. I posted this on the Samba list, but did not receive any response. Perhaps someone here might have an idea. Thanks! -- Gerard Seibert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to find 'automake'
On Sun, Feb 26, 2006 at 05:17:30AM -0500, Gerard Seibert wrote: Kris Kennaway wrote: On Sat, Feb 25, 2006 at 06:23:42PM -0500, Gerard Seibert wrote: Using FreeBSD 5.4 While building 'portmanager', I noticed this error message: Making all in libMG Making all in src cd ../.. /bin/sh /usr/ports/sysutils/portmanager/work/portmanager-0.4.1/missing --run automake --gnu libMG/src/Makefile automake: not found WARNING: `automake' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. Verify that your system clock is correct. Kris The system clock is right on. Why would that affect it anyway? If file timestamps are off then it will think the auto* files are out of date and need to be regenerated. Kris pgpOIOX6UqNBz.pgp Description: PGP signature
lpr - cups
I'm thinking of changing my printing system from good-old lpr to cups. Mainly because my (home) network computers can find the main printer more easy with cups than with /etc/printcap (windows and os-x machines) Installing cups should not be too difficult. I have a very goo how2 for it. However, what about the printing filters? With lpr I use apsfilter and that works very very well for all kind of printjobs. Will cups take care of this too? What do I look for as a replacement for apsfilter then? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updating OpenSSH
Daniel A. wrote: So, basically, if I want the newest version of OpenSSH running on my system, I have to not use the one shipped with 6.0-RELEASE, and install OpenSSH from ports? Please don't toppost. Installing from ports you'll get version 3.6.1. Before you get paranoid, check the changelog - are there any changes that you actually need? do they provide increased security? Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
solution: pf with multiple external interfaces for incoming and going traffic.
I am posting this soultion in the hope that it might help someone else that has been searching for the answer to running multiple external interfaces and wishes to load balance outgoing private lan traffic and also have all these interfaces available for incoming connections to a dmz server. I claim no credit for this since it is a formulation of many posts to various mailing lists. example: ## NAT section #Standard natting for outgoing connections. nat on $ext_if1 from {$private_net, $dmz_srv} to any - $ext_if1_ip nat on $ext_if2 from {$private_net, $dmz_srv} to any - $ext_if2_ip nat on $ext_if3 from {$private_net, $dmz_srv} to any - $ext_if3_ip #These rdr rules send the incoming connections on the ext_if's to the dmz server. rdr on $ext_if1 inet proto tcp from any to $ext_if1_ip port { 25, 80, 110 } - $dmz_srv rdr on $ext_if2 inet proto tcp from any to $ext_if2_ip port { 25, 80, 110 } - $dmz_srv rdr on $ext_if3 inet proto tcp from any to $ext_if3_ip port { 25, 80, 110 } - $dmz_srv This rdr rule sends traffic from the lan destined for services on the ext interfaces to the dmz since the previous rdr rules will have no effect. rdr on $int_if inet proto tcp to {$ext_if1_ip, $ext_if2_ip, $ext_if3_ip } port { 80, 25, 110 } - $dmz_srv ## RULES section #The following rules ensure that traffic incoming on the various interfaces are routed back out the same interface it arrived on. pass in quick on $ext_if1 reply-to ( $ext_if1 $ext_if1_router ) inet proto tcp from any to $dmz_srv port { 25, 80, 110 } flags S/SA keep state pass in quick on $ext_if2 reply-to ( $ext_if2 $ext_if2_router ) inet proto tcp from any to $dmz_srv port { 25, 80, 110 } flags S/SA keep state pass in quick on $ext_if3 reply-to ( $ext_if3 $ext_if1_router ) inet proto tcp from any to $dmz_srv port { 25, 80, 110 } flags S/SA keep state #Now to load balance the outgoing traffic. The previous sections are not needed if you do not accept incoming connections. pass in on $int_if route-to { ($ext_if1 $ext_if1_router), ($ext_if2 $ext_if2_router), ($ext_if3 $ext_if3_router) } round-robin from $private_net to any keep state # The following ensure that packets originating from the lan are routed out the correct interface. Although i have found my setup works fine without these, the pf guru's recommend it. pass out on $ext_if1 route-to ($ext_if2 $ext_if2_router) from $ext_if2 to any pass out on $ext_if1 route-to ($ext_if3 $ext_if3_router) from $ext_if3 to any pass out on $ext_if2 route-to ($ext_if1 $ext_if1_router) from $ext_if1 to any pass out on $ext_if2 route-to ($ext_if3 $ext_if3_router) from $ext_if3 to any pass out on $ext_if3 route-to ($ext_if1 $ext_if1_router) from $ext_if1 to any pass out on $ext_if3 route-to ($ext_if2 $ext_if2_router) from $ext_if2 to any Be advised that there could be errors as this was typed in a rush and adapted from our own ruleset for the sake of ease of reading. -- Regards Leon Botes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
imap problem with blackhole
Hello! I have problem with imap. Works fine if blackhole (tcp) is set to 0, but I set it 1 or 2 imap stops responding (timeouts). Dovecot imap and freebsd 5.4. So. What could be case here? -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bandwidth Problems with Freebsd 5.x
Donald J. O'Neill a écrit : I guess you're right to say there's a misunderstanding. Ok I understand. I would want to say on this post that I made tests from the BSD box to a Debian box, both located on the 100 Mbits/s network. And I made others tests between the same BSD box (still located on the 100 Mbits/s network) and my home computer behind my ADSL Line. Regards, ptitoliv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Palm TX hotsync question.
hi all, I have purchased Palm TX. The big difference with old palms is that serial device (ucom/cuaU0) is always present -- not only whan I press hotsync buttom. In this case the most progs think is reason for sync and tries to connect with palm. What really happens? When I insert Palm into credle I see message: Feb 26 15:40:19 coredumped kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 5 kpilot always tries to sync... without success because palm doesn't wnt sync until I will press buttom. I press hotsync buttom then I see: Feb 26 15:42:45 coredumped kernel: ucom0: at uhub5 port 4 (addr 5) disconnected Feb 26 15:42:45 coredumped kernel: All threads purged from cuaU0 Feb 26 15:42:45 coredumped kernel: All threads purged from ttyU0 Feb 26 15:42:45 coredumped kernel: ucom0: detached Feb 26 15:42:46 coredumped kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 5 After the moment Feb 26 15:42:46 I can say kpilot do hotsync. It's very uncomfortable. thank you. -- Best wishes, Coredumped. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: imap problem with blackhole
Perttu Laine wrote on Sunday 26 February 2006 13:26: Hello! I have problem with imap. Works fine if blackhole (tcp) is set to 0, but I set it 1 or 2 imap stops responding (timeouts). Dovecot imap and freebsd 5.4. So. What could be case here? Strange, I use FreeBSD-5.4 and dovecot with imap as well, but it works fine after setting net.inet.tcp.blackhole=1. Perhaps your mailclient reads a (wrong) closed port and hangs after not receiveing a rst-packet ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to find 'automake'
Kris Kennaway wrote: On Sun, Feb 26, 2006 at 05:17:30AM -0500, Gerard Seibert wrote: Kris Kennaway wrote: On Sat, Feb 25, 2006 at 06:23:42PM -0500, Gerard Seibert wrote: Using FreeBSD 5.4 While building 'portmanager', I noticed this error message: Making all in libMG Making all in src cd ../.. /bin/sh /usr/ports/sysutils/portmanager/work/portmanager-0.4.1/missing --run automake --gnu libMG/src/Makefile automake: not found WARNING: `automake' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. Verify that your system clock is correct. Kris The system clock is right on. Why would that affect it anyway? If file timestamps are off then it will think the auto* files are out of date and need to be regenerated. Kris Thanks for the explanation. Unfortunately, that does not appear to be the source of the problem. Obviously, this is not a critical situation; however, I would like to nail down why it is happening. Do you have any other avenues that I might explore? Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: imap problem with blackhole
On 2/26/06, Kees [EMAIL PROTECTED] wrote: I have problem with imap. Works fine if blackhole (tcp) is set to 0, but I set it 1 or 2 imap stops responding (timeouts). Dovecot imap and freebsd 5.4. So. What could be case here? Strange, I use FreeBSD-5.4 and dovecot with imap as well, but it works fine after setting net.inet.tcp.blackhole=1. Perhaps your mailclient reads a (wrong) closed port and hangs after not receiveing a rst-packet ? Well it's same with every client (thunderbird, oe, the bat, nokia 9300 communicator) and even squirrelmail webmail which is on same machine. -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: imap problem with blackhole
Oh damn. It was problem with dummy sysadmin only (me). I tried to connect localhost instead of real hostname and dovecot didn't answer there. So. You all can forget earlier posts. :) -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Desperate - FreeBSD 6.0 Freezing
On 26/2/06 09:24, Grant Peel [EMAIL PROTECTED] wrote: ACPI APIC Table: DELL PE BKC Ha ha - does that stand for what I think it stands for? Ceri -- That must be wonderful! I don't understand it at all. -- Moliere ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless Keyboard/Mouse: how to configure?
Hi, I have a wireless combo of keyboard and mouse. The basic functionality is OK. However, some of the extra features do not work yet: 1) The middle mouse button is also a scroll wheel. I can't get the scroll wheel working. I have added the option ZAxisMapping 4 5 to /etc/X11/xorg.conf, but that does not help. What else should I try? 2) The keyboard has a row of special keys, which should do things like: Back, Forward (in browser), Volume up/down/mute (sound), play/stop/next/previous (in media player). With xev I see the key sequence of these keys (e.g. keycode 176 and 174 for volume up/down). Is this Windows only stuff, or could this be made to work under Xorg/FreeBSD? Thanks, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
snd_neomagic crashes on FreeBSD 5.4
Hello! sorry for troubling you, I'm and absolute FreeBSD beginner and I need some help with configuring devices. Last week I tried to install FreeBSD on my laptop, a Omnibook 900, wich has been consdered FreeBSD Compatible long time ago. Everything was fine, at least I can access my FreeBSD login and even run KDE, but it is far from being tuned. I first notice each time I try to kldload snd_neomagic to have my sound card working I have a prompt saying: pcm0: NeoMagic 256AV mem 0xfe70-0xfe7f,0xfe0-0xfe3f irq 10 at device 0.1 on pci1 and system frozes. The same happens if i try to statically compile snd_nemagic into kernel. I started checking all IRQ and settings: I know audio must use IRQ 5 for multimedia devices, and IRQ 10 shared with cardbus and USB, for audio, I tried to add lines on device.hints but having pcm0 on pci1 is useless. vmstat -i says cbb0 and cbb1 are on irq 10, but says nothing about usb (wich works properly) or pcm I also noticed my serial port (sio0) is not probed. Any suggestion? should I try anything to debug it better? Thanks a lot Lila Here is my dmesg if anybody can found it of any use Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC module_register: module uhub/umass already exists! Module uhub/umass failed to register: 17 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (297.79-MHz 686-class CPU) Origin = GenuineIntel Id = 0x66a Stepping = 10 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,MMX,FXSR real memory = 100663296 (96 MB) avail memory = 88715264 (84 MB) pnpbios: Bad PnP BIOS data checksum npx0: math processor on motherboard npx0: INT 16 interface acpi0: HP-MCD CJ RSDT on motherboard acpi0: Power Button (fixed) unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported unknown: memory range not supported acpi_ec0: Embedded Controller: GPE 0x9 port 0x66,0x62 on acpi0 Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0 cpu0: ACPI CPU (3 Cx states) on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 acpi_lid0: Control Method Lid Switch on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82443BX (440 BX) host to PCI bridge at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pci1: multimedia, audio at device 0.1 (no driver attached) cbb0: TI1225 PCI-CardBus Bridge at device 4.0 on pci0 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 cbb1: TI1225 PCI-CardBus Bridge at device 4.1 on pci0 cardbus1: CardBus bus on cbb1 pccard1: 16-bit PCCard bus on cbb1 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 UDMA33 controller port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xfcc0-0xfcdf irq 10 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: bridge at device 7.3 (no driver attached) acpi_tz0: Thermal Zone on acpi0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_acad0: AC Adapter on acpi0 acpi_cmbat0: Control Method Battery on acpi0 acpi_cmbat1: Control Method Battery on acpi0 fdc0: floppy drive controller (FDE) port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: ECP parallel printer port port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 297786406 Hz quality 800 Timecounters tick every 10.000 msec TUPLE: LINKTARGET [3]: 43 49 53
Re: Bandwidth Problems with Freebsd 5.x
Hello Everybody, I made lots of searches on the Internet and I found something about the option net.inet.tcp.inflight.enable. If I set this value to 0, my bandwitdh problems are resolved. Does anybody knows something about this options and why can it be the origin of this problem ? Regards, Ptitoliv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: imap problem with blackhole
Perttu Laine wrote on Sunday 26 February 2006 14:37: Oh damn. It was problem with dummy sysadmin only (me). I tried to connect localhost instead of real hostname and dovecot didn't answer there. So. You all can forget earlier posts. :) I have a bad memory anyway :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with Samba after upgrade
[mailto:[EMAIL PROTECTED] On Behalf Of Gerard Seibert Sent: Sunday, February 26, 2006 2:27 AM To: freebsd-questions@freebsd.org Subject: Problem with Samba after upgrade I just updated to the newest version of Samba (3.0.21b,1). The old version was working fine, but since there were a number of ports that I had that were out dated, I simply updated them all. The problem is that Samba does not appear to be working correctly now. I can access the FreeBSED machine from any of the WinXP machines without incident. However, the reverse is not true. I have tried running the following command which produces this output: smbclient -L boss -U username%password timeout connecting to 192.158.0.4:445 timeout connecting to 192.158.0.4:139 Error connecting to 192.158.0.4 (Operation already in progress) Connection to boss failed Absolutely nothing has changed other than the updating of Samba and a few other ports -- mostly KDE. The WinXP machines are untouched. There is no new firewall involved, etc. I posted this on the Samba list, but did not receive any response. Perhaps someone here might have an idea. Well it looks like the personal firewall on boss got turned on. You might check your system logs on boss to see if anything has changed behind your back. XP tends to do this if you leave it on ... Check All Programs - Accessories - System Tools - System Information - View - System History. Can your other XP machines access boss? Try Run - \\boss from another XP machine to check. Can smbclient access your samba server? I.e. can it access itself? Try smbclient //FreeBSDname/sharename to check or try smbclient -L //FreeBSDname to check. You can set the debug level (-d) to 1 or 2 and see what you get. You can also reapply the port upgrade if you think there might have been an upgrade error. -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changing Sendmail server's IP address, nightmare!
As far as I know, sendmail uses DNS and the server's name resolution it is running on for the IP's. There is nowhere I know in sendmail where an IP is hard coded. If you are having any difficulty it is due to changes to your DNS, and the time it takes for DNS changes to propagate across the net. It sounds like you were doing too many changes at one time, moving to a new ISP which would require a change to all your IP addresses, AND changing your DNS from internal to the ISP's. In making these changes you need to first get on your new IP block, so you have internet access. Then update your DNS records for the new IP addresses. Then as a last step move the DNS to your ISP, making your server's DNS a slave DNS or just a caching DNS server. In making a move to your ISP's DNS be aware ISP's do NOT usually update their DNS maps often, typically once a week, then the new maps begin proliferating which usually takes 24-72 hours. Hope this helps. -Derek At 09:35 PM 2/25/2006, Curtis Hart wrote: Does anyone have any specific information on making IP address changes to Sendmail servers since I have found that this situation is a lot more difficult/tedious than I had thought. The Sendmail server in question is also providing DNS for a web server, but I would like to use our new ISP's DNS info for our web domains and for the mail server. In a nutshell, I recently started working for a small business that has a mail server and web server, this occurred just after they had already begun switching to a new ISP (Mpower). I thought I knew enough UNIX/sys admin info to make this happen but this has turned into a minor nightmare for me, since Sendmail has so many files that may contain the old IP info. - Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help with IP Filter 4.1.8
Hi all, I am having a problem with ipf after recent upgrade to 6.1-PRERELEASE. Any help would be greatly appreciated. ipf: IP Filter: v4.1.8 (416) Kernel: IP Filter: v4.1.8 Running: yes Log Flags: 0 = none set Default: pass all, Logging: available Active list: 0 Feature mask: 0xa I am trying to allow outgoing dns requests from my server to DNS server of ISP. Here is my ruleset: ipfstat -oh 0 pass out quick on lo0 from any to any 0 pass out quick on xl0 proto tcp from any to any port = domain flags S/FSRPAU keep state 1 pass out quick on xl0 proto udp from any to any port = domain keep state 0 block out log quick on xl0 all ipfstat -ih 0 pass in quick on lo0 from any to any 0 block in quick on xl0 all I tried `host www.google.com` and the connection was timed out, although there was a hit on a rule allowing 53/udp. The interesting thing is that there is another server running 5.3-STABLE with ipf v3.4.35 (336) and it has the same ruleset and everything is working just fine. Thank you for your time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Desperate - FreeBSD 6.0 Freezing
Grant, The first few things I would try are: Update the BIOS, and any other firmware that may have an update. Run the Dell diagnostics and make sure there are no errors the diagnostics finds. Check your temperatures, excess temperature can cause system lockups. If you do those and still are getting a lockup, You may want to try removing the DRAC card, and testing to see if this is the source of the problem. Hardware conflicts are the hardest to find. Your lockups are not creating any crash information or even logging from the OS so it leads me to believe these are in the hardware. PC platforms while they are always improving, do still suffer from the heritage which allowed for hardware conflicts. It could be through the way you are using the hardware/software that these have just come to be exposed. -Derek At 03:24 AM 2/26/2006, Grant Peel wrote: Derek, all, Regarding my recent system freeze ups, here is a list of software and hardware. Some other notes: At one point a week or so ago, I setup a ipfw firewall rule to allow access in port 3396 for a client who required remote access to it. I am still awaiting work to see if thier connection attempts coincided with the freez ups. I have since removed the firewall rule. The server has ran flawleslly sine November. No hardware changes have been made since it was installed and tested. It is running a custom kernel, because of the DRAC 4 card - it needs to use a usb keyboard, as noted in dmesg below. What I am really looking for is simply a way to see what software / hardware crashes the machine. Once identifies, should be easy to fix. It is a Dell PowerEdge 1850, Vintage November 2005. Basic hardware (dmesg below). CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU) Intel(R) PRO/1000 (x2 emo, em1) da0: SEAGATE ST373207LC D701 Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C) Dell DRAC 4 remote access card. (on mother board dedicated riser). real memory = 536608768 (511 MB) avail memory = 515784704 (491 MB) Ther are no other external devices attached, no keyboard,. no mouse or monitor. Basic Software: FreeBSD 6.0-RELEASE MySQL 4.1.13 (installed from ports) Apache 2.1.4 PHP 4.4.0 (from ports, installed into apache as static mod). vm-pop3d Exim 4.52-0 (from ports) spamassassin (running as deamon) perl 5.8.7 proftpd 1.3.0.rc2 IPA, version 1.3.6 (FreeBSD/i386 6.0-RELEASE) ** Begin dmesg* Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #1: Wed Jan 25 09:15:04 EST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DS9 ACPI APIC Table: DELL PE BKC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf43 Stepping = 3 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS E2,SS,HTT,TM,PBE Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14 AMD Features=0x2010NX,LM Hyperthreading: 2 logical CPUs real memory = 536608768 (511 MB) avail memory = 515784704 (491 MB) ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 4 ioapic2: WARNING: intbase 64 != expected base 56 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 32-55 on motherboard ioapic2 Version 2.0 irqs 64-87 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE BKC on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNKA irq 11 on acpi0 pci_link1: ACPI PCI Link LNKB irq 3 on acpi0 pci_link2: ACPI PCI Link LNKC irq 7 on acpi0 pci_link3: ACPI PCI Link LNKD irq 10 on acpi0 pci_link4: ACPI PCI Link LNKE irq 11 on acpi0 pci_link5: ACPI PCI Link LNKF irq 10 on acpi0 pci_link6: ACPI PCI Link LNKG on acpi0 pci_link7: ACPI PCI Link LNKH irq 5 on acpi0 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1 pci2: ACPI PCI bus on pcib2 mpt0: LSILogic 1030 Ultra4 Adapter port 0xec00-0xecff mem 0xdfdf-0xdfdf,0xdfde-0xdfde irq 34 at device 5.0 o n pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.12.0 mpt0: Unhandled Event Notify Frame. Event 0xa. pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1 pci3: ACPI PCI bus on pcib3 pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0 pci4: ACPI PCI bus on pcib4 pcib5:
rl0 discard oversize
Hi all :-) I have a fbsd 5.4 today while copy a lot files (several Gb) the network saturation...and don't responding of ping :-( in dmesg i see: rl0 discard oversize frame (ether type 4a82 flags 3 len 38118 1514 ok, i tried ifconfig rl0 mtu 1400 but i have the same problem, i tried 1420, 1450, etc. but while copy the network go down 4 several seconds.. if i wait (20/40 seconds) the network come-back normal.. i tried too change my network card but nothing... where is the problem? this is my main server.. and indispensable 4 my work! sorry 4 my bad english...and thanks! Pol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: arp: XXX is on rl0 but got reply from ...
--- Lowell Gilbert [EMAIL PROTECTED] wrote: Andrei Iarus [EMAIL PROTECTED] writes: I have read a lot about this error message, but I have another questions: What actually happens when this error occures? I mean what can this error lead to? Is it enough to switch the specific sysctl variable to stop the error (and all it can lead to)? I dont think so, then: Is the blocking of some of those packets the best solution to this problem? (In my case, the problem is because the 2 NICs are connected to the same network through the same switch). Turn off one of these NICs; there's not real reason to do that anyway. The problem is that I really need both NICs up, I need them for NAT, the problem is that I dont really have another posibility to connet the computers behind the FreeBSD machine (that will be connected through the FreeBSD machine to internet) then using the same physical media. Thank you for your advice __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lpr - cups
dick hoogendijk wrote: I'm thinking of changing my printing system from good-old lpr to cups. Mainly because my (home) network computers can find the main printer more easy with cups than with /etc/printcap (windows and os-x machines) Installing cups should not be too difficult. I have a very goo how2 for it. However, what about the printing filters? With lpr I use apsfilter and that works very very well for all kind of printjobs. Will cups take care of this too? What do I look for as a replacement for apsfilter then? I have had a bit of a time setting up cups. I am trying to use the pips filters for it, but it's not working at the moment. I can print using the default CUPS filters, but they are very poor quality. I am using an Epson 2200. Give it a try, maybe we can get it figured out together. I have used cups with a great deal of success under Linux, but unfortunately it has been a pain in the rear under FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rl0 discard oversize
Pol Hallen wrote: Hi all :-) I have a fbsd 5.4 today while copy a lot files (several Gb) the network saturation...and don't responding of ping :-( in dmesg i see: rl0 discard oversize frame (ether type 4a82 flags 3 len 38118 1514 [ ... ] where is the problem? With the rl0 hardware, probably. Realtek NICs aren't very good, and I've seen similar reports from other people which were resolved by getting a dc0 or fxp0 NIC instead. this is my main server.. and indispensable 4 my work! sorry 4 my bad english...and thanks! Your english is OK... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cloning freebsd from desktop to laptop computer.
On 2/26/06, Dmitri Pisarev [EMAIL PROTECTED] wrote: I've got laptop Toshiba Portege 3480CT(no floppy, no CD-ROM, no booting from USB flash supported etc. 40G HDD) and a desktop computer running FreeBSD 6.0(athlon 3200+, WD 80G HDD). I need to install freebsd on to my laptop computer. The question is, is it posible to copy the freebsd patition to the laptop computer somehow, so it would remain bootable? I tried to copy my ad0s2(my BSD partition) to ad0s3 on laptop, using dd.exe for windows, and all i get is Boot error. I'm using freebsd bootloader on desktop, and BootMagic on laptop, could that be a problem? any help or suggestions are appreciated. The simple way would be to buy a 2.5 to 3.5 IDE adaptor. Pull the drive out of the laptop and put it in your desktop to Install FreeBSD. http://froogle.google.com/froogle?q=2.5%203.5%20IDE%20Adapter -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATAPICAM?
On Thu, 23 Feb 2006 22:06:22 -0800 Chris Maness [EMAIL PROTECTED] wrote: How do I load atapicam at boot time? I can load it with no problems after the system has started, but I if I ad the line atapicam_load=YES in /*boot*/loader.conf, the kernel turns to fried chicken at boot time. Is there a secrete recipe ;o) to get this to work correctly. I have found there are some chipsets atapicam does not like. Not tried it recently, but I have seen similar problems with a Promise PDC20268 card under a old relen_5. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATAPICAM?
Vulpes Velox wrote: On Thu, 23 Feb 2006 22:06:22 -0800 Chris Maness [EMAIL PROTECTED] wrote: How do I load atapicam at boot time? I can load it with no problems after the system has started, but I if I ad the line atapicam_load=YES in /*boot*/loader.conf, the kernel turns to fried chicken at boot time. Is there a secrete recipe ;o) to get this to work correctly. I have found there are some chipsets atapicam does not like. Not tried it recently, but I have seen similar problems with a Promise PDC20268 card under a old relen_5. Thanks for the reply. After investigation I think it was loading the sound modules at boot time that actually causes intermittent problems. Is there a way to automatically load all of the kernel modules at the end of the boot sequence. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bandwidth Problems with Freebsd 5.x
On Sunday 26 February 2006 08:10, ptitoliv wrote: Hello Everybody, I made lots of searches on the Internet and I found something about the option net.inet.tcp.inflight.enable. If I set this value to 0, my bandwitdh problems are resolved. Does anybody knows something about this options and why can it be the origin of this problem ? Regards, Ptitoliv ___ I made some quick check, there is some information available. Most of it seems to be pretty recent. I suggest joining freebsd-stable@ as there is some questions going on about it there. You can also google for information on: net.inet.tcp.inflight.enable There may be other things to look at and good reasons to have it enabled, or disabled. Take from chapter 11 of the handbook: = 11.13.2.2 TCP Bandwidth Delay Product The TCP Bandwidth Delay Product Limiting is similar to TCP/Vegas in NetBSD. It can be enabled by setting net.inet.tcp.inflight.enable sysctl variable to 1. The system will attempt to calculate the bandwidth delay product for each connection and limit the amount of data queued to the network to just the amount required to maintain optimum throughput. This feature is useful if you are serving data over modems, Gigabit Ethernet, or even high speed WAN links (or any other link with a high bandwidth delay product), especially if you are also using window scaling or have configured a large send window. If you enable this option, you should also be sure to set net.inet.tcp.inflight.debug to 0 (disable debugging), and for production use setting net.inet.tcp.inflight.min to at least 6144 may be beneficial. However, note that setting high minimums may effectively disable bandwidth limiting depending on the link. The limiting feature reduces the amount of data built up in intermediate route and switch packet queues as well as reduces the amount of data built up in the local host's interface queue. With fewer packets queued up, interactive connections, especially over slow modems, will also be able to operate with lower Round Trip Times. However, note that this feature only effects data transmission (uploading / server side). It has no effect on data reception (downloading). Adjusting net.inet.tcp.inflight.stab is not recommended. This parameter defaults to 20, representing 2 maximal packets added to the bandwidth delay product window calculation. The additional window is required to stabilize the algorithm and improve responsiveness to changing conditions, but it can also result in higher ping times over slow links (though still much lower than you would get without the inflight algorithm). In such cases, you may wish to try reducing this parameter to 15, 10, or 5; and may also have to reduce net.inet.tcp.inflight.min (for example, to 3500) to get the desired effect. Reducing these parameters should be done as a last resort only. Note: In 4.X and earlier releases of FreeBSD the inflight sysctl variables are directly under net.inet.tcp. Their names were (in alphabetic order): net.inet.tcp.inflight_debug, net.inet.tcp.inflight_enable, net.inet.tcp.inflight_max, net.inet.tcp.inflight_min, net.inet.tcp.inflight_stab. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help with IP Filter 4.1.8
Since you say the same ipf rules work on your 5.3 system and you are trying to run them on 6.1-PRERELEASE, I would say the problem is 6.1-PRERELEASE. Prereleases versions and RC version are not intended for public use. They are version for people who know how to debug kernel code and help the developers test new version. It does not look like you know how to debug kernel code or you would not be asking this question. You should be using 6.0 as that's the current production version. If you still have this problem on 6.0 then repost your question. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roman Serbski Sent: Sunday, February 26, 2006 10:16 AM To: freebsd-questions@freebsd.org Subject: Help with IP Filter 4.1.8 Hi all, I am having a problem with ipf after recent upgrade to 6.1-PRERELEASE. Any help would be greatly appreciated. ipf: IP Filter: v4.1.8 (416) Kernel: IP Filter: v4.1.8 Running: yes Log Flags: 0 = none set Default: pass all, Logging: available Active list: 0 Feature mask: 0xa I am trying to allow outgoing dns requests from my server to DNS server of ISP. Here is my ruleset: ipfstat -oh 0 pass out quick on lo0 from any to any 0 pass out quick on xl0 proto tcp from any to any port = domain flags S/FSRPAU keep state 1 pass out quick on xl0 proto udp from any to any port = domain keep state 0 block out log quick on xl0 all ipfstat -ih 0 pass in quick on lo0 from any to any 0 block in quick on xl0 all I tried `host www.google.com` and the connection was timed out, although there was a hit on a rule allowing 53/udp. The interesting thing is that there is another server running 5.3-STABLE with ipf v3.4.35 (336) and it has the same ruleset and everything is working just fine. Thank you for your time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with IP Filter 4.1.8
On Sunday 26 February 2006 11:19, fbsd_user wrote: Since you say the same ipf rules work on your 5.3 system and you are trying to run them on 6.1-PRERELEASE, I would say the problem is 6.1-PRERELEASE. Prereleases versions and RC version are not intended for public use. They are version for people who know how to debug kernel code and help the developers test new version. It does not look like you know how to debug kernel code or you would not be asking this question. You should be using 6.0 as that's the current production version. If you still have this problem on 6.0 then repost your question. Hi all, I am having a problem with ipf after recent upgrade to 6.1-PRERELEASE. Any help would be greatly appreciated. ipf: IP Filter: v4.1.8 (416) Kernel: IP Filter: v4.1.8 Running: yes Log Flags: 0 = none set Default: pass all, Logging: available Active list: 0 Feature mask: 0xa I am trying to allow outgoing dns requests from my server to DNS server of ISP. Here is my ruleset: ipfstat -oh 0 pass out quick on lo0 from any to any 0 pass out quick on xl0 proto tcp from any to any port = domain flags S/FSRPAU keep state 1 pass out quick on xl0 proto udp from any to any port = domain keep state 0 block out log quick on xl0 all ipfstat -ih 0 pass in quick on lo0 from any to any 0 block in quick on xl0 all I tried `host www.google.com` and the connection was timed out, although there was a hit on a rule allowing 53/udp. The interesting thing is that there is another server running 5.3-STABLE with ipf v3.4.35 (336) and it has the same ruleset and everything is working just fine. Thank you for your time. ___ If you're not going to give any better advice than this, why did you give it all? I don't see anything in the OP's message that requires kernel debugging. Just some advice that he should check to see what changes have been made to ipf v4.1.8 as compared to v3.4.35 and how they affect rules. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Heimdal Key Table Entry Not Found
I am not able to use heimdal kerberos telnetd on FreeBSD-6 to provide remote access to a host. I get this error from my Kermit client: Kerberos authentication failed! Kerberos V5 refuses authentication because Read req failed: Key table entry not found The keytab has been extracted to the service host. (see below) I am thinking that there might be some sort of hard to find incompatibility or encryption type issue with Heimdal and MIT. That or there is some stupid detail that I have missed. I would have expected Heimdal to be a drop in replacement for MIT kerberos. A full transcript is provided below if the problem is not obvious. I am successfully running MIT KDCs and have been for years. All my other MIT kerberized hosts function correctly. Any idea what I might be missing? Thanks, Jason C. Wells I get a ticket granting ticket as evidenced by the MIT KDC log: Feb 26 09:40:56 s5.stradamotorsports.com krb5kdc[449](info): AS_REQ (3 etypes {1 6 3 1}) 192.168.1.16: ISSUE: authtime 1140975656, etypes {rep=16 tkt=16 ses=16}, [EMAIL PROTECTED] for krbtgt/[EMAIL PROTECTED] Then I get my service ticket as evidenced by the MIT KDC log: Feb 26 09:41:09 s5.stradamotorsports.com krb5kdc[449](info): TGS_REQ (1 etypes {1}) 192.168.1.16: ISSUE: authtime 1140975656, etypes {rep=16 tkt=16 ses=1}, [EMAIL PROTECTED] for host/[EMAIL PROTECTED] I have all my tickets on my Windows client. C:\Documents and Settings\jcwklist -e Ticket cache: API:krb5cc Default principal: [EMAIL PROTECTED] Valid starting ExpiresService principal 02/26/06 09:40:56 02/26/06 19:40:56 krbtgt/[EMAIL PROTECTED] ORTS.COM renew until 02/26/06 19:40:57, Etype (skey, tkt): Triple DES cbc mode wi th HMAC/sha1, Triple DES cbc mode with HMAC/sha1 02/26/06 09:41:09 02/26/06 19:40:56 host/[EMAIL PROTECTED] PORTS.COM renew until 02/26/06 19:40:57, Etype (skey, tkt): DES cbc mode with CRC- 32, Triple DES cbc mode with HMAC/sha1 Kerberos 4 ticket cache: API:krb4cc klist: No ticket file (tf_util) But my kermit client complains with: DNS Lookup... Trying 192.168.1.1... Reverse DNS Lookup... (OK) g3.stradamotorsports.com connected on port telnet Authenticating with KERBEROS_V5 Kerberos authentication failed! Kerberos V5 refuses authentication because Read req failed: Key table entry not found /Can't connect to g3.stradamotorsports.com:23 The keytab shows: Vno Type Principal 11 des3-cbc-sha1 host/[EMAIL PROTECTED] 11 des-cbc-crchost/[EMAIL PROTECTED] Getprincs on the MIT KDC shows: kadmin: getprinc host/[EMAIL PROTECTED] Principal: host/[EMAIL PROTECTED] Expiration date: [never] Last password change: Sun Feb 26 09:08:57 PST 2006 Password expiration date: [none] Maximum ticket life: 0 days 10:00:00 Maximum renewable life: 7 days 00:00:00 Last modified: Sun Feb 26 09:08:57 PST 2006 ([EMAIL PROTECTED]) Last successful authentication: [never] Last failed authentication: [never] Failed password attempts: 0 Number of keys: 2 Key: vno 11, Triple DES cbc mode with HMAC/sha1, no salt Key: vno 11, DES cbc mode with CRC-32, no salt Attributes: Policy: [none] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
automatically starting gnome-2.10
Hallo FreeBSD users I just install gnome-2.10 on my freebsd 5.4 release machine, and it's working, but I want it to start automatically afther rebooting the system. I dont want to start it typen startx each time. please can somebody tell me how can i start gnome2.10 automatically or what is the syntax in /etc/rc.conf. thank you. _ Vind alles terug op je PC: MSN Search Toolbar http://toolbar.msn.nl/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why doesn't burn cdrdao BIN/CUE on 6.0-R ?
Hi, after trying for some hours now to burn a videocd with cdrdao under 6.0-R, I reverted to nero on XP. :-( Any idea, why cdrdao exits with RC=1, but w/o any message? Greetings, Robert 18:44 gluon: roberte/CD-Stuff/tmp 0%# cat Video1.cue FILE Video1.bin BINARY TRACK 01 MODE2/2352 INDEX 01 00:00:00 TRACK 02 MODE2/2352 INDEX 01 00:06:56 18:45 gluon: roberte/CD-Stuff/tmp 0%# cdrecord --scanbus Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 Jörg Schilling Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) * 0,1,0 1) 'HL-DT-ST' 'DVDRAM GSA-4167B' 'DL11' Removable CD-ROM 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * 18:45 gluon: roberte/CD-Stuff/tmp 0%# cdrdao write --device 0,1,0 --driver generic-mmc-raw --speed 16 Video1.cue Cdrdao version 1.2.0 - (C) Andreas Mueller [EMAIL PROTECTED] SCSI interface library - (C) Joerg Schilling Paranoia DAE library - (C) Monty Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables. 18:45 gluon: roberte/CD-Stuff/tmp 1%# truss !! truss cdrdao write --device 0,1,0 --driver generic-mmc-raw --speed 16 Video1.cue mmap(0x0,3600,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 671944704 (0x280d1000) munmap(0x280d1000,0xe10) = 0 (0x0) __sysctl(0xbfbfe9d8,0x2,0x280cd998,0xbfbfe9d4,0x0,0x0) = 0 (0x0) mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 671944704 (0x280d1000) issetugid() = 0 (0x0) open(/etc/libmap.conf,0x0,0666)ERR#2 'No such file or directory' open(/var/run/ld-elf.so.hints,0x0,00) = 3 (0x3) read(0x3,0xbfbfe9a0,0x80)= 128 (0x80) lseek(3,0x80,SEEK_SET) = 128 (0x80) read(0x3,0x280d5000,0x65)= 101 (0x65) close(3) = 0 (0x0) access(/lib/libcam.so.3,0) = 0 (0x0) open(/lib/libcam.so.3,0x0,00) = 3 (0x3) fstat(3,0xbfbfe9e0) = 0 (0x0) read(0x3,0x280cc8e0,0x1000) = 4096 (0x1000) mmap(0x0,61440,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) = 671977472 (0x280d9000) mprotect(0x280e4000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mprotect(0x280e4000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0) mmap(0x280e5000,12288,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0xb000) = 672026624 (0x280e5000) close(3) = 0 (0x0) access(/lib/libmad.so.2,0) ERR#2 'No such file or directory' access(/usr/lib/libmad.so.2,0) ERR#2 'No such file or directory' access(/usr/lib/compat/libmad.so.2,0) ERR#2 'No such file or directory' access(/usr/X11R6/lib/libmad.so.2,0) ERR#2 'No such file or directory' access(/usr/local/lib/libmad.so.2,0) = 0 (0x0) open(/usr/local/lib/libmad.so.2,0x0,027757765130) = 3 (0x3) fstat(3,0xbfbfe9e0) = 0 (0x0) read(0x3,0x280cc8e0,0x1000) = 4096 (0x1000) mmap(0x0,90112,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) = 672038912 (0x280e8000) mprotect(0x280fc000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mprotect(0x280fc000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0) mmap(0x280fd000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0x14000) = 672124928 (0x280fd000) close(3) = 0 (0x0) access(/lib/libvorbisfile.so.4,0) ERR#2 'No such file or directory' access(/usr/lib/libvorbisfile.so.4,0) ERR#2 'No such file or directory' access(/usr/lib/compat/libvorbisfile.so.4,0) ERR#2 'No such file or directory' access(/usr/X11R6/lib/libvorbisfile.so.4,0)ERR#2 'No such file or directory' access(/usr/local/lib/libvorbisfile.so.4,0)= 0 (0x0) open(/usr/local/lib/libvorbisfile.so.4,0x0,027757765130) = 3 (0x3) fstat(3,0xbfbfe9e0) = 0 (0x0) read(0x3,0x280cc8e0,0x1000) = 4096 (0x1000) mmap(0x0,28672,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) = 672129024 (0x280fe000) mprotect(0x28103000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mprotect(0x28103000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0) mmap(0x28104000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0x5000) = 672153600 (0x28104000) close(3) = 0 (0x0) access(/lib/libao.so.3,0) ERR#2 'No such file or directory' access(/usr/lib/libao.so.3,0) ERR#2 'No such file or directory' access(/usr/lib/compat/libao.so.3,0) ERR#2 'No such file or directory' access(/usr/X11R6/lib/libao.so.3,0)ERR#2 'No such file or directory' access(/usr/local/lib/libao.so.3,0)= 0 (0x0)
Re: VPN Jail(s) ...
On Sun, 26 Feb 2006, Igor Robul wrote: On Wed, Feb 22, 2006 at 09:03:26PM -0400, Marc G. Fournier wrote: I asked this a little while ago, and had alot of good answers ... but, after doing some thinking, I'm wondering if there might be a better way of doing it, that removed the requirement for 'hitting' the base operating system ... If I ran something like FreeBSD in VMWare, would that work? Are there any OSS VMWare-like solutions available out there? emulators/qemu Yup, found it, but can't seem find any information on whether or not running a 'VPN Hub' within it will work ... do you know? I've got lots that confirm it works as a client, just not as 'the server' :( thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't cd to /usr/ports/devel/libtool13
I fixed most of the errors from my upgrade from 6.1 p#1 to 6.1 p#2, and in the process apparently upgraded to 6.1 p#3. I am still getting a libtool error. Earlier, I did a make deinstall clean on all ports that were using libtool, and after removing about 10, I thought I had it fixed. It doesn't seem I am able to remove XMMS, though it appears to deinstall successfully when I run the command. Portupgrade still fails. I'm not really sure what it going on at this point. I tried to do a less /usr/src/UPDATING, but now it doesn't show the entry that was in there last night. An entry for 2/23 about libtool being moved, and there not being any easy fix. Here is my error: - az# portversion -l az# portupgrade -arR cd: can't cd to /usr/ports/devel/libtool13 ** Package 'libtool' has been removed from ports tree. ** Port directory not found: devel/libtool13 ** Detected a package name change: xmms (multimedia/xmms) - 'xmms-esound' (multimedia/xmms) ** No need to upgrade 'xmms-1.2.10_4' (= xmms-esound-1.2.10_4). (specify -f to force) ** Listing the failed packages (*:skipped / !:failed) ! (libtool-1.3.5_2)(port directory error) --- Packages processed: 0 done, 174 ignored, 0 skipped and 1 failed az# - Here is the first entry in UPDATING: - Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before running portupgrade. 20060211: An IPv6 support of ipfw was enabled by default. If you don't want to filter an IPv6 by ipfw, please add following line into your ipfw rule: - any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
advice on upgrading production FreeBSD 5.4
I inherited a production FreeBSD 5.4 used as a web/mail server (Apache, PostgreSQL, php, qmail, vpopmail, Courier). Could anybody help me with information about a web resource on upgrading such system (all, OS only or component by component) with minimum downtime. I looked into cvsup and portupgrade - is this the right way for production systems or is there another one? For example is it possible to have the older version running until the new one downloads/compiles and then to replace it within seconds? Also - what if the new version does not work correctly - is it possible to keep the old and revert to it. Thank you, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: automatically starting gnome-2.10
On Sun, 2006-02-26 at 18:12, Hèrvé Simplice van der Eijk wrote: Hallo FreeBSD users I just install gnome-2.10 on my freebsd 5.4 release machine, and it's working, but I want it to start automatically afther rebooting the system. I dont want to start it typen startx each time. please can somebody tell me how can i start gnome2.10 automatically or what is the syntax in /etc/rc.conf. thank you. Hiya, To do this you need to use a display manager to handle logging on. See the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
On Sunday 26 February 2006 10:42, Xn Nooby wrote: I fixed most of the errors from my upgrade from 6.1 p#1 to 6.1 p#2, and in the process apparently upgraded to 6.1 p#3. I am still getting a libtool error. Earlier, I did a make deinstall clean on all ports that were using libtool, and after removing about 10, I thought I had it fixed. It doesn't seem I am able to remove XMMS, though it appears to deinstall successfully when I run the command. Portupgrade still fails. I'm not really sure what it going on at this point. I tried to do a less /usr/src/UPDATING, but now it doesn't show the entry that was in there last night. An entry for 2/23 about libtool being moved, and there not being any easy fix. Here is my error: - az# portversion -l az# portupgrade -arR cd: can't cd to /usr/ports/devel/libtool13 ** Package 'libtool' has been removed from ports tree. ** Port directory not found: devel/libtool13 ** Detected a package name change: xmms (multimedia/xmms) - 'xmms-esound' (multimedia/xmms) ** No need to upgrade 'xmms-1.2.10_4' (= xmms-esound-1.2.10_4). (specify -f to force) ** Listing the failed packages (*:skipped / !:failed) ! (libtool-1.3.5_2)(port directory error) --- Packages processed: 0 done, 174 ignored, 0 skipped and 1 failed az# - That port no longer exists. You can delete it and that is it. You also looked at /usr/src/UPDATING instead of /usr/ports/UPDATING. The top of the first entry is 20060223: AFFECTS: all ports using libtool as part of the build process AUTHOR: [EMAIL PROTECTED] Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: automatically starting gnome-2.10
--On February 26, 2006 7:12:51 PM +0100 Hèrvé Simplice van der Eijk [EMAIL PROTECTED] wrote: Hallo FreeBSD users I just install gnome-2.10 on my freebsd 5.4 release machine, and it's working, but I want it to start automatically afther rebooting the system. I dont want to start it typen startx each time. please can somebody tell me how can i start gnome2.10 automatically or what is the syntax in /etc/rc.conf. gdm_enable=YES Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why doesn't burn cdrdao BIN/CUE on 6.0-R ?
Robert Eckardt [EMAIL PROTECTED] wrote: after trying for some hours now to burn a videocd with cdrdao under 6.0-R, I reverted to nero on XP. :-( 18:45 gluon: roberte/CD-Stuff/tmp 0%# cdrdao write --device 0,1,0 --driver generic-mmc-raw --speed 16 Video1.cue Did the same command work before? It doesn't answer your question, but cdrecord has basic cue sheet support, too. You could give it a try. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Build on one CPU, run on different ones? (AMD, VIA, Intel)
I've got a variety of boxes around the house which all share /usr/local and /usr/X11 binaries, libraries and such. These boxes are of different vintages ranging from an ancient P60 to a new Pentium D, but also an older AMD K6 cpu and a VIA EPIA. My main NFS server is a 4-year old Intel and isn't the fastest for building World or large ports. If I build on the new Pentium D box, will the binaries run on the other systems? Or are there some compatibility issues? Since the FreeBSD release binaries run on all the CPUs I'm guessing there won't be any problem. I've seen some multimedia ports that can optimize for a certain chip but I don't tend to use them. Should I worry and just build on the fastest system I have? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone recognize this panic?
On Saturday 25 February 2006 22:13, Kris Kennaway wrote: On Sat, Feb 25, 2006 at 10:08:47PM -0800, Garrett Cooper wrote: Kris Kennaway wrote: On Sat, Feb 25, 2006 at 10:33:06PM -0500, Robert Huff wrote: I just had my -CURRENT* machine crash under moderate load. No dump is available because the machine locked hard, but I did copy this off the screen: re0: diagnostic failed to receive packet in loopback mode re0: attach aborted due to hardware diagnostic failure panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862 re0 is a Linksys EG-1032, less than two months old. It was connected, but had zero traffic at the time of the crash. Before I take this to current@ - has anyone seen anything like this before? A quick check of the archives and the web in general didn't show anything. You need to at least get a traceback from the panic, and preferably a crashdump. Kris Probably should pass this onto some devs. It seems like a null value was passed for locking a mutex in the OS, which is important. Having a traceback would be good though... but at least mentioning that the issue laid with the re (?) kernel driver would be a start. Unfortunately without a traceback the panic string is useless since it gives you no clue about how the system got into that state. This kind of panic is often a secondary effect of some other problem. I can cause this to happen almost at will with a Netgear GA311. It only happens at boot. It will reboot after the panic just fine and, for me, it only happens repeatedly after I do a restart boot from XP. It has never happened if I shut the system down first. I have moved many GBs of distfiles and packages with out causing a panic. I haven't found a way to cause a dmp when it panics. At least, what I have read doesn't work. So, how can I get a dmp, which I can provide a traceback? Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Startup script
Hi all, newbie question: which script do I put stuff that needs to be booted during system startup, like apache httpd, spamd, named, etc? Joacim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Welcome to the freebsd-questions mailing list (Digest mode)
I'm trying to configure mod_authn_dbd to use a mysql database. I'm running MySQL 5.0.18 and Apache 2.2 on FreeBSD 6.0-RELEASE. Here's what I have for configuration: # Database Management DBDriver mysql #Connection string: database name and login credentials DBDParams dbname=UserDirectory user=readonly password=moo #Parameters for Connection Pool Management DBDMin 1 DBDKeep 2 DBDMax 10 DBDExptime 60 NameVirtualHost 192.168.1.7 VirtualHost 192.168.1.7:* ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/www/apache22/data ServerName intranet.example.com ErrorLog logs/intranet.example.com-error_log Directory /usr/local/www/apache22/data AuthType Basic AuthName Intranet AuthBasicProvider dbd Require valid-user AuthDBDUserPWQuery select password from user_permissions where username = %s /Directory /VirtualHost When I try to start apache, I'm getting a segfault: fry# /usr/local/etc/rc.d/apache22.sh onerestart Performing sanity check on apache22 configuration: Segmentation fault (core dumped) I've tried removing each config option one at a time, and the offending directive is AuthDBDUserPWQuery. Is there something I'm doing wrong here? I've verified that the server is running, the username+password is correct, and the query is valid. Is there anything I got wrong here? Is apr_dbd_mysql incompatible with my version of MySQL, FreeBSD, or Apache? - Fred ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Startup script
On 2/26/06, Joacim Melin [EMAIL PROTECTED] wrote: Hi all, newbie question: which script do I put stuff that needs to be booted during system startup, like apache httpd, spamd, named, etc? Joacim /etc/rc.conf For example, apache_enable=YES If you are in doubt of which string you should type to enable a certain service, you can always view the corresponding rc script for the service. If it's something system-related, it will always be in /etc/rc.d. If it's something you have installed, it will be in /usr/local/etc/rc.d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Startup script
Joacim Melin writes: newbie question: which script do I put stuff that needs to be booted during system startup, like apache httpd, spamd, named, etc? Investigate the contents, and proper usage, of /usr/local/etc/rc.d. It is also possible to put things in /etc/rc.local. You should also read the man page for /etc/rc.conf. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VPN Jail(s) ...
Marc G. Fournier [EMAIL PROTECTED] wrote: On Sun, 26 Feb 2006, Igor Robul wrote: On Wed, Feb 22, 2006 at 09:03:26PM -0400, Marc G. Fournier wrote: I asked this a little while ago, and had alot of good answers ... but, after doing some thinking, I'm wondering if there might be a better way of doing it, that removed the requirement for 'hitting' the base operating system ... If I ran something like FreeBSD in VMWare, would that work? Are there any OSS VMWare-like solutions available out there? emulators/qemu Yup, found it, but can't seem find any information on whether or not running a 'VPN Hub' within it will work ... do you know? I've got lots that confirm it works as a client, just not as 'the server' :( I don't see why it should make a difference if you run a client or a server inside the guest OS. They both need a network connection. However, QEMU's guest OS can behave like a real system on the network. Have a look at http://people.freebsd.org/~maho/qemu/qemu.html for a setup description. Of course you don't have to use bridge, it works with if_bridge and NAT, too. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: can't cd to /usr/ports/devel/libtool13
That port no longer exists. You can delete it and that is it. I did a pkg_delete on the libtool package, and that seemed to work. I was able to re-install most of the packages that I had to remove when fixing libtool, for example xine abd vlc. I am having a problem with rox-filer though, I have tried to deinstall and reinstall a couple of times. I thought doing a make install would pull in any needed dependencies, so I assume this is related to my earlier problems. Here is the error I get when I do: cd /usr/src/x11-fm/rox-filer make install clean --=== Configuring for libbonobo-2.10.1_3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool === Script configure failed unexpectedly. Please run the gnomelogalyzer, available from http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at [EMAIL PROTECTED], and attach (a) /usr/ports/devel/libbonobo/work/libbonobo-2.10.1/config.log, (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list ([EMAIL PROTECTED]), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/devel/libbonobo. *** Error code 1 Stop in /usr/ports/devel/gnomevfs2. *** Error code 1 Stop in /usr/ports/x11-fm/rox-filer. az# --- ## ## Here is my /var/db/pkg list that the error suggested I do: az# ls /var/db/pkg ImageMagick-6.2.5.5_2 fribidi-0.10.4_2 kqemu-kmod-0.7.2_1 libogg-1.1.3,3 open-motif-2.2.3_2 vcdimager-0.7.23_1 ORBit2-2.12.5_2 gamin-0.1.7_2 lame-3.96.1 libtool-1.5.22_2openslp-1.2.1_2 vlc-0.8.4a_2 aalib-1.4.r5_2 gconf2-2.12.1_1 lcms-1.14_1,1 libvorbis-1.1.2,3 p5-XML-Parser-2.34_2 win32-codecs-3.1.0.p7_1,1 aspell-0.60.4_3 gettext-0.14.5_2 libIDL-0.8.6_2 libwmf-0.2.8.4 p5-gettext-1.05_1 wine-0.9.8,1 atk-1.10.3_1ghostscript-gnu-7.07_14 libXft-2.1.7_1 libxine-1.1.1_2 pango-1.10.3_1 wv-1.0.0_5 autoconf-2.13.000227_5 glib-1.2.10_12 liba52-0.7.4_1 libxml2-2.6.23_1 pcre-6.6_1 wxgtk2-2.6.2_3 autoconf-2.59_2 glib-2.8.6_1 libart_lgpl2-2.3.17_1 libxslt-1.1.15_1 perl-5.8.8 wxgtk2-common-2.6.2_2 automake-1.4.6_2gmake-3.80_2 libaudiofile-0.2.6 linc-1.0.3_5 pkgconfig-0.20 xine-0.99.4_3 bash-3.1.10 gnome-icon-theme-2.12.1_2 libcddb-1.2.1_1 linux-XFree86-libs-4.3.99.902_7 pkgdb.db xmlcatmgr-2.2 bison-1.75_2,1 gnomehier-2.0_7 libcdio-0.76_1 linux-americasarmy-2.5.0 png-1.2.8_3 xmms-esound-1.2.10_4 bitstream-vera-1.10_2 gnomemimedata-2.4.2 libdrm-2.0_1 linux-enemyterritory-2.60_1 popt-1.7_1 xorg-clients-6.9.0_1 cairo-1.0.2_2 gnu-autoconf-2.59 libdts-0.0.2 linux-expat-1.95.7 portupgrade-2.0.1_1,1 xorg-documents-6.9.0 cdparanoia-3.9.8_8 gnu-automake-1.9.6 libdvbpsi-0.1.5_1 linux-flashplugin-5.0r51_3 python-2.4.2 xorg-fonts-100dpi-6.9.0_1 compat5x-i386-5.4.0.8_5 gnu-libtool-1.5.20 libdvdcss-1.2.9_2 linux-fontconfig-2.2.3_2 qemu-0.8.0_3 xorg-fonts-75dpi-6.9.0_1 cvsup-without-gui-16.1h_2 gqview-2.0.1_1 libdvdnav-0.1.10_1 linux-sun-jdk-1.4.2.10 rpm-3.0.6_13 xorg-fonts-cyrillic-6.9.0_1 desktop-file-utils-0.10_4 gsfonts-8.11_2 libdvdread-0.9.4_1 linux_base-8-8.0_14 ruby-1.8.4_4,1 xorg-fonts-encodings-6.9.0_1 djbfft-0.76_2 gstreamer-0.8.11_2 libebml-0.7.6 linuxpluginwrapper-20051113 ruby18-bdb1-0.2.2 xorg-fonts-miscbitmaps-6.9.0_1 docbook-sk-4.1.2_3 gstreamer-plugins-0.8.11_2 libfame-0.9.1_2 liveMedia-2006.02.15,1
RE: setting up french keyboard
--- Webster, Andrew [EMAIL PROTECTED] wrote: -Original Message- From: Peter [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 10:34 To: Webster, Andrew; freebsd-questions Subject: RE: setting up french keyboard --- Webster, Andrew [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Peter Sent: Thursday, February 23, 2006 22:19 To: freebsd-questions Subject: setting up french keyboard Hi. Does anyone know how I can set up my 5.4 system to output French characters? If so, how? You can set the LANG environment variable. For example setting it to fr_CA.ISO8859-1 will produce French Canadian error messages with ISO8859-1 characters. You can see all the available locales with 'locale -a' command. You might need to change the screen fonts for other languages, but the default ISO8859-1 set works fine. Only programs that are locale aware will actually output French, others will continue to output English. Well I changed the LANG variable and my keyboard still outputs English. Ideally I would like to toggle between an English keyboard and a French one. I got one suggestion to use the kbdcontrol command but that too does has no effect. Although when I tried the equivalent method of setting it up in /etc/rc.conf via the keymap variable and rebooted, the console (before startx) was affected (the key bindings were still wrong) but when I entered X-windows I was back to where I started. Try this when X is running: setxkbmap -model pc104 -layout ca -variant basic Hey! This works in my X windows (é, è, ç, à , ê, ï) but my terminal emits beeps. Is this normal? Is the an easier way (X gadget) to toggle back or do I need to always use the setxkbmap command? $ setxkbmap -model pc104 -layout ca -variant basic $ setxkbmap -model pc104 -layout us -variant basic -- Peter __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
Have you tried /sysutils/portmanager yet? If not, you could try installing it and then running it, as root obviously, as thus: I'm trying to avoid portsnap and portmanager for now, since I don't really understand them - and they don't seem to be the official way (yet). I actually wish there was just one method that everyone used, instead of 3 (or more), lol. thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
On Sunday 26 February 2006 12:10, Xn Nooby wrote: That port no longer exists. You can delete it and that is it. I did a pkg_delete on the libtool package, and that seemed to work. I was able to re-install most of the packages that I had to remove when fixing libtool, for example xine abd vlc. I am having a problem with rox-filer though, I have tried to deinstall and reinstall a couple of times. I thought doing a make install would pull in any needed dependencies, so I assume this is related to my earlier problems. Here is the error I get when I do: cd /usr/src/x11-fm/rox-filer make install clean --=== Configuring for libbonobo-2.10.1_3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool I think this is your error right here. I have had it before. They updated perl recently and you may not have a consistent set of p5-\* ports with respect to the new perl. Did you run perl-after-upgrade -f after you updated perl? FWIW, rox-filer also no longer exists. You appear to need www/p5-HTML-Parser but sometimes, the messages can be misleading :). Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
Xn Nooby wrote: That port no longer exists. You can delete it and that is it. I did a pkg_delete on the libtool package, and that seemed to work. I was able to re-install most of the packages that I had to remove when fixing libtool, for example xine abd vlc. I am having a problem with rox-filer though, I have tried to deinstall and reinstall a couple of times. I thought doing a make install would pull in any needed dependencies, so I assume this is related to my earlier problems. Here is the error I get when I do: cd /usr/src/x11-fm/rox-filer make install clean --=== Configuring for libbonobo-2.10.1_3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is You didn't properly upgrade perl's dependencies (see /usr/ports/UPDATING). To fix it read /usr/ports/UPDATING. Always read /usr/ports/UPDATING before blindly upgrading and definitely before mailing this list. Later, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Heimdal Key Table Entry Not Found
On Sun, Feb 26, 2006 at 10:08:53AM -0800, Jason C. Wells wrote: I am not able to use heimdal kerberos telnetd on FreeBSD-6 to provide remote access to a host. I get this error from my Kermit client: Kerberos authentication failed! Kerberos V5 refuses authentication because Read req failed: Key table entry not found The keytab has been extracted to the service host. (see below) I am thinking that there might be some sort of hard to find incompatibility or encryption type issue with Heimdal and MIT. That or there is some stupid detail that I have missed. I would have expected Heimdal to be a drop in replacement for MIT kerberos. A full transcript is provided below if the problem is not obvious. I am successfully running MIT KDCs and have been for years. All my other MIT kerberized hosts function correctly. Any idea what I might be missing? http://www.seekingfire.com/projects/kerberos/tips.html It's very likely a name resolution problem: All hosts in your realm must be resolvable (both forwards and reverse) in DNS (or /etc/hosts as a minimum). CNAMEs will work, but the A and PTR records must be correct and in place. The error message isn't very intuitive: Kerberos V5 refuses authentication because Read req failed: Key table entry not found. This same error message can also result if you the [domain_realms] stanza in your krb5.conf and the host isn't in the right domain. For example, if you have a host server.example.org and your domain_realms section says that example.org = EXAMPLE.ORG but the host server is actually in realm OTHER.REALM, you'll get this error. You can override the realm for a specific host in the domain_realms section like so: server.example.org = OTHER.REALM. -T -- Belief gets in the way of learning. -- Robert Heinlein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone recognize this panic?
On Sun, Feb 26, 2006 at 11:24:28AM -0800, Kent Stewart wrote: Unfortunately without a traceback the panic string is useless since it gives you no clue about how the system got into that state. This kind of panic is often a secondary effect of some other problem. I can cause this to happen almost at will with a Netgear GA311. It only happens at boot. It will reboot after the panic just fine and, for me, it only happens repeatedly after I do a restart boot from XP. It has never happened if I shut the system down first. I have moved many GBs of distfiles and packages with out causing a panic. I haven't found a way to cause a dmp when it panics. At least, what I have read doesn't work. So, how can I get a dmp, which I can provide a traceback? What happens when you 'call doadump' from DDB? Kris pgptTqhlAANI7.pgp Description: PGP signature
Re: can't cd to /usr/ports/devel/libtool13
On Sunday 26 February 2006 12:10, Xn Nooby wrote: That port no longer exists. You can delete it and that is it. I did a pkg_delete on the libtool package, and that seemed to work. I was able to re-install most of the packages that I had to remove when fixing libtool, for example xine abd vlc. I am having a problem with rox-filer though, I have tried to deinstall and reinstall a couple of times. I thought doing a make install would pull in any needed dependencies, so I assume this is related to my earlier problems. Here is the error I get when I do: cd /usr/src/x11-fm/rox-filer make install clean --=== Configuring for libbonobo-2.10.1_3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool I think this is your error right here. I have had it before. They updated perl recently and you may not have a consistent set of p5-\* ports with respect to the new perl. Did you run perl-after-upgrade -f after you updated perl? FWIW, rox-filer also no longer exists. You appear to need www/p5-HTML-Parser but sometimes, the messages can be misleading :). I think you have a different problem. I looked at libbonobo-2.10.1_3 and the dependancies are Port: libbonobo-2.10.1_3 Path: /usr/ports/devel/libbonobo Info: A component and compound document system for GNOME2 Maint: [EMAIL PROTECTED] Index: devel B-deps: ORBit2-2.12.5_2 bison-1.75_2,1 expat-2.0.0_1 gettext-0.14.5_2 glib-2.8.6_1 gmake-3.80_2 intltool-0.34.2 libIDL-0.8.6_2 libiconv-1.9.2_2 libxml2-2.6.23_1 m4-1.4.4 p5-XML-Parser-2.34_2 perl-5.8.8 pkgconfig-0.20 popt-1.7_1 R-deps: ORBit2-2.12.5_2 gettext-0.14.5_2 glib-2.8.6_1 libIDL-0.8.6_2 libiconv-1.9.2_2 libxml2-2.6.23_1 perl-5.8.8 pkgconfig-0.20 popt-1.7_1 The problem is that the current version is p5-HTML-Parser-3.50. I think your problem might go away if you add the HTML-Parser. That doesn't fix libbonobo but you may be able to continue updating your system. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone recognize this panic?
On Sunday 26 February 2006 12:29, Kris Kennaway wrote: On Sun, Feb 26, 2006 at 11:24:28AM -0800, Kent Stewart wrote: Unfortunately without a traceback the panic string is useless since it gives you no clue about how the system got into that state. This kind of panic is often a secondary effect of some other problem. I can cause this to happen almost at will with a Netgear GA311. It only happens at boot. It will reboot after the panic just fine and, for me, it only happens repeatedly after I do a restart boot from XP. It has never happened if I shut the system down first. I have moved many GBs of distfiles and packages with out causing a panic. I haven't found a way to cause a dmp when it panics. At least, what I have read doesn't work. So, how can I get a dmp, which I can provide a traceback? What happens when you 'call doadump' from DDB? I haven't be able to invoke the debugger at the boot panic and even adding dumpdev to rc.comp doesn't produce a dump file. The /swap and /var are large enough to dump memory. I also haven't added DDB to the kernel config. I guess I need to first get my Digital Rebel, so, I can keep a copy and see what is on the screen when it panics. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
I think I got it working now, I had to run the perl fixing script, then I did a make install clean on rox-filer. I hope they don't take it out, since that is the only file-manager I use! I'm running fluxbox, so I was surpised by all the gnome-stuff that was complaining. To FreeBSD's credit, everything I needed to know was in the UPDATING files - had I been looking at the right one, lol. I learned a lot about FreeBSD today, thanks for all the help! On 2/26/06, Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 26 February 2006 12:10, Xn Nooby wrote: That port no longer exists. You can delete it and that is it. I did a pkg_delete on the libtool package, and that seemed to work. I was able to re-install most of the packages that I had to remove when fixing libtool, for example xine abd vlc. I am having a problem with rox-filer though, I have tried to deinstall and reinstall a couple of times. I thought doing a make install would pull in any needed dependencies, so I assume this is related to my earlier problems. Here is the error I get when I do: cd /usr/src/x11-fm/rox-filer make install clean --=== Configuring for libbonobo-2.10.1_3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool I think this is your error right here. I have had it before. They updated perl recently and you may not have a consistent set of p5-\* ports with respect to the new perl. Did you run perl-after-upgrade -f after you updated perl? FWIW, rox-filer also no longer exists. You appear to need www/p5-HTML-Parser but sometimes, the messages can be misleading :). I think you have a different problem. I looked at libbonobo-2.10.1_3 and the dependancies are Port: libbonobo-2.10.1_3 Path: /usr/ports/devel/libbonobo Info: A component and compound document system for GNOME2 Maint: [EMAIL PROTECTED] Index: devel B-deps: ORBit2-2.12.5_2 bison-1.75_2,1 expat-2.0.0_1 gettext-0.14.5_2 glib-2.8.6_1 gmake-3.80_2 intltool-0.34.2 libIDL-0.8.6_2 libiconv-1.9.2_2 libxml2-2.6.23_1 m4-1.4.4 p5-XML-Parser-2.34_2 perl-5.8.8 pkgconfig-0.20 popt-1.7_1 R-deps: ORBit2-2.12.5_2 gettext-0.14.5_2 glib-2.8.6_1 libIDL-0.8.6_2 libiconv-1.9.2_2 libxml2-2.6.23_1 perl-5.8.8 pkgconfig-0.20 popt-1.7_1 The problem is that the current version is p5-HTML-Parser-3.50. I think your problem might go away if you add the HTML-Parser. That doesn't fix libbonobo but you may be able to continue updating your system. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
On Sun, Feb 26, 2006 at 12:25:05PM -0800, Micah wrote: Xn Nooby wrote: That port no longer exists. You can delete it and that is it. I did a pkg_delete on the libtool package, and that seemed to work. I was able to re-install most of the packages that I had to remove when fixing libtool, for example xine abd vlc. I am having a problem with rox-filer though, I have tried to deinstall and reinstall a couple of times. I thought doing a make install would pull in any needed dependencies, so I assume this is related to my earlier problems. Here is the error I get when I do: cd /usr/src/x11-fm/rox-filer make install clean --=== Configuring for libbonobo-2.10.1_3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is You didn't properly upgrade perl's dependencies (see /usr/ports/UPDATING). To fix it read /usr/ports/UPDATING. Always read /usr/ports/UPDATING before blindly upgrading and definitely before mailing this list. ...and that's at least the third time he's been told to do this in connection to this series of errors. Mr Nooby, please follow the advice! Kris pgpOzZjbtIsLi.pgp Description: PGP signature
Re: anyone recognize this panic?
On Sun, Feb 26, 2006 at 12:39:22PM -0800, Kent Stewart wrote: On Sunday 26 February 2006 12:29, Kris Kennaway wrote: On Sun, Feb 26, 2006 at 11:24:28AM -0800, Kent Stewart wrote: Unfortunately without a traceback the panic string is useless since it gives you no clue about how the system got into that state. This kind of panic is often a secondary effect of some other problem. I can cause this to happen almost at will with a Netgear GA311. It only happens at boot. It will reboot after the panic just fine and, for me, it only happens repeatedly after I do a restart boot from XP. It has never happened if I shut the system down first. I have moved many GBs of distfiles and packages with out causing a panic. I haven't found a way to cause a dmp when it panics. At least, what I have read doesn't work. So, how can I get a dmp, which I can provide a traceback? What happens when you 'call doadump' from DDB? I haven't be able to invoke the debugger at the boot panic and even adding dumpdev to rc.comp doesn't produce a dump file. The /swap and /var are large enough to dump memory. I also haven't added DDB to the kernel config. I guess I need to first get my Digital Rebel, so, I can keep a copy and see what is on the screen when it panics. Well, if you don't have DDB in your kernel config, you certainly won't be able to invoke it when it panics ;-) Kris pgp92YCGC23jL.pgp Description: PGP signature
RE: setting up french keyboard
--- Peter [EMAIL PROTECTED] wrote: --- Webster, Andrew [EMAIL PROTECTED] wrote: --- Webster, Andrew [EMAIL PROTECTED] wrote: Hi. Does anyone know how I can set up my 5.4 system to output French characters? If so, how? Try this when X is running: setxkbmap -model pc104 -layout ca -variant basic Hey! This works in my X windows (é, è, ç, à , ê, ï) but my terminal emits beeps. Is this normal? Is the an easier way (X gadget) to toggle back or do I need to always use the setxkbmap command? $ setxkbmap -model pc104 -layout ca -variant basic $ setxkbmap -model pc104 -layout us -variant basic Hmmm. Looks like my perfectly good French accents in my compose window do not end up as such when I read them in my browser. When I reply (what I'm doing now) they come back to good characters. Is this normal? Anyways, I modified my xorg.conf keyboad section to try to toggle keyboard maps: Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 Option XkbLayout us,ca Option XkbOptions grp:toggle EndSection Surprisingly, by simply hitting the Right-Alt key I go from us to ca although hitting the key again has no effect. Does anyone know how I can toggle without having to issue commands all the time? __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cloning freebsd from desktop to laptop computer.
Nikolas Britton wrote: On 2/26/06, Dmitri Pisarev [EMAIL PROTECTED] wrote: I've got laptop Toshiba Portege 3480CT(no floppy, no CD-ROM, no booting from USB flash supported etc. 40G HDD) and a desktop computer running FreeBSD 6.0(athlon 3200+, WD 80G HDD). I need to install freebsd on to my laptop computer. The question is, is it posible to copy the freebsd patition to the laptop computer somehow, so it would remain bootable? I tried to copy my ad0s2(my BSD partition) to ad0s3 on laptop, using dd.exe for windows, and all i get is Boot error. I'm using freebsd bootloader on desktop, and BootMagic on laptop, could that be a problem? any help or suggestions are appreciated. The simple way would be to buy a 2.5 to 3.5 IDE adaptor. Pull the drive out of the laptop and put it in your desktop to Install FreeBSD. http://froogle.google.com/froogle?q=2.5%203.5%20IDE%20Adapter -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank you for the reply! I have already been replacing my HDD once, and it's a real problem for me to disassemble it, takes hell of a lot of time, so I would like to avoid it. So, is there a way to clone partition from one system to another and make it work? Also, does anyone know, will my laptop netboot(PXE or smth?) from Xircom 100/10 PCMCIA adapter? Here's a list of posible ways I'm considering to installing freebsd on to my laptop: 1)Buy the toshiba floppy drive(difficult to find in russia...). 2)Boot over the network. 3)Pull the drive out and install BSD on the desktop. 4)Clone partition somehow?? 5)Any other way? I know how to install Linux without booting up, is the same posible with FreeBSD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Build on one CPU, run on different ones? (AMD, VIA, Intel)
In the last episode (Feb 26), Chris Shenton said: I've got a variety of boxes around the house which all share /usr/local and /usr/X11 binaries, libraries and such. These boxes are of different vintages ranging from an ancient P60 to a new Pentium D, but also an older AMD K6 cpu and a VIA EPIA. My main NFS server is a 4-year old Intel and isn't the fastest for building World or large ports. If I build on the new Pentium D box, will the binaries run on the other systems? Or are there some compatibility issues? As long as you haven't set any -march= flags in make.conf, the binaries should run fine on any x86 cpu. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Startup script
And if there isn't any /etc/rc.local I just create one and put stuff in there? The absence of that file confused me a bit. Joacim On 26 feb 2006, at 20.42, Robert Huff wrote: Joacim Melin writes: newbie question: which script do I put stuff that needs to be booted during system startup, like apache httpd, spamd, named, etc? Investigate the contents, and proper usage, of /usr/local/etc/rc.d. It is also possible to put things in /etc/rc.local. You should also read the man page for /etc/rc.conf. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Startup script
Joacim Melin writes: And if there isn't any /etc/rc.local I just create one and put stuff in there? Yes. Also: I'm not sure when in the boot process rc.local is read (answer is probably in rc) but by default any programs started from there will not be able to take advantage of rcorder(8) functionality. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting current BSD version information
Is there a command to obtain ther current version of FreeBSD in use. I have a virtual server that the host upgrades from time to time so this information would be helpful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting current BSD version information
On Sunday 26 February 2006 1:32 pm, David Pratt wrote: Is there a command to obtain ther current version of FreeBSD in use. I have a virtual server that the host upgrades from time to time so this information would be helpful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] uname -r ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting current BSD version information
Joseph Vella wrote: On Sunday 26 February 2006 1:32 pm, David Pratt wrote: Is there a command to obtain ther current version of FreeBSD in use. I have a virtual server that the host upgrades from time to time so this information would be helpful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] uname -r Thanks Joseph. Exactly what I was looking for. Regards, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Startup script
--On February 26, 2006 9:54:45 PM +0100 Joacim Melin [EMAIL PROTECTED] wrote: And if there isn't any /etc/rc.local I just create one and put stuff in there? No, no, nowhen you install ports, their scripts are installed in /usr/local/etc/rc.d/. System daemons are installed in /etc/rc.d/. You should never have to write a startup script for a port you install. We maintainers are responsible for doing that. If a port doesn't install a daemon, there may not be a startup script. In that case, you can write one. Read man (8) rc.d and man (8) rc.subr for details. Rc.local is deprecated and seldom needs to be used (although it's still available.) After you install a port, go read the script in /usr/local/etc/rc.d. It will tell you what the options are that you can put into /etc/rc.conf. In most cases a simple portname_enable=YES is all that's needed, but some will have flags that can be set or other options that you might want to use. (The same is true of /etc/rc.d scripts. E.g. /etc/rc.d/named.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with IP Filter 4.1.8
Roman Serbski wrote: Hi all, I am having a problem with ipf after recent upgrade to 6.1-PRERELEASE. Any help would be greatly appreciated. ipf: IP Filter: v4.1.8 (416) Kernel: IP Filter: v4.1.8 Running: yes Log Flags: 0 = none set Default: pass all, Logging: available Active list: 0 Feature mask: 0xa I am trying to allow outgoing dns requests from my server to DNS server of ISP. Here is my ruleset: ipfstat -oh 0 pass out quick on lo0 from any to any 0 pass out quick on xl0 proto tcp from any to any port = domain flags S/FSRPAU keep state 1 pass out quick on xl0 proto udp from any to any port = domain keep state 0 block out log quick on xl0 all ipfstat -ih 0 pass in quick on lo0 from any to any 0 block in quick on xl0 all Could you change your last rule to this: block in log quick on xl0 all and then tell what you see in the log. This would give some information if any traffic is blocked in the first place. Actually, adding the log keyword to all rules for the xl0 interface might be a good idea for debugging. Also, is this the complete ruleset or did you remove rules you thought were irrelevant? If so, then post the whole ruleset. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why doesn't burn cdrdao BIN/CUE on 6.0-R ?
On Sun, 26 Feb 2006 20:12:05 +0100, Fabian Keil wrote Robert Eckardt [EMAIL PROTECTED] wrote: after trying for some hours now to burn a videocd with cdrdao under 6.0-R, I reverted to nero on XP. :-( 18:45 gluon: roberte/CD-Stuff/tmp 0%# cdrdao write --device 0,1,0 --driver generic-mmc-raw --speed 16 Video1.cue Did the same command work before? I did not try it on 6.0, but it used to work on 4.5. It doesn't answer your question, but cdrecord has basic cue sheet support, too. You could give it a try. Yes, it worked well. Thank you for this hint. I didn't find it in cdrecord(1) on the first sight. Things like this, however (I had planned to fix just some small details on my new server this weekend, but got lost in not-working packages/ports) let me doubt, whether using FreeBSD is still preferrable. Regards, Robert -- Dr. Robert Eckardt---[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: advice on upgrading production FreeBSD 5.4
On 2/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I inherited a production FreeBSD 5.4 used as a web/mail server (Apache, PostgreSQL, php, qmail, vpopmail, Courier). Could anybody help me with information about a web resource on upgrading such system (all, OS only or component by component) with minimum downtime. I looked into cvsup and portupgrade - is this the right way for production systems or is there another one? For example is it possible to have the older version running until the new one downloads/compiles and then to replace it within seconds? Also - what if the new version does not work correctly - is it possible to keep the old and revert to it. Thank you, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] First, you'd better upgrade to 6.1. Read /usr/src/UPDATING and handbook for that. Then use portupgrade to upgrade critical services one by one. Most of the time it happens just as you describe it. Sometimes a service is stopped automatically when new binaries are installed, so you have to /usr/local/etc/rc.d/ /whatever start when you upgrade things like mysql. Then use portupgrade -ak to upgrade the rest of your software and ensure they look good afterwards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to upgrade portsnap in freebsd 6.0?
I am attemping to upgrade my portsnap program as a result of this: $ pkg_version -v | grep portsnap portsnap-0.9.4 needs updating (port has 1.0) When I attempt to upgrade via portupgrade, I get this: # portupgrade portsnap /usr/local/etc/pkgtools.conf:213: warning: already initialized constant HOLD_PKG S ** Port marked as IGNORE: sysutils/portsnap: portsnap now contained in the base system I would appreciate info on how to upgrade this item. Thanks. Steve. -- ___ Play 100s of games for FREE! http://games.mail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade portsnap in freebsd 6.0?
On Sun, Feb 26, 2006 at 05:29:26PM -0500, Steve P. wrote: I am attemping to upgrade my portsnap program as a result of this: $ pkg_version -v | grep portsnap portsnap-0.9.4 needs updating (port has 1.0) When I attempt to upgrade via portupgrade, I get this: # portupgrade portsnap /usr/local/etc/pkgtools.conf:213: warning: already initialized constant HOLD_PKG S ** Port marked as IGNORE: sysutils/portsnap: portsnap now contained in the base system I would appreciate info on how to upgrade this item. It's now contained in the base system, so the correct way to upgrade it is to use pkg_delete. Kris pgpp8mOP4t48q.pgp Description: PGP signature
portupgrade -s and NFS /usr/ports?
Hi all, Just wondering if anyone else out there has a similar setup to this and can offer any hints on improving it: - NFS-exported /usr/ports, permissions set so it's writable by anyone in the 'ports' group. - Mount this on various client machines where portupgrade will be run to build ports and generate packages. The pkgtools.conf file is set up so that packages will be written to /usr/ports/packages-pkg_branch, e.g. packages-5-stable. - I was hoping to be able to avoid root access to /usr/ports by using the -s flag to portupgrade, but portupgrade seems to want to be root whenever it invokes a make command on a port. I can move the actual build onto a local filesystem by setting WRKDIRPREFIX - I did this anyway for performance reasons. However, I want downloaded distfiles and built packages to go in /usr/ports where other machines can see them, but there doesn't seem to be a way to prevent portupgrade from fetching distfiles or building packages as root in every situation. The best workaround I've come up with is to maproot=some_user on the NFS export, where some_user is a member of the 'ports' group. This _almost_ works, except when trying to overwrite a package that is owned by someone else (the ports framework doesn't move/delete the old package first - but a wrapper script around pkg_create fixes that) or if I run portupgrade on the NFS server and end up with files owned by root that need to be fixed up manually afterwards. I could use maproot=root, but /usr/ports shares a filesystem with a bunch of other stuff, and I'd rather not have the whole lot be remotely root-writable. Is anyone else running a setup like this and found a better workaround for these problems? Thanks, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade portsnap in freebsd 6.0?
pkg_delete worked, as confirmed by pkg_version does not show it anymore. However, when I attempt to make install it from ports, I get this: # make install === portsnap-1.0 portsnap now contained in the base system. *** Error code 1 Any idea? - Original Message - From: Kris Kennaway [EMAIL PROTECTED] To: Steve P. [EMAIL PROTECTED] Subject: Re: How to upgrade portsnap in freebsd 6.0? Date: Sun, 26 Feb 2006 17:33:26 -0500 On Sun, Feb 26, 2006 at 05:29:26PM -0500, Steve P. wrote: I am attemping to upgrade my portsnap program as a result of this: $ pkg_version -v | grep portsnap portsnap-0.9.4 needs updating (port has 1.0) When I attempt to upgrade via portupgrade, I get this: # portupgrade portsnap /usr/local/etc/pkgtools.conf:213: warning: already initialized constant HOLD_PKG S ** Port marked as IGNORE: sysutils/portsnap: portsnap now contained in the base system I would appreciate info on how to upgrade this item. It's now contained in the base system, so the correct way to upgrade it is to use pkg_delete. Kris 2.dat -- ___ Play 100s of games for FREE! http://games.mail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with IP Filter 4.1.8
On 2006-02-26 20:15, Roman Serbski [EMAIL PROTECTED] wrote: Hi all, I am having a problem with ipf after recent upgrade to 6.1-PRERELEASE. Any help would be greatly appreciated. ipf: IP Filter: v4.1.8 (416) Kernel: IP Filter: v4.1.8 Running: yes Log Flags: 0 = none set Default: pass all, Logging: available Active list: 0 Feature mask: 0xa I am trying to allow outgoing dns requests from my server to DNS server of ISP. Here is my ruleset: # ipfstat -oh 0 pass out quick on lo0 from any to any 0 pass out quick on xl0 proto tcp from any to any port = domain flags S/FSRPAU keep state 1 pass out quick on xl0 proto udp from any to any port = domain keep state 0 block out log quick on xl0 all This part seems ok. I'd probably try without the ``flags S/FSRPAU'' part, but that's relatively harmless. # ipfstat -ih 0 pass in quick on lo0 from any to any 0 block in quick on xl0 all This part seems a bit paranoid, but relatively ok too. I tried `host www.google.com` and the connection was timed out, although there was a hit on a rule allowing 53/udp. The interesting thing is that there is another server running 5.3-STABLE with ipf v3.4.35 (336) and it has the same ruleset and everything is working just fine. When you're having problems with IP Filter rules, it's always a good idea to `log' the blocking rules. Can you try the following two things? a) Remove the `flags' part of the stateful rule. b) Add a `log' keyword to the input blocking rule. The rulesets for these two cases would be: # Ruleset 1. pass out quick on lo0 from any to any pass out quick on xl0 proto tcp from any to any port = domain keep state pass out quick on xl0 proto udp from any to any port = domain keep state block out log quick on xl0 all pass in quick on lo0 from any to any block in quick on xl0 all # Ruleset 2. pass out quick on lo0 from any to any pass out quick on xl0 proto tcp from any to any port = domain keep state pass out quick on xl0 proto udp from any to any port = domain keep state block out log quick on xl0 all pass in quick on lo0 from any to any block in log quick on xl0 all When you install the logging final rule, please check your system logs for blocked packets. Then you'll have an idea why something is blocked, what was blocked, etc. Post the ipfilter log messages as a followup to this thread, and we'll try to track down the problem the current ruleset has. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with IP Filter 4.1.8
On 2006-02-26 12:19, fbsd_user [EMAIL PROTECTED] wrote: Since you say the same ipf rules work on your 5.3 system and you are trying to run them on 6.1-PRERELEASE, I would say the problem is 6.1-PRERELEASE. No, that's false. Prereleases versions and RC version are not intended for public use. They are version for people who know how to debug kernel code and help the developers test new version. You are confused. In FreeBSD, prerelease versions come from the HEAD of the STABLE branch. They are as stable as the rest of the RELENG_6 branch. It does not look like you know how to debug kernel code or you would not be asking this question. This is not a problem with kernel code, until we have significant evidence that points to this direction. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade portsnap in freebsd 6.0?
On Sun, Feb 26, 2006 at 05:50:30PM -0500, Steve P. wrote: pkg_delete worked, as confirmed by pkg_version does not show it anymore. However, when I attempt to make install it from ports, I get this: # make install === portsnap-1.0 portsnap now contained in the base system. *** Error code 1 Any idea? Right, because it *is now part of the FreeBSD base system* ;-) Try it and see! Kris pgpPrGubtcI0d.pgp Description: PGP signature
Re: How to upgrade portsnap in freebsd 6.0?
Steve P. wrote: pkg_delete worked, as confirmed by pkg_version does not show it anymore. However, when I attempt to make install it from ports, I get this: # make install === portsnap-1.0 portsnap now contained in the base system. *** Error code 1 Any idea? # /usr/sbin/portsnap fetch update As the error message indicates, portsnap is now contained in the base system. Colin Percival ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade portsnap in freebsd 6.0?
On Sunday 26 February 2006 16:50, Steve P. wrote: pkg_delete worked, as confirmed by pkg_version does not show it anymore. However, when I attempt to make install it from ports, I get this: # make install === portsnap-1.0 portsnap now contained in the base system. *** Error code 1 Any idea? - Original Message - From: Kris Kennaway [EMAIL PROTECTED] To: Steve P. [EMAIL PROTECTED] Subject: Re: How to upgrade portsnap in freebsd 6.0? Date: Sun, 26 Feb 2006 17:33:26 -0500 On Sun, Feb 26, 2006 at 05:29:26PM -0500, Steve P. wrote: I am attemping to upgrade my portsnap program as a result of this: $ pkg_version -v | grep portsnap portsnap-0.9.4 needs updating (port has 1.0) When I attempt to upgrade via portupgrade, I get this: # portupgrade portsnap /usr/local/etc/pkgtools.conf:213: warning: already initialized constant HOLD_PKG S ** Port marked as IGNORE: sysutils/portsnap: portsnap now contained in the base system I would appreciate info on how to upgrade this item. It's now contained in the base system, so the correct way to upgrade it is to use pkg_delete. Kris 2.dat Reread what Kris replied, especially the part that says: It's now contained in the base system, then read the message from when you try to make from the ports system: === portsnap-1.0 now contained in the base system. What that all means is that since you deinstalled the port, you are done. Finished. Nothing more to do. Nothing tricky needed. Just use portsnap v1.0 Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade portsnap in freebsd 6.0?
I understand. Thanks to all. Steve. - Original Message - From: Donald J. O'Neill [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: How to upgrade portsnap in freebsd 6.0? Date: Sun, 26 Feb 2006 17:13:33 -0600 On Sunday 26 February 2006 16:50, Steve P. wrote: pkg_delete worked, as confirmed by pkg_version does not show it anymore. However, when I attempt to make install it from ports, I get this: # make install === portsnap-1.0 portsnap now contained in the base system. *** Error code 1 Any idea? - Original Message - From: Kris Kennaway [EMAIL PROTECTED] To: Steve P. [EMAIL PROTECTED] Subject: Re: How to upgrade portsnap in freebsd 6.0? Date: Sun, 26 Feb 2006 17:33:26 -0500 On Sun, Feb 26, 2006 at 05:29:26PM -0500, Steve P. wrote: I am attemping to upgrade my portsnap program as a result of this: $ pkg_version -v | grep portsnap portsnap-0.9.4 needs updating (port has 1.0) When I attempt to upgrade via portupgrade, I get this: # portupgrade portsnap /usr/local/etc/pkgtools.conf:213: warning: already initialized constant HOLD_PKG S ** Port marked as IGNORE: sysutils/portsnap: portsnap now contained in the base system I would appreciate info on how to upgrade this item. It's now contained in the base system, so the correct way to upgrade it is to use pkg_delete. Kris 2.dat Reread what Kris replied, especially the part that says: It's now contained in the base system, then read the message from when you try to make from the ports system: === portsnap-1.0 now contained in the base system. What that all means is that since you deinstalled the port, you are done. Finished. Nothing more to do. Nothing tricky needed. Just use portsnap v1.0 Don -- ___ Play 100s of games for FREE! http://games.mail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
building for diskless support: unknown option mfs
Hi, I try to build a kernel that supports dsikless booting (on a FreeBSD-RELEASE-6.0). I have copied the GENERIC config file as DISKLESS and added following lines (as described in /usr/share/examples/diskless/clone_root: options MFS options BOOTP options BOOTP_NFSROOT options BOOTP_COMPAT When I start building the DISKLESS kernel, I get following output: 23:58:56 beastie:/usr/src# make buildkernel KERNCONF=DISKLESS -- Kernel build for DISKLESS started on Sun Feb 26 23:59:30 CET 2006 -- === DISKLESS mkdir -p /usr/obj/usr/src/sys -- stage 1: configuring the kernel -- cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/DISKLESS /usr/src/sys/i386/conf/DISKLESS /usr/src/sys/i386/conf/DISKLESS: unknown option MFS *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 23:59:30 beastie:/usr/src# Did I overlook something? Is this option obsolete or so? It is not mentioned in the handbook. Please advise. TIA, Guido. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rl0 discard oversize
On 26/02/06, Chuck Swiger [EMAIL PROTECTED] wrote: Pol Hallen wrote: Hi all :-) I have a fbsd 5.4 today while copy a lot files (several Gb) the network saturation...and don't responding of ping :-( in dmesg i see: rl0 discard oversize frame (ether type 4a82 flags 3 len 38118 1514 [ ... ] where is the problem? With the rl0 hardware, probably. Realtek NICs aren't very good, and I've seen similar reports from other people which were resolved by getting a dc0 or fxp0 NIC instead. this is my main server.. and indispensable 4 my work! sorry 4 my bad english...and thanks! Your english is OK... -- -Chuck ___ I wonder if anyone has the time to rewrite the realtek driver because whenever anyone posts about rl0 the advice is always ditch the card, I agree that realtek's are the reliant robin class of lan cards but the problems people see do not happen on other operating systems with the same hardware, eg. I have never seen that mtu problem on debian or windows but I have had it myself on freebsd, I also get poor realtek performance but when I tried linux with the same hardware it was normal. Datacentre's far too often will supply a realtek card with the machine so its not always possible or affordable to simply ditch for a new brand. If someone does have the time to look at the driver it would be great and I would be available for testing as I use realtek cards at home for my lan. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updating OpenSSH
On 26/02/06, Erik Nørgaard [EMAIL PROTECTED] wrote: Daniel A. wrote: So, basically, if I want the newest version of OpenSSH running on my system, I have to not use the one shipped with 6.0-RELEASE, and install OpenSSH from ports? Please don't toppost. Installing from ports you'll get version 3.6.1. Before you get paranoid, check the changelog - are there any changes that you actually need? do they provide increased security? Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ I use the openssh-portable there is one change regarding compression that fixes a security problem that wasnt ported over to the security branch and another security flaw which I believe made it to a security list but I cannot remember which one. Again this didnt make the security branch. I also think its a good idea to keep upto date incase they patch up unpublished vulnerabilities that they keep private. Regarding stopping users running base version there are a few ways to do it ranging from deleting the base binaries and disabling it in make.conf so doesnt get rebuilt on a buildworld to making sure /usr/local/bin comes before the /usr/bin in path so when ssh is typed the portable version is ran. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Bandwidth Problems with Freebsd 5.x
It has already been suggested but obviously you have ignored it so I'll say it again - get the hosting provider on the horn and have them lock the switch port to 100baseT-half duplex, you then do the same, then try the test, then have them lock to 10base t full, you do the same, try the test again, then have them lock to 10base t half, you do the same, and try again. Report the results. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ptitoliv Sent: Saturday, February 25, 2006 2:35 PM To: [EMAIL PROTECTED] Cc: Mathieu CHATEAU; freebsd-questions@freebsd.org Subject: Re: Bandwidth Problems with Freebsd 5.x Danial Thom a écrit : It seems unlikely that he'd get good throughput in one direction if the link was hosed. One dropped packets and you're shot. The easy way to test this is to eliminate the switch..hook the Freebsd box directly to the linux box. Impossible to do that because the boxes are rented by an hosting company. ptitoliv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: changing Sendmail server's IP address, nightmare!
It is not a nightmare to change a mailserver's IP number, but it is a long process to change a DNS servers IP number if that server was fully registered in the root nameservers. Generally, putting your main mailserver and main DNS server on the same box is considered not very smart these days. You need to get your ISP involved in this process, that kind of support is what your paying them for. If they can't help (and I highly doubt that) then find another ISP that can. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Curtis Hart Sent: Saturday, February 25, 2006 7:36 PM To: freebsd-questions@freebsd.org Subject: changing Sendmail server's IP address, nightmare! Does anyone have any specific information on making IP address changes to Sendmail servers since I have found that this situation is a lot more difficult/tedious than I had thought. The Sendmail server in question is also providing DNS for a web server, but I would like to use our new ISP's DNS info for our web domains and for the mail server. In a nutshell, I recently started working for a small business that has a mail server and web server, this occurred just after they had already begun switching to a new ISP (Mpower). I thought I knew enough UNIX/sys admin info to make this happen but this has turned into a minor nightmare for me, since Sendmail has so many files that may contain the old IP info. - Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't cd to /usr/ports/devel/libtool13
Date: Sun, 26 Feb 2006 15:15:40 -0500 From: Xn Nooby [EMAIL PROTECTED] Subject: Re: can't cd to /usr/ports/devel/libtool13 To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Have you tried /sysutils/portmanager yet? If not, you could try installing it and then running it, as root obviously, as thus: I'm trying to avoid portsnap and portmanager for now, since I don't really understand them - and they don't seem to be the official way (yet). I actually wish there was just one method that everyone used, instead of 3 (or more), lol. thanks! Switch to Microsoft. They're very thorough about eliminating your ability to choose how to do things, and pretty much force you into doing things the one official way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building for diskless support: unknown option mfs
On Mon, Feb 27, 2006 at 12:25:54AM +0100, Guido Van Hoecke wrote: Hi, I try to build a kernel that supports dsikless booting (on a FreeBSD-RELEASE-6.0). I have copied the GENERIC config file as DISKLESS and added following lines (as described in /usr/share/examples/diskless/clone_root: options MFS Yes, MFS is obsolete, it's superceded by the md(4) device. Please submit a PR about the obsolete documentation. Kris pgpQnHV51ayAN.pgp Description: PGP signature
ogle-gui needs liba52, but its already there ?
I havent't been able to build ogle-gui. It complains about 'liba52', which I believe is already installed. I deftly checked the UPDATING files, and did not see any mention about issues with liba52. I also tried Google to no avail. This failed about a week ago, and I was hoping it would be fixed - or I would figure out my error. I did a pkg_info to make sure liba52 was installed, the output is pasted below. Is anyone else having a problem with ogle-gui ? ## ## checking for dvdread/dvd_reader.h... yes checking for mlib_VideoDCT8x8_S16_S16 in -lmlib... no checking for a52_free in -la52-devel ... no checking for a52_init in -la52-devel ... no configure: error: Need liba52, install a52dec or specify it's location === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/multimedia/ogle/work/ogle-0.9.2/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/multimedia/ogle. *** Error code 1 Stop in /usr/ports/multimedia/ogle. *** Error code 1 Stop in /usr/ports/multimedia/ogle-gui. az# ## ## az# pkg_info | grep 52 liba52-0.7.4_1 A free library for decoding ATSC A/52 streams, aka AC-3 liba52-devel-0.7.4.2005112800 A free library for decoding ATSC A/52 streams, aka AC-3 unzip-5.52_2List, test and extract compressed files in a ZIP archive xmms-a52dec-1.0_1 A52 (aka AC3) decoder plugin for XMMS az# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ogle-gui needs liba52, but its already there ?
Oops. Never mind. I was running the install on a machine I was shelled in to. Sorry about that. I'm going to step away from the computer for a while. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone recognize this panic?
On Sunday 26 February 2006 12:42, Kris Kennaway wrote: On Sun, Feb 26, 2006 at 12:39:22PM -0800, Kent Stewart wrote: On Sunday 26 February 2006 12:29, Kris Kennaway wrote: On Sun, Feb 26, 2006 at 11:24:28AM -0800, Kent Stewart wrote: Unfortunately without a traceback the panic string is useless since it gives you no clue about how the system got into that state. This kind of panic is often a secondary effect of some other problem. I can cause this to happen almost at will with a Netgear GA311. It only happens at boot. It will reboot after the panic just fine and, for me, it only happens repeatedly after I do a restart boot from XP. It has never happened if I shut the system down first. I have moved many GBs of distfiles and packages with out causing a panic. I haven't found a way to cause a dmp when it panics. At least, what I have read doesn't work. So, how can I get a dmp, which I can provide a traceback? What happens when you 'call doadump' from DDB? I haven't be able to invoke the debugger at the boot panic and even adding dumpdev to rc.comp doesn't produce a dump file. The /swap and /var are large enough to dump memory. I also haven't added DDB to the kernel config. I guess I need to first get my Digital Rebel, so, I can keep a copy and see what is on the screen when it panics. Well, if you don't have DDB in your kernel config, you certainly won't be able to invoke it when it panics ;-) hehehe - of course :) One thing, the developer's handbook only talks about option DDB but that won't compile until you have added KDB. Now, I got it to panic but it took 5 or 6 tries. At will must have heard his name and ran away :). However, when I try call doadump it says no dump device has been specified. I have dumpdev=AUTO in rc.conf but I think this is happening far to early. All is not lost because I think I have 3-6.3 MP images of the panic and the trace back. How can I get a dumpdev that early into the boot? This is turning into the pain I thought it would be :). Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dc0: failed to force tx and rx to idle state
Does anybody have this kind of errors in /var/log/messages? Feb 26 12:00:27 v kernel: dc0: failed to force tx and rx to idle state Feb 26 12:00:27 v kernel: dc0: failed to force tx and rx to idle state How to fix it? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]