Re: cvsup to 6.0 stable from 5.5 release
On Thursday 16 March 2006 21:00, Chris wrote: On 16/03/06, Rick Knospler [EMAIL PROTECTED] wrote: I keep getting this error when I try to make build world on version 6.0.. -- stage 1.1: legacy release compatibility shims -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/lega cy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbi n:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS=-m /usr/src/tools/build/mk -m /usr/src/share/mk /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=502010 -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy ERROR: Source upgrades from versions prior to 5.3 not supported. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I am running version 5.5... (12:20:10 [EMAIL PROTECTED]:/usr/src) # uname -a FreeBSD star.skylands.net 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Thu Mar 2 21:54:14 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 How can I get past this error and upgrade to 6.0 stable..? Thanks I guess they have set 5.3 and 5.4 to be allowed and all other version outputs show that error, they may not add 5.5 until that hits release. I thought you were supposed to go to 6.0-release first. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to get SIIG PCI serial card to work
on 03-16-2006, John Baldwin wrote: On Thursday 16 March 2006 05:24 pm, Clayton Scott Kern wrote: on 03-16-2006, John Baldwin wrote: Ok, can you get a dmesg from a boot with your custom kernel with puc in it and the output from kldstat -v with that kernel booted? Here's the info you requested. When not loading the puc module in /boot/loader.conf, the puc device isn't found, though pciconf -lv shows the device. I added the output of pciconf -lv at the end. Output of dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE-p5 #0: Sat Mar 11 12:12:08 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC This kernel doesn't have 'device puc' in it. If it did, it would have the 'pci/puc' and 'puc/sio' modules listed in the kldstat -v output. Make sure you have built a custom kernel with 'device puc' enabled, installed it, and are booting from it. Output of kldstat -v Id Refs AddressSize Name 1 11 0xc040 63072c kernel Contains modules: Id Name 26 xpt 27 probe 28 cam ... No puc this list tells me 'device puc' isn't in this kernel. :) Thank you for all your help. I thought I had built and installed the new kernel. This time I did both and now dmesg shows: puc0: Oxford Semiconductor OX16PCI954 UARTs port 0x9000-0x901f,0x9400-0x941f mem 0xe30 04000-0xe3004fff,0xe300-0xe3000fff irq 16 at device 8.0 on pci0 sio1: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio1: type 16550A sio1: unable to activate interrupt in fast mode - using normal mode sio2: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio2: type 16550A sio2: unable to activate interrupt in fast mode - using normal mode sio3: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio3: type 16550A sio3: unable to activate interrupt in fast mode - using normal mode sio4: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode and kldstat -v | fgrep puc yields: 174 pccard/puc 175 pci/puc 176 cardbus/puc 187 puc/sio 337 puc/ppc Now when I run tip using sio1 - sio4 (aliases for /dev/cuad1-4), I get a message saying connected, but when I press enter, instead of getting my firewall's menu, I get nothing. I rebooted the system into Windoze and it works fine using TerraTerm Pro. -- Clayton Scott Kern [EMAIL PROTECTED] | The software stated it required Firewall/UNIX System Administrator| Microsoft Windows 98SE or higher, PIX, FreeBSD, Linux, Solaris HP-UX | so I installed FreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about mbuf clusters value
On 3/17/06, Halid Faith [EMAIL PROTECTED] wrote: Hello On Freebsd6.0-release, When I type netstat -m I see below; netstat -m 4293870790 mbufs in use 330335/65535 mbuf clusters in use (current/max) 0/6/4528 sfbufs in use (current/peak/max) 386543 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 11 calls to protocol drain routines That is, the current value of mbuf clusters is more than it's max value. Does This condition cause any problem ? what shoul I do ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You cannot possibly live with that :-) Are you sure that's 6.0? Are you sure that netstat is from 6.0? 'Cuz this is how it looks in a normal 6.0: 1024/2966/3990 mbufs in use (current/cache/total) 984/2608/3592/24768 mbuf clusters in use (current/cache/total/max) 0/5/6448 sfbufs in use (current/peak/max) 2262K/5957K/8220K bytes allocated to network (current/cache/total) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 12 calls to protocol drain routines Try rebuilding your world. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about mbuf clusters value
Sorry I confused it with our another server I use freebsd5.4 What should I do ? thanks - Original Message - From: Andrew Pantyukhin [EMAIL PROTECTED] To: Halid Faith [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, March 17, 2006 10:49 AM Subject: Re: about mbuf clusters value On 3/17/06, Halid Faith [EMAIL PROTECTED] wrote: Hello On Freebsd6.0-release, When I type netstat -m I see below; netstat -m 4293870790 mbufs in use 330335/65535 mbuf clusters in use (current/max) 0/6/4528 sfbufs in use (current/peak/max) 386543 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 11 calls to protocol drain routines That is, the current value of mbuf clusters is more than it's max value. Does This condition cause any problem ? what shoul I do ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You cannot possibly live with that :-) Are you sure that's 6.0? Are you sure that netstat is from 6.0? 'Cuz this is how it looks in a normal 6.0: 1024/2966/3990 mbufs in use (current/cache/total) 984/2608/3592/24768 mbuf clusters in use (current/cache/total/max) 0/5/6448 sfbufs in use (current/peak/max) 2262K/5957K/8220K bytes allocated to network (current/cache/total) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 12 calls to protocol drain routines Try rebuilding your world. ___ 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]
configuring fetch to passive mode
Hi: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? When I try make fetch of some port I get: = Attempting to fetch from \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \ Operation not permitted It fails quickly, no sign of things timing out. In my firewall (pf), I have block in quick on $ext_if all pass out quick on $ext_if proto tcp all flags S/SA keep state pass out quick on $ext_if proto udp all keep state pass out quick on $ext_if proto icmp all keep state which basically block ftp active, but should allow ftp passive. If I flush the rules fetch works fine, so it must be an issue of fetch trying active mode. Setting FTP_PASSIVE_MODE=YES as environment variable or in make.conf doesn't change a thing. Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configuring fetch to passive mode
On Friday 17 March 2006 12:41, Erik Norgaard wrote: Hi: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? When I try make fetch of some port I get: = Attempting to fetch from \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \ Operation not permitted It fails quickly, no sign of things timing out. In my firewall (pf), I have block in quick on $ext_if all You block everything that comes in from your external interface. The quick keyword means that the search ends there. So you no incoming traffic passes... HTH, Nikos pass out quick on $ext_if proto tcp all flags S/SA keep state pass out quick on $ext_if proto udp all keep state pass out quick on $ext_if proto icmp all keep state which basically block ftp active, but should allow ftp passive. If I flush the rules fetch works fine, so it must be an issue of fetch trying active mode. Setting FTP_PASSIVE_MODE=YES as environment variable or in make.conf doesn't change a thing. Thanks, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configuring fetch to passive mode
Nikos Vassiliadis wrote: On Friday 17 March 2006 12:41, Erik Norgaard wrote: Hi: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? When I try make fetch of some port I get: = Attempting to fetch from \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \ Operation not permitted It fails quickly, no sign of things timing out. In my firewall (pf), I have block in quick on $ext_if all You block everything that comes in from your external interface. The quick keyword means that the search ends there. So you no incoming traffic passes... Incomming connections yes, but I have keep state on outgoing, that's why passive ftp should work while active fail. Otherwise I would have problems with all kinds of traffic but I don't. Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow floppy operation
Hi, From dmesg: fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3,5 drive on fdc0 drive0 As you can see, it's usual floppy drive for 3.5. After I'd bought that notbook, I installed FreeBSD 5.4 and used floppy quite often, the speed was about ten times faster To be sure that the same diskette is good I've dd'ed it on my desktop, the stats is: 2880+0 records in 2880+0 records out 1474560 bytes transferred in 48.589449 secs (30347 bytes/sec) So, it's a matter of some configuration hints (let's exclude hardware for a while). I know that it's not possible to find a solution for my strange problem not having my notebook. So I'll be thankful if you suggest some checklist to follow to be sure it's configured properly... or not properly :-) It might include kernel options, device.hints, etc. Regards, Muxas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about mbuf clusters value
Hello On Freebsd5.4-release, When I type netstat -m I see below; netstat -m 4293870790 mbufs in use 330335/65535 mbuf clusters in use (current/max) 0/6/4528 sfbufs in use (current/peak/max) 386543 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 11 calls to protocol drain routines That is, the current value of mbuf clusters is more than it's max value. Does This condition cause any problem ? what shoul I do ? Thanks ___ 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]
mounting nfs share
what is the command to mount NFS share? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configuring fetch to passive mode
On Friday 17 March 2006 13:27, Erik Norgaard wrote: Nikos Vassiliadis wrote: On Friday 17 March 2006 12:41, Erik Norgaard wrote: Hi: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? When I try make fetch of some port I get: = Attempting to fetch from \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \ Operation not permitted It fails quickly, no sign of things timing out. In my firewall (pf), I have block in quick on $ext_if all You block everything that comes in from your external interface. The quick keyword means that the search ends there. So you no incoming traffic passes... Incomming connections yes, but I have keep state on outgoing, that's why passive ftp should work while active fail. Otherwise I would have problems with all kinds of traffic but I don't. You are right, traffic originated from your box would be matched by the keep-state rules. I would put them above the block in quick all rule though, just for clarity's sake. That's what puzzled me. And you might have reasons to do it this way(more optimized ruleset?). Anyway, your ruleset works fine. Two things I can think of 1) another active packet filter, forgotten maybe? 2) your internet provider does funky things for you. Perhaps traceroute using tcp might help(-P tcp -p 21 ftp.freebsd.org) When you use passive ftp, all the connections are initiated by you, so it's no different than HTTP, telnet, ssh, ... Hope this helps(this time), Nikos Thanks, Erik ___ 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
I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks. On 3/17/06, Glenn Dawson [EMAIL PROTECTED] wrote: At 09:46 PM 3/16/2006, Andrew Pantyukhin wrote: On 3/17/06, Michael S [EMAIL PROTECTED] wrote: Hi. I am relatively new to FreeBSD, have been running it since 5.1. Nothing like what I experienced today had happened previously. My machine crashed and I wasn't able to boot it back, the boot processes wasn't able to find the kernel. I then booted with the 6.0 Release CD and went into the FIXIT mode. I wasn't able to mount /dev/ad0s1a (I have an IDE drive), I then tried fsck_ffs /dev/ad0s1 and the message was: CAN'T READ BLCK 128 ioctl Inappropriate ioctl for device fsck_ffs: /dev/ad0s1 can't read disk label. That machine was 6.0 p-1 (patched once) with slightly modified kernel. Is my data lost? Can anything be done still? Any help would be appreciated. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The bad news is that at least some data is lost and the HDD is toast. You might also want to try and mount the partitions read-only (this way they don't have to be clean). Some data might still be accessible. I think he would have much greater success by fsck'ing /dev/ad0s1a instead of /dev/ad0s1. (note the lack of an 'a' in the device name in the output above. -Glenn ___ 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
At 04:30 AM 3/17/2006, Michael S wrote: I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks. Have you tried to use any of the On 3/17/06, Glenn Dawson [EMAIL PROTECTED] wrote: At 09:46 PM 3/16/2006, Andrew Pantyukhin wrote: On 3/17/06, Michael S [EMAIL PROTECTED] wrote: Hi. I am relatively new to FreeBSD, have been running it since 5.1. Nothing like what I experienced today had happened previously. My machine crashed and I wasn't able to boot it back, the boot processes wasn't able to find the kernel. I then booted with the 6.0 Release CD and went into the FIXIT mode. I wasn't able to mount /dev/ad0s1a (I have an IDE drive), I then tried fsck_ffs /dev/ad0s1 and the message was: CAN'T READ BLCK 128 ioctl Inappropriate ioctl for device fsck_ffs: /dev/ad0s1 can't read disk label. That machine was 6.0 p-1 (patched once) with slightly modified kernel. Is my data lost? Can anything be done still? Any help would be appreciated. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The bad news is that at least some data is lost and the HDD is toast. You might also want to try and mount the partitions read-only (this way they don't have to be clean). Some data might still be accessible. I think he would have much greater success by fsck'ing /dev/ad0s1a instead of /dev/ad0s1. (note the lack of an 'a' in the device name in the output above. -Glenn ___ 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: mounting nfs share
On 17/3/06 11:24, Imran Imtiaz [EMAIL PROTECTED] wrote: what is the command to mount NFS share? See the mount_nfs manpage. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems using the GUI
I've been using FreeBSD for about a month now as I will be presenting it to my class in a couple of weeks. I am having a problem getting the the Windows X System to work. I have been trying for the last 2 weeks to get it to work. I have looked in the FAQ's section and the FreeBSD Handbook, but I am still unsuccessful. When I run startx I get (EE) Failed to load module fbdev (module does not exist, 0) (EE) default pointer: Cannot find which device to use. (EE) xf860OpenSerial: No Device specified (EE) default pointer: cannot open input device (EE) PreInit failed for input device default pointer No core Pointer Fatal server error: failed to initialize core devices I went to the X.Org web site and came to the conlusion that it is a problem with the Windows X System not playing with my mouse the way it should. I have a USB mouse and I can move the cursor around the screen. I have modified the /root/xorg.conf.new file for my mouse but was still unsuccessful at starting the GUI My modifications were as follows Section ServerLayout Identifier X.org Configured Screen 0Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard CoreKeyboard EndSection I added this section: Section Pointer ProtocolSysMouse Device /dev/sysmouse EndSection I modified this section: Section InputDevice IdentifierMouse0 Driver mouse Option Protocol SysMouse Option Device /dev/sysmouse EndSection Any help that I could get would be much appreciated. _ [1]Make FREE PC-to-PC calls with MSN Messenger. Get it now! References 1. http://g.msn.com/8HMBENUS/2749??PS=47575 ___ 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
At 04:30 AM 3/17/2006, Michael S wrote: I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks. Have you tried to use any of the alternate super blocks? On 3/17/06, Glenn Dawson [EMAIL PROTECTED] wrote: At 09:46 PM 3/16/2006, Andrew Pantyukhin wrote: On 3/17/06, Michael S [EMAIL PROTECTED] wrote: Hi. I am relatively new to FreeBSD, have been running it since 5.1. Nothing like what I experienced today had happened previously. My machine crashed and I wasn't able to boot it back, the boot processes wasn't able to find the kernel. I then booted with the 6.0 Release CD and went into the FIXIT mode. I wasn't able to mount /dev/ad0s1a (I have an IDE drive), I then tried fsck_ffs /dev/ad0s1 and the message was: CAN'T READ BLCK 128 ioctl Inappropriate ioctl for device fsck_ffs: /dev/ad0s1 can't read disk label. That machine was 6.0 p-1 (patched once) with slightly modified kernel. Is my data lost? Can anything be done still? Any help would be appreciated. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The bad news is that at least some data is lost and the HDD is toast. You might also want to try and mount the partitions read-only (this way they don't have to be clean). Some data might still be accessible. I think he would have much greater success by fsck'ing /dev/ad0s1a instead of /dev/ad0s1. (note the lack of an 'a' in the device name in the output above. -Glenn ___ 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
On 17/3/06 12:30, Michael S [EMAIL PROTECTED] wrote: I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks. If you used the default parameters when creating the filesystem then newfs -N /dev/ad0s1a should tell you where the alternate superblocks are and you may be able to use one of them with fsck_ffs's -b option. Don't forget the -N to newfs whatever you do though. If you're uncomfortable using that, then just try block 32 or 160. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting nfs share
On Fri, Mar 17, 2006 at 04:24:47PM +0500, Imran Imtiaz wrote: what is the command to mount NFS share? # mount -t nfs server:/path/on/server /path/local Please have a look at the man page: man mount_nfs and the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html bye, Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New Audit Feature
There was some mention in the geom list of a new audit feature that will result in the passphase ending up in a log when the -p option is use with gbde. Is auditing in 6.1, will it be optional, and will it be on by default? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to get SIIG PCI serial card to work
On Friday 17 March 2006 03:40 am, Clayton Scott Kern wrote: on 03-16-2006, John Baldwin wrote: On Thursday 16 March 2006 05:24 pm, Clayton Scott Kern wrote: on 03-16-2006, John Baldwin wrote: Ok, can you get a dmesg from a boot with your custom kernel with puc in it and the output from kldstat -v with that kernel booted? Here's the info you requested. When not loading the puc module in /boot/loader.conf, the puc device isn't found, though pciconf -lv shows the device. I added the output of pciconf -lv at the end. Output of dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE-p5 #0: Sat Mar 11 12:12:08 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC This kernel doesn't have 'device puc' in it. If it did, it would have the 'pci/puc' and 'puc/sio' modules listed in the kldstat -v output. Make sure you have built a custom kernel with 'device puc' enabled, installed it, and are booting from it. Output of kldstat -v Id Refs AddressSize Name 1 11 0xc040 63072c kernel Contains modules: Id Name 26 xpt 27 probe 28 cam ... No puc this list tells me 'device puc' isn't in this kernel. :) Thank you for all your help. I thought I had built and installed the new kernel. This time I did both and now dmesg shows: puc0: Oxford Semiconductor OX16PCI954 UARTs port 0x9000-0x901f,0x9400-0x941f mem 0xe30 04000-0xe3004fff,0xe300-0xe3000fff irq 16 at device 8.0 on pci0 sio1: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio1: type 16550A sio1: unable to activate interrupt in fast mode - using normal mode sio2: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio2: type 16550A sio2: unable to activate interrupt in fast mode - using normal mode sio3: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio3: type 16550A sio3: unable to activate interrupt in fast mode - using normal mode sio4: Oxford Semiconductor OX16PCI954 UARTs on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode and kldstat -v | fgrep puc yields: 174 pccard/puc 175 pci/puc 176 cardbus/puc 187 puc/sio 337 puc/ppc Now when I run tip using sio1 - sio4 (aliases for /dev/cuad1-4), I get a message saying connected, but when I press enter, instead of getting my firewall's menu, I get nothing. I rebooted the system into Windoze and it works fine using TerraTerm Pro. You might need to play with stty to do things like -clocal or -crtscts to get it to work. stty -a /dev/cuad1 will tell you what the current settings are (IIRC). Also, what speed are you using in TerraTerm? 9600? Note that with cu you can specify the speed directly (e.g. cu -l /dev/cuad1 -s 115200). -- John Baldwin [EMAIL PROTECTED] http://www.FreeBSD.org/~jhb/ Power Users Use the Power to Serve = http://www.FreeBSD.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configuring fetch to passive mode
On Friday 17 March 2006 10:41, Erik Norgaard wrote: Hi: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? When I try make fetch of some port I get: = Attempting to fetch from \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \ Operation not permitted I suspect this is a permission problem, not ftp. You can set passive mode with: FETCH_CMD= /usr/bin/fetch -ARrp in make.conf. However I just noticed that I don't currently have the -p option set, and I've not had a problem, despite being behind a similar firewall, and an external NAT router. I'm not sure why it works; possibly fetch automatically fails-over into passive mode. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configuring fetch to passive mode
RW wrote: On Friday 17 March 2006 10:41, Erik Norgaard wrote: Hi: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? When I try make fetch of some port I get: = Attempting to fetch from \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \ Operation not permitted I suspect this is a permission problem, not ftp. You can set passive mode with: FETCH_CMD= /usr/bin/fetch -ARrp in make.conf. This is a very bizare problem: 1) I boot, and rules are loaded correctly, to see what's there I do # pfctl -sr /tmp/boot.rules 2) I try make fetch some port, and get the error mentioned above 3) I then reload the very same rules, # pfctl -Fr pfctl -Rf /etc/pf.conf and to be sure, I do # pfctl -sr /tmp/reload.rules a diff shows no difference. 4) I try make fetch same port as previously, and now it works. I can reboot and repeat the above. Btw, all is done as root, so permissions should be ok. This is a fresh install, I did last week: FreeBSD 6.1-PRERELEASE #0: Wed Mar 8 15:03:03 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Any hints on this will be highly appreciated. There is one thing that I have left out, I go through a proxy, yet, I can't see how this should make any difference. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems using the GUI
Kris Wieschhaus wrote: I've been using FreeBSD for about a month now as I will be presenting it to my class in a couple of weeks. I am having a problem getting the the Windows X System to work. I have been trying for the last 2 weeks to get it to work. I have looked in the FAQ's section and the FreeBSD Handbook, but I am still unsuccessful. When I run startx I get (EE) Failed to load module fbdev (module does not exist, 0) (EE) default pointer: Cannot find which device to use. (EE) xf860OpenSerial: No Device specified (EE) default pointer: cannot open input device (EE) PreInit failed for input device default pointer No core Pointer Fatal server error: failed to initialize core devices fbdev sounds like the Linux frame buffer device. What's fbdev doing in a nice operating system like FreeBSD? -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SendMail Help!
Hi, My sendmail: # /usr/sbin/sendmail -d0.1 -bt /dev/null Version 8.13.4 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG SYSTEM IDENTITY (after readcf) (short domain name) $w = mailsrv (canonical domain name) $j = mailsrv.sub.dom.com (subdomain name) $m = sub.dom.com (node name) $k = mailsrv.sub.dom.com ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter ruleset address What do I've to change so that: -My Domain Name (must be sub.dom.com)? -Bind sendmail to an IP? -Setup my sendmail to deliver the mails to another mail server(dom.com)? Thanks... Efren Bravo. __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF and VPN/Hamachi
Hey, I'm having some trouble with my FreeBSD PF firewall and hamachi ( http://www.hamachi.cc ) , a simple program to set up a vpn. I asked my question on the hamachi forums but nobody seems to reply. Currently I have these rules in my pf.conf: # For Hamachi: rdr pass on $extif inet proto udp from any to $extaddr port 12975 - 192.168.2.11 port 12975 and I just allow all outgoing traffic: #Allow everyting outwards pass out all keep state I tried about every rule stated in this topic ( http://forums.hamachi.cc/viewtopic.php?t=1079 ) on the hamachi forums but none seem to work; either they have an invalid syntax or I just can't use that port ( someone redirected the traffic to port 25 which I'm allready using ). I also tried this rule, but it doesn't seem to help: nat on $extif from $intif:network port 12975 to any - $extif static-port I hope someone can tell me what to do because they are either also use hamachi through a PF firewall or know what the correct syntax should be. Thanks, -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems using the GUI
On 3/16/06, Kris Wieschhaus [EMAIL PROTECTED] wrote: I've been using FreeBSD for about a month now as I will be presenting it to my class in a couple of weeks. I am having a problem getting the the Windows X System to work. I have been trying for the last 2 weeks to get it to work. I have looked in the FAQ's section and the FreeBSD Handbook, but I am still unsuccessful. What version of FreeBSD (the output of uname -a would be informative)? How did you install X? As part of the initial install, from the installer? Or later, as a port or package? [...] I went to the X.Org web site and came to the conlusion that it is a problem with the Windows X System not playing with my mouse the way it should. I have a USB mouse and I can move the cursor around the screen. If you can move the cursor around on the text console, then you are running the mouse daemon (moused). You seem to have figured that out, but I don't understand why your xorg.conf was not already configured for a mouse. I have modified the /root/xorg.conf.new file for my mouse but was still unsuccessful at starting the GUI I don't think /root/xorg.conf.new is a default config file. I think that if you are not explicitly specifying it when you start Xorg, you aren't using it. Try copying it to /etc/X11/xorg.conf and then run startx. How did you generate the initial config file? What happens if you run Xorg -configure (which IIRC should create a new /root/xorg.conf.new)? And, on the matter of terminology: Windows is a Microsoft trademark, so the word Windows isn't part of the name of the X system. The full name is The X Window System, Version 11; short versions are X, the X System, X11, etc. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: SendMail Help!
What do I've to change so that: -My Domain Name (must be sub.dom.com)? Don't quite understand what you are getting at here. -Bind sendmail to an IP? Here is a pretty good document I found that describes how to bind only to loopback address, but I'm sure you could hack it to force it to listen to a different address instead. It also explains rebuilding your cf file from mc. http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/send mail.htm -Setup my sendmail to deliver the mails to another mail server(dom.com)? Check out the mailertable.sample file. I believe that it is there where you will alias the subdomain to another location. Create a new mailertable file, then whilst in your mail directory (usually /etc/mail), just type make, or: # makemap hash mailertable mailertable HTH, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pthread_cleanup_pop
similar way. SPE installs, but won't start. I get an 'Undefined Symbol pthread_cleanup_pop while trying to import libwx_base-2.6.so.0. Eric won't even install from ports. I get the same undefined symbol error, this time in libqt-mt.so.3. I've rebuilt wx, qt and a few other libraries, but it hasn't helped so far. Any idea how to fix this? no, but the only time i have had issues with this particular symbol was with linuxthreads ( if i remember correctly ) on 4.11. regards, usleepless ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about mbuf clusters value
Could you consider upgrading to 6.x. That's where the most support discussions are brewing. ___ 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 VPN/Hamachi
Could paste the pflog output ? ps.. On you blog rule just add log On 3/17/06, Frank Staals [EMAIL PROTECTED] wrote: Hey, I'm having some trouble with my FreeBSD PF firewall and hamachi ( http://www.hamachi.cc ) , a simple program to set up a vpn. I asked my question on the hamachi forums but nobody seems to reply. Currently I have these rules in my pf.conf: # For Hamachi: rdr pass on $extif inet proto udp from any to $extaddr port 12975 - 192.168.2.11 port 12975 and I just allow all outgoing traffic: #Allow everyting outwards pass out all keep state I tried about every rule stated in this topic ( http://forums.hamachi.cc/viewtopic.php?t=1079 ) on the hamachi forums but none seem to work; either they have an invalid syntax or I just can't use that port ( someone redirected the traffic to port 25 which I'm allready using ). I also tried this rule, but it doesn't seem to help: nat on $extif from $intif:network port 12975 to any - $extif static-port I hope someone can tell me what to do because they are either also use hamachi through a PF firewall or know what the correct syntax should be. Thanks, -- -Frank Staals ___ 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]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. 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. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble searching mailing list archives
Duane Whitty [EMAIL PROTECTED] wrote: John Murphy wrote: Micah [EMAIL PROTECTED] wrote: you can always use Google with 'site:lists.freebsd.org your key words' I usually find the interface below most usefullest (sp): http://groups.google.com/group/mailing.freebsd.questions?hl=en Thanks very much. This is great. I was having serious information withdrawl problems :) You're welcome, but having looked a little closer at it, it seems quite useless. Presumably because its archive has hardly any recent posts. Look at the bottom of this page: http://groups.google.com/group/mailing.freebsd.questions/about?hl=en So, Micah's suggestion is probably best for now. Sorry :( -- John. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with shoutcast port
Paulino Calderon wrote: I was trying to set up a shoutcast server on my freebsd 5.3 machine, for my surprise there was alredy a port to it, so my only job was to cd to the shoutcast port directory and make install, after that I wrote the configuration file, chmoded it to the proper permissions, and ran it with no warnings or errors, so whats the problem? It randomly crashes! the weird thing is that no log file is created and the only hint it gives me is at /var/log/messages : kernel: pid 27670 (sc_serv), uid 210: exited on signal 11. Any idea of what may cause this problem? I have the same issues on FreeBSD 6 too. Just use the Linux-version of Shoutcast from their webpage and use FreeBSD's linux compatibility. Solid as a rock here. HTH, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with shoutcast port
Frank Steinborn wrote: Paulino Calderon wrote: I was trying to set up a shoutcast server on my freebsd 5.3 machine, for my surprise there was alredy a port to it, so my only job was to cd to the shoutcast port directory and make install, after that I wrote the configuration file, chmoded it to the proper permissions, and ran it with no warnings or errors, so whats the problem? It randomly crashes! the weird thing is that no log file is created and the only hint it gives me is at /var/log/messages : kernel: pid 27670 (sc_serv), uid 210: exited on signal 11. Any idea of what may cause this problem? I have the same issues on FreeBSD 6 too. Just use the Linux-version of Shoutcast from their webpage and use FreeBSD's linux compatibility. Solid as a rock here. HTH, Frank Hello, I'm the maintainer of the shoutcast port. As you probably know, it's a binary port, since shoutcast is a closed-source application, so the port do just some simple tasks: patching config file, creating a user for shoutcast and installing the binary and the rcNG script. I think, the problem is with the binary, not with the port, so I can't fix it. Signal 11 means segmentation violation. Anyway, can you try to install it manually and check if it runs, please? All you have to do is to download from the shoutcast website, extract and run with the default configuration. If it fails, too, you might want to report it to the shoutcast team. If it works, please write back to me, attach your config file and include the output of uname -a, so that I can llok at this problem. Thanks, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about mbuf clusters value
On Fri, Mar 17, 2006 at 10:56:30AM +0200, Halid Faith wrote: Sorry I confused it with our another server I use freebsd5.4 That makes more sense. What should I do ? It's a leak in the stats accounting, so there are no operational problems to worry about. Either live with the numbers being wrong, or upgrade to FreeBSD 5.5 or higher (preferably 6.1). Kris pgpYV54H6a1TX.pgp Description: PGP signature
Re: Problem with shoutcast port
Kövesdán Gábor wrote: I'm the maintainer of the shoutcast port. As you probably know, it's a binary port, since shoutcast is a closed-source application, so the port do just some simple tasks: patching config file, creating a user for shoutcast and installing the binary and the rcNG script. I think, the problem is with the binary, not with the port, so I can't fix it. Signal 11 means segmentation violation. Anyway, can you try to install it manually and check if it runs, please? All you have to do is to download from the shoutcast website, extract and run with the default configuration. If it fails, too, you might want to report it to the shoutcast team. If it works, please write back to me, attach your config file and include the output It *is* a problem in the FreeBSD-binary from Shoutcast. That's why I told the OP to use the Linux-version of Shoutcast. Probably someone should do a linux-shoutcast port :-) Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble searching mailing list archives
The archive at gmane seems quite useful and it's searchable here: http://search.gmane.org/?query=email=group=gmane.os.freebsd.questionssort=relevanceDEFAULTOP=andxP=compat5.xFILTERS=Gos.freebsd.questions---A It's fast too. (Sorry about the long URL). -- John. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with shoutcast port
Frank Steinborn wrote: Kövesdán Gábor wrote: I'm the maintainer of the shoutcast port. As you probably know, it's a binary port, since shoutcast is a closed-source application, so the port do just some simple tasks: patching config file, creating a user for shoutcast and installing the binary and the rcNG script. I think, the problem is with the binary, not with the port, so I can't fix it. Signal 11 means segmentation violation. Anyway, can you try to install it manually and check if it runs, please? All you have to do is to download from the shoutcast website, extract and run with the default configuration. If it fails, too, you might want to report it to the shoutcast team. If it works, please write back to me, attach your config file and include the output It *is* a problem in the FreeBSD-binary from Shoutcast. That's why I told the OP to use the Linux-version of Shoutcast. Probably someone should do a linux-shoutcast port :-) Frank Or submit a bugreport to the developers of shoutcast. I'd do that but I hasn't been able to reproduce the error so far. Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems using the GUI
Ken Stevenson wrote: Kris Wieschhaus wrote: I've been using FreeBSD for about a month now as I will be presenting it to my class in a couple of weeks. I am having a problem getting the the Windows X System to work. I have been trying for the last 2 weeks to get it to work. I have looked in the FAQ's section and the FreeBSD Handbook, but I am still unsuccessful. When I run startx I get (EE) Failed to load module fbdev (module does not exist, 0) (EE) default pointer: Cannot find which device to use. (EE) xf860OpenSerial: No Device specified (EE) default pointer: cannot open input device (EE) PreInit failed for input device default pointer No core Pointer Fatal server error: failed to initialize core devices fbdev sounds like the Linux frame buffer device. What's fbdev doing in a nice operating system like FreeBSD? Heh, I like that question, but it may well be a better question than I can even hope to guess at. It is, however sitting around in ports in a couple of locations, and it's installed on this desktop: [289] Fri 17.Mar.2006 12:05:49 [EMAIL PROTECTED]/usr/ports] pkg_info | grep fb xorg-vfbserver-6.8.2 X virtual framebuffer server from X.Org I seem to recall setting up one boxen within the last 4 months or so that needed this port to even run X. The X on this box dates back to ?? and has been portupgraded a few gazillion times, so I can't say when it was installed, exactly. For the OP: Xorg will attempt to run (and do it successfully in many cases) without a config file at all. So, make sure (by reading the logs, most likely) that the file you are modifying is actually being used by the server, or you're just spinning your wheels. Kevin Kinsey -- He who fears the unknown may one day flee from his own backside. -- Sinbad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Trouble searching mailing list archives
I use this http://freebsd.rambler.ru/ lags 15 min behind what is posting to the list *** The archive at gmane seems quite useful and it's searchable here: http://search.gmane.org/?query=email=group=gmane.os.freebsd.questi onssort=relevanceDEFAULTOP=andxP=compat5.xFILTERS=Gos.freebsd.qu estions---A It's fast too. (Sorry about the long URL). - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with Vim 6.3.85 (vim6+ruby)
Hi I just installed FBSD 6.0 and installed vim6+ruby from ports. This is a clean system with nothing on it. When I run vim, I get what looks like character codes instead of letters. For example, immediately after opening vim, I get 25h Typing ':q' to quit gives me: --- 25h25l :25hq25l25h Very weird. Have I set something up wrong or is vim getting the wrong terminal type? I get the same behavior if TERM is either 'xterm' or 'xterm-color', but not if it is set to 'ansi', but then I don't get color. I have never had to worry about this before. Any help appreciated. -- Jim Freeze Got Ruby? http://www.ruby-lang.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More Server Crash Saga
Hi Derek, I got this data using ipmitool from the servers BMC just after (about 3 minutes after robbot) a crash this afternoon. I will be heading to th NOC this afternoone to copy the harddrive to another machine I have been using for about a year and a half. Anyways, here is the sensor data Temp | 38 degrees C | ok Temp | 50 degrees C | ok Ambient Temp | 30 degrees C | ok Planar Temp | 35 degrees C | ok Riser Temp | 34 degrees C | ok Temp | 40 degrees C | ok Temp | 40 degrees C | ok CMOS Battery | 3.15 Volts| ok ROMB Battery | Not Readable | ns VCORE| 0x01 | ok VCORE| Not Readable | ns PROC VTT | 0x01 | ok 1.5V PG | 0x01 | ok 1.8V PG | 0x01 | ok 3.3V PG | 0x01 | ok 5V PG| 0x01 | ok 5V Riser PG | 0x01 | ok Riser PG | 0x01 | ok PFault Fail Safe | Not Readable | ns Presence | 0x01 | ok Presence | 0x02 | ok Presence | 0x01 | ok Presence | 0x02 | ok ROMB Presence| 0x02 | ok FAN 1A RPM | 9600 RPM | ok FAN 1B RPM | 6900 RPM | ok FAN 2A RPM | 9900 RPM | ok FAN 2B RPM | 6825 RPM | ok FAN 3A RPM | 9825 RPM | ok FAN 3B RPM | 6825 RPM | ok FAN 4A RPM | 10200 RPM | ok FAN 4B RPM | 6675 RPM | ok Status | 0x80 | ok Status | Not Readable | ns Status | 0x01 | ok Status | Not Readable | ns VRM | 0x01 | ok VRM | 0x01 | ok OS Watchdog | 0x00 | ok SEL | Not Readable | ns Intrusion| 0x00 | ok PS Redundancy| Not Readable | ns Fan Redundancy | 0x01 | ok SCSI Connector A | Not Readable | ns Drive| 0xc0 | ok ECC Corr Err | 0xc0 | ok ECC Uncorr Err | Not Readable | ns I/O Channel Chk | 0xc0 | ok PCI Parity Err | 0xc0 | ok PCI System Err | 0xc0 | ok SBE Log Disabled | Not Readable | ns Logging Disabled | Not Readable | ns Unknown | Not Readable | ns PROC Protocol| Not Readable | ns PROC Bus PERR| Not Readable | ns PROC Init Err| Not Readable | ns PROC Machine Chk | Not Readable | ns Memory Spared| Not Readable | ns Memory Mirrored | 0x01 | ok Memory RAID | Not Readable | ns Memory Added | 0x01 | ok Memory Removed | 0x01 | ok PCIE Fatal Err | 0x01 | ok Chipset Err | 0x01 | ok Err Reg Pointer | 0x01 | ok root on s1# - Original Message - From: Derek Ragona To: Grant Peel ; freebsd-questions@freebsd.org Sent: Thursday, March 16, 2006 5:45 PM Subject: Re: More Server Crash Saga Grant, That is a one unit rack mount server, which makes it prone to have heat problems, particularly under any load. You might want to check the ambient heat and the internal heat sensors as well. That server uses an intel chipset (and probably an intel motherboard) which should allow out-of-band monitoring. You should see what you can use to monitor the system and see what the system is reporting prior to a lockup. It may be time to just call dell and have them send a replacement MB or entire unit. -Derek At 03:47 PM 3/16/2006, Grant Peel wrote: Hi all, Still getting crashing today ... FreeBSD 6.0 PE 1850 Does the output of vmstat -i for fove seconds show a problem? Interupt storm? I have been searching, trying to find out what the 'rate' means and what should it be? interrupt total rate irq0: clk3277223999 irq5: em1 8877 2 irq6: ehci0 atapci0 85 0 irq7: mpt0 uhci2 56401 17 irq8: rtc 419429127 irq11: em0 uhci0 85684 26 irq13: npx01 0 irq14: ata0 48 0 Total3847748 1173 root on s1# vmstat -i interrupt total rate irq0: clk3278793999 irq5: em1 8883 2 irq6: ehci0 atapci0 85 0 irq7: mpt0 uhci2 56408 17 irq8: rtc 419630127
Re: need help
Thanks a lot everyone. As suggested by Ceri Davies, I fscked using block 160. Now I am was able to boot into single user mode, fscking my other partitions. Thanks again to everyone for their help. On 3/17/06, Ceri Davies [EMAIL PROTECTED] wrote: On 17/3/06 12:30, Michael S [EMAIL PROTECTED] wrote: I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks. If you used the default parameters when creating the filesystem then newfs -N /dev/ad0s1a should tell you where the alternate superblocks are and you may be able to use one of them with fsck_ffs's -b option. Don't forget the -N to newfs whatever you do though. If you're uncomfortable using that, then just try block 32 or 160. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
saslauthd with sendmail
Greetings! This is my first posting to this list, ive been using FreeBSD for about 5 days now. I come from a fairly extensive linux background, so I have a pretty good handle on compiling and configuring things. Im actually doing a project for myself to see if I can configure an exact services replica of my production linux servers, but on FreeBSD (and then ill switch it over!!). I have a couple dev boxes im using for my experimentation. One, I did a minimal install. The other, I did the developer install (install option 4 I believe it was). The other, I did a full/complete install, but so far, ive not used that one in any of my testing. Its just there. I am having terrible trouble with sendmail and saslauthd! Ive spent at least 48 hours compiling or pkg_add'ing things to try to get it to work. Each time I give the command: sendmail -d0.1 -bv root, this is what I get: fbsd60-3# sendmail -d0.1 -bv root Version 8.13.4 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG Warning: Option: AuthMechanisms requires SASL support (-DSASL) I also get that last warning line when sendmail starts too. Ive tried pkg_install sendmail+tls+sasl2+ldap, then sendmail+tls+sasl2, then even sendmail and cyrus-sasl-saslauthd. Same thing as above. Still complains of no SASL. Then ive tried using ports. cd /usr/ports/security/sasl2 make install distclean cd /usr/ports/security/sasl2-saslauthd make install distclean then, cd /usr/src/lib/libsm make obj make depend make cd /usr/src/lib/libsmutil make obj make depend make cd /usr/src/usr.sbin/sendmail make obj make depend make make install and always, with each attempt, I have the proper lines in /etc/rc.conf, such as saslauthd_enable=YES, and the make.conf contains: SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 I can get Sendmail to recievemails for local [EMAIL PROTECTED] no problem, like I said, I have a general handle on the configuration of sendmail. I just cant get saslauthd to play nice on freebsd for the life of me! Help!!! Thanks, Jonathan Horne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DSL router bridging question
I've got a bit of an involved question about dsl and router config so hopefully I'm able to make this clear. The situation I've got is, one dsl router w/ 4 inside ports, 8 routable IPs, 2 outside machines ( FW and Email/Web), and a number of inside machines behind the firewall. Currently I've got one IP for the inside interface of the router and one for each outside machine. DHCP and NAT are turned off on the router, but BreakWater Firewall is set to ClearSailing and Safe Harbour is On. I couldn't find the setting for the Safe Harbour option. Router is Netopia-3000 model 3347NWG. It's currently set to PPP over Ethernet. Ok, here's my issue, everything works fine from the inside, and machines behind the firewall can access the web server and the Internet, but it looks like the router is blocking all inbound connections. Does the router need to be in RFC-1483 Bridged Ethernet mode and have the firewall run PPPoE to sign in to BellSouth? And if this is the answer, will the web server or any other machines (with routable IPs) on the router's inside ports operate as expected? I've looked at the handbook PPPoE info and it seems clear enough and there are a few sites with info on bridging the router, I'm looking for clarification before I start changing the current setup that bridging the router is what I want, that the router is transparent to the Internet, that is allowing all traffic in and out. thanks, John. -- - John F Hoover [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
couldn't open console
Bonjour, je lis votre tutorial sur ce problème (voir objet de mon message) mais je ne vois pas comment editer le fichier/etc/fbtab afin d'ajouter la ligne /dev/ttyv0 0600 ... voir http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/faq/x1659.html merci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4-P12 Panic vm_thread_new: kstack allocation failed under load
Hi Everyone, I hope this is the proper list for this post. If not, please let me know and I will post elsewhere! I have a FreeBSD server running under high load that has been experiencing kernel panics. I have read some documents on kernel debugging and I believe I have found the problem, but am clueless as to how to solve it. Any assistance that can be provided would be appreciated. I still have the dump so if I ran the debugger wrong please let me know and I will differently as directed. #0 doadump () at pcpu.h:159 159 __asm __volatile(movl %%fs:0,%0 : =r (td)); (kgdb) bt #0 doadump () at pcpu.h:159 #1 0xc04c38d7 in boot (howto=260) at ../../../kern/kern_shutdown.c:410 #2 0xc04c3bfd in panic (fmt=0xc063af71 vm_thread_new: kstack allocation failed) at ../../../kern/kern_shutdown.c:566 #3 0xc05b81a3 in vm_thread_new (td=0xd8265900, pages=2) at ../../../vm/vm_glue.c:271 SNIP (kgdb) f 3 #3 0xc05b81a3 in vm_thread_new (td=0xd8265900, pages=2) at ../../../vm/vm_glue.c:271 271 panic(vm_thread_new: kstack allocation failed); (kgdb) l 266 * Get a kernel virtual address for this thread's kstack. 267 */ 268 ks = kmem_alloc_nofault(kernel_map, 269(pages + KSTACK_GUARD_PAGES) * PAGE_SIZE); 270 if (ks == 0) 271 panic(vm_thread_new: kstack allocation failed); 272 if (KSTACK_GUARD_PAGES != 0) { 273 pmap_qremove(ks, KSTACK_GUARD_PAGES); 274 ks += KSTACK_GUARD_PAGES * PAGE_SIZE; 275 } (kgdb) i loc ksobj = 0xd03f0dec ks = 0 m = 0x0 ma = {0xc37f2b70, 0xc465b0b8, 0xc068d380, 0x18366, 0x0, 0xc31f1dc0, 0x4, 0x0, 0xfe473ae4, 0xc05f9803, 0xc06a6640, 0xd8265000, 0x3, 0xc05c9b77, 0xc5834d40, 0x40, 0xc5834d40, 0x30, 0x40, 0x2, 0xfe473b0c, 0xc04b9699, 0xc065a660, 0x40, 0x2, 0xc0c64a00, 0xc501c090, 0xd8265780, 0xc04d4b32, 0xd82658d0, 0x30, 0xc501c090} i = -668575488 I have a few custom kernel tweaks for memory problems (the machine has 4GB RAM) options KVA_PAGES=256 options VM_KMEM_SIZE_MAX=(512*1024*1024) If there is other information I can provide please let me know. Thanks Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_smbfs and NETSMBCRYPTO
Greetings, I have recently run into a problem mounting windows shares on my 6.1 Beta 2 laptop. smbfs is loaded via loader.conf, but I get an error message stating that encryption support is not available. According to this thread: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-02/msg00556.html I now need to add options NETSMBCRYPTO To my kernel config to get encryption support added for mount_smbfs? I am currently running a generic kernel and I have never needed to do this in the past just to mount a windows share. Has something changed recently and I will need to do a buildworld to fix this? I tried kldload netsmbcrypto but I guess the file does not exist. Is there any way for me to mount a windows share without doing a buildworld? I did not pull sources when I built the machine as I intended to just run generic and load anything extra via loader.conf. Thanks for any pointers on this. -Derrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
biord and sbwait state of postgresql process
Hi folks, I'm running a application where I create multiple (300+) textfiles out of a postgresql database. The first 160 loops go perfectly but the suddenly the process of the app gets the state biord at certain point in the procedure. Then the WCPU column in the top command goes almost to 0% and also the CPU utilization drops to a few %. Normally both these values were showing values in the 80 and 90 range. The process stays here a few minutes (always at a certain point in the procedure) and runs very slowly but after all recovers. Then everything goes back to normal, and the process gets its state RUN again. The WCPU increases again to it's old values as does the CPU utilization but then my app goes back in another loop and starts degrading again. After I have cancelled the process, the postgres process still continues but now with a sbwait state. What does this mean? So, what is happening here? How can the performance degrade like that? And why always at the same step in the algorithm? Hope someone can help me out. Ooh yeah, I did some tweaks: sysctl -w kern.ipc.shmmax=402653184 sysctl -w kern.ipc.shmall=16384 I have an amd64 3000+ system with 1GB ram and a SATA harddisk running freebsd 6.0 release-p5. Thanks in advanced Dino __ 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: biord and sbwait state of postgresql process
On Fri, Mar 17, 2006 at 12:30:45PM -0800, Dino Vliet wrote: Hi folks, I'm running a application where I create multiple (300+) textfiles out of a postgresql database. The first 160 loops go perfectly but the suddenly the process of the app gets the state biord at certain point in the procedure. That means it's reading something from disk. After I have cancelled the process, the postgres process still continues but now with a sbwait state. That means it's waiting for work. Kris pgpPGqnl51RUq.pgp Description: PGP signature
What profile does Konsole use on startup
When I run Konsole in KDE, it doesn't appear to be using my ~/.bash_profile as the startup file. Does anybody know how to change this? Or to tell what file it is using? I looked in the Konsole help manual, but couldn't find any information. Thanks - Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
soundcard optimize
Running FreeBSD-6.0 on an older AMD duron800 (512Mb). Sometimes the sound stutters. It's an older soundcard (es137x / SB PCI 128) I *know* the sound support is much better in FreeBSD-6.1 but I can't update yet (production server). So I wonder, are there sysctl setttings that will improve the sound support in fbsd-6.0 that I can set? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved, sort of: configuring fetch to passive mode
Erik Norgaard wrote: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? It appears that this is indeed an environment variable, and is further set in login.conf, so this turned out not to be the cause of the problem. Instead, it seems that there is a problem with pf to be investigated. Thanks for listening :) and to those who replyed of course. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What profile does Konsole use on startup
On Friday 17 March 2006 13:07, Donald T Hayford wrote: When I run Konsole in KDE, it doesn't appear to be using my ~/.bash_profile as the startup file. Does anybody know how to change this? Or to tell what file it is using? I looked in the Konsole help manual, but couldn't find any information. Depends on whether you are a user or root. There is one for both. You want to make Root shell use su - so that you get roots environment. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What profile does Konsole use on startup
On Friday 17 March 2006 21:07, Donald T Hayford wrote: When I run Konsole in KDE, it doesn't appear to be using my ~/.bash_profile as the startup file. Does anybody know how to change this? Or to tell what file it is using? I looked in the Konsole help manual, but couldn't find any information. I suspect your problem is with KDM, not Konsole. When KDE gets started this way there is no proper login shell. There is a shell script that should source .bash_profile, but because it's running under sh, it doesn't understand the bash specific stuff. I did once experiment with a .bash_specific file that got sourced either in bash_profile, or .bashrc according to whether a BASH_ONCE variable had been exported. I think it worked, but I dont have it anymore. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD install disables linux partitions and system
Hello, I have (had?) a machine with two drives with two major partions on each. One on the first drive was used for Mandriva linux, one on the second used for its /home folder. I wanted to try FreeBSD because I could not get my Plextor SCSI CD-R/W drive to operate under Mandriva 2006. I copied /home to the first partition, that being as much of a back-up as I could do. Then I followed the instructions in the FreeBSD handbook for a dual-boot system. This involves putting the FreeBSD bootloader on both drives. Once I had FreeBSD 6.0 and KDE up and running, I recompiled my kernel with extfs functionality and tried to mount my Linux drives. This failed: bsd# mount -t ext2fs /dev/ad2s2 /linux-tmp mount_ext2fs: /dev/ad2s2: Invalid argument This is what I am getting now. I also got you must have read-write privileges or be root, but for some reason that is gone. ad2s2 is what my old /home partition showed up as in sysinstall. I installed and tried e2fsck, but no use: bsd# /usr/local/sbin/e2fsck /dev/ad2s2 e2fsck 1.38 (30-Jun-2005) Couldn't find ext2 superblock, trying backup blocks... /usr/local/sbin/e2fsck: Bad magic number in super-block while trying to open /dev/ad2s2 The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 device I tried a few other numbers, but to no avail. What makes this bad for me is that the FreeBSD bootloader will not boot Mandriva. Attempting to choose anything but FreeBSD rings the system bell and does nothing else. The Mandriva rescue disk is unable to restore its original bootloader, or read from the drive with the FreeBSD partition on it, or repairthe system without wiping the disk. I no have no access to my data at all. I don't think it is meant to function this way, but I read the install part of the handbook three times and cycled round in sysinstall at least as many times to make sure I had it right. Any help would be appreciated. Thank you. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: soundcard optimize
On Fri, 17 Mar 2006 22:21:48 +0100 dick hoogendijk [EMAIL PROTECTED] wrote: Running FreeBSD-6.0 on an older AMD duron800 (512Mb). Sometimes the sound stutters. It's an older soundcard (es137x / SB PCI 128) I *know* the sound support is much better in FreeBSD-6.1 but I can't update yet (production server). The idea of having sound and multimedia facilities on production server is quite disturbing :) So I wonder, are there sysctl setttings that will improve the sound support in fbsd-6.0 that I can set? 1) Enable virtual channels # sysctl hw.snd.maxautovchans=10 # sysctl hw.snd.pcm0.vchans=1 2) Increase PCI Latency Timer, either through BIOS, or using pciconf(8). You can use this: http://people.freebsd.org/~ariff/utils/pcilattimer .. to avoid cryptic nature of pciconf(8) (it is just a wrapper to pciconf, by the way). 3) Use SCHED_ULE .. wait, that is production server ;) -- Ariff Abdullah FreeBSD pgpDfM6Y0Rd75.pgp Description: PGP signature
Few thunderbird questions
ok, bsd 6, kde 3.5, thunderbird 1.5, firefox 1.5 few things that are slightly annoying in thunderbird that if someone knows how to fix, i would be very happy. 1) when i click on a url link in thunderbird, nothing happens. how to i have it open firefox and go to that url 2) when mail arrives, it does a system beep. is there any way to map that to a KDE event so i can put some kind of meaningful sound to it? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Few thunderbird questions
Steel City Phantom wrote: ok, bsd 6, kde 3.5, thunderbird 1.5, firefox 1.5 few things that are slightly annoying in thunderbird that if someone knows how to fix, i would be very happy. 1) when i click on a url link in thunderbird, nothing happens. how to i have it open firefox and go to that url I think the following in ~/.thunderbird/your_profile_dir/user.js (which may not exist by default): user_pref(network.protocol-handler.app.http, /usr/X11R6/bin/firefox); user_pref(network.protocol-handler.app.https, /usr/X11R6/bin/firefox); user_pref(network.protocol-handler.app.ftp, /usr/X11R6/bin/firefox); Mind the wrap... its three lines. 2) when mail arrives, it does a system beep. is there any way to map that to a KDE event so i can put some kind of meaningful sound to it? Can't help here. thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Set path for kspell/ispell???
I'm getting a message that ispell/aspell could not be started please check your path. Locate turns up ispell in the following places: /usr/local/lib/aspell-0.60/ispell /usr/local/lib/kde3/kspell_ispell.la /usr/local/lib/kde3/kspell_ispell.so /usr/local/share/services/kspell_ispell.desktop Any ideas how I can make these available to kmail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Welcome to Chase Online
[1]Chase Welcome to the New Chase Online Activate Free Alerts [2]Activate Free Alerts Pay your Chase credit card bill [3]Pay your Chase credit card bill Set up Automatic Payments [4]Set up Automatic Payments Update your address and phone number [5]Update your address and phone number Dear Chase Bank Customer, Now that you've signed up for [6]Chase Online you can enjoy 24/7 access to your Chase credit card account through our secure website. Here is a glimpse at some of what you can do: Pay your Chase Credit Card bill View statements and get Paperless Statements Set up free account alerts Update your profile: mailing address, phone #, email address Check account details: Balance, APR, Payment Due Date, Minimum Payment Amount [7]Log on today to experience the power and convenience of the new Chase Online.  [8]Log On Now  [9]Free Email Alerts - Monitor you accounts everyday [10]Less Paper. More Space. Get paperless statements. [11]Pay Your Credit Card ABOUT THIS MESSAGE This service message was delivered to you as a Chase credit card customer. If you wish to unsubscribe from e-mail messages from Chase Card Services, please [12]click here. Please allow up to ten business days for us to process your request. Please do not reply to this message. Replies to this message will not be responded to. To contact Chase go to [13]www.chase.com/businesscards. © 2006 JPMorgan Chase Co. [W2GH054F4D301387FEB32329A11950] References 1. http://email.chase.com/W2RH030C7D67E387FEB32329A11950 2. http://email.chase.com/W2RH030C7D279387FEB32329A11950 3. http://email.chase.com/W2RH030C7D378387FEB32329A11950 4. http://email.chase.com/W2RH030C7D97B387FEB32329A11950 5. http://email.chase.com/W2RH030C7D07A387FEB32329A11950 6. http://www.xeoteam.us/RBGLogon/chaseonline/reidentify/sso_reidentifyjsp/LOBRBGLogon/sso_co_home.jsp.htm 7. http://www.xeoteam.us/RBGLogon/chaseonline/reidentify/sso_reidentifyjsp/LOBRBGLogon/sso_co_home.jsp.htm 8. http://www.xeoteam.us/RBGLogon/chaseonline/reidentify/sso_reidentifyjsp/LOBRBGLogon/sso_co_home.jsp.htm 9. http://email.chase.com/W2RH030C7D766387FEB32329A11950 10. http://email.chase.com/W2RH030C7D261387FEB32329A11950 11. http://email.chase.com/W2RH030C7D360387FEB32329A11950 12. http://email.chase.com/W2RH030C7D063387FEB32329A11950 13. http://email.chase.com/W2RH030C7D162387FEB32329A11950 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Few thunderbird questions
Eric Schuele wrote: Steel City Phantom wrote: ok, bsd 6, kde 3.5, thunderbird 1.5, firefox 1.5 few things that are slightly annoying in thunderbird that if someone knows how to fix, i would be very happy. 1) when i click on a url link in thunderbird, nothing happens. how to i have it open firefox and go to that url I think the following in ~/.thunderbird/your_profile_dir/user.js (which may not exist by default): user_pref(network.protocol-handler.app.http, /usr/X11R6/bin/firefox); user_pref(network.protocol-handler.app.https, /usr/X11R6/bin/firefox); user_pref(network.protocol-handler.app.ftp, /usr/X11R6/bin/firefox); Mind the wrap... its three lines. 2) when mail arrives, it does a system beep. is there any way to map that to a KDE event so i can put some kind of meaningful sound to it? Can't help here. Edit-Preference-General-Play Sound Note: some people have problems with it. It didn't work for me for the longest time, then suddenly started working after a port upgrade. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_smbfs and NETSMBCRYPTO
Derrick Ryalls wrote: Greetings, I have recently run into a problem mounting windows shares on my 6.1 Beta 2 laptop. smbfs is loaded via loader.conf, but I get an error message stating that encryption support is not available. According to this thread: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-02/msg00556.html I now need to add options NETSMBCRYPTO To my kernel config to get encryption support added for mount_smbfs? Yes. That will fix it. I am currently running a generic kernel and I have never needed to do this in the past just to mount a windows share. Has something changed recently and I will need to do a buildworld to fix this? FWIW... I (and others) were bitten by this. There was a thread not long ago with a few complaining about the change breaking POLA, and possibly an explanation as to why it was changed. However, I can't seem to dig it, or anything for that matter, up out of the archives. Others have mentioned the archive search not working well lately... so you might wait another day or two and search through the archives for the reason why it was changed. I tried kldload netsmbcrypto but I guess the file does not exist. Is there any way for me to mount a windows share without doing a buildworld? I did not pull sources when I built the machine as I intended to just run generic and load anything extra via loader.conf. Thanks for any pointers on this. -Derrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using perl to sub sect; for \xa7.
in message [EMAIL PROTECTED], wrote Gary Kline thusly... I've got several chapters with footnptes with that double-S section character. In HTML, the code is sect; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't know the keycombo to /find or designate tthe hex a7 byte. Can anybody clue me in? Use '-i' option for in place editing, '-p' to print the results to the file, '-e' to specify the code to run ... perl -pi -e 's/\xa7/sect;/g' file-1 file-2 file-3 ... if you have quite many files use 'find' to find the HTML files, say in directory named '/html/files' ... find /html/files -type f -name '*.html' -print0 \ | xargs -0 perl -pi -e 's/\xa7/sect;/g' - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to get SIIG PCI serial card to work
on 03-17-2006, John Baldwin wrote: You might need to play with stty to do things like -clocal or -crtscts to get it to work. stty -a /dev/cuad1 will tell you what the current settings are (IIRC). Also, what speed are you using in TerraTerm? 9600? Note that with cu you can specify the speed directly (e.g. cu -l /dev/cuad1 -s 115200). I disabled apcupsd on sio0 and connected it to my firewall and it worked. Comparing stty -a /dev/cuad0 1 and they turned out to be the same. stty -a /dev/cuad0 speed 9600 baud; 0 rows; 0 columns; lflags: icanon isig iexten -echo -echoe -echok -echoke -echonl -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; stty -a /dev/cuad1 speed 9600 baud; 0 rows; 0 columns; lflags: icanon isig iexten -echo -echoe -echok -echoke -echonl -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; I'm going to do more research and see what I can find. Thank very much for all your help. -- Clayton Scott Kern [EMAIL PROTECTED] | The software stated it required Firewall/UNIX System Administrator| Microsoft Windows 98SE or higher, PIX, FreeBSD, Linux, Solaris HP-UX | so I installed FreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems using the GUI
in message [EMAIL PROTECTED], wrote Kris Wieschhaus thusly... I am having a problem getting the the Windows X System to work. Pardon the pedantry, but it is X Window System (see X(7) man page), or more commonly ( incorrectly) called X Windows. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Solved, sort of: configuring fetch to passive mode
in message [EMAIL PROTECTED], wrote Erik NÞrgaard thusly... Erik Norgaard wrote: This ought to be a configuration tunable, but I can't find any documentaion on it: How to I force fetch to use passive mode? It appears that this is indeed an environment variable, and is further set in login.conf, so this turned out not to be the cause of the problem. Instead, it seems that there is a problem with pf to be investigated. Could it be that the first time pf rules are loaded, the interface has not been configured completely (say, lacking an IP address)? - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using perl to sub sect; for \xa7.
On Fri, Mar 17, 2006 at 06:14:17PM -0500, Parv wrote: in message [EMAIL PROTECTED], wrote Gary Kline thusly... I've got several chapters with footnptes with that double-S section character. In HTML, the code is sect; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't know the keycombo to /find or designate tthe hex a7 byte. Can anybody clue me in? Use '-i' option for in place editing, '-p' to print the results to the file, '-e' to specify the code to run ... perl -pi -e 's/\xa7/sect;/g' file-1 file-2 file-3 Yeah, this is what I use for most cmd-line subs, but will a literal \xa7 be interpreted by the shell as the section character? (Where is there an online map of all ISO-8859-1 keycodes? [E.g.: an aigu is alt-i; it is \xe9 in keystrokes.]) ... if you have quite many files use 'find' to find the HTML files, say in directory named '/html/files' ... find /html/files -type f -name '*.html' -print0 \ | xargs -0 perl -pi -e 's/\xa7/sect;/g' Thanks. I've still got does dozens of files/chapters. X-| :) gary - Parv -- ___ 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]
Re: saslauthd with sendmail
On 2006-03-17 13:44, Jonathan Horne [EMAIL PROTECTED] wrote: Warning: Option: AuthMechanisms requires SASL support (-DSASL) I also get that last warning line when sendmail starts too. Ive tried pkg_install sendmail+tls+sasl2+ldap, then sendmail+tls+sasl2, then even sendmail and cyrus-sasl-saslauthd. Same thing as above. Still complains of no SASL. Then ive tried using ports. cd /usr/ports/security/sasl2 make install distclean cd /usr/ports/security/sasl2-saslauthd make install distclean then, cd /usr/src/lib/libsm make obj make depend make cd /usr/src/lib/libsmutil make obj make depend make cd /usr/src/usr.sbin/sendmail make obj make depend make make install and always, with each attempt, I have the proper lines in /etc/rc.conf, such as saslauthd_enable=YES, and the make.conf contains: Probably not very helpful for the saslauthd problems, but... I usually run the following script *two* times to rebuild Sendmail when cyrus-sasl is updated: % [EMAIL PROTECTED] /home/build]$ cat -n rebuild-sendmail.sh % 1 #!/bin/sh % 2 % 3 DIRS= % 4 DIRS=${DIRS} ./bin/rmail % 5 DIRS=${DIRS} ./lib/libmilter % 6 DIRS=${DIRS} ./lib/libsm % 7 DIRS=${DIRS} ./lib/libsmdb % 8 DIRS=${DIRS} ./lib/libsmutil % 9 DIRS=${DIRS} ./libexec/mail.local % 10 DIRS=${DIRS} ./libexec/smrsh % 11 DIRS=${DIRS} ./usr.bin/vacation % 12 DIRS=${DIRS} ./usr.sbin/editmap % 13 DIRS=${DIRS} ./usr.sbin/mailstats % 14 DIRS=${DIRS} ./usr.sbin/makemap % 15 DIRS=${DIRS} ./usr.sbin/praliases % 16 DIRS=${DIRS} ./usr.sbin/sendmail % 17 % 18 export MAKEOBJDIRPREFIX=/home/build/obj % 19 % 20 for dname in ${DIRS} ; do % 21 ( cd ${dname} \ % 22make cleandir make cleandir make obj \ % 23make make install ) % 24 if test $? -ne 0 ; then % 25 echo % 26 echo FAILED while rebuilding ${dname} % 27 exit 1 % 28 fi % 29 done % [EMAIL PROTECTED] /home/build]$ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using perl to sub sect; for \xa7.
in message [EMAIL PROTECTED], wrote Gary Kline thusly... On Fri, Mar 17, 2006 at 06:14:17PM -0500, Parv wrote: in message [EMAIL PROTECTED], wrote Gary Kline thusly... I've got several chapters with footnptes with that double-S section character. In HTML, the code is sect; The thing I want to do is use perl to s/ \xa7/sect;/g.but don't know the keycombo to /find or designate tthe hex a7 byte. Can anybody clue me in? Use '-i' option for in place editing, '-p' to print the results to the file, '-e' to specify the code to run ... perl -pi -e 's/\xa7/sect;/g' file-1 file-2 file-3 Yeah, this is what I use for most cmd-line subs, but will a literal \xa7 be interpreted by the shell as the section character? Well, shell's understanding is immaterial, but not the tool's -- perl in this case; and quite possibly tool's behaviour under currently set locale(1) -- which will be doing the substitution. (Where is there an online map of all ISO-8859-1 keycodes? [E.g.: an aigu is alt-i; it is \xe9 in keystrokes.]) Can't say, but you can generate your own ... http://perlmonks.org/index.pl?node_id=246185 - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Twiki setup help, please
I'm trying to et up twiki to use as an internal knowledge base . I want anyone to be able to read anything that is there. I would like to have users have to login to create/edit content. I've installed from the ports, and added the appropriate section to Apaches httpd.conf. I've made certain that everything under /usr/local/www/twiki is owned by www, and group www. I've set up a link that points to twiki/bin/view/Main/WebHome. Problem is that when I go to that link, it tells me that Main Web does not exist. It offers to let me create it, and I get form that I can fill in. But when I try to commit this web, I'm told I don;t have permission to create it. What am I doing wrong? -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]