Re: CARP-related error on 5.4RC3
(copying mlaier@ because FreeBSD carp seems to be his baby, and we're trying to squeeze 5.3 out) Sorry to follow up on my own post, but more CARP weirdness on 5.4RC3. I have two traffic shapers, both i386 with fresh 5.4RC3 installs, one master and one backup. When I reboot the master, the backup quickly takes over -- just as you would expect. When the master finishes booting, however, the backup doesn't release one of the CARP interfaces. Even if I wait several minutes, the backup looks like this: pfsync0: flags=41UP,RUNNING mtu 1348 pfsync: syncif: fxp0 maxupd: 128 carp0: flags=41UP,RUNNING mtu 1500 inet xxx.yy.zzz.20 netmask 0xffc0 carp: MASTER vhid 1 advbase 1 advskew 100 carp1: flags=41UP,RUNNING mtu 1500 inet xxx.yy.zzz.129 netmask 0xff80 carp: BACKUP vhid 2 advbase 1 advskew 100 Note that carp0 is a master, while carp1 is a slave. Meanwhile, over on the master we have: pfsync0: flags=41UP,RUNNING mtu 1348 pfsync: syncif: fxp0 maxupd: 128 carp0: flags=41UP,RUNNING mtu 1500 inet 198.88.118.20 netmask 0xffc0 carp: MASTER vhid 1 advbase 1 advskew 0 carp1: flags=41UP,RUNNING mtu 1500 inet 198.88.118.129 netmask 0xff80 carp: MASTER vhid 2 advbase 1 advskew 0 So, two carp0 masters. This is not good. Both machines have the same sysctl settings: net.inet.carp.allow: 1 net.inet.carp.preempt: 1 net.inet.carp.log: 1 net.inet.carp.arpbalance: 0 ==ml On Fri, Apr 22, 2005 at 01:37:31AM -0400, Michael W. Lucas wrote: On a new backup traffic shaper I have the following routing table: Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultxxx.yy.zzz.1 UGS 013708 carp0 127.0.0.1 127.0.0.1 UH 00lo0 ... Note the netif for my default route. When carp0 is in a backup state, I cannot reach my default route from this machine! As you might guess, this makes life difficult. On the master machine, though, the default route points at a real interface and I can reach the Internet: Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultxxx.yy.zzz.1 UGS 0 4563em0 127.0.0.1 127.0.0.1 UH 00lo0 ... The machines have very different hardware: the master is a new Dell 1650 with em cards, the backup is a desktop machine with xl cards. The software is identical, however. In the interface list for the master machine, the em cards appear above the carp interfaces. On the backup machine, the carp interfaces appear before the xl interfaces. Might the default route simply be attaching to the first appropriate interface it finds? Since I have to get this machine in production tonight, I'm going to try to hack around this, maybe with a shell script that creates and ifconfigs the carp interfaces after the real interfaces are configured. It's definitely odd, though, and figured it should be reported. -- Michael W. Lucas [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate http://www.CiscoRoutersForTheDesperate.com -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate http://www.CiscoRoutersForTheDesperate.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good CD Burning Software
Didier Caamano wrote: I was wondering what would be a good cd burner software for FBSD? burncd is good :) -- WBR, Andrey V. Elsukov ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good CD Burning Software
On 04/22/05 00:51, Didier Caamano wrote: I was wondering what would be a good cd burner software for FBSD? If you like GUIs and run KDE, K3b is nice: http://www.k3b.org/ It's in ports: http://www.freshports.org/sysutils/k3b/ Jon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good CD Burning Software
On Fri, 22 Apr 2005 16:21, Andrey V. Elsukov wrote: Didier Caamano wrote: I was wondering what would be a good cd burner software for FBSD? burncd is good :) If all you want to do it burn ISO's it's OK. k3b is quite good if you want help building ISO images, or making audio CD's easily. (Needs ATAPICAM though) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpXh8rHJTVpx.pgp Description: PGP signature
Re: Good CD Burning Software
Scrive Jon Noack [EMAIL PROTECTED]: On 04/22/05 00:51, Didier Caamano wrote: I was wondering what would be a good cd burner software for FBSD? If you like GUIs and run KDE, K3b is nice: http://www.k3b.org/ It's in ports: http://www.freshports.org/sysutils/k3b/ Jon Or, if you are running Gnome, eroaster is nice: The port is under: http://www.freshports.org/sysutils/eroaster/ Ciao, Marco * Marco Pirovano * Universita' Bocconi, Area Sistemi Informatici e Telematici * Piazza Sraffa 11 - 20136 Milano * Tel. +39-025836.3173 Fax. +39-025836.3160 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good CD Burning Software
2005/4/22, Didier Caamano [EMAIL PROTECTED]: I was wondering what would be a good cd burner software for FBSD? first of all burncd(8). You can find it in base system. you may use cdrecord from ports (sysutils/cdrtools) and you will find a lot of gui frontend to use with it. -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and very heavy web server
On 4/21/05, Kipp Holger [EMAIL PROTECTED] wrote: peceka wrote on Thu 21.04.2005 11:02 i must set up a web server. I want to do this on FreeBSD 5.X. and Apache 1.3 for this and php4. What do you mean by 'very heavy web server'? Please be more specific. - Do you expect many parallel connections? Default configuration allows for 512 child processes with apache, so you might want to set this higher during compilation (eg set to 1024). Yes, I expect many parallel connections... I've got two machines for that, so traffic will be divided by DNS round robin. But 1024 child processes will be good thing too, thanks. - Does it make sense to separate static and dynamic requests? You might want to use separate servers(*) for static and dynamic requests, using a quick low-footprint webserver for static requests that allows for many parallel requests. Maybe lighttpd is all you need (ymmv) Unfortunately, all pages will be dynamic :\ - Make sure you don't run out of mbufs, open file descriptors etc. Ok, I'll have an eye open on this. Thanks. Best Regards, p. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CARP-related error on 5.4RC3
[just for archives] Together with Michael, we have found the problem. One of the network cards (the xl0) didn't join multicast group in hardware, and this was the case why second router didn't heard announcements from the first one. xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xec80-0xecff mem 0xfdfffc00-0xfdfffc7f irq 9 at device 7.0 on pci1 xl0: Ethernet address: 00:04:75:79:de:a8 xl1: 3Com 3c905C-TX Fast Etherlink XL port 0xe880-0xe8ff mem 0xfdfff800-0xfdfff87f irq 5 at device 12.0 on pci1 xl1: Ethernet address: 00:b0:d0:7f:cf:9d miibus1: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto miibus2: MII bus on xl1 xlphy0: 3c905C 10/100 internal PHY on miibus2 -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD and very heavy web server
peceka wrote on Fri 22.04.2005 10:40 On 4/21/05, Kipp Holger [EMAIL PROTECTED] wrote: peceka wrote on Thu 21.04.2005 11:02 Yes, I expect many parallel connections... I've got two machines for that, so traffic will be divided by DNS round robin. But 1024 child processes will be good thing too, thanks. - Does it make sense to separate static and dynamic requests? You might want to use separate servers(*) for static and dynamic requests, using a quick low-footprint webserver for static requests that allows for many parallel requests. Maybe lighttpd is all you need (ymmv) Unfortunately, all pages will be dynamic :\ You don't have any static requests for .gif/.jpg/.css-files etc.? lighttpd does support php4, CGI, FastCGI and load-balanced FastCGI, and also php-code caching. Just go to http://www.lighttpd.net/ I haven't tried it myself, though, as we have slightly more complicated requirements here ;-) - Make sure you don't run out of mbufs, open file descriptors etc. Ok, I'll have an eye open on this. If you have a lot of parallel connections you might also want to monitor tcp connections and tune corresponding sysctls, so you don't have any useless entries in your tables. But I'm not an expert in this field (especially with10k+ open sockets...) - the default settings have worked for me most of the time. Regards, Holger ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Even weirder hangs (was: FreeBSD 5.4-RC3 hangs on boot, 5.3 works)
This gets weirder every time I try to do something. The 5.3-RELEASE CD boots and installs a kernel that doesn't hang. If I do a binary update (with freebsd-update, '5.3-SECURITY' branch from Colin) to just after 5.3-RELEASE-p7, that kernel works too, and doesn't hang. If I use freebsd-update to get the newest kernel (after 5.3-RELEASE-p9, ifconf vulnerability), that kernel does _not_ work and hangs at the same place as the one on the 5.4-RC3 CD. So far so good - I thought that this meant that 5.3-RELEASE-p9 and newer didn't work. Now for the weird part. If I manually compile 5.3-RELEASE-p7, that does _not_ work! So, to summarize: - 5.3-RELEASE binary install works - 5.3-SECURITY binary update at the time of 5.3-RELEASE-p7 works - 5.3-RELEASE-p7 compiled manually does not work - 5.3-SECURITY binary update at the time of 5.3-RELEASE-p9 does not work I have absolutely no idea what causes these kernels to work or not work. I hope someone can help me! Arjan On 4/21/05, Arjan Van Leeuwen [EMAIL PROTECTED] wrote: On 4/21/05, Arjan Van Leeuwen [EMAIL PROTECTED] wrote: On 4/21/05, Arjan Van Leeuwen [EMAIL PROTECTED] wrote: I'm trying to install FreeBSD 5.4-RC3 on a Lex Neo system (http://www.lex.com.tw, a small form factor PC with a 1GHz VIA C3 processor). The system hangs when booting the kernel, at this point: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: VIA C3 Nehemiah+RNG+ACE (998.70-MHz 686-class CPU) Origin = CentaurHauls Id = 0x698 Stepping = 8 Features=0x381b93fFPU,VME,DE,PSE,TSC,MSR,CX8,SEP,MTRR,PGE,CMOV,PAT,MMX,FXSR,S SE real memory = 125763584 (119 MB) avail memory = 113414144 (108 MB) npx0: [FAST] (...) Booting in safe mode, turning off ACPI in the BIOS of the machine and changing 'PNP OS' to yes or no in the BIOS does not help. I just tried changing hint.npx.0.flags to 0x07 and 0x01, which also doesn't help. I found something that looks like a solution for NetBSD on Google Groups here: http://groups.google.com/groups?threadm=41555.144.59.164.106.1105346400.squirrel%40144.59.164.106 where they use npx* at acpi? # Math coprocessor to force npx via the acpi table. Is something like this possible on FreeBSD? Arjan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
grub on 5.4
Am I missing something obvious? The HDD is'nt write protected or anything, the freebsd loader went in fine # ls /boot/grub/ device.map fat_stage1_5iso9660_stage1_5 menu.lst reiserfs_stage1_5 stage2 vstafs_stage1_5 e2fs_stage1_5 ffs_stage1_5jfs_stage1_5 minix_stage1_5 stage1 ufs2_stage1_5 xfs_stage1_5 # .. GNU GRUB version 0.95 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub find /boot/loader (hd0,0,a) grub root (hd0,0) Filesystem type unknown, partition type 0xa5 grub root (hd0,0,a) Filesystem type is ufs2, partition type 0xa5 grub find /boot/grub/stage Possible files are: stage1 stage2 grub find /boot/grub/stage1 (hd0,0,a) grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/ufs2_stage1_5 exists... yes Running embed /boot/grub/ufs2_stage1_5 (hd0)... failed (this is not fatal) Running embed /boot/grub/ufs2_stage1_5 (hd0,0,a)... failed (this is not fatal) Running install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst ... failed Error 29: Disk write error grub quit -- 'What have you done to the cat? It looks half-dead.' -- Schroedinger's wife Rasputin :: Jack of All Trades - Master of Nuns ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pf and http (ebay)?
* Max Laier [EMAIL PROTECTED] [0415 18:15]: On Friday 08 April 2005 18:41, Dick Davies wrote: 'waiting for include.ebaystatic.com' message on the status bar. pflog looks like: root$ tcpdump -r /var/log/pflog|grep ebay reading from file /var/log/pflog, link-type PFLOG (OpenBSD pflog file) 17:29:56.885697 IP my.intl.ebay.com.http laptop.ip.60674: R 2025419634:2025419634(0) ack 1452466570 win 64240 17:30:07.917906 IP search.ebay.co.uk.http laptop.ip.52293: R 1766217212:1766217212(0) ack 1086438034 win 64240 My guess is that pf is not letting the responses back from that server because firefox didn't request from that server? But ipf on the gateway (which has a similar outbound keep state rule) never had this problem - any idea what's going on, or how I can debug this? The blocked packets in your log are RSTs so it's most likely a window violation - possibly caused by ipf on the gateway?!? Please add an -e to your tcpdump to see the reason for the block. You might also want to enable debugging (pfctl -x misc) and watch the console for bad state messages. Thanks for the sanity check - it definitely looks like some kind of ipf conflict, I'm using an almost identical pf.conf on another 5.4rc with no problems. -- 'In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.' -- The Guide Rasputin :: Jack of All Trades - Master of Nuns ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: external DVD-RAM devices
On Fri, Apr 22, 2005 at 12:03:50AM +0200, Michael Lestinsky wrote: Is anyone here sucessfully using some external DVD-Ram capable writer? ... Currently the USB2 code in RELENG_5 seems more stable than the Firewire code. Can you try installing the sysutils/dvd+rw-tools port and running dvd+rw-mediainfo on the USB2 cd device node and see what it says? It's possible that GEOM isn't picking up on the media change for some reason... I've been able to read and write ISO sessions OK with an atapicam DVD-RAM burner in DVD-RW mode. BMS ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and very heavy web server
Yes, I expect many parallel connections... Use an event-based server design if possible. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 'cut' and newline problem
On Thu, Apr 21, 2005 at 10:45:56PM +0700, Dmitry Frolov wrote: * Emanuel Strobl [EMAIL PROTECTED] [21.04.2005 04:52]: Dear all, today I had problems with cut (tset -I -S -Q \?$term | cut -d ' ' -f1) on 5.4-RC3 and after googling for the error cut: stdin: Illegal byte sequence I found that someone already reported [1] that cut kind of misbehaves from 5.3-RC on. Is this still a problem? It seems Tim Robbins fixed this in rev 1.30 of src/usr.bin/cut/cut.c, but that was not MFC'ed. PS: Tim, can You, please, MFC rev 1.30? Done. Thanks for the reminder. Tim ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: external DVD-RAM devices
On Fri, 22 Apr 2005 20:49, Bruce M Simpson wrote: Currently the USB2 code in RELENG_5 seems more stable than the Firewire code. Not in my experience but I don't have an external CD/DVD writer.. The USB2 code is better but still has some bogons. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpQr4FBSlaSv.pgp Description: PGP signature
kernel/dmesg misreporting clock speed of CPU
Hello, First off, want to say thanks to all the people that make FreeBSD possible. Very nice operating system. :) Ok, now for the problem. Been running FreeBSD 5-STABLE on my Dual Pentium Pro 200Mhz for many months now. However, yesterday I upped to 5.4-RC3, and noticed something changed during bootup. This line: CPU: Pentium Pro (145.59-MHz 686-class CPU) Note that line says 145.59-Mhz, I have 200Mhz CPUs. As well, prior to upgrading to RC-3 that line would say 199.98Mhz. Not sure if that's a bug or not. Here's my dmesg output, wasn't sure if this would be needed: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RC3 #3: Wed Apr 20 07:49:53 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KOALA MPTable: HP LH Pro Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Pentium Pro (145.59-MHz 686-class CPU) Origin = GenuineIntel Id = 0x619 Stepping = 9 Features=0xfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV real memory = 234881024 (224 MB) avail memory = 224391168 (213 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 Version 1.1 irqs 0-15 on motherboard npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 pcib1: PCI-PCI bridge at device 8.0 on pci0 pci1: PCI bus on pcib1 xl0: 3Com 3c905-TX Fast Etherlink XL port 0xecc0-0xecff irq 9 at device 2.0 on pci1 miibus0: MII bus on xl0 nsphy0: DP83840 10/100 media interface on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:10:4b:d1:5d:f4 xl1: 3Com 3c905-TX Fast Etherlink XL port 0xec40-0xec7f irq 10 at device 3.0 on pci1 miibus1: MII bus on xl1 nsphy1: DP83840 10/100 media interface on miibus1 nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:60:97:c9:af:7b eisab0: PCI-EISA bridge at device 9.0 on pci0 eisa0: EISA bus on eisab0 mainboard0: HWPc141 (System Board) on eisa0 slot 0 isa0: ISA bus on eisab0 ahc0: Adaptec aic7880 Ultra SCSI adapter port 0xf800-0xf8ff mem 0xfedff000-0xfedf irq 11 at device 10.0 on pci0 ahc0: Using left over BIOS settings aic7880: Wide Channel A, SCSI Id=7, 16/253 SCBs ahc1: Adaptec aic7880 Ultra SCSI adapter port 0xf400-0xf4ff mem 0xfedfe000-0xfedfefff irq 11 at device 11.0 on pci0 ahc1: Using left over BIOS settings aic7880: Wide Channel A, SCSI Id=7, 16/253 SCBs orm0: ISA Option ROMs at iomem 0xc8000-0xcbfff,0xc-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) unknown: PNP0303 can't assign resources (port) unknown: PNP0903 can't assign resources (memory) unknown: PNP0c02 can't assign resources (memory) Timecounters tick every 10.000 msec Waiting 5 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: IBM DXHS18Y 0430 Fixed Direct Access SCSI-3 device da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da1 at ahc0 bus 0 target 1 lun 0 da1: IBM DXHS18Y 0430 Fixed Direct Access SCSI-3 device da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 64H 32S/T 17366C) da2 at ahc0 bus 0 target 3 lun 0 da2: HP 2.13 GB 1st ### 1221 Fixed Direct Access SCSI-2 device da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da2: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C) SMP: AP CPU #1 Launched! cd0 at ahc0 bus 0 target 5 lun 0 cd0: TOSHIBA CD-ROM XM-5401TA 3115 Removable CD-ROM SCSI-2 device cd0: 4.032MB/s transfers (4.032MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present Mounting root from ufs:/dev/da0s1a pflog0: promiscuous mode enabled xl1: transmission error: 90 xl1: tx underrun, increasing tx start threshold to 120 bytes xl0: transmission error: 90 xl0: tx underrun, increasing tx start threshold to 120 bytes xl0: transmission error: 90 xl0: tx underrun, increasing tx start threshold to 180 bytes xl0: transmission error: 90 xl0: tx underrun, increasing tx start threshold to 240
Re: Newbie Question About System Update
Matthias Buelow [EMAIL PROTECTED] wrote: Bill Moran [EMAIL PROTECTED] writes: Fact is, trying to update a running system could result in silent failures. The system can not replace programs that are in use, so there's always the chance that something or other won't get updated (cron would be an excellent example ... do you always shut cron off when you update? How about syslogd?) This is complete nonsense. Yes, and no. As was pointed out, the install process does not cp, so it doesn't have to deal with this problem. I was wrong. However, it's still true that you can't copy over an executable in use, it's just easy to work around it. On a production system, you should have a serial terminal connected so you can go to single-user mode remotely to do updates. There are fairly inexpensive serial terminal boxes available from a number of vendors, and if you have a spare machine available, you can always hook it up as a serial terminal. I was talking about a colocation situation, where you most likely will never see the machine. Networked console boards are usually available but may not always be cost effective. I would agree that such a board may be a necessity in a high profile production server but if you are a small company, or use a machine privately, the extra cost often outweighs the gain. And a good colo hoster usually also has qualified staff. Who are you using for colo? I'd like to contact them. Unless your server is utterly unimportant, the last thing you want to have happen is an upgrade where the kernel doesn't boot and you have a dead system until someone can hook a console to it. Most colos I've seen charge you a premium to have someone hook a console up for you. I asked one how much it would cost to hook up a serial console and give it an IP for one month, and their response was we don't do that, you have to pay our tech $160/hour to sit on the phone with you and enter what you want. While this seems to be a worst case scenerio, it doesn't seem to be an uncommon attitude. A lesson to all of you, when you choose a colo, don't just look at the cost of having your box sit there - estimate the cost of doing maintenance and handling problems, those are hidden costs where many colos will rape you. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Question About System Update
On Fri, Apr 22, 2005 at 10:09:09AM -0400, Bill Moran wrote: Matthias Buelow [EMAIL PROTECTED] wrote: Bill Moran [EMAIL PROTECTED] writes: Fact is, trying to update a running system could result in silent failures. The system can not replace programs that are in use, so there's always the chance that something or other won't get updated (cron would be an excellent example ... do you always shut cron off when you update? How about syslogd?) This is complete nonsense. Yes, and no. As was pointed out, the install process does not cp, so it doesn't have to deal with this problem. I was wrong. However, it's still true that you can't copy over an executable in use, it's just easy to work around it. On a production system, you should have a serial terminal connected so you can go to single-user mode remotely to do updates. There are fairly inexpensive serial terminal boxes available from a number of vendors, and if you have a spare machine available, you can always hook it up as a serial terminal. I was talking about a colocation situation, where you most likely will never see the machine. Networked console boards are usually available but may not always be cost effective. I would agree that such a board may be a necessity in a high profile production server but if you are a small company, or use a machine privately, the extra cost often outweighs the gain. And a good colo hoster usually also has qualified staff. Who are you using for colo? I'd like to contact them. Unless your server is utterly unimportant, the last thing you want to have happen is an upgrade where the kernel doesn't boot and you have a dead system until someone can hook a console to it. Most colos I've seen charge you a premium to have someone hook a console up for you. I asked one how much it would cost to hook up a serial console and give it an IP for one month, and their response was we don't do that, you have to pay our tech $160/hour to sit on the phone with you and enter what you want. While this seems to be a worst case scenerio, it doesn't seem to be an uncommon attitude. A lesson to all of you, when you choose a colo, don't just look at the cost of having your box sit there - estimate the cost of doing maintenance and handling problems, those are hidden costs where many colos will rape you. Colocation that does not include serial console access is IMHO worthless. The costs associated with having one of their people do anything other than maintain/replace failed hardware (which is part of their job if you are renting the hardware from them) is astronomical - both in terms of money and time wasted. Neither should be considered accepted - to anyone. Most colo providers are worthless in this regard. They just don't get it. -- -- Karl Denninger ([EMAIL PROTECTED]) Internet Consultant Kids Rights Activist http://www.denninger.netMy home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://www.spamcuda.net SPAM FREE mailboxes - FREE FOR A LIMITED TIME! http://genesis3.blogspot.comMusings Of A Sentient Mind ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: grub on 5.4
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 23, 2005 at 12:19:22AM +0100, Dick Davies wrote: Wow, that's a bit messed up - I need to boot off a different disk before I can write to the MBR? Someone mentioned a GEOM quirk, is that what's stopping me doing it from within freebsd? I wonder why boot0cfg doesn't have the same problem? You may create a bootable grub floppy with $ cd /boot/grub $ dd if=stage1 of=/dev/fd0 bs=512 count=1 $ dd if=stage2 of=/dev/fd0 bs=512 seek=1 Thanks, but if it's a freebsd thing I'll just install the MBR from one of the other OSes - do you know if I need our patched grub for the mbr to grok ufs2, or will a leenux one work? The usual one will work. title FreeBSD root (hd0,1,a) kernel /boot/loader If that doesn't work, you can do the chainloader +1 thingie, but it shouldn't be necessary--somewhere in either the early 5.x or at some point in CURRENT, the above syntax wasn't working with older versions of GRUB. Howevr, the current heh GRUB will work with the above syntax. (It had to do with older versions not recognizing the ufs2, but the issue has been fixed.) HTH - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Cordelia: What is stalking nowadays, like, the third most popular sport among men? Angel: Fourth, after luge -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCaYjW+lTVdes0Z9YRAjYZAJ9aV/hXT6mowGT06unbFym9FK7adgCgvAx3 okPUg28Mn0v/Rogd7F/7Xpw= =HCz7 -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building good custom kernel
Consult the tuning(7) manual page. On 4/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi , i tried building the freebsd 5.3 kernel and it works fine, but can u people give me some tips regarding optimizing kernel during build, even saving a single cpu cycle would mean a lot. i would like to have a kernel that is really optimized. And what do you people do to fine tune the kernel? thanks, ananth.g ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- Phil Bowens He who is the greatest of warriors overcomes and subdues himself. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump woes
On Sat, Apr 23, 2005 at 06:05:25AM +1000, Peter Jeremy [EMAIL PROTECTED] was witnessed plotting the following conspiracy: On Thu, 2005-Apr-21 23:07:48 -0400, Dan Ponte wrote: I'm having a rather strange predicament with dump(8). First, I tried dumping a snapshot to a file within the filesystem being dumped like so: styx# dump -0u -a -L -C 8 -f /usr/backup/usr.dump /usr I then let it sit for a while. The filesystem was only 4.1GB, but the dump file was growing to almost 12GB! Try running fsck on the filesystem. It's possible that there's some corruption that's confusing dump. fsck seems to have run successfully. It did say incorrect block count, but I told it to fix it. However, I am still seeing the negative tape blocks problem. -Dan -- Dan Ponte http://www.theamigan.net/ Comparing information and knowledge is like asking whether the fatness of a pig is more or less green than the designated hitter rule. -- David Guaspari ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump woes
On Thu, 2005-Apr-21 23:07:48 -0400, Dan Ponte wrote: I'm having a rather strange predicament with dump(8). First, I tried dumping a snapshot to a file within the filesystem being dumped like so: styx# dump -0u -a -L -C 8 -f /usr/backup/usr.dump /usr I then let it sit for a while. The filesystem was only 4.1GB, but the dump file was growing to almost 12GB! Try running fsck on the filesystem. It's possible that there's some corruption that's confusing dump. -- Peter Jeremy ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Preposterous errno values from kernel
On Thu, 2005-Apr-21 22:04:01 -0700, Kris Kennaway wrote: I'm getting this on a RELENG_5_4 sparc64 system (e4500): # rm -rf * /bin/rm: Unknown error: 7283. Cute. Does it affect anything other than /bin/rm? Is /bin/rm sane (not some random junk that's confusing the ELF loader)? Is this an SMP system (which might point to locking problems)? If this seems consistent (other than the actual errno reported), the quickest solution would seem to be to use DDB (or kernel GDB) to follow the execution path from execve() until it goes off the rails. -- Peter Jeremy ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Good CD Burning Software
I'm running Fluxbox at the moment, and I don't want to install a packages that will also install gnome or kde as a dependency. Xcdroast looks promising, I hope it does not install gnome or many gnome libraries and packages during its installation. Thanks for the replay, Have a nice day Didier Caamano -Original Message- From: Gunnar Flygt [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 2:24 AM To: Didier Caamano Subject: Re: Good CD Burning Software On Thu, Apr 21, 2005 at 11:51:49PM -0600, Didier Caamano wrote: Greetings: I was wondering what would be a good cd burner software for FBSD? I'm using xcdroast-0.98.a.15_2 Another X11 frontend to mkisofs/cdrecord which is really easy to use. Have a nice day ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable- [EMAIL PROTECTED] -- Gunnar Flygt SR Datadrift Sveriges Radio ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
vm_fault on 8GB RAM AMD-64 with 5.4-RC3 and 5.4-STABLE
I am trying to make a Tyan S4882 (K8QSPro?) motherboard with two 2.2GHz Opterons and 8GB RAM to work with FreeBSD. Both the 5.4-RC3 installation boot disk, and yesterday's 5.4-STABLE code panic. The system works fine with 4GB of RAM (it can run make buildworld). The installed kernel panics after the Starting sshd. message with the following message: panic: vm_fault: fault on nofault entry, addr: a9ac58000 cpuid = 1 boot() called on cpu#0 Uptime: 38s Cannot dump. No dump device defined. iir0: Flushing all Host Drives. Please wait ... kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x48 fault code = supervisor read, page not present instruction pointer = 0x0:0x802aa243 (I copied the above from a blury photograph, so I may have mixed some 0s and 8s). The instruction at the IP appears to be part of turnstile_wait, though I can't see why the specific instruction could create a fault, so I could well be wrong here. 0x802aa040 turnstile_wait+32: mov%rsi,%rax 0x802aa043 turnstile_wait+35: shr$0x8,%rax 0x802aa047 turnstile_wait+39: and$0x7f,%eax I am attaching the output from dmesg; any pointers, help, ideas will be appreciated. Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #0: Thu Apr 21 23:19:03 EEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TITAN Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 848 (2205.02-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xf58 Stepping = 8 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 4227268608 (4031 MB) avail memory = 4082753536 (3893 MB) ACPI APIC Table: PTLTD APIC FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard ioapic1 Version 1.1 irqs 24-27 on motherboard ioapic2 Version 1.1 irqs 28-31 on motherboard acpi0: PTLTD XSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0xc008-0xc00b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 6.0 on pci0 pci1: ACPI PCI bus on pcib1 ohci0: OHCI (generic) USB controller mem 0xfc10-0xfc100fff irq 19 at device 0.0 on pci1 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: OHCI (generic) USB controller mem 0xfc101000-0xfc101fff irq 19 at device 0.1 on pci1 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: OHCI (generic) USB controller on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered uhci0: VIA 83C572 USB controller port 0x2400-0x241f irq 17 at device 3.0 on pci1 usb2: VIA 83C572 USB controller on uhci0 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0x2420-0x243f irq 16 at device 3.1 on pci1 usb3: VIA 83C572 USB controller on uhci1 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci1: serial bus, USB at device 3.2 (no driver attached) atapci0: SiI 3114 SATA150 controller port 0x2440-0x244f,0x2450-0x2453,0x2458-0x245f,0x2454-0x2457,0x2460-0x2467 mem 0xfc103400-0xfc1037ff irq 19 at device 5.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 ata4: channel #2 on atapci0 ata5: channel #3 on atapci0 pci1: display, VGA at device 6.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci1: AMD 8111 UDMA133 controller port 0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 pci0: bridge at device 7.3 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 10.0 on pci0 pci2: ACPI PCI bus on pcib2 mpt0: LSILogic 1030 Ultra4 Adapter port 0x3000-0x30ff mem 0xfe00-0xfe00,0xfe01-0xfe01 irq 24 at device 4.0 on pci2 mpt1: LSILogic 1030 Ultra4 Adapter port 0x3400-0x34ff mem 0xfe02-0xfe02,0xfe03-0xfe03 irq 25 at
Re: grub on 5.4
Dick Davies schrieb: grub find /boot/grub/stage1 (hd0,0,a) grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/ufs2_stage1_5 exists... yes Running embed /boot/grub/ufs2_stage1_5 (hd0)... failed (this is not fatal) Running embed /boot/grub/ufs2_stage1_5 (hd0,0,a)... failed (this is not fatal) Running install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst ... failed Error 29: Disk write error grub quit It will work when you install grub after booting from floppy disk or CD. You may create a bootable grub floppy with $ cd /boot/grub $ dd if=stage1 of=/dev/fd0 bs=512 count=1 $ dd if=stage2 of=/dev/fd0 bs=512 seek=1 Uli Middelberg -- http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/076136.html ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel/dmesg misreporting clock speed of CPU
Jon Noack wrote: On 4/22/2005 9:07 AM, John T. Yocum wrote: First off, want to say thanks to all the people that make FreeBSD possible. Very nice operating system. :) Ok, now for the problem. Been running FreeBSD 5-STABLE on my Dual Pentium Pro 200Mhz for many months now. However, yesterday I upped to 5.4-RC3, and noticed something changed during bootup. This line: CPU: Pentium Pro (145.59-MHz 686-class CPU) Note that line says 145.59-Mhz, I have 200Mhz CPUs. As well, prior to upgrading to RC-3 that line would say 199.98Mhz. Not sure if that's a bug or not. Random shot: BIOS battery died and the speed got reset to 150MHz? Then again, the speed on the Pentium Pro machine I used to have was set with a jumper (had it overclocked to 233MHz!)... Sorry if I'm way off base here, Jon Jon, The clockspeed is setup via jumpers. Just before rebooting to RC3, the kernel was reporting the proper clock speed. IIRC, this issue has come up before for some people. Thanks, John ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: grub on 5.4
* Uli Middelberg [EMAIL PROTECTED] [0447 20:47]: Dick Davies schrieb: grub find /boot/grub/stage1 (hd0,0,a) grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/ufs2_stage1_5 exists... yes Running embed /boot/grub/ufs2_stage1_5 (hd0)... failed (this is not fatal) Running embed /boot/grub/ufs2_stage1_5 (hd0,0,a)... failed (this is not fatal) Running install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst ... failed Error 29: Disk write error grub quit It will work when you install grub after booting from floppy disk or CD. Wow, that's a bit messed up - I need to boot off a different disk before I can write to the MBR? Someone mentioned a GEOM quirk, is that what's stopping me doing it from within freebsd? I wonder why boot0cfg doesn't have the same problem? You may create a bootable grub floppy with $ cd /boot/grub $ dd if=stage1 of=/dev/fd0 bs=512 count=1 $ dd if=stage2 of=/dev/fd0 bs=512 seek=1 Thanks, but if it's a freebsd thing I'll just install the MBR from one of the other OSes - do you know if I need our patched grub for the mbr to grok ufs2, or will a leenux one work? -- 'Oh. Your. God.' -- Bender Rasputin :: Jack of All Trades - Master of Nuns ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Warnings while updating/creating the port's index
I am curently using portsdb -U to make the index. Are these errors safe to ignore or is it better to update the index some other way? Updating the ports index ... Generating INDEX.tmp - please wait..Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 Done. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Warnings while updating/creating the port's index
On Sat, Apr 23, 2005 at 03:14:07AM +0300, Lefteris Tsintjelis wrote: I am curently using portsdb -U to make the index. Are these errors safe to ignore or is it better to update the index some other way? They're usually safe and caused by your local environment variables, which cause two ports to have the same name (probably WITH_APACHE2 or something in your case). Kris pgpHNDpHMo2iy.pgp Description: PGP signature
Re: Preposterous errno values from kernel
On Sat, Apr 23, 2005 at 06:34:39AM +1000, Peter Jeremy wrote: On Thu, 2005-Apr-21 22:04:01 -0700, Kris Kennaway wrote: I'm getting this on a RELENG_5_4 sparc64 system (e4500): # rm -rf * /bin/rm: Unknown error: 7283. Cute. Does it affect anything other than /bin/rm? Is /bin/rm sane (not some random junk that's confusing the ELF loader)? Is this an SMP system (which might point to locking problems)? I think I'm only seeing it in relation to rm, but I've done a make world with a clean tree and had it persist. rm seems to work in other situations (including some other errors). It is an SMP machine (highly SMP; 12-CPU). If this seems consistent (other than the actual errno reported), the quickest solution would seem to be to use DDB (or kernel GDB) to follow the execution path from execve() until it goes off the rails. I might have to try that. Kris pgpqC4Y2WHQmr.pgp Description: PGP signature
New ipfilter LOR?
Another one not on the list... # lock order reversal 1st 0xc08bf540 crypto (crypto op queues) @/usr/src/sys/opencrypto/crypto.c:669 2nd 0xc08713e0 ipf filter rwlock (ipf filter rwlock) @/usr/src/sys/contrib/ipfilter/netinet/fil.c:1135 KDB: stack backtrace: kdb_backtrace(0,,c0894e58,c0894700,c082a50c) at kdb_backtrace+0x29 witness_checkorder(c08713e0,1,c079810a,46f) at witness_checkorder+0x544 _sx_slock(c08713e0,c079810a,46f,0,0) at _sx_slock+0x50 fr_check(c2c1e0ec,14,c2aa9800,1,d5bc76e4) at fr_check+0x368 fr_check_wrapper(0,d5bc76e4,c2aa9800,2,0) at fr_check_wrapper+0x2a pfil_run_hooks(c08bbd00,d5bc777c,c2aa9800,2,0) at pfil_run_hooks+0xbd ip_output(c2c1e000,0,0,2,0) at ip_output+0x8c4 ipsec_process_done(c2c1e000,c2eaa600,c30c8000,c2e8da00,c0837360) at ipsec_process_done+0x165 esp_output_cb(c30c8000) at esp_output_cb+0x1eb crypto_done(c30c8000,2,1,0,c30c8000) at crypto_done+0xa8 swcr_process(0,c30c8000,0,1,600) at swcr_process+0x146 crypto_invoke(c30c8000,0,30,c0837518,c2e8da24) at crypto_invoke+0x132 crypto_dispatch(c30c8000,d5bc78e0,c30c8000,c30ca000,c2eaa888) at crypto_dispatch+0x6e esp_output(c2c1e000,c2eaa600,0,14,9) at esp_output+0x59a ipsec4_process_packet(c307d900,c2eaa600,1,0,c08b861c) at ipsec4_process_packet+0x22a ip_output(c307d900,0,0,1,0) at ip_output+0x84a ip_forward(c307d900,0) at ip_forward+0x4e9 ip_input(c307d900) at ip_input+0x88b netisr_processqueue(c08b9598) at netisr_processqueue+0x6e swi_net(0) at swi_net+0xc2 ithread_loop(c29d5a80,d5bc7d48,c29d5a80,c05e43fc,0) at ithread_loop+0x124 fork_exit(c05e43fc,c29d5a80,d5bc7d48) at fork_exit+0xa4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xd5bc7d7c, ebp = 0 --- _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i915 dri
Well, I got to where you are now. Except I have the agp stuff build into my kernel. But I get the same thing as you. drmsub1: Intel i852GM/i855GM GMCH mem 0xe008-0xe00f,0xf000-0xf7ff at device 2.1 on pci0 error: [drm:pid9092:drm_init] *ERROR* Card isn't AGP, or couldn't initialize AGP. device_attach: drmsub1 attach returned 12 -Andrew On 4/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You can browse the CVS tree at http://cvs.freedesktop.org/dri/drm/ or this page has instructions on pulling the necessary files from CVS. http://dri.freedesktop.org/wiki/Download If you're successful in loading the i915.ko module, I'd be very interested in how you did it. Craig On Friday 22 April 2005 06:12 pm, Andrew Marks wrote: On 4/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, Strange error in initializing drm for i915: drmsub1: Intel i852GM/i855GM GMCH mem 0xe008-0xe00f,0xf000-0xf7ff at device 2.1 on pci0 error: [drm:pid526:drm_init] *ERROR* Card isn't AGP, or couldn't initialize AGP. device_attach: drmsub1 attach returned 12 But agp in fact loads fine: agp0: Intel 82855GME (855GME GMCH) SVGA controller port 0x1800-0x1807 mem 0xe000-0xe007,0xe800-0xefff irq 11 at device 2.0 on pci0 agp0: detected 16252k stolen memory agp0: aperture size is 128M I have tried various combinations of loading i915.ko and agp.ko (different orders, agp in kernel, agp in loader, etc) all without success. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=107649+0+current/freebsd-cur rent This person also has a problem with drm, but dmesgs are different. The device appeared to attach correctly (unlike in my situation). Any ideas? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] This is totally unrelated, but where did you get i915.ko in the first place. I don't even get as far as you, because I don't evey have the i915 module. I applied that patch to my drm just now, but without the i915 driver I can't really try it out. I searched all my kernel config files, and ports and I don't see anything related to i915. -Andrew ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
[releng_5 tinderbox] failure on alpha/alpha
TB --- 2005-04-22 17:13:25 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-04-22 17:13:25 - starting RELENG_5 tinderbox run for alpha/alpha TB --- 2005-04-22 17:13:25 - checking out the source tree TB --- 2005-04-22 17:13:25 - cd /home/tinderbox/RELENG_5/alpha/alpha TB --- 2005-04-22 17:13:25 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_5 src TB --- 2005-04-22 17:23:14 - building world (CFLAGS=-O -pipe) TB --- 2005-04-22 17:23:14 - cd /home/tinderbox/RELENG_5/alpha/alpha/src TB --- 2005-04-22 17:23:14 - /usr/bin/make -B buildworld Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything TB --- 2005-04-22 18:14:28 - building generic kernel (COPTFLAGS=-O -pipe) TB --- 2005-04-22 18:14:28 - cd /home/tinderbox/RELENG_5/alpha/alpha/src TB --- 2005-04-22 18:14:28 - /usr/bin/make buildkernel KERNCONF=GENERIC Kernel build for GENERIC started on Fri Apr 22 18:14:29 UTC 2005 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies stage 3.2: building everything [...] objcopy --strip-debug nullfs.ko === osf1 cc -O -pipe -mcpu=ev4 -mtune=ev5 -mieee -D_KERNEL -DKLD_MODULE -nostdinc -I- -include /tinderbox/RELENG_5/alpha/alpha/obj/alpha/tinderbox/RELENG_5/alpha/alpha/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=15000 -fno-common -I/tinderbox/RELENG_5/alpha/alpha/obj/alpha/tinderbox/RELENG_5/alpha/alpha/src/sys/GENERIC -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1/../../alpha/osf1/osf1_ioctl.c cc -O -pipe -mcpu=ev4 -mtune=ev5 -mieee -D_KERNEL -DKLD_MODULE -nostdinc -I- -include /tinderbox/RELENG_5/alpha/alpha/obj/alpha/tinderbox/RELENG_5/alpha/alpha/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=15000 -fno-common -I/tinderbox/RELENG_5/alpha/alpha/obj/alpha/tinderbox/RELENG_5/alpha/alpha/src/sys/GENERIC -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1/../../alpha/osf1/osf1_misc.c /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1/../../alpha/osf1/osf1_misc.c: In function `osf1_copyinuio': /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1/../../alpha/osf1/osf1_misc.c:1166: error: `INT_MAX' undeclared (first use in this function) /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1/../../alpha/osf1/osf1_misc.c:1166: error: (Each undeclared identifier is reported only once /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1/../../alpha/osf1/osf1_misc.c:1166: error: for each function it appears in.) *** Error code 1 Stop in /tinderbox/RELENG_5/alpha/alpha/src/sys/modules/osf1. *** Error code 1 Stop in /tinderbox/RELENG_5/alpha/alpha/src/sys/modules. *** Error code 1 Stop in /tinderbox/RELENG_5/alpha/alpha/obj/alpha/tinderbox/RELENG_5/alpha/alpha/src/sys/GENERIC. *** Error code 1 Stop in /tinderbox/RELENG_5/alpha/alpha/src. *** Error code 1 Stop in /tinderbox/RELENG_5/alpha/alpha/src. TB --- 2005-04-22 18:22:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-04-22 18:22:12 - ERROR: failed to build generic kernel TB --- 2005-04-22 18:22:12 - tinderbox aborted ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump woes
snip I hate to followup to my own message, however I believe that I have identified a possible culprit (without solution, of course). Observe: DUMP: estimated -1531206574 tape blocks. DUMP: 99.99% done, finished soon I suspect an integer overflow somewhere, but this is highly unusual asI've seen many posts in various archives where the exact command syntax I had was used, and it showed positive tape block calculations and real percentages. This filesystem is only 17GB, with 4.1GB used (as I said earlier). -Dan -- Dan Ponte http://www.theamigan.net/ An age is called Dark not because the light fails to shine, but because people refuse to see it. -- James Michener, Space ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: grub on 5.4
On Fri 22 Apr 05 03:14, Dick Davies [EMAIL PROTECTED] wrote: Am I missing something obvious? The HDD is'nt write protected or anything, the freebsd loader went in fine # ls /boot/grub/ device.map fat_stage1_5iso9660_stage1_5 menu.lst reiserfs_stage1_5 stage2 vstafs_stage1_5 e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5minix_stage1_5 stage1 ufs2_stage1_5 xfs_stage1_5 # .. GNU GRUB version 0.95 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub find /boot/loader (hd0,0,a) grub root (hd0,0) Filesystem type unknown, partition type 0xa5 grub root (hd0,0,a) Filesystem type is ufs2, partition type 0xa5 grub find /boot/grub/stage Possible files are: stage1 stage2 grub find /boot/grub/stage1 (hd0,0,a) grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/ufs2_stage1_5 exists... yes Running embed /boot/grub/ufs2_stage1_5 (hd0)... failed (this is not fatal) Running embed /boot/grub/ufs2_stage1_5 (hd0,0,a)... failed (this is not fatal) Running install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst ... failed Error 29: Disk write error grub quit When I set up grub for the first time on this box I just edited menu.1st like so (this system boots fbsd, slackware and win2k, and I like a long timeout in case I'm away from the desk): # cat /boot/grub/menu.lst default=0 timeout=90 title FreeBSD 5.4-PR root (hd0,1,a) kernel /boot/loader title Slackware 10 root (hd2,0) kernel /boot/vmlinuz ro root=/dev/hdd1 title Windows 2000 Pro rootnoverify (hd0,0) makeactive chainloader +1 boot - jt ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with setting up ppp connection to use synce on FreeBSD 5.3
I am having a hard time getting the pda to connect to my synce/dccm session. I keep getting closed connections due to faulty authentication. My ipaq is running Windows PocketPC 2003, and I am using user-ppp on FreeBSD 5.3. I get it to actually try to authenticate the session, however, it always errors out with a 691 error, probably for authentication. Can anyone give me some assistance with my ppp.secret or ppp.conf settings. I don't have any username/password on the PDA, however, whenever I leave those aspects out nothing happens. Thanks. -- Martes G Wigglesworth, CEO WiggTekMicroSystems, Inc. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel/dmesg misreporting clock speed of CPU
On 4/22/2005 9:07 AM, John T. Yocum wrote: First off, want to say thanks to all the people that make FreeBSD possible. Very nice operating system. :) Ok, now for the problem. Been running FreeBSD 5-STABLE on my Dual Pentium Pro 200Mhz for many months now. However, yesterday I upped to 5.4-RC3, and noticed something changed during bootup. This line: CPU: Pentium Pro (145.59-MHz 686-class CPU) Note that line says 145.59-Mhz, I have 200Mhz CPUs. As well, prior to upgrading to RC-3 that line would say 199.98Mhz. Not sure if that's a bug or not. Random shot: BIOS battery died and the speed got reset to 150MHz? Then again, the speed on the Pentium Pro machine I used to have was set with a jumper (had it overclocked to 233MHz!)... Sorry if I'm way off base here, Jon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
uaudio MFCs to 4.x
I have just merged a set of changes from current to RELENG_4 for usb audio. USB audio in 4.x was not terribly well supported anyhow, but if you are running RELENG_4 and have a usb audio output device (input may not work, yet) you might like to do a before and after test.I have limited USB audio output equipment, and it didn't work on a lot of devices prior to these changes but I'd like to hear if it got worse :-) ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mbuf clusters in netstat output is wrong
Any chance of repeating here please? Chris On 4/21/05, Kris Kennaway [EMAIL PROTECTED] wrote: On Thu, Apr 21, 2005 at 10:53:04AM +0400, Eugene Mitrofanov wrote: Hi list I have 5.4-stable from 18 apr. netstat -m prints some strange current mbufs number. any suggestions? See the 5.3 errata and previous discussions here, on freebsd-net and elsewhere. Kris ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: grub on 5.4
Dick Davies wrote: * Uli Middelberg [EMAIL PROTECTED] [0447 20:47]: Dick Davies schrieb: grub find /boot/grub/stage1 (hd0,0,a) grub setup (hd0) Checking if /boot/grub/stage1 exists... yes Checking if /boot/grub/stage2 exists... yes Checking if /boot/grub/ufs2_stage1_5 exists... yes Running embed /boot/grub/ufs2_stage1_5 (hd0)... failed (this is not fatal) Running embed /boot/grub/ufs2_stage1_5 (hd0,0,a)... failed (this is not fatal) Running install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst ... failed Error 29: Disk write error grub quit It will work when you install grub after booting from floppy disk or CD. Wow, that's a bit messed up - I need to boot off a different disk before I can write to the MBR? Someone mentioned a GEOM quirk, is that what's stopping me doing it from within freebsd? I wonder why boot0cfg doesn't have the same problem? You may create a bootable grub floppy with $ cd /boot/grub $ dd if=stage1 of=/dev/fd0 bs=512 count=1 $ dd if=stage2 of=/dev/fd0 bs=512 seek=1 Thanks, but if it's a freebsd thing I'll just install the MBR from one of the other OSes - do you know if I need our patched grub for the mbr to grok ufs2, or will a leenux one work? Setting the sysctl: kern.geom.debugflags=16 will allow you to write the bootsectors right from grub-install while having a live root filesystem mounted. -- = = Bryan D. LiesnerLeezSoft Communications, Inc. = = A subsidiary of LeezSoft Inc. = = [EMAIL PROTECTED]Home of the Gipper= = ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]