Re: About LKM and COM's devices from Russia
Belkin wrote: Hello! I'm a programmer from Russia. Where can I find documentation about LKM drivers or about next thing: I need to write driver of special device attached to com-port. I don't know how can I work with com-port (using termios.h or assembler?), because I don't know what is correct for kernel mode. I'm using C language, English and Russian... I'll be happy if YOU help me. P.S. Sorry for my English... Usually it is totally wrong to write kernel-level driver for something working from COM-port. The transmission speed will be small, and you will have no gain to put driver in COM-port. The second problem is that serial port generate too much interrupts, and poorly written driver can hang whole system. Write user-level program which works with this device, it will be much easier. , COM-., - . - , . , ,. -- Best Regards, Alexander Derevianko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Complete FreeBSD: errata and addenda
Hi, Excellent book, by the way. Gives a different perspective from the handbook (ever noticed how two cameras give you a better account on what happens on the race track, even if they are filming the same thing ?). Also of great use when your system isn't up and running yet and you actually don't have access to the handbook pdf. And perfect to get the basics on that port system when you're on a plane. Probably one of the best books I got this year. Edward The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help
On Sat, 2005-04-23 at 09:07, angelito munez wrote: the thing is.. im i have an existing dsl connection running on D-LINK router. now the ISP give only one real ip. what i did is from D-link to my 4.11 box i put static ip which is 172.16.16.1 to vr0.and goin out to client it will be 192.168.0.2.. do u have any idia coz i cant browse.. and how to know if my box the nttaing is running.. i can ping the box.. but sometimes give timed out.. thnks hope u can help me out,. Angeloto, I guess that 172.16.16.1 is the static IP from your ISP and the 192. etc is your internal network addresses. You should enable NAT on your router, this will allow it to translate the external address to the internal ones. Your BSD box should be on the same subnet as the router's internal address usually 192.168.0.1 netmask 255.255.255.0, so the BSD box's IP should be something like 192.168.0.5 netmask 255.255.255.0. You aslo need to set the BSD box's gateway address to be the router eg 192.168.0.1. Another way of doing this is to enable DHCP on the router and set the BSD Box to use DHCP and the settings should be automatic. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Toshiba Portégé 4000 laptop
Hello, Both FreeBSD 5.3 and 5.4-RC3 freeze during the boot of the kernel. It detects my CPU, RAM, some ACPI stuffs.. I noticed pci1: display, VGA at device 0.0 (no driver attached). I don't know if it's ok. At the end, it says ohci0: [GIANT-LOCKED] then usb0: OHCI version 1.0, legacy support, then nothing. FreeBSD 4.11 boots well. However I don't want FreeBSD 4.11 ;) Any idea? Thank you, Laurent Debacker. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Small error in Status Report page
On Fri, Apr 22, 2005 at 09:25:00PM +0300, B.Bonev wrote: In 'Storage driver SMPng locking' section on 'January-April 2005 Status Report' page, link to the Freebsd Systems is wrong. It should be http://www.freebsdsystems.com/, not http://www.freebsdsystmes.com/ :) Fixed, thanks! Marc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
On Fri, 22 Apr 2005 18:08:07 -0400 Adam Weinberger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgp0OlM4Y7nht.pgp Description: PGP signature
5.4-RC2: Unexpected reboots
Hi, I have had problems recently keeping my 5.3 up, then I upgraded to 5.4-RC2. Things seemed stable, but then I just ran last: norgaard ttyp1charmSat 23 Apr 12:05 still logged in norgaard ttyp0charmSat 23 Apr 11:57 still logged in norgaard ttyp0charmSat 23 Apr 00:39 - 00:57 (00:17) reboot ~ Fri 22 Apr 22:36 reboot ~ Fri 22 Apr 21:03 reboot ~ Fri 22 Apr 20:59 reboot ~ Fri 22 Apr 20:52 reboot ~ Fri 22 Apr 20:33 reboot ~ Fri 22 Apr 20:30 reboot ~ Fri 22 Apr 20:07 reboot ~ Fri 22 Apr 19:17 reboot ~ Fri 22 Apr 18:00 reboot ~ Fri 22 Apr 17:57 reboot ~ Fri 22 Apr 17:00 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 14:44 - 15:17 (00:32) reboot ~ Fri 22 Apr 14:16 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 12:35 - 14:05 (01:30) reboot ~ Fri 22 Apr 12:24 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 12:05 - crash (00:18) reboot ~ Fri 22 Apr 10:56 reboot ~ Fri 22 Apr 10:27 reboot ~ Fri 22 Apr 10:00 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 09:57 - crash (00:03) reboot ~ Fri 22 Apr 09:55 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 09:27 - 09:48 (00:20) reboot ~ Thu 21 Apr 23:09 reboot ~ Thu 21 Apr 22:03 reboot ~ Thu 21 Apr 18:41 norgaard ttyp0xxx.xxx.xxx.xxx Thu 21 Apr 17:52 - 18:04 (00:12) reboot ~ Thu 21 Apr 17:18 reboot ~ Thu 21 Apr 17:11 norgaard ttyp0xxx.xxx.xxx.xxx Thu 21 Apr 16:55 - crash (00:16) reboot ~ Thu 21 Apr 16:10 norgaard ttyp0xxx.xxx.xxx.xxx Thu 21 Apr 15:38 - crash (00:32) I didn't realise the crashes while locked in with ssh, I thought it was due to an unstable DSL. But even disregarding crashes, I have no idea why all these reboots, there is no hint in /var/log/critical, /var/log/kernel, /var/log/console.log, /var/log/auth.log or others. The only thing I have noticed is a new error message in /var/log/messages, happening regularly every 9 minutes: Apr 22 15:08:14 top postfix/smtpd[874]: warning: TLS library problem: \ 874:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown \ protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_srvr.c:585: However, it does not seem to sync with the reboots, and I think this is due to postfix being built on the 5.3. Any ideas what causes this? Any ideas how I can tune syslog to grap the events? Thanks, 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: 5.4-RC2: Unexpected reboots
Erik Nørgaard wrote: Any ideas what causes this? Any ideas how I can tune syslog to grap the events? Ofcourse for the last question, I should include my syslog.conf: # Emergency: System failure stuff! *.emerg * *.warn /var/log/critical kern.info /var/log/kernel.log # System messages in messages *.notice/var/log/messages # Send console messages to log console.* /var/log/console.log # Authentication and security messages auth.*,authpriv.* /var/log/auth.log security.* /var/log/security.log # Cron messages cron.* /var/log/cron # ftp/tftp ftp.* /var/log/ftp.log # Log all mail messages in maillog mail.info /var/log/maillog # Cyrus IMAP uses log facility local6 local6.info /var/log/imapd.log # OpenLDAP logfile local4.debug/var/log/ldapd.log Thanks, 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]
Unexpected reboots
Hi, I have had problems recently keeping my 5.3 up, then I upgraded to 5.4-RC2. Things seemed stable, but then I just ran last: norgaard ttyp1charmSat 23 Apr 12:05 still logged in norgaard ttyp0charmSat 23 Apr 11:57 still logged in norgaard ttyp0charmSat 23 Apr 00:39 - 00:57 (00:17) reboot ~ Fri 22 Apr 22:36 reboot ~ Fri 22 Apr 21:03 reboot ~ Fri 22 Apr 20:59 reboot ~ Fri 22 Apr 20:52 reboot ~ Fri 22 Apr 20:33 reboot ~ Fri 22 Apr 20:30 reboot ~ Fri 22 Apr 20:07 reboot ~ Fri 22 Apr 19:17 reboot ~ Fri 22 Apr 18:00 reboot ~ Fri 22 Apr 17:57 reboot ~ Fri 22 Apr 17:00 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 14:44 - 15:17 (00:32) reboot ~ Fri 22 Apr 14:16 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 12:35 - 14:05 (01:30) reboot ~ Fri 22 Apr 12:24 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 12:05 - crash (00:18) reboot ~ Fri 22 Apr 10:56 reboot ~ Fri 22 Apr 10:27 reboot ~ Fri 22 Apr 10:00 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 09:57 - crash (00:03) reboot ~ Fri 22 Apr 09:55 norgaard ttyp0xxx.xxx.xxx.xxx Fri 22 Apr 09:27 - 09:48 (00:20) reboot ~ Thu 21 Apr 23:09 reboot ~ Thu 21 Apr 22:03 reboot ~ Thu 21 Apr 18:41 norgaard ttyp0xxx.xxx.xxx.xxx Thu 21 Apr 17:52 - 18:04 (00:12) reboot ~ Thu 21 Apr 17:18 reboot ~ Thu 21 Apr 17:11 norgaard ttyp0xxx.xxx.xxx.xxx Thu 21 Apr 16:55 - crash (00:16) reboot ~ Thu 21 Apr 16:10 norgaard ttyp0xxx.xxx.xxx.xxx Thu 21 Apr 15:38 - crash (00:32) I didn't realise the crashes while locked in with ssh, I thought it was due to an unstable DSL. But even disregarding crashes, I have no idea why all these reboots, there is no hint in /var/log/critical, /var/log/kernel, /var/log/console.log, /var/log/auth.log or others. The only thing I have noticed is a new error message in /var/log/messages, happening regularly every 9 minutes: Apr 22 15:08:14 top postfix/smtpd[874]: warning: TLS library problem: \ 874:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown \ protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_srvr.c:585: However, it does not seem to sync with the reboots, and I think this is due to postfix being built on the 5.3. Any ideas what causes this? Any ideas how I can tune syslog to grap the events? Thanks, 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: Stuck in bootstrapping hell - how do I troubleshoot?
Chris Zumbrunn wrote: Yes, I'm just waiting until someone has to go by there anyway in the next days. No big deal, but it's not urgent enough to justify the trip just for that. In the meantime, it is annoying to know that ultimately I just have this problem because I'm doing something wrong! ...where am I screwing up the setup? :-) The only other thing to occur to me was that the machine might actually be booting, but getting stuck somewhere maybe probing devices. I'm no expert on the bootup procedure, but I would doubt that /var/log/messages was being updated during device probes. The stuff is probably buffered somewhere and then written. One final thing I might try in your position is to copy a GENERIC kernel to the disk and see what happens when you reboot. Or even try a very pared down kernel with nothing but disks, ethernet card and whatever else is mandatory. I guess also compare the stuff in /boot with the machine that works. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Stuck in bootstrapping hell - how do I troubleshoot?
Turn off power management in PC bios and try again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex Zbyslaw Sent: Saturday, April 23, 2005 7:16 AM To: Chris Zumbrunn Cc: [EMAIL PROTECTED] Subject: Re: Stuck in bootstrapping hell - how do I troubleshoot? Chris Zumbrunn wrote: Yes, I'm just waiting until someone has to go by there anyway in the next days. No big deal, but it's not urgent enough to justify the trip just for that. In the meantime, it is annoying to know that ultimately I just have this problem because I'm doing something wrong! ...where am I screwing up the setup? :-) The only other thing to occur to me was that the machine might actually be booting, but getting stuck somewhere maybe probing devices. I'm no expert on the bootup procedure, but I would doubt that /var/log/messages was being updated during device probes. The stuff is probably buffered somewhere and then written. One final thing I might try in your position is to copy a GENERIC kernel to the disk and see what happens when you reboot. Or even try a very pared down kernel with nothing but disks, ethernet card and whatever else is mandatory. I guess also compare the stuff in /boot with the machine that works. --Alex ___ 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]
struggling with ports, packages, cvsup
I have just installed FreeBSD 5.3 and I am trying to get the latest firefox, 1.0.3,1, and pkg_add -r firefox gives me 0.9. something and downloading the latest source and typing make install clean gives me some wierd patch-250862 failed error. I saw someone else mention using cvsup to update the firefox source so I tried that. Now cvsup gives me Cannot get IP address of my own host -- is its hostname correct?. I am behind a firewall and I don't know what I should set my hostname to; the ip address is of course given to me by DHCP. Please help! I am subscribed to the list. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: struggling with ports, packages, cvsup
On Sat, 23 Apr 2005 05:51:02 -0700 T P [EMAIL PROTECTED] wrote: I have just installed FreeBSD 5.3 and I am trying to get the latest firefox, 1.0.3,1, and pkg_add -r firefox gives me 0.9. something and downloading the latest source and typing make install clean gives me some wierd patch-250862 failed error. I saw someone else mention using cvsup to update the firefox source so I tried that. Now cvsup gives me Cannot get IP address of my own host -- is its hostname correct?. I am behind a firewall and I don't know what I should set my hostname to; the ip address is of course given to me by DHCP. read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html look at /usr/share/examples/cvsup/ and use (edit first!) the ports-file from there to update your ports-collection then a /usr/ports/www/firefox/ ; make install clean did you try that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-RC2: Unexpected reboots
On Sat, 23 Apr 2005 12:39:16 +0200, in sentex.lists.freebsd.questions you wrote: Hi, I have had problems recently keeping my 5.3 up, then I upgraded to 5.4-RC2. Things seemed stable, but then I just ran last: I didn't realise the crashes while locked in with ssh, I thought it was Any ideas what causes this? Any ideas how I can tune syslog to grap the events? If its a software bug thats causing the machine to crash, enable dumpon so that you have at least a core dump that will tell you where the panic is. e.g. if your swap is ad0s1b dumpon -v /dev/ad0s1b Build a kernel with debug symbols (dont worry, this wont get installed, it will just be there for postmortems) by adding makeoptions DEBUG=-g#Build kernel with symbols to your kernel and recompile then add dumpdev=/dev/ad0s1b # Device name to crashdump to (or NO). dumpdir=/var/crash# Directory where crash dumps are to be stored to /etc/rc.conf The next time you get a reboot if its due to a kernel bug, it will save the dump file in /var/crash For more info, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
need help pls asap
hi guys.. ok.. this is actually the problem.. the isp give us a public ip.. then it was assigned to the ADSL router.. then at the router, DCHP is enabled... so this means that my freebsd box is inside a private network with ip 172.16.16.2.. router has the private ip 172.16.16.1.. the router itself is doing a NAT because it has a real ip of 62.215.85.228... now what i want to do is to make another private network with the freebsd as their gateway so that i can make some rules for this network.. and this should also act as their firewall.. now i have already configured the 2 network interfaces which is vr1 (172.16.16.2 - for the router's network) and vr0 (192.168.0.1 - for another private network)... now i can ping outside addresses such as yahoo via vr1.. i can also ping 172.16.16.1(my freebsd's gateway) and 192.168.0.1.. the problem is i have one host in my private network having an ip of 192.168.0.2 and i can't ping this host.. what is the problem? i dont have any firewall rules to block any network.. i even add ipfw 1 add allow ip from any to any... iv been thinking that it is a route problem but i dont know how to set the proper route because my box is in between 2 private networks.. these are my route.. Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default172.16.16.1UGSc1 90vr1 127.0.0.1 127.0.0.1 UH 0 49lo0 172.16.16/24 link#2 UC 20vr1 172.16.16.100:0f:3d:87:9c:51 UHLW1 12vr1 1200 172.16.16.400:0b:db:95:89:a0 UHLW1 1912vr1 1081 192.168.0 link#1 UC 20vr0 192.168.0.100:11:95:90:c6:b6 UHLW0 18lo0 192.168.0.200:11:5b:2b:24:20 UHLW00vr0 1188 can you help me with this problem? thanks for giving your time in reading this ill be waiting for your response.. __ 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: struggling with ports, packages, cvsup
I have figured out what was wrong with my /etc/hosts file and I have CVSup running now. Here is my supfile constructed following the example in the handbook: *default tag=. *default host=cvsup3.us.FreeBSD.org *default prefix=/usr *default base=/var/db *default release=cvs delete use-rel-suffix compress src-all I also have a refuse file as in the handbook to avoid downloading every language. I will be sure to ask again if I run into any more problems. Thank you for your help! On 4/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Sat, 23 Apr 2005 05:51:02 -0700 T P [EMAIL PROTECTED] wrote: I have just installed FreeBSD 5.3 and I am trying to get the latest firefox, 1.0.3,1, and pkg_add -r firefox gives me 0.9. something and downloading the latest source and typing make install clean gives me some wierd patch-250862 failed error. I saw someone else mention using cvsup to update the firefox source so I tried that. Now cvsup gives me Cannot get IP address of my own host -- is its hostname correct?. I am behind a firewall and I don't know what I should set my hostname to; the ip address is of course given to me by DHCP. read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html look at /usr/share/examples/cvsup/ and use (edit first!) the ports-file from there to update your ports-collection then a /usr/ports/www/firefox/ ; make install clean did you try that ? ___ 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: Stuck in bootstrapping hell - how do I troubleshoot?
On Apr 23, 2005, at 1:16 PM, Alex Zbyslaw wrote: Chris Zumbrunn wrote: Yes, I'm just waiting until someone has to go by there anyway in the next days. No big deal, but it's not urgent enough to justify the trip just for that. In the meantime, it is annoying to know that ultimately I just have this problem because I'm doing something wrong! ...where am I screwing up the setup? :-) The only other thing to occur to me was that the machine might actually be booting, but getting stuck somewhere maybe probing devices. I'm no expert on the bootup procedure, but I would doubt that /var/log/messages was being updated during device probes. The stuff is probably buffered somewhere and then written. One final thing I might try in your position is to copy a GENERIC kernel to the disk and see what happens when you reboot. Or even try a very pared down kernel with nothing but disks, ethernet card and whatever else is mandatory. I guess also compare the stuff in /boot with the machine that works. Like everything else on the disks, /boot has been rsync'ed several times from the machine that works. So, /boot should be identical. But this reminded me to verify that /boot on the remote boot network disk image is ok, since that is where disklabel -B -b /boot/boot1 -s /boot/boot2 ar0s1 took the boot1 and boot2 data from. The kernel is GENERIC and was also rsync'ed from the machine that works. But I'll try with one from another source, just in case... /czv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stuck in bootstrapping hell - how do I troubleshoot?
On Apr 23, 2005, at 1:27 PM, [EMAIL PROTECTED] wrote: Turn off power management in PC bios and try again. Thanks, I'll try that. /czv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help pls asap
angelito munez wrote: hi guys.. ok.. this is actually the problem.. the isp give us a public ip.. then it was assigned to the ADSL router.. then at the router, DCHP is enabled... so this means that my freebsd box is inside a private network with ip 172.16.16.2.. router has the private ip 172.16.16.1.. the router itself is doing a NAT because it has a real ip of 62.215.85.228... now what i want to do is to make another private network with the freebsd as their gateway so that i can make some rules for this network.. and this should also act as their firewall.. now i have already configured the 2 network interfaces which is vr1 (172.16.16.2 - for the router's network) and vr0 (192.168.0.1 - for another private network)... now i can ping outside addresses such as yahoo via vr1.. i can also ping 172.16.16.1(my freebsd's gateway) and 192.168.0.1.. the problem is i have one host in my private network having an ip of 192.168.0.2 and i can't ping this host.. what is the problem? i dont have any firewall rules t o block any network.. i even add ipfw 1 add allow ip from any to any... iv been thinking that it is a route problem but i dont know how to set the proper route because my box is in between 2 private networks.. these are my route.. Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default172.16.16.1UGSc1 90vr1 127.0.0.1 127.0.0.1 UH 0 49lo0 172.16.16/24 link#2 UC 20vr1 172.16.16.100:0f:3d:87:9c:51 UHLW1 12vr1 1200 172.16.16.400:0b:db:95:89:a0 UHLW1 1912vr1 1081 192.168.0 link#1 UC 20vr0 192.168.0.100:11:95:90:c6:b6 UHLW0 18lo0 192.168.0.200:11:5b:2b:24:20 UHLW00vr0 1188 Please have your mail client wrap your e-mail to this list at 72 characters. Your routing table doesn't look right. Did you copy/paste or transcribe it? You have assigned 192.168.0.1 to your lo0 (loopback, see the manage for lo(4)) interface. However your route for the 192.168.0 says its directly connected on vr0. What does ifconfig output for lo0 vr1 and vr2 show? The reason you can ping 192.168.0.1, is because it is your own interface. It doesn't indicate that the network (e.g. cables, switch hub, etc...) between that interface and the rest of 192.168.0 are set up properly or that 192.168.0.2 is configured properly. can you help me with this problem? thanks for giving your time in reading this ill be waiting for your response.. I'm curious why you are setting things up in the way that you are. I this just a learning experience, or is there any particular reason that you do not want to put all your internal hosts on the same physical subnet and let your ADSL router handle NATing for you? Also, just out of curiosity is this a VIA Mini-ITX based system? Again, please wrap your at 72 characters, if you want to increase your chances of having someone answer your questions. -Ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
makewhatis oddness (weekly run output)
FreeBSD fortytwo.zapto.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Apr 15 02:32:55 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FORTYTWO i386 From the weekly run output, I get: Rebuilding whatis database: makewhatis: /usr/local/man/man1/cowthink.1: No such file or directory makewhatis: /usr/local/man/man5/slapd-hdb.5: No such file or directory ls -al /usr/local/man/man1/cowthink.1 == lrwxr-xr-x 1 root wheel 8 Jun 8 2004 /usr/local/man/man1/cowthink.1 - cowsay.1 [EMAIL PROTECTED] /usr/local/man/man1 # ls -al cow* -rw-r--r-- 1 root wheel 2209 Jun 8 2004 cowsay.1.gz lrwxr-xr-x 1 root wheel 8 Jun 8 2004 cowthink.1 - cowsay.1 ls -al makewhatis: /usr/local/man/man5/slapd-hdb.5 == lrwxr-xr-x 1 root wheel 11 Apr 18 13:41 /usr/local/man/man5/slapd-hdb.5 - slapd-bdb.5 ls -al /usr/local/man/man5/slapd* -rw-r--r-- 1 root wheel 2880 Apr 18 13:41 /usr/local/man/man5/slapd-bdb.5.gz lrwxr-xr-x 1 root wheel 11 Apr 18 13:41 /usr/local/man/man5/slapd-hdb.5 - slapd-bdb.5 So, the files and links are there, and there are other linked man pages in the same dir(exampe) lrwxr-xr-x 1 root wheel 11 Feb 2 03:52 wvConvert.1.gz - wvWare.1.gz -r--r--r-- 1 root wheel1243 Feb 2 03:52 wvWare.1.gz man (1) makewhatis makes no mention of links. man slapd-bdb works, man slapd-bdb.5 doesn't, nor does man slapd-hdb. man cowsay works. Any hints of what's going on? Thanks, Jimmie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two natd daemons
Alexandr Lookoshkoff wrote: Hello freebsd-questions, I have gateway with two external links and want to some users using second link. How it can be done? Is it possible via two copyes of natd running? What you are asking involves making a routing decision based on the source IP (sometimes called Policy Based Routing or Source Based Routing, depending on the vendor). IP Routing decisions are typically based on the destination address, not the source. What you want is some mechanism that will make route decisions based on the source address (i.e. packets with a source address from network A get routed out of interface 1 to gateway 1, while packets from Network B get routed out of interface 2 to gateway 2). I haven't used ipfw/natd in years, so I honestly don't know if natd/ipfw will allow you to do what you want. However, I do know that Packet Filter (pf(4) ported over to FreeBSD from OpenBSD) will allow you to do this. Check out pf.conf(5)'s man page and do a search for route-to. You might want to check out Peter N. M. Hansteen's Firewalling with with OpenBSD's PF packet filter: http://www.bgnett.no/~peter/pf/en/long-firewall.html As well as the official user's guide: ftp://ftp.openbsd.org/pub/OpenBSD/doc/pf-faq.txt Good luck to you, -Ash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need help setting up an IMAP Server on a local network
I would like to set up an IMAP server on a FreeBSD box for my home network. I don't have a lot of depth in this area, so could really use some help or pointers to how to pages. Searching the web and reading the documentation has left a couple of gaps that I would appreciate someone filling in. Most of what I've found seems to concentrate on running internet connected servers with real domain names on them, and this would sit in the local network with a separate router/firewall connecting the local network to a cable connection. The FreeBSD box is not normally visible to the outside world. For my primary mail, I have POP and SMTP services running at the hosting company for my domain. The access that I have to that machine is restricted to pop, ftp, etc. I do not have telnet access. It appears that I would use something like fetchmail to get the mail from that server (if someone thinks there is a better tool, I'm not committed to it). Several of the mailboxes I have are used by people outside the home network, so I would leave those alone and only process a select list. I intend to try openxchange locally, if that impacts anything. I'd like to be able to retrieve mail occasionally from some other servers, like my ISP, though I don't use that often, so it isn't as important. SMTP is where I start to bog down. I would like to have mail sent out from this central point, as well, but don't know where to start. If I have to configure the various email clients to send directly I will, but that seems like a partial solution. I also use the FreeBSD box as a sandbox for trying things that will be put on a web connected server. That box has postfix and courier-IMAP installed, so if I could use those applications in the mix, I would like to, but that is not a firm requirement if someone has a good reason that I shouldn't. I did replace sendmail with postfix on the box a while ago, but haven't used it for anything. Any suggestions, recommendations, pointers, etc. would be greatly appreciated. Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help setting up an IMAP Server on a local network
On Sat, 23 Apr 2005 10:58:57 -0400 Bill Schmitt (SW) [EMAIL PROTECTED] wrote: I would like to set up an IMAP server on a FreeBSD box for my home network. I don't have a lot of depth in this area, so could really use some help or pointers to how to pages. Searching the web and reading the documentation has left a couple of gaps that I would appreciate someone filling in. Most of what I've found seems to concentrate on running internet connected servers with real domain names on them, and this would sit in the local network with a separate router/firewall connecting the local network to a cable connection. The FreeBSD box is not normally visible to the outside world. i'm using dovecot (imap-ssl, pop3-ssl) and postfix on a local machine, dovecot is in the ports-collection, it aims to be fast and secure, has an active development, is flexible (support both Maildir and mbox-style mailboxes) i've set it up using the main website http://www.dovecot.org/ and by looking at the config-file (sample) postfix is really easy to set up, esp. if you can use your ISP's mailserver as relayhost # - example /usr/local/etc/postfix/main.cf for a local machine # - using the mailserver from the ISP as relay host # the name of your machine myhostname = my_machine_s_name # the domain you use, so you can get errors mailed back to you myorigin = my_real_domain_name mydestination = localhost relayhost = smtp.yourISP.net mynetworks = 127.0.0.0/8 # -- end example look at your /etc/aliases (PATH of it depending on what postfix main.cf already has) run : newaliases restart postfix after you've filled this in HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Toshiba Portégé 4000 laptop
Laurent Debacker wrote: Hello, Both FreeBSD 5.3 and 5.4-RC3 freeze during the boot of the kernel. It detects my CPU, RAM, some ACPI stuffs.. I noticed pci1: display, VGA at device 0.0 (no driver attached). I don't know if it's ok. At the end, it says ohci0: [GIANT-LOCKED] then usb0: OHCI version 1.0, legacy support, then nothing. FreeBSD 4.11 boots well. However I don't want FreeBSD 4.11 ;) Any idea? Thank you, Laurent Debacker. What does the 4.11 dmesg say about the ochi device? Can you boot safe mode on 5.X? Have you tried booting with ACPI disabled? HTH, KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: makewhatis oddness (weekly run output)
In the last episode (Apr 23), jimmie james said: FreeBSD fortytwo.zapto.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Apr 15 02:32:55 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FORTYTWO i386 From the weekly run output, I get: Rebuilding whatis database: makewhatis: /usr/local/man/man1/cowthink.1: No such file or directory makewhatis: /usr/local/man/man5/slapd-hdb.5: No such file or directory Both due to missing MLINKS variables in the port makefiles that have since been fixed. If you rebuild cowsay and openldap22-client, the correct symlinks should get installed. -- 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]
Building firewalk 5.0 from ports
Hello, In attempting to build firewalk from the ports collection, I received the following error: cc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include -O -pipe -Wall -c init.c init.c: In function `fw_init_net': init.c:156: `BIOCIMMEDIATE' undeclared (first use in this function) init.c:156: (Each undeclared identifier is reported only once init.c:156: for each function it appears in.) *** Error code 1 Stop in /usr/ports/security/firewalk/work/Firewalk/src. *** Error code 1 Stop in /usr/ports/security/firewalk/work/Firewalk. *** Error code 1 Stop in /usr/ports/security/firewalk. I am running: 4.11-STABLE FreeBSD 4.11-STABLE #1: I noticed that a guy named Ben posted this ad nauseum over a year ago, and received no response. Is this a bug? Is there a fix? Else, I will just attempt to install from source. Regards, Steven ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sanity check needed on an idea
Hi, I'm planning on deploying a few servers, each of which will be doing some same things (Web, mail, etc) and some that will have other tasks (MRTG, IRRPT, etc). I'm to the point where going to upgrade software or make a config change on 10 servers gets really annoying. I was looking to do something a little different. I know there are other things out there to do this (cfengine) but wondered if that was alot more than I need. I've installed a Promise RM4000 onto a single server, giving me 1TB of capacity. I want to be able to install software on that machine, and that one alone, do the upgrades, config changes, etc. My directory structure would be something like : /mnt/bin /mnt/etc /mnt/lib /mnt/machine1/bin /mnt/machine1/etc /mnt/machine1/lib ... /mnt/machineX/bin /mnt/machineX/etc /mnt/machineX/lib I would then mount this on every machine under /usr/local/SHARED/nfs. I then make a softlink in /usr/local/shared/bin to /usr/local/SHARED/nfs/machineX/bin, /usr/local/shared/etc to /usr/local/SHARED/nfs/machineX/etc, and so on. If machineX didn't need a different etc/hosts.allow lets say than a default one, I would just link /mnt/machineX/etc/hosts.allow to ../../etc/hosts.allow . Does this sound too convoluted? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: HTTP response handling - date correction in the client?
This is OT, I know, but there's gotta be someone on this list that knows the various HTTP specs better than I do. I do know them better than your average bear, at least, but apparently not as well as I thought. I seem to remember reading in a spec, some time ago, details of date correction performed on responses received from a server with a skewed system clock or to account for extended network latency. Well, now I can't find the details of this date correction. RFC 1945 and 2616 don't mention much detail, but I know it was discussed somewhere. I just can't remember where. Unfortunately, my predecessor didn't mention the spec he used in the commentary. In fact, he didn't put any commentary on the subject at all. Any pointers would be appreciated. I have googled, and searched W3C, but the results weren't very helpful. TIA Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Revolution, n.: In politics, an abrupt change in the form of misgovernment. -- Ambrose Bierce pgpvVzJ5WOSSH.pgp Description: PGP signature
cannot start k3b
Hello, k3b stopped working on me when I upgraded my ports. This is what it says when I try to start it up: Could not start process Unknown protocol 'file'.. Could not find mime type application/octet-stream Any clue what might cause this? I'm not sure where to even start looking... Thanks! /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No disks found! - Problem with fdisk under sysinstall
On Apr 22, 2005, at 6:07 PM, Kent Kuriyama wrote: Whenever I run fdisk under sysinstall I receive a No disks found! message. When I boot from floppy or CDROM, fdisk is able to function fine. As far as I can tell this problem started happening with version 5.1. I have no problems with version 4.10. Any help would be greatly appreciated. Thanks. Do you have a secure level turned on? If it is a high level (like 2 and 3 -- check the handbook for exact details) you cannot futz around with your disks and you will get that message from fdisk. Check your rc.conf Chad been there, done that ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: makewhatis oddness (weekly run output)
On 4/23/05, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Apr 23), jimmie james said: FreeBSD fortytwo.zapto.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Apr 15 02:32:55 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FORTYTWO i386 From the weekly run output, I get: Rebuilding whatis database: makewhatis: /usr/local/man/man1/cowthink.1: No such file or directory makewhatis: /usr/local/man/man5/slapd-hdb.5: No such file or directory Both due to missing MLINKS variables in the port makefiles that have since been fixed. If you rebuild cowsay and openldap22-client, the correct symlinks should get installed. -- Dan Nelson [EMAIL PROTECTED] For the list archive. Thanks, that got it all fixed. Jimmie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
Miguel Mendez wrote: On Fri, 22 Apr 2005 18:08:07 -0400 Adam Weinberger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. Cheers, There are many good potential layouts, such as the one you mentioned. But the issue in my mind is how one would go about implementing it without wreaking havoc on the poor, unsuspecting users. # Adam -- Adam Weinberger [EMAIL PROTECTED] || [EMAIL PROTECTED] [EMAIL PROTECTED]|| [EMAIL PROTECTED] http://www.vectors.cx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: struggling with ports, packages, cvsup
I had same question yesterday :) you need to copy the ports-supfile from the example directory instead of the standard file. And the supfile you have should have ports-all in there. Yours have 'src-all', which is for the system src. On 4/23/05, T P [EMAIL PROTECTED] wrote: I have figured out what was wrong with my /etc/hosts file and I have CVSup running now. Here is my supfile constructed following the example in the handbook: *default tag=. *default host=cvsup3.us.FreeBSD.org *default prefix=/usr *default base=/var/db *default release=cvs delete use-rel-suffix compress src-all I also have a refuse file as in the handbook to avoid downloading every language. I will be sure to ask again if I run into any more problems. Thank you for your help! On 4/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Sat, 23 Apr 2005 05:51:02 -0700 T P [EMAIL PROTECTED] wrote: I have just installed FreeBSD 5.3 and I am trying to get the latest firefox, 1.0.3,1, and pkg_add -r firefox gives me 0.9. something and downloading the latest source and typing make install clean gives me some wierd patch-250862 failed error. I saw someone else mention using cvsup to update the firefox source so I tried that. Now cvsup gives me Cannot get IP address of my own host -- is its hostname correct?. I am behind a firewall and I don't know what I should set my hostname to; the ip address is of course given to me by DHCP. read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html look at /usr/share/examples/cvsup/ and use (edit first!) the ports-file from there to update your ports-collection then a /usr/ports/www/firefox/ ; make install clean did you try that ? ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help pls asap
On Sat, Apr 23, 2005 at 06:12:39AM -0700, angelito munez wrote: hi guys.. ok.. this is actually the problem.. the isp give us a public ip.. then it was assigned to the ADSL router.. then at the router, DCHP is enabled... so this means that my freebsd box is inside a private network with ip 172.16.16.2.. router has the private ip 172.16.16.1.. the router itself is doing a NAT because it has a real ip of 62.215.85.228... now what i want to do is to make another private network with the freebsd as their gateway so that i can make some rules for this network.. and this should also act as their firewall.. now i have already configured the 2 network interfaces which is vr1 (172.16.16.2 - for the router's network) and vr0 (192.168.0.1 - for another private network)... ... the problem is i have one host in my private network having an ip of 192.168.0.2 and i can't ping this host.. what is the problem? i dont have any firewall rules to ... Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default172.16.16.1UGSc1 90vr1 127.0.0.1 127.0.0.1 UH 0 49lo0 172.16.16/24 link#2 UC 20vr1 172.16.16.100:0f:3d:87:9c:51 UHLW1 12vr1 1200 172.16.16.400:0b:db:95:89:a0 UHLW1 1912vr1 1081 192.168.0 link#1 UC 20vr0 192.168.0.100:11:95:90:c6:b6 UHLW0 18lo0 192.168.0.200:11:5b:2b:24:20 UHLW00vr0 1188 can you help me with this problem? Looks to me like you have the DMZ network (172.16.16.0/24) configured correctly on this machine, but the extra-private network (192.168.0/24) is misconfigured on this machine. To start with, you need to get it to where you can ping each machine from this one, so you're going in the right direction. Try using ifconfig to delete the current config for 192.168.0, then simply ifconfig 192.168.0.1 onto vr0; that should get you to where you can talk onto both networks from this machine. Once that's working, then you can try adding NAT to route from the extra-private network onto the DMZ; when you get that working, it should work end-to-end. (Except for protocols like FTP which require NAT proxies; that may get complicated what with needing to go through 2 in succession.) -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide... -- 'Whip-Smart', Liz Phair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
On Sat, Apr 23, 2005 at 01:57:27PM -0400, Adam Weinberger wrote: Miguel Mendez wrote: On Fri, 22 Apr 2005 18:08:07 -0400 Adam Weinberger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. Cheers, There are many good potential layouts, such as the one you mentioned. But the issue in my mind is how one would go about implementing it without wreaking havoc on the poor, unsuspecting users. One logical move might be to have symlinks to either|or /usr/local, /usr/pkg in FreeBSD 6-STABLE, then have it hardwired in 7-STABLE. We could just dump everything into /usr, /usr/bin, and /etc; but it seems better to have a place for the default|system binaries, libs, /etc and one and only one for everything else. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Phantom Files, Filesystem Full
I was editing a conf file in /etc and, when i tried to write the file vi told me it couldn't save because the filesystem is full! I ran df and, sure enough, the / fs has 245M of 258M used: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a248M245M-17M 108%/ This was certaintly a surprise, because all my data is located on other partitions, so i ran du -h -d1 / to find the culprit, but i still couldn't find what is using up all my / disk space! What can i do to find out where all my disk space has gone?!?! Thanks for all help ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Phantom Files, Filesystem Full
Ryan Winograd wrote: I was editing a conf file in /etc and, when i tried to write the file vi told me it couldn't save because the filesystem is full! I ran df and, sure enough, the / fs has 245M of 258M used: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a248M245M-17M 108%/ This was certaintly a surprise, because all my data is located on other partitions, so i ran du -h -d1 / to find the culprit, but i still couldn't find what is using up all my / disk space! What can i do to find out where all my disk space has gone?!?! I suspect that running du -hxd 1 / would be more helpful, BTW. Anyway, it would help to know what other filesystems you have (ie, is /tmp on root, or /var?). Regardless, a good place to check is whether /root has grown out-of-control-- logging into X + KDE or GNOME, running apps like Mozilla which create big user profiles, for example, although trying to run perl -MCPAN or many others things could also do it. Otherwise, you might have files which have been deleted but are still being held by a process using that space. If something was generating a huge logfile which you'd already deleted, try restarting it and/or syslogd. For that matter, try rebooting the system and seeing whether you get more space afterwards. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
On Sat, 23 Apr 2005 04:38:52 -0500, Miguel Mendez [EMAIL PROTECTED] wrote: On Fri, 22 Apr 2005 18:08:07 -0400 Adam Weinberger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. I disagree with NetBSD's PREFIX. I would go with the global prefix, /usr/local. 85% of configure has the /usr/local by default and FreeBSD already has /usr/local (to kill the colour discussions), so all we have to do is remove /usr/X11R6. Before you ask how we can test if the port is respect the prefix, we should be able to find out very easy when you work with pkg-plist by follow the porter handbook. BTW: FreeBSD doesn't has to be weird. :-) Cheers, Mezz Cheers, -- [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - [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: mplayer/mplayer-plugin question
On Sat, 23 Apr 2005 13:31:31 -0500, Gary Kline [EMAIL PROTECTED] wrote: On Sat, Apr 23, 2005 at 01:57:27PM -0400, Adam Weinberger wrote: Miguel Mendez wrote: On Fri, 22 Apr 2005 18:08:07 -0400 Adam Weinberger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. Cheers, There are many good potential layouts, such as the one you mentioned. But the issue in my mind is how one would go about implementing it without wreaking havoc on the poor, unsuspecting users. One logical move might be to have symlinks to either|or /usr/local, /usr/pkg in FreeBSD 6-STABLE, then have it hardwired in 7-STABLE. We could just dump everything into /usr, /usr/bin, and /etc; If it happens FreeBSD do that, then FreeBSD is messy, Linux-ish and dead. :-P Cheers, Mezz but it seems better to have a place for the default|system binaries, libs, /etc and one and only one for everything else. gary -- [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - [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: mplayer/mplayer-plugin question
On Sat, 23 Apr 2005 14:14:56 -0500 Jeremy Messenger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. I disagree with NetBSD's PREFIX. I would go with the global prefix, /usr/local. 85% of configure has the /usr/local by default and FreeBSD already has /usr/local (to kill the colour discussions), so all we have to do is remove /usr/X11R6. Before you ask how we can test if the port is respect the prefix, we should be able to find out very easy when you work with pkg-plist by follow the porter handbook. I wasn't advocating the use of /usr/pkg, but rather the way they enforce it for every package. I personally don't mind what the prefix is called, but for the sake of POLA /usr/local would certainly serve FreeBSD better. FWIW, well behaved software should always be $PREFIX clean. On an unrelated note, I also find their buildlink system pretty interesting, and have meant to have a more in depth look at it for a while but, as always, there's only so much stuff you can do in 24 hours. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpF5OOjR1LWP.pgp Description: PGP signature
Re: mplayer/mplayer-plugin question
On Sat, Apr 23, 2005 at 02:17:51PM -0500, Jeremy Messenger wrote: On Sat, 23 Apr 2005 13:31:31 -0500, Gary Kline [EMAIL PROTECTED] wrote: On Sat, Apr 23, 2005 at 01:57:27PM -0400, Adam Weinberger wrote: Miguel Mendez wrote: On Fri, 22 Apr 2005 18:08:07 -0400 Adam Weinberger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. Cheers, There are many good potential layouts, such as the one you mentioned. But the issue in my mind is how one would go about implementing it without wreaking havoc on the poor, unsuspecting users. One logical move might be to have symlinks to either|or /usr/local, /usr/pkg in FreeBSD 6-STABLE, then have it hardwired in 7-STABLE. We could just dump everything into /usr, /usr/bin, and /etc; If it happens FreeBSD do that, then FreeBSD is messy, Linux-ish and dead. :-P Right on the money! That's one thing I don't like about the Linux distros. And why it makes sense to dump any local ports (GUI or whatever) into /usr/local. The default /etc/motd would inform people. -g but it seems better to have a place for the default|system binaries, libs, /etc and one and only one for everything else. gary -- [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting USB-stick
Hi I've got a problem with mounting a USB-stick on FreeBSD 5.4-RC3 (and according to google I'm not the only one, but noone seems to have had the problem I have): If I plug the stick in, I get lots of Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): Medium not present Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sen se Data) Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 [...] It ends with Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): Retries Exhausted Apr 23 21:26:08 fbsd kernel: Opened disk da0 - 6 Now I have /dev/da0, but no /dev/da0s1. No matter what I try with camcontrol, I don't get da0s1. By accident I found out that after I mount /dev/da0 (which of course doesn't give me any files on the stick) and umount it, I get /dev/da0s1. What's going on/wrong and how can I fix it? I don't need amd, so I'd be happy about a simple solution, if there's any. Thanks! :) -- Fridtjof Busse In terms of the CO2 issue ... We will not do anything that harms our economy, because, first things first, are the people who live in America. George W. Bush circa February 2001 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subbfont.ttf, missing.
On Fri, 22 Apr 2005 13:12:03 -0700 Gary Kline [EMAIL PROTECTED] wrote: I can't figure out how to get mozilla or firefox to play the writer's almanac (( any help??)). It plays out of the box on my RH 8.0 box. At any rate, I'm trying to get gmplayer set up with its realaudio codecs, and when I bring up gmplayer, it complains that it is missing ~/.mplayer/subfont.ttf. Anybody know where it is hiding? I've installed mplayer-fonts and didn't find the *ttf file in the port//work directory. Of course neither is subfont.ttf in /usr/local/share/mplayer/font*. So: a) can I config gmplayer to play realplay files, pref by script? or b) do I need the ttf file for [g]mplayer? thanks for any clues here, gents, gary PS: (Video: is a dontcare). Hello, You can try copying the ~/.mplayer/subfont.ttf from RH 8.0. If it is a symlink (probably) just link ~/.mplayer/subfont.ttf to your favourite font (the font directories are usually under /usr/X11R6/lib/X11/fonts/). Hope that helps. Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI AIC7902 Boot Issue
I am attempting to install FreeBSD 5.3 onto a new server, but during the initial bootup it fails / times out from what I think is it trying to initialize the SCSI adapter. The server has an Adaptec AIC-7902 dual-channel Ultra320 SCSI controller which the i386 ahd(4) driver has listed as a supported device. I have been reading and searching this lists archives as well as the bsdforums.org site for possible solutions, but so far what I have found has not worked. I have tried disabling/enabling ACPI, removing all but one SCSI drive and re-checking the adapter settings comparing them to a different Adaptec controller on another server running FreeBSD 5.3 which works fine. The servers BIOS and firmware is all up to date and is mainly running on its default settings. Here is a summary of what I am seeing during bootup: Ata1-master : FAILURE ATAPI_IDENTIFY timed out Waiting 15 seconds for SCSI devices to settle ---Dump Card State Ends--- (probe29:ahd1:0:15:0) SCB0xe timed out ahd0: Issued Channel A Bus Reset 4 SCBs aborted Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie usb wireless
Pablo Allietti wrote: hi all. i recently buy a usb wireless network card Cisco/Linksys. my problem is when i plug the usb appears with dmesg ugen0: Cisco-Linksys Wireless-G USB Network Adapter, rev 2.00/0.04, addr 2 perfect no!!! ??? but how do i install the card? to work? and appears with ifconfig? anybody help me? Now you add a line in your rc.conf: ifconfig_ugen0=inet 192.168.168.1 netmask ff00 I hope it helps. Aftab Jahan Subedar Software Engineer Subedar Technologies Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh http://www.SubedarTechnologies.com http://www.NYSEGame.com http://www.DhakaStockExchangeGame.com http://www.CEOBangladesh.com http://www.geocities.com/jahan.geo http://www.tucows.com/preview/379868.html http://www.soft-mania.com/program-3060.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
E-mail test
Just ignore this. Having issues with my e-mail setup. Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subbfont.ttf, missing.
On Sat, Apr 23, 2005 at 04:44:33PM -0300, Alejandro Pulver wrote: On Fri, 22 Apr 2005 13:12:03 -0700 Gary Kline [EMAIL PROTECTED] wrote: I can't figure out how to get mozilla or firefox to play the writer's almanac (( any help??)). It plays out of the box on my RH 8.0 box. At any rate, I'm trying to get gmplayer set up with its realaudio codecs, and when I bring up gmplayer, it complains that it is missing ~/.mplayer/subfont.ttf. Anybody know where it is hiding? I've installed mplayer-fonts and didn't find the *ttf file in the port//work directory. Of course neither is subfont.ttf in /usr/local/share/mplayer/font*. So: a) can I config gmplayer to play realplay files, pref by script? or b) do I need the ttf file for [g]mplayer? thanks for any clues here, gents, gary PS: (Video: is a dontcare). Hello, You can try copying the ~/.mplayer/subfont.ttf from RH 8.0. If it is a symlink (probably) just link ~/.mplayer/subfont.ttf to your favourite font (the font directories are usually under /usr/X11R6/lib/X11/fonts/). Hope that helps. You've helped me google around for some clue(s)! It looks like any single ttf file will do, within reason. So the answer to my question is copy some ((smallish? 14pt?)) ttf to ~/.mplayer/subfont.ttf Ariel is the default. Another -question is:: is there a way to set the volume in mplayer/gmplayer before it's plugin blasts a loud and distorted stream at me? Or am I suppoesed to use the mixer for this? tx in advance, gary PS: [g]mplayer is a nice suite; it's just difficult to set up/use/tune/etc. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Toshiba Portégé 4000 laptop
With FreeSBIE 1.1 (based on FreeBSD 5.3), it says: acd0: TIMEOUT - READ_BIG retrying (2 retries left) acd0: TIMEOUT - READ_BIG timed out Then it stop/freezes. If I press the power button, it says acpi: suspend request ignored (not ready yet). Thanks. On 4/23/05, Laurent Debacker [EMAIL PROTECTED] wrote: I tried 5.4-RC3 with no ACPI, safe mode, and DEBUG mode, without success. DEBUG doesn't repport anything. 5.3 also crashes in safe mode, and no ACPI, freezes after pci0: PCI bus on pcib0. dmesg on 4.11 reports: ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf7eff000-0xf7ef irq 11 at device 2.0 on pci0. You can see full report below. Thank you for your help ;) Laurent. Here are drivers loaded by 4.11 as reported by dmesg: md0: Preloaded image /mfsroot 4423680 bytes at 0xc03edc14 md1: Malloc disk Using $PIR table, 9 entries at 0xc00f01d0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Acerlabs M5247 PCI-PCI(AGP Supported) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: Trident model 8820 VGA-compatible display device at 0.0 irq 11 ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf7eff000-0xf7ef irq 11 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered atapci0: AcerLabs Aladin ATA66 controller port 0xeff0-0xefff at device 4.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: unknown card (vendor=0x10b9, dev=0x5451) at 6.0 isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 chip1: AcerLabs M15x3 Power Management Unit at device 8.0 on pci0 fxp0: Intel 82559 Pro/100 Ethernet port 0xeec0-0xeeff mem 0xf7d0-0xf7df,0xf7efe000-0xf7efefff irq 11 at device 10.0 on pci0 fxp0: Ethernet address 00:00:39:a7:a0:b4 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci_cfgintr_linked: linked (3) to hard-routed irq 11 pci_cfgintr: 0:16 INTA routed to irq11 pcic0: TI PCI-1410 PCI-CardBus Bridge irq 11 at device 16.0 on pci0 pcic0: PCI Memory allocated: 0x8800 pcic0: TI12XX PCI Config Reg: [pwr save][pci only] pccard0: PC Card 16-bit bus (classic) on pcic0 pci_cfgintr_linked: linked (1) to hard-routed irq 11 pci_cfgintr: 0:17 INTA routed to irq11 pcic1: Toshiba ToPIC100 PCI-CardBus Bridge irq 11 at device 17.0 on pci0 pcic1: PCI Memory allocated: 0x88001000 pccard1: PC Card 16-bit bus (classic) on pcic1 pci_cfgintr_linked: linked (2) to hard-routed irq 11 pci_cfgintr: 0:17 INTB routed to irq11 pcic2: Toshiba ToPIC100 PCI-CardBus Bridge irq 11 at device 17.1 on pci0 pcic2: PCI Memory allocated: 0x88002000 pccard2: PC Card 16-bit bus (classic) on pcic2 pci0: unknown card (vendor=0x1179, dev=0x0805) at 18.0 orm0: Option ROMs at iomem 0xc-0xcbfff,0xe-0xe on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. pccard: card inserted, slot0 pccard: card removed, slot0 ad0: 16077MB IC25N020ATCS04-0 [38760/16/63] at ata0-master UDMA66 acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2502 at ata1-master PIO4 On 4/23/05, Kevin Kinsey [EMAIL PROTECTED] wrote: Laurent Debacker wrote: Hello, Both FreeBSD 5.3 and 5.4-RC3 freeze during the boot of the kernel. It detects my CPU, RAM, some ACPI stuffs.. I noticed pci1: display, VGA at device 0.0 (no driver attached). I don't know if it's ok. At the end, it says ohci0: [GIANT-LOCKED] then usb0: OHCI version 1.0, legacy support, then nothing. FreeBSD 4.11 boots well. However I don't want FreeBSD 4.11 ;) Any idea? Thank you, Laurent Debacker. What does the 4.11 dmesg say about the ochi device? Can you boot safe mode on 5.X? Have you tried booting with ACPI disabled? HTH, KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subbfont.ttf, missing.
On Sat, 23 Apr 2005 13:19:14 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Sat, Apr 23, 2005 at 04:44:33PM -0300, Alejandro Pulver wrote: On Fri, 22 Apr 2005 13:12:03 -0700 Gary Kline [EMAIL PROTECTED] wrote: I can't figure out how to get mozilla or firefox to play the writer's almanac (( any help??)). It plays out of the box on my RH 8.0 box. At any rate, I'm trying to get gmplayer set up with its realaudio codecs, and when I bring up gmplayer, it complains that it is missing ~/.mplayer/subfont.ttf. Anybody know where it is hiding? I've installed mplayer-fonts and didn't find the *ttf file in the port//work directory. Of course neither is subfont.ttf in /usr/local/share/mplayer/font*. So: a) can I config gmplayer to play realplay files, pref by script? or b) do I need the ttf file for [g]mplayer? thanks for any clues here, gents, gary PS: (Video: is a dontcare). Hello, You can try copying the ~/.mplayer/subfont.ttf from RH 8.0. If it is a symlink (probably) just link ~/.mplayer/subfont.ttf to your favourite font (the font directories are usually under /usr/X11R6/lib/X11/fonts/). Hope that helps. You've helped me google around for some clue(s)! It looks like any single ttf file will do, within reason. So the answer to my question is copy some ((smallish? 14pt?)) ttf to ~/.mplayer/subfont.ttf Ariel is the default. Another -question is:: is there a way to set the volume in mplayer/gmplayer before it's plugin blasts a loud and distorted stream at me? Or am I suppoesed to use the mixer for this? tx in advance, gary PS: [g]mplayer is a nice suite; it's just difficult to set up/use/tune/etc. Hello, The first time I installed mplayer and it prompted me for that file I symlinked it to a font (you can do that instead of copying it), but I was not sure about if that works (I never played a movie with subtitles). I do not know anything about the plugin but this links might be useful (they point to the local version of the MPlayer manual): file:///usr/local/share/doc/mplayer/control.html#ctrl-cfg file:///usr/local/share/doc/mplayer/devices.html#af_volume Hope that helps. P.S.: I have made a CC to you as the header indicates, but it was returned to me with the message: 550.biz spam not wanted. Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unassociated shell command when building kernel
If there is an old one, it's in the object tree. But maybe there isn't, keep reading for my guess. Do you know how to get at the old one? Or know where there are instructions on how to do so? 2) If that isn't the problem, how can I find out what is? I'm thinking a perusal of /usr/src/UPDATING ... but IANAE. I've checked it. There's nothing there that I've seen that seems to help out. If there is, I've passed it and didn't understand its significance. Dave Madsen ---dcm My guess: it's likely your make is out of date. See /usr/ports/UPDATING, entry 20040728. If your world is older than that date, it's almost certainly the issue. OTOH, if you're building kernels often (say, monthly?) and your world is last July or earlier, I'd have thought the problem to be older than one month. Are you also regularly building world? They really need to be kept m/l in sync. I build world and kernel about once a week. I've been getting this error for a while, and thought it might go away if I gave it some time, like other errors have done in the past. It hasn't. Now, I could be wrong, and often am; but it's worth thinking about, and seems quite possible. Thanks for your assistance! (You're the only one who's responded!) Kevin Kinsey Dave Madsen ---dcm adsenmay atay ijitvay otday omcay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subbfont.ttf, missing.
On Sat, Apr 23, 2005 at 05:39:58PM -0300, Alejandro Pulver wrote: On Sat, 23 Apr 2005 13:19:14 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Sat, Apr 23, 2005 at 04:44:33PM -0300, Alejandro Pulver wrote: On Fri, 22 Apr 2005 13:12:03 -0700 Gary Kline [EMAIL PROTECTED] wrote: Hello, The first time I installed mplayer and it prompted me for that file I symlinked it to a font (you can do that instead of copying it), but I was not sure about if that works (I never played a movie with subtitles). Interesting. I've installed, de- and re-installed mplayer several times. Noprompting. Anyway, I cp'd over a generic ttf file and the error dialog went away. I still see a strange error popup about AF_INET6 and not-being-able-to-connect-to fooo.com, but it seems like a bogus err, because I can see the data flowing over my router. Can you suggest an entire [g]mplayer [] http:// example? Or do you use mplayer to watch downloaded files? (Once, last fall, I had mplayer working for a few seconds; then it quit and coredumped [??]) I do not know anything about the plugin but this links might be useful (they point to the local version of the MPlayer manual): file:///usr/local/share/doc/mplayer/control.html#ctrl-cfg file:///usr/local/share/doc/mplayer/devices.html#af_volume Hope that helps. Yup, thankee :-) P.S.: I have made a CC to you as the header indicates, but it was returned to me with the message: 550.biz spam not wanted. Apologies. But a good percentage of my spam is from the slimeballs who abuse the biz domain. (I restrain myself:-) Bottom line, thanks for your input, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some MMC memory cards do not work while e.g. CFC are just fine
Hi all, I have a USB attached multi slot memory card reader which I use with FreeBSD-4.11. It has worked just fine with CFC cards for ages. A while ago I managed to get it work briefly with the MMC card used in Nokia 9300 mobile phones. Later when I have tried the same physical MMC card again it refuses to co-operate, but the CFCs seem to work just fine. This does not seem to be a problem in the MMC itself because it still works fine with the phone. The MMC just no longer works with FreeBSD and multi slot reader. Is this a known symptom of some sort of a quirk missing in scsi_da.c or something similar? When I apply camcontrol rescan 4:0:2 this gets logged to the system console... da6 at umass-sim0 bus 0 target 0 lun 2 da6: Zynet USB Storage-MMC I03A Removable Direct Access SCSI-0 device da6: 650KB/s transfers da6: 122MB (250880 512 byte sectors: 64H 32S/T 122C) So, the MMC definitely is there, and it has been recognized. When I try to mount the thing... mount -p -t msdos /dev/da5s1 /USB/flash I get this... (da6:umass-sim0:0:0:2): READ(10). CDB: 28 40 0 0 0 0 0 0 1 0 (da6:umass-sim0:0:0:2): MEDIUM ERROR asc:11,0 (da6:umass-sim0:0:0:2): Unrecovered read error da6: reading primary partition table: error reading fsbn 0 msdos: /dev/da6s1: Input/output error WHat should I make of this? Do these symptoms ring a bell? Are there any hints what to try next? Cheers, // jau .--- ..- -.- -.- .-.- .-.-.-..- -.- -.- --- -. . -. /Jukka A. Ukkonen,Mawit Ltd, Finland /__ M.Sc. (sw-eng cs)(Phone) +358-500-606-671 / Internet: Jukka.Ukkonen(a)Mawit.Com (Home) +358-9-6215-280 /Internet: ukkonen(a)nic.funet.fi v Internet: jau(a)iki.fi .--- .- ..- ...-.- .. -.- .. .-.-.- ..-. .. + + + + My opinions are mine and mine alone, not my employers. + + + + ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
On Saturday 23 April 2005 21:29, Miguel Mendez wrote: On Sat, 23 Apr 2005 14:14:56 -0500 Jeremy Messenger [EMAIL PROTECTED] wrote: Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until then, I think it's nothing short of retarded for apps to install into unusual locations to prove a point. It might be interesting looking at the work the pkgsrc people have done wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under /usr/pkg/xorg and all packages are installed under /usr/pkg, not /usr/X11R6 or /usr/local. I disagree with NetBSD's PREFIX. I would go with the global prefix, /usr/local. 85% of configure has the /usr/local by default and FreeBSD already has /usr/local (to kill the colour discussions), so all we have to do is remove /usr/X11R6. Before you ask how we can test if the port is respect the prefix, we should be able to find out very easy when you work with pkg-plist by follow the porter handbook. I wasn't advocating the use of /usr/pkg, but rather the way they enforce it for every package. I personally don't mind what the prefix is called, but for the sake of POLA /usr/local would certainly serve FreeBSD better. FWIW, well behaved software should always be $PREFIX clean. Good discussion. Wanted to add some thoughts... [ I stopped CC'ing everyone, for those who read the lists anyway and don't want to get 3 or 4 copies, but I don't mind if anyone CCs me again in a response ] At netbsd they have an xwedge package that basically maps any /usr/X11R6 to /usr/pkg come install time. We could easily have something likewise (or borrow it from net) but it still has the problem: what are you going to do with users who already have the /usr/X11R6 bonus tree. Also (minor?) the xorg distribution should install into PREFIX also then, of course. xwedge seems to be great if it's the first thing you install/setup, I don't know how/if it can cope if installed after one already has 200 packages installed. If it copes with that, borrowing it as a starting point would make sense. Any port that's PREFIX clean should be no problem if a similar xwedge scheme is used. Then eventually it could be dropped after everything caught up with there being only one prefix. Still, I wonder if just ruthlessly making the X target a hard link to the local target (and maybe later fase out X11BASE in ports) wouldn't be the best way to go about this. Would be completely POLA agnostic at first _and_ at last, for those cases that will/can not be stomped into conforming to LOCALBASE you could always retain a simple hard link. That's one inode pointing to one other. It won't saturate our disks ;-) The only problem I can think of is maybe there will be name clashes somewhere. But it may very well be the case that things go a lot deeper, and there's no easy solutions. In that case, well, we can already live with it now... Of course that is if people _WANT_ to do away with the X prefix, up until now my impression was that most folks didn't mind it or even thought it was better. I never really cared very much about it apart from aestetic [sp?] reasons, but I can certainly imagine it being confusing to some (new) users. One other thing, which doesn't concern end users is that it can make things easier for porters. If you have a port that needs to put something into LOCALBASE and something into X11BASE you're always going to have an interesting plist and more error prone littering in your Makefile. Of course you can always cope, but simpler is better. OK, enough babble :) Regards, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subbfont.ttf, missing.
On Sunday 24 April 2005 00:08, Gary Kline wrote: On Sat, Apr 23, 2005 at 05:39:58PM -0300, Alejandro Pulver wrote: On Sat, 23 Apr 2005 13:19:14 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Sat, Apr 23, 2005 at 04:44:33PM -0300, Alejandro Pulver wrote: On Fri, 22 Apr 2005 13:12:03 -0700 Gary Kline [EMAIL PROTECTED] wrote: Hello, The first time I installed mplayer and it prompted me for that file I symlinked it to a font (you can do that instead of copying it), but I was not sure about if that works (I never played a movie with subtitles). Interesting. I've installed, de- and re-installed mplayer several times. Noprompting. Anyway, I cp'd over a generic ttf file and the error dialog went away. Read /usr/ports/multimedia/mplayer/pkg-message For non TTF fonts you can go into the ports dir as a normal user and: % make install-user It makes warnings about no font found or alike in gmplayer go away. If you want to use a TTF font, I guess you have to install one. Perhaps use mkttfdir or what's it called... I never used OSD myself I must say, and usually use kmplayer. HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
Danny Pansters wrote: Of course that is if people _WANT_ to do away with the X prefix, up until now my impression was that most folks didn't mind it or even thought it was better. I never really cared very much about it apart from aestetic [sp?] reasons, but I can certainly imagine it being confusing to some (new) users. I have always historically liked having a /usr/local and /usr/X11R6. If I converted a machine to headless, such as retiring a workstation into a backup MX or such, rm -rf /usr/X11R6 was always clean and easy, and cleared up tons of space. Even now, it's annoying that KDE puts its stuff one place and GNOME puts it stuff somewhere else. I'd rather have it all in /usr/X11R6 -- anything GUI related in one place that I can both mentally and physically segregate. Having said all that, I admit this is mostly inertia from before decent packaging systems existed. I'm used to immediately going into /usr/X11R6 to find the configuration data for my UI, but as mentioned, KDE's already screwing that up for me :) And removing the GUI is as easy as pkg_delete -r imake*, so I think moving forward, there's no significant technical reason to keep a separate prefix. -- -- Mike Still using IE? Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=6492t=1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB hard disk
I have a kangaroo usb hard disk that stopped working (skips, makes strange vibrating clicking noises and the computer does not recognize it. could you offer any help? suggestions? thanks c. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB hard disk
Carolina Mallol wrote: I have a kangaroo usb hard disk that stopped working (skips, makes strange vibrating clicking noises and the computer does not recognize it. could you offer any help? suggestions? thanks c. Yes - purchase a new one. -- Best regards, Chris People to whom you are attracted invariably thing you remind them of someone else. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[4]: WRITE_DMA problem again
Hello Kendall, Friday, April 22, 2005, 8:50:42 PM, you wrote: Anyhow, my understanding is that the current work-around to this problem is to turn DMA off for your ata drives. I guess this can be done manually with the atacontrol command as I've been doing (though as you'll see in my message linked above, I apparently need to do it differently/sooner). I also understand that you can do so by setting hw.ata.ata_dma=0 in /boot/loader.conf . Yes, I saw this suggestion in other posts, too. Well, I gave it a try. I disabled dma yesterday and today I got the following: Timecounter TSC frequency 498669235 Hz quality 800 ad0: 8693MB IBM-DJNA-370910/J74OA30K [17662/16/63] at ata0-master PIO4 ad0: TIMEOUT - WRITE_MUL retrying (2 retries left) LBA=1573151 ad0: FAILURE - WRITE_MUL timed out That's something completely new. Does anyone know what that means? -- Best regards, Cezarmailto:[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: Mounting USB-stick
On Sat, 2005-04-23 at 15:41, Fridtjof Busse wrote: Hi I've got a problem with mounting a USB-stick on FreeBSD 5.4-RC3 (and according to google I'm not the only one, but noone seems to have had the problem I have): If I plug the stick in, I get lots of Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): Medium not present Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sen se Data) Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 [...] It ends with Apr 23 21:26:08 fbsd kernel: (da0:umass-sim0:0:0:0): Retries Exhausted Apr 23 21:26:08 fbsd kernel: Opened disk da0 - 6 Now I have /dev/da0, but no /dev/da0s1. No matter what I try with camcontrol, I don't get da0s1. By accident I found out that after I mount /dev/da0 (which of course doesn't give me any files on the stick) and umount it, I get /dev/da0s1. What's going on/wrong and how can I fix it? I don't need amd, so I'd be happy about a simple solution, if there's any. Thanks! :) Run fdisk on the drive, and see where the partitions are. I have found cases where the fourth partition holds the data, and you can mount it with 'mount -t msdos /dev/da0s4 /mnt'. Running fdisk with no parameters won't do any damage - but see below. In other cases of trouble, try 'camcontrol devlist' to get a list of which device numbers have been assigned. It isn't always da0. (As a digression, I experimented with recreating partition tables using fdisk and a configuration file, until the day I forgot to enter the 'da0' as the final parameter, and it wiped the disk partition on my dual-boot system disk. Easily the worst case of finger trouble I have had to date). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer/mplayer-plugin question
On Sunday 24 April 2005 01:10, Mike Edenfield wrote: Danny Pansters wrote: Of course that is if people _WANT_ to do away with the X prefix, up until now my impression was that most folks didn't mind it or even thought it was better. I never really cared very much about it apart from aestetic [sp?] reasons, but I can certainly imagine it being confusing to some (new) users. I have always historically liked having a /usr/local and /usr/X11R6. If I converted a machine to headless, such as retiring a workstation into a backup MX or such, rm -rf /usr/X11R6 was always clean and easy, and cleared up tons of space. a place that's convenient to rm -rf. OK, that's one use ;-) Even now, it's annoying that KDE puts its stuff one place and GNOME puts it stuff somewhere else. I'd rather have it all in /usr/X11R6 -- anything GUI related in one place that I can both mentally and physically segregate. Having said all that, I admit this is mostly inertia from before decent packaging systems existed. I'm used to immediately going into /usr/X11R6 to find the configuration data for my UI, but as mentioned, KDE's already screwing that up for me :) And removing the GUI is as easy as pkg_delete -r imake*, so I think moving forward, there's no significant technical reason to keep a separate prefix. As a matter of fact, as someone who almost always uses kde (also to work on Xless boxen from) and I only got exposed to etc files in /usr/X11R6 when doing something with gtk or with fxtv, both outside of my usual DE. Actually etc files are lib files in this case but you get the point. So that's coming from the other side of looking at it (most standard X stuff and Xlib apps is never touched even if it's in /usr/X11R6, the notable exception being XFConfig or xorgconfig. And this one, yes, resides in /etc per default...) As for KDE, I don't see any kde config files in /usr/local/etc. They're in /usr/local/share/[applnk][apps][config]. It follows its own config tree relative to its install prefix, be it /usr/local or /usr/X11R6. Either way, it does its own thing with its own config files. And with such a large project it makes sense to dictate how your config files are organized (save for PREFIX). It makes it more portable, not less IMHO. pkg_delete -r imake* is one for the archives I must say! :) Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg autoconfig much better or kde doing it? [ Was: Re: mplayer/mplayer-plugin question ]
Yeah, yeah, answering to my own post, but different subject that I've been wondering about: A couple weeks ago I moved my main box over from one disk to another and installed packages I had prepared before and copied over, etc, and I started KDE and only a few days later I noticed (when trying to use GL) that I was running with X's nv driver, not with nvidia driver. I completely forgot to setup a xorg config but it ran well nonetheless. I used to have to use specific hor/vert modes for my LCD monitor. Well, now something managed to autoconfigure it all. I haven't researched this but it seems that either xorg has improved greatly or KDE goes through great lenghts to make stuff just work. So, is this xorg or KDE that does the extra mile? Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg autoconfig much better or kde doing it? [ Was: Re: mplayer/mplayer-plugin question ]
Should have mentioned: 5.4-RC and KDE 3.4, xorg 6.8.2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Allowing a group to use fstab mount-points
I have fstab entries for several devices that aren't mounted at boot, but when mounting as an ordinary user, I can only mount a device on a mount-point that I own. Is it possible to relax this so that any user in the operator group can make use of the same fstab entries? I know I could make separate entries for each user, but it's a bit cumbersome. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stability problems with 5.3-Release
Justin R. Pessa wrote: On Apr 21 05 06:22PM, Chris McGee wrote: I've got 2 identical boxes (Supermicro sys-6023P-8R) running with ZCR adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, and dual 2.4 Ghz Xeons. Both of these machines are running 5.3-Release-p8. The usually run for a day, give or take, and then they crash. The just deadlock, no console response, no nothing. The get power cycled and they are fine for a little while again. These are configured to be mysql database servers. I can provide any information necessary, but i'm stumped and it's causing me a lot of heartache now. I've had similar problems as well. One thing I noticed is that a process may get hung in the D state and never returns. From there it seems the system enters a downward spiral and everything locks up. I've had this problem with p6 and p7. Attached is my dmesg output. Not sure if it's helpful... I can't offer anything in the form of a solution but figured I'd chime in so that Chris doesn't think he's the only (crazy) one with this problem! ;) Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - j .__. | Justin R. Pessa - BOFH | www: http://jstn.sdf1.org | pgp: http://jstn.sdf1.org/pgp.html | irc: asdf @ irc.freenode.net ' Copyright (c) 1992-2004 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.3-RELEASE-p7 #3: Thu Apr 21 13:24:51 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINTURBO Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1700MHz (1707.56-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf0a Stepping = 10 Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM real memory = 268349440 (255 MB) avail memory = 257130496 (245 MB) npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: ASUS P4T on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0 cpu0: ACPI CPU (2 Cx states) on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82850 host to AGP bridge mem 0xf800-0xfbff 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) pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 pcm0: Creative EMU10K1 port 0xd800-0xd81f irq 9 at device 6.0 on pci2 pcm0: SigmaTel STAC9708/11 AC97 Codec rl0: RealTek 8139 10/100BaseTX port 0xd000-0xd0ff mem 0xf180-0xf18000ff irq 9 at device 11.0 on pci2 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:02:2a:b3:24:a0 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH2 UDMA100 controller port 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xb400-0xb41f irq 9 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A 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 ums0: KYE Genius USB Wheel Mouse, rev 1.00/0.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. pci0: serial bus, SMBus at device 31.3 (no driver attached) uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xb000-0xb01f irq 9 at device 31.4 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: ECP parallel printer port port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: Parallel port bus on ppc0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: ISA Option ROMs
pf and altq bandwidth problem.
I apologize if this is the wrong list for this, but if it is, please let me know. Basically when queue1 on my firewall starts pushing the full amount of bandwidth, things that use the dflt queue become unreachable or VERY slow. The dflt queue NEVER uses it's full amount of bandwidth, generally around 3mbit/s on average. I'm starting to think this is just an inherent problem in FreeBSD 5.3. Maybe I just need to upgrade to 5.4 when it is released, but I don't think there were many pf updates in that release. I'm reluctant to post too much information about the firewall and it's configuration since it is a production firewall. But the problem seems to be with the queues. Here's what I think is the relevant information, let me know if more information is needed: firewall# pfctl -s queue queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) queue queue1 bandwidth 17Mb qlimit 3500 firewall# pfctl -vvsq queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} [ pkts: 93469435 bytes: 57111963278 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) [ pkts: 47160837 bytes: 20420146684 dropped pkts:294 bytes: 105068 ] [ qlength: 0/150 borrows: 2667554 suspends:237 ] queue queue1 bandwidth 12Mb qlimit 3500 [ pkts: 46308598 bytes: 36691816594 dropped pkts: 5236343 bytes: 4887084090 ] [ qlength: 0/3500 borrows: 0 suspends: 13971654 ] queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} [ pkts: 93472817 bytes: 57113671748 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 676.4 packets/s, 2.73Mb/s ] queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) [ pkts: 47163588 bytes: 20421636153 dropped pkts:294 bytes: 105068 ] [ qlength: 0/150 borrows: 2667640 suspends:237 ] [ measured: 550.2 packets/s, 2.38Mb/s ] queue queue1 bandwidth 12Mb qlimit 3500 [ pkts: 46309229 bytes: 36692035595 dropped pkts: 5236343 bytes: 4887084090 ] [ qlength: 0/3500 borrows: 0 suspends: 13971654 ] [ measured: 126.2 packets/s, 350.40Kb/s ] queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} [ pkts: 93475932 bytes: 57115159111 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 649.7 packets/s, 2.56Mb/s ] queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) [ pkts: 47166144 bytes: 20422995656 dropped pkts:294 bytes: 105068 ] [ qlength: 0/150 borrows: 2667788 suspends:237 ] [ measured: 530.7 packets/s, 2.28Mb/s ] queue queue1 bandwidth 12Mb qlimit 3500 [ pkts: 46309788 bytes: 36692163455 dropped pkts: 5236343 bytes: 4887084090 ] [ qlength: 0/3500 borrows: 0 suspends: 13971657 ] [ measured: 119.0 packets/s, 277.49Kb/s ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pf and altq bandwidth problem.
Christopher McGee wrote: I apologize if this is the wrong list for this, but if it is, please let me know. Basically when queue1 on my firewall starts pushing the full amount of bandwidth, things that use the dflt queue become unreachable or VERY slow. The dflt queue NEVER uses it's full amount of bandwidth, generally around 3mbit/s on average. I'm starting to think this is just an inherent problem in FreeBSD 5.3. Maybe I just need to upgrade to 5.4 when it is released, but I don't think there were many pf updates in that release. I'm reluctant to post too much information about the firewall and it's configuration since it is a production firewall. But the problem seems to be with the queues. Here's what I think is the relevant information, let me know if more information is needed: firewall# pfctl -s queue queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) queue queue1 bandwidth 17Mb qlimit 3500 firewall# pfctl -vvsq queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} [ pkts: 93469435 bytes: 57111963278 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) [ pkts: 47160837 bytes: 20420146684 dropped pkts:294 bytes: 105068 ] [ qlength: 0/150 borrows: 2667554 suspends:237 ] queue queue1 bandwidth 12Mb qlimit 3500 [ pkts: 46308598 bytes: 36691816594 dropped pkts: 5236343 bytes: 4887084090 ] [ qlength: 0/3500 borrows: 0 suspends: 13971654 ] queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} [ pkts: 93472817 bytes: 57113671748 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 676.4 packets/s, 2.73Mb/s ] queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) [ pkts: 47163588 bytes: 20421636153 dropped pkts:294 bytes: 105068 ] [ qlength: 0/150 borrows: 2667640 suspends:237 ] [ measured: 550.2 packets/s, 2.38Mb/s ] queue queue1 bandwidth 12Mb qlimit 3500 [ pkts: 46309229 bytes: 36692035595 dropped pkts: 5236343 bytes: 4887084090 ] [ qlength: 0/3500 borrows: 0 suspends: 13971654 ] [ measured: 126.2 packets/s, 350.40Kb/s ] queue root_fxp0 bandwidth 25Mb priority 0 cbq( wrr root ) {dflt, queue1} [ pkts: 93475932 bytes: 57115159111 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 649.7 packets/s, 2.56Mb/s ] queue dflt bandwidth 8Mb priority 4 qlimit 150 cbq( borrow default ) [ pkts: 47166144 bytes: 20422995656 dropped pkts:294 bytes: 105068 ] [ qlength: 0/150 borrows: 2667788 suspends:237 ] [ measured: 530.7 packets/s, 2.28Mb/s ] queue queue1 bandwidth 12Mb qlimit 3500 [ pkts: 46309788 bytes: 36692163455 dropped pkts: 5236343 bytes: 4887084090 ] [ qlength: 0/3500 borrows: 0 suspends: 13971657 ] [ measured: 119.0 packets/s, 277.49Kb/s ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Let me add a little more information I thought might be useful. This firewall has intel pro 100+ cards, actually 6 of them. Only 2 are in use, the others are there for some future projects. The public interface has 1 public IP from a /29. The private interface has 2 IP addresses that correspond with the 2 internal class C's we have(both publicly routable). I have tried choking queue1 to 12Mb at some point and it seemed to alleviate some of the problems, although some internal servers still respond VERY slowly when it peaks. Thanks, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing FreeBSD - Fatal trap 12
Hello, I am trying to install FreeBSD from floppies on a 486-DX-33, and with the three floppies I made I cant get to the boot menu screen (with the devil) but if I attempt to boot I get a Fatal trap 12: page fault while in kernal mode error. The same error happens if I try safe mode except my system restart. What can I do to fix this so I can install FreeBSD? Exact Error Message: Fatal Trap 12: page fault while in kernal mode fault virtual address = 0x409b341b falut code = supervisor read, page not present instuction pointer = 0x8:0xc066c17d stack pointer = 0x10:0xc1021c10 frame pointer = 0x10:0xc1021c10 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL = 0 current process = 0 () trap number = 12 panic: page fault Uptime: 1s - Any advice that you could give me would be welcome. 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: Installing FreeBSD - Fatal trap 12
nicholaserho wrote: Hello, I am trying to install FreeBSD from floppies on a 486-DX-33, and with the three floppies I made I cant get to the boot menu screen (with the devil) but if I attempt to boot I get a Fatal trap 12: page fault while in kernal mode error. The same error happens if I try safe mode except my system restart. What can I do to fix this so I can install FreeBSD? Exact Error Message: Fatal Trap 12: page fault while in kernal mode fault virtual address = 0x409b341b falut code = supervisor read, page not present instuction pointer = 0x8:0xc066c17d stack pointer = 0x10:0xc1021c10 frame pointer = 0x10:0xc1021c10 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL = 0 current process = 0 () trap number = 12 panic: page fault Uptime: 1s - Any advice that you could give me would be welcome. Thank you for your time. 1. Do you have more than 16 MB system RAM? You need more than 16 to install versions of FreeBSD higher than 5.2.1. 2. Try diabling PNPBIOS type options in the system's BIOS setup tool. 3. Make another set of floppies on new diskettes. 4. Check the hardware compatibility list at www.freebsd.org against the components in your system. Hope one of these does some good. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
scaning the local network with arping/sh script
Greetings... I don't know much about scripting but i tried to write one to scan my local network using the net/arping port. here is the script: sciprt start #!/bin/sh IP=1 while [ $IP -le 20 ] do echo -e .\c if ( arping -c 1 -q -i rl1 10.0.0.$IP ) then echo -e \n10.0.0.$IP Online fi IP=$(( $IP +1 )) done echo -e \n script end The script runs and reports OK but it is very slow and takes a lot of time to scan a large network. Does anyone have an idea on how to improve it or provide an alternate way to do it? PS: I used the arpscan port in the past but it is reported as broken: Unfetchable. I'm running FreeBSD 5.4 Stable. -- Kind regards Abu Khaled ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]