Olivier Cherrier <[email protected]> wrote on Wed 12.Aug'09 at 3:17:16 -0400
> On Mon, Aug 10, 2009 at 11:43:34AM -0600, [email protected] wrote: > > After having fast recycle kick my butt for two days finding > > vnode reuse bugs.. here is the new diff. this does appear stable on > > my machines. > > > > Note that it disables some functionality in procmap, temporarily, > > although looking at it it may have already been pre-broken. miod has > > promised to revisit this with me later. > > > > Please test for me. and let know what arch'es you ran on. > > Hi, > > I tested it on one machine (sparc64). It crashes on boot. Here is the > dmesg.boot which contains trace of ddb. This crash is unfortunetly not releated to bob's namecache diff. this is a know bug that creeps up sometime in the ffs code. and apperently, noone is willing to scarifices hair and sanity to track it down ;) > > Thanks, > > -- > Olivier Cherrier - Symacx.com > mailto:[email protected] > console is keyboard/display > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org > > OpenBSD 4.6-current (GENERIC) #2: Mon Sep 15 22:59:32 CEST 2008 > [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC > real mem = 2147483648 (2048MB) > avail mem = 2069307392 (1973MB) > mainbus0 at root: SUNW,Sun-Blade-1000 (UltraSPARC-III) > cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz > cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external > (512 b/l) > "memory-controller" at mainbus0 not configured > schizo0 at mainbus0: "Schizo", version 4, ign 200, bus B 0 to 0 > schizo0: dvma map c0000000-ffffffff > pci0 at schizo0 > ebus0 at pci0 dev 5 function 0 "Sun RIO EBus" rev 0x01 > "flashprom" at ebus0 addr 0-1fffff not configured > bbc0 at ebus0 addr 0-fffff: AID 0x00 > ppm0 at ebus0 addr e-28, 728000-728003, 30002e-30002f, 300600-300607 > pcfiic0 at ebus0 addr 2e-2f, 2d-2d ivec 0x23 > iic0 at pcfiic0 > pcfiic1 at ebus0 addr 30-31 ivec 0x23 > iic1 at pcfiic1 > admtemp0 at iic1 addr 0x18: max1617 > tda0 at iic1 addr 0x24 > "scm001" at iic1 addr 0x20 not configured > "firei" at iic1 addr 0x30 not configured > beep0 at ebus0 addr 32-37: clock 75MHz > audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, > 722000-722003 ivec 0x20 ivec 0x21: nvaddrs 0 > audio0 at audioce0 > rtc0 at ebus0 addr 300070-300071 ivec 0x24: ds1287 > "gpio" at ebus0 addr 300600-300607 not configured > pmc0 at ebus0 addr 300700-300701 > "floppy" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x25 > not configured > lpt0 at ebus0 addr 300278-300287, 30002e-30002f, 700000-70000f ivec 0x1c: > polled > sab0 at ebus0 addr 400000-40007f ivec 0x22: rev 3.2 > sabtty0 at sab0 port 0 > sabtty1 at sab0 port 1 > gem0 at pci0 dev 5 function 1 "Sun ERI Ether" rev 0x01: ivec 0x21d, address > 00:03:ba:02:92:09 > luphy0 at gem0 phy 1: LU6612 10/100 PHY, rev. 1 > "Sun FireWire" rev 0x01 at pci0 dev 5 function 2 not configured > ohci0 at pci0 dev 5 function 3 "Sun USB" rev 0x01: ivec 0x21f, version 1.0, > legacy support > siop0 at pci0 dev 6 function 0 "Symbios Logic 53c875" rev 0x37: ivec 0x218, > using 4K of on-board RAM > scsibus0 at siop0: 16 targets, initiator 7 > st0 at scsibus0 targ 4 lun 0: <EXABYTE, EXB-8505SMBANSH2, 07T0> SCSI2 > 1/sequential removable > siop1 at pci0 dev 6 function 1 "Symbios Logic 53c875" rev 0x37: ivec 0x219, > using 4K of on-board RAM > scsibus1 at siop1: 16 targets, initiator 7 > sd0 at scsibus1 targ 1 lun 0: <FUJITSU, MAB3045S SUN4.2G, 1705> SCSI2 > 0/direct fixed > sd0: 4094MB, 512 bytes/sec, 8385121 sec total > sd1 at scsibus1 targ 2 lun 0: <FUJITSU, MAG3091L SUN9.0G, 1111> SCSI2 > 0/direct fixed > sd1: 8637MB, 512 bytes/sec, 17689267 sec total > sd2 at scsibus1 targ 4 lun 0: <IBM-PCCO, DDRS-34560Y !#, S97B> SCSI2 0/direct > fixed > sd2: 4303MB, 512 bytes/sec, 8813870 sec total > sd3 at scsibus1 targ 5 lun 0: <IBM-PCCO, DDRS-34560Y !#, S97B> SCSI2 0/direct > fixed > sd3: 4303MB, 512 bytes/sec, 8813870 sec total > sd4 at scsibus1 targ 6 lun 0: <FUJITSU, MAB3045S SUN4.2G, 1705> SCSI2 > 0/direct fixed > sd4: 4094MB, 512 bytes/sec, 8385121 sec total > usb0 at ohci0: USB revision 1.0 > uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1 > schizo1 at mainbus0: "Schizo", version 4, ign 200, bus A 0 to 0 > schizo1: dvma map c0000000-ffffffff > pci1 at schizo1 > isp0 at pci1 dev 4 function 0 "QLogic ISP2200" rev 0x05: ivec 0x204 > isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6 > scsibus2 at isp0: 512 targets, WWPN 21000003ba029209, WWNN 21000003ba029209 > sd5 at scsibus2 targ 0 lun 0: <SEAGATE, ST318304FSUN18G, 0726> SCSI3 0/direct > fixed > sd5: 17274MB, 512 bytes/sec, 35378533 sec total > sd6 at scsibus2 targ 1 lun 0: <SEAGATE, ST318304FSUN18G, 0726> SCSI3 0/direct > fixed > sd6: 17274MB, 512 bytes/sec, 35378533 sec total > upa0 at mainbus0 > creator0 at upa0: Elite3D, model SUNW,540-3623, dac 0 > wsdisplay0 at creator0 mux 1: console (std, sun emulation) > "ppm" at mainbus0 not configured > uhidev0 at uhub0 port 1 configuration 1 interface 0 "Sun Microsystems Type 6 > Mouse" rev 1.00/1.02 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons > wsmouse0 at ums0 mux 0 > uhidev1 at uhub0 port 2 configuration 1 interface 0 "Sun Microsystems Type 6 > Keyboard" rev 1.00/1.01 addr 3 > uhidev1: iclass 3/1 > ukbd0 at uhidev1: 8 modifier keys, 6 key codes, country code 33 > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > softraid0 at root > siop1: target 1 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > siop1: target 2 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > siop1: target 4 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers > siop1: target 5 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers > siop1: target 6 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > softraid0: sd7 was not shutdown properly > scsibus3 at softraid0: 1 targets > sd7 at scsibus3 targ 0 lun 0: <OPENBSD, SR RAID 0, 003> SCSI2 0/direct fixed > sd7: 8188MB, 512 bytes/sec, 16770049 sec total > bootpath: /p...@8,600000/SUNW,q...@4,0/f...@0,0/d...@2100002037f00b6e,0 > root on sd5a swap on sd5b dump on sd5b > panic: kernel data fault: pc=128f120 addr=0 > > kdb breakpoint at 141bbc0 > Stopped at Debugger+0x4: nop > RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! > DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! > ddb> trace > data_access_fault(4001aeeb0d0, 30, 128f120, 0, 18, 800809) at > data_access_fault+0x314 > trapbase_sun4v(0, 0, 4001aeeb2c0, 0, 0, 1060) at trapbase_sun4v+0x8790 > ufs_bmaparray(0, 0, 4000be39c78, 0, 4001aeeb2bc, 0) at ufs_bmaparray+0x9c > VOP_BMAP(4000be3bba0, 0, 0, 4000be39c78, 0, 0) at VOP_BMAP+0x3c > ufs_strategy(4001aeeb570, 0, 4000, 14cb968, 1, 2) at ufs_strategy+0xb8 > VOP_STRATEGY(4000be39ba0, 0, 4000, 0, 0, 0) at VOP_STRATEGY+0x30 > bio_doread(4000be39ba0, 0, 4000be3bba0, 0, 5c, 4000be34004) at bio_doread+0xd0 > bread(4000be3bba0, 0, 4000, ffffffffffffffff, 4001aeeb7c8, 4001aeeb7a1) at > bread+0x10 > ffs_bufatoff(4000be34000, 0, 0, 4001aeeb8d0, 0, ffffffffffffffff) at > ffs_bufatoff+0x58 > ufs_lookup(ffffffffffffffff, ffffffffffffffff, 0, 3fff, 2, 4001aeebc70) at > ufs_lookup+0x2c4 > VOP_LOOKUP(4000be3bba0, 4001aeebc70, 4001aeebc98, 4001af1bd40, 0, > 4000be32001) at VOP_LOOKUP+0x34 > lookup(4001aeebc50, 4000be32000, 3f4, 4001aeebc80, 0, 0) at lookup+0x250 > namei(0, 1, 20, 14cb968, 1, e0018040) at namei+0x1c4 > check_console(4000be46000, 20, 4001aeebcd0, 0, 4000be46f73, 0) at > check_console+0x30 > start_init(4000be46000, 4000be46000, 14cd470, 1c09d30, 7ffe, 1800) at > start_init+0x24 > proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4 > ddb> ps > ddb> PID PPID PGRP UID S FLAGS WAIT COMMAND > > 13 0 0 0 3 0x100200 bored crypto > 12 0 0 0 3 0x100200 aiodoned aiodoned > 11 0 0 0 3 0x100200 syncer update > 10 0 0 0 2 0x100200 cleaner > 9 0 0 0 3 0x100200 reaper reaper > 8 0 0 0 3 0x100200 pgdaemon pagedaemon > 7 0 0 0 3 0x100200 pftm pfpurge > 6 0 0 0 3 0x100200 usbtsk usbtask > 5 0 0 0 3 0x100200 usbevt usb0 > 4 0 0 0 3 0x100200 bored syswq > 3 0 0 0 3 0x40100200 idle0 > 2 0 0 0 3 0x100200 kmalloc kmthread > * 1 0 0 0 7 0 swapper > 0 -1 0 0 3 0x80200 scheduler swapper > ddb> > ddb> Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg > Maxpg Idle > dino1pl 128 1 0 0 1 0 1 1 0 8 0 > ffsino 240 1 0 0 1 0 1 1 0 8 0 > vnodes 272 28 0 0 1 0 1 1 0 8 0 > namei 1024 1 0 0 1 0 1 1 0 8 0 > scxspl 192 1294 0 1294 1 0 1 1 0 8 1 > extentpl 48 388 0 384 1 0 1 1 0 8 0 > wqtasks 48 3 0 3 1 0 1 1 0 8 1 > sigapl 480 1 0 0 1 0 1 1 0 8 0 > fdescpl 448 2 0 0 1 0 1 1 0 8 0 > pcredpl 32 13 0 0 1 0 1 1 0 8 0 > ucredpl 80 1 0 0 1 0 1 1 0 8 0 > processpl 48 13 0 0 1 0 1 1 0 8 0 > procpl 576 13 0 0 1 0 1 1 0 8 0 > bufpl 272 27 0 0 1 0 1 1 0 8 0 > pmappl 48 1 0 0 1 0 1 1 0 8 0 > vmsppl 304 1 0 0 1 0 1 1 0 8 0 > phpool 96 42 0 0 1 0 1 1 0 8 0 > > dump to dev 7,81 not possible > sd0(siop1:1:0): timeout on SCSI command 0x2a > siop1: scsi bus reset > sd0(siop1:1:0): cmd 0x400020db720 (tag 1) added to reset list > siop1: target 1 now using tagged 8 bit async xfers > siop1: target 2 now using tagged 8 bit async xfers > siop1: target 4 now using tagged 8 bit async xfers > siop1: target 5 now using tagged 8 bit async xfers > siop1: target 6 now using tagged 8 bit async xfers > sd0(siop1:1:0): cmd 0x400020db720 (status 2) reset with status 6, xs->error 4 > siop1: target 1 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > siop1: target 6 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > sd7 detached > scsibus3 detached > rebooting > > console is keyboard/display > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org > > OpenBSD 4.6-current (GENERIC) #1: Fri Sep 12 23:02:03 CEST 2008 > [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC > real mem = 2147483648 (2048MB) > avail mem = 2069282816 (1973MB) > mainbus0 at root: SUNW,Sun-Blade-1000 (UltraSPARC-III) > cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz > cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external > (512 b/l) > "memory-controller" at mainbus0 not configured > schizo0 at mainbus0: "Schizo", version 4, ign 200, bus B 0 to 0 > schizo0: dvma map c0000000-ffffffff > pci0 at schizo0 > ebus0 at pci0 dev 5 function 0 "Sun RIO EBus" rev 0x01 > "flashprom" at ebus0 addr 0-1fffff not configured > bbc0 at ebus0 addr 0-fffff: AID 0x00 > ppm0 at ebus0 addr e-28, 728000-728003, 30002e-30002f, 300600-300607 > pcfiic0 at ebus0 addr 2e-2f, 2d-2d ivec 0x23 > iic0 at pcfiic0 > pcfiic1 at ebus0 addr 30-31 ivec 0x23 > iic1 at pcfiic1 > admtemp0 at iic1 addr 0x18: max1617 > tda0 at iic1 addr 0x24 > "scm001" at iic1 addr 0x20 not configured > "firei" at iic1 addr 0x30 not configured > beep0 at ebus0 addr 32-37: clock 75MHz > audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, > 722000-722003 ivec 0x20 ivec 0x21: nvaddrs 0 > audio0 at audioce0 > rtc0 at ebus0 addr 300070-300071 ivec 0x24: ds1287 > "gpio" at ebus0 addr 300600-300607 not configured > pmc0 at ebus0 addr 300700-300701 > "floppy" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x25 > not configured > lpt0 at ebus0 addr 300278-300287, 30002e-30002f, 700000-70000f ivec 0x1c: > polled > sab0 at ebus0 addr 400000-40007f ivec 0x22: rev 3.2 > sabtty0 at sab0 port 0 > sabtty1 at sab0 port 1 > gem0 at pci0 dev 5 function 1 "Sun ERI Ether" rev 0x01: ivec 0x21d, address > 00:03:ba:02:92:09 > luphy0 at gem0 phy 1: LU6612 10/100 PHY, rev. 1 > "Sun FireWire" rev 0x01 at pci0 dev 5 function 2 not configured > ohci0 at pci0 dev 5 function 3 "Sun USB" rev 0x01: ivec 0x21f, version 1.0, > legacy support > siop0 at pci0 dev 6 function 0 "Symbios Logic 53c875" rev 0x37: ivec 0x218, > using 4K of on-board RAM > scsibus0 at siop0: 16 targets, initiator 7 > st0 at scsibus0 targ 4 lun 0: <EXABYTE, EXB-8505SMBANSH2, 07T0> SCSI2 > 1/sequential removable > siop1 at pci0 dev 6 function 1 "Symbios Logic 53c875" rev 0x37: ivec 0x219, > using 4K of on-board RAM > scsibus1 at siop1: 16 targets, initiator 7 > sd0 at scsibus1 targ 1 lun 0: <FUJITSU, MAB3045S SUN4.2G, 1705> SCSI2 > 0/direct fixed > sd0: 4094MB, 512 bytes/sec, 8385121 sec total > sd1 at scsibus1 targ 2 lun 0: <FUJITSU, MAG3091L SUN9.0G, 1111> SCSI2 > 0/direct fixed > sd1: 8637MB, 512 bytes/sec, 17689267 sec total > sd2 at scsibus1 targ 4 lun 0: <IBM-PCCO, DDRS-34560Y !#, S97B> SCSI2 0/direct > fixed > sd2: 4303MB, 512 bytes/sec, 8813870 sec total > sd3 at scsibus1 targ 5 lun 0: <IBM-PCCO, DDRS-34560Y !#, S97B> SCSI2 0/direct > fixed > sd3: 4303MB, 512 bytes/sec, 8813870 sec total > sd4 at scsibus1 targ 6 lun 0: <FUJITSU, MAB3045S SUN4.2G, 1705> SCSI2 > 0/direct fixed > sd4: 4094MB, 512 bytes/sec, 8385121 sec total > usb0 at ohci0: USB revision 1.0 > uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1 > schizo1 at mainbus0: "Schizo", version 4, ign 200, bus A 0 to 0 > schizo1: dvma map c0000000-ffffffff > pci1 at schizo1 > isp0 at pci1 dev 4 function 0 "QLogic ISP2200" rev 0x05: ivec 0x204 > isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6 > scsibus2 at isp0: 512 targets > sd5 at scsibus2 targ 0 lun 0: <SEAGATE, ST318304FSUN18G, 0726> SCSI3 0/direct > fixed > sd5: 17274MB, 512 bytes/sec, 35378533 sec total > sd6 at scsibus2 targ 1 lun 0: <SEAGATE, ST318304FSUN18G, 0726> SCSI3 0/direct > fixed > sd6: 17274MB, 512 bytes/sec, 35378533 sec total > upa0 at mainbus0 > creator0 at upa0: Elite3D, model SUNW,540-3623, dac 0 > wsdisplay0 at creator0 mux 1: console (std, sun emulation) > "ppm" at mainbus0 not configured > uhidev0 at uhub0 port 1 configuration 1 interface 0 "Sun Microsystems Type 6 > Mouse" rev 1.00/1.02 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons > wsmouse0 at ums0 mux 0 > uhidev1 at uhub0 port 2 configuration 1 interface 0 "Sun Microsystems Type 6 > Keyboard" rev 1.00/1.01 addr 3 > uhidev1: iclass 3/1 > ukbd0 at uhidev1: 8 modifier keys, 6 key codes, country code 33 > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > softraid0 at root > siop1: target 1 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > siop1: target 2 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > siop1: target 4 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers > siop1: target 5 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers > siop1: target 6 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers > scsibus3 at softraid0: 1 targets > sd7 at scsibus3 targ 0 lun 0: <OPENBSD, SR RAID 0, 003> SCSI2 0/direct fixed > sd7: 8188MB, 512 bytes/sec, 16770049 sec total > bootpath: /p...@8,600000/SUNW,q...@4,0/f...@0,0/d...@2100002037f00b6e,0 > root on sd5a swap on sd5b dump on sd5b
