NetBSD Problem Report #21836

Received: (qmail 15750 invoked by uid 605); 9 Jun 2003 17:41:14 -0000
Message-Id: <200306091737.h59Hb42b000601@splitter-pine.urc.uninett.no>
Date: Mon, 9 Jun 2003 19:37:04 +0200 (CEST)
From: jarle@uninett.no
Sender: gnats-bugs-owner@netbsd.org
Reply-To: jarle@uninett.no
To: gnats-bugs@gnats.netbsd.org
Cc: he@uninett.no, jarle@uninett.no
Subject: panic: lfs_gatherblock: Null vp in segment
X-Send-Pr-Version: 3.95

>Number:         21836
>Category:       kern
>Synopsis:       panic: lfs_gatherblock: Null vp in segment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 09 17:42:00 +0000 2003
>Closed-Date:    
>Last-Modified:  Fri Jan 25 16:27:17 +0000 2008
>Originator:     Jarle Greipsland
>Release:        NetBSD 1.6T
>Organization:

>Environment:


System: NetBSD splitter-pine.urc.uninett.no 1.6T NetBSD 1.6T (GENERIC.MPDEBUG) #14: Tue May 20 15:37:37 CEST 2003 he@splitter-pine.urc.uninett.no:/sys/arch/i386/compile/GENERIC.MPDEBUG i386
Architecture: i386
Machine: i386
>Description:
The panic was provoked by running:
  bonnie++ -r 1024
I have run this command twice, and the system panicked on both occasions.
The panic occured a little while into the "rewriting" phase of the bonnie++
run.  I also noted (in a top display) that both the aiodoned and the
pagedaemon were fairly active, at least more than usual for other workloads
on this system.

I suspect this is an LFS bug, but since both the disk controller and
disks below the LFS have been newly installed in this system I have
included some information on these as well.

					-jarle
Configuration data:
o bonnie++ installed from -current pkgsrc.
o Kernel and user-land is NetBSD-current from somewhere around 2003-05-20.
o Kernel configuration is the GENERIC.MPDEBUG found in -current sources
o The LFS is placed on top of a CCD partition (see below).
o The CCD partition is striped across 10 fibre channel disks connected to
  a QLogic FC-AL HBA (see below)
o kernel dmesg and DDB output below.

-------------------- ccd disklabel --------------------
# /dev/rccd1d:
type: ccd
disk: ccd
label: default label
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 97741
total sectors: 200174080
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a: 200174080         0     4.4LFS   2048 16384     0   # (Cyl.    0 - 97741*)
 d: 200174080         0     unused      0     0         # (Cyl.    0 - 97741*)

-------------------- ccd configuration --------------------

# ccd           ileave  flags   component devices
ccd1            128     none    /dev/sd3a /dev/sd4a /dev/sd5a /dev/sd6a /dev/sd7a /dev/sd8a /dev/sd9a /dev/sd10a /dev/sd11a /dev/sd12a

-------------------- disklabel for the scsi disks --------------------
# /dev/rsd3d:
type: SCSI
disk: X221_ST318304FC
label: fictitious
flags:
bytes/sector: 512
sectors/track: 425
tracks/cylinder: 6
sectors/cylinder: 2550
cylinders: 14100
total sectors: 35964301
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:  20017500      2550        ccd                      # (Cyl.    1 - 7850)
 d:  35964301         0     unused      0     0         # (Cyl.    0 - 14103*)

-------------------- dmesg output --------------------
NetBSD 1.6T (GENERIC.MPDEBUG) #14: Tue May 20 15:37:37 CEST 2003
	he@splitter-pine.urc.uninett.no:/sys/arch/i386/compile/GENERIC.MPDEBUG
total memory = 1023 MB
avail memory = 931 MB
using 6144 buffers containing 52508 KB of memory
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xfe710
mainbus0: MP config table at 0xf0000, 468 bytes long
mainbus0: Intel MP Specification (Version 1.4) (DELL     PowerEdge 83)
cpu0 at mainbus0: apid 3 (boot processor)
cpu0: Intel Pentium II (686-class), 450.02 MHz, id 0x653
cpu0: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183fbff<FXSR>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 99 MHz
cpu0: 32 page colors
cpu0: kstack at 0xe41e4000 for 16384 bytes
cpu0: idle pcb at 0xe41e4000, idle sp at 0xe41e7f98
cpu1 at mainbus0: apid 0 (application processor)
cpu1: starting
cpu1: Intel Pentium II (686-class), 449.98 MHz, id 0x653
cpu1: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu1: features 183fbff<FXSR>
cpu1: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu1: L2 cache 512 KB 32b/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu1: kstack at 0xe41f0000 for 16384 bytes
cpu1: idle pcb at 0xe41f0000, idle sp at 0xe41f3f98
cpu2 at mainbus0: apid 1 (application processor)
cpu2: starting
cpu2: Intel Pentium II (686-class), 449.98 MHz, id 0x653
cpu2: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu2: features 183fbff<FXSR>
cpu2: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu2: L2 cache 512 KB 32b/line 4-way
cpu2: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu2: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu2: kstack at 0xe420c000 for 16384 bytes
cpu2: idle pcb at 0xe420c000, idle sp at 0xe420ff98
cpu3 at mainbus0: apid 2 (application processor)
cpu3: starting
cpu3: Intel Pentium II (686-class), 449.98 MHz, id 0x653
cpu3: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu3: features 183fbff<FXSR>
cpu3: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu3: L2 cache 512 KB 32b/line 4-way
cpu3: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu3: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu3: kstack at 0xe4228000 for 16384 bytes
cpu3: idle pcb at 0xe4228000, idle sp at 0xe422bf98
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type PCI   
mpbios: bus 3 is type ISA   
ioapic0 at mainbus0 apid 4 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 4
ioapic0: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int9 attached to isa0 irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int16 attached to pci2 device 1 INT_B (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int16 attached to pci2 device 3 INT_C (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int16 attached to pci2 device 5 INT_D (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int16 attached to pci2 device 7 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int17 attached to pci2 device 1 INT_C (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int17 attached to pci2 device 3 INT_D (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int17 attached to pci2 device 5 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int17 attached to pci2 device 7 INT_B (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int18 attached to pci2 device 1 INT_D (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int18 attached to pci2 device 3 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int18 attached to pci2 device 5 INT_B (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int18 attached to pci2 device 7 INT_C (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int19 attached to pci2 device 1 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int19 attached to pci2 device 3 INT_B (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int19 attached to pci2 device 5 INT_C (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int19 attached to pci2 device 7 INT_D (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int20 attached to pci0 device 6 INT_B (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int20 attached to pci0 device 8 INT_C (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int20 attached to pci0 device 10 INT_D (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int20 attached to pci1 device 8 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int21 attached to pci1 device 4 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int22 attached to pci1 device 6 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int14 attached to pci0 device 6 INT_C (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int14 attached to pci0 device 8 INT_D (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int14 attached to pci0 device 10 INT_A (type 0<type=0> flags 0<pol=0,trig=0>)
local apic: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 5<pol=1=Act Hi,trig=1=Edge>)
mainbus0: MP WARNING: 148 bytes of extended entries not examined
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pcib0 at pci0 dev 2 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 2 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: device disabled (at device)
uhci0 at pci0 dev 2 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: can't map i/o space
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 2 function 3 not configured
vga1 at pci0 dev 4 function 0: ATI Technologies 3D Rage Pro (rev. 0x5c)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
fxp0 at pci0 dev 10 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at apic 4 int 14 (irq 14)
fxp0: Ethernet address 00:90:27:45:e3:2a
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pchb0 at pci0 dev 16 function 0
pchb0: Intel 82451NX Memory & I/O Controller (MIOC) (rev. 0x03)
pchb1 at pci0 dev 18 function 0
pchb1: Intel 82451NX PCI Expander Bridge (PXB) (rev. 0x02)
pchb2 at pci0 dev 19 function 0
pchb2: Intel 82451NX PCI Expander Bridge (PXB) (rev. 0x02)
pci1 at pchb2 bus 1
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ahc1 at pci1 dev 4 function 0
ahc1: interrupting at apic 4 int 21 (irq 11)
ahc1: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci1 dev 6 function 0
ahc2: interrupting at apic 4 int 22 (irq 10)
ahc2: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
ahc3 at pci1 dev 8 function 0
ahc3: interrupting at apic 4 int 20 (irq 14)
ahc3: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
scsibus2 at ahc3: 8 targets, 8 luns per target
pchb3 at pci0 dev 20 function 0
pchb3: Intel 82451NX PCI Expander Bridge (PXB) (rev. 0x02)
pci2 at pchb3 bus 2
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci2 dev 1 function 0: QLogic FC-AL HBA
isp0: interrupting at apic 4 int 19 (irq 5)
scsibus3 at isp0: 256 targets, 8 luns per target
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbdprobe: reset error 5
pmsprobe: reset error 5
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
cpu0: prelint0 700<vector=0,delmode=7,dest=0> 0<target=0>
cpu0: prelint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: timer0 300c0<vector=c0,delmode=0,masked,dest=0> 0<target=0>
cpu0: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu0: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: enabling
ioapic0: int3 1d1<vector=d1,delmode=1,dest=0> 3000000<target=3>
ioapic0: int4 1d0<vector=d0,delmode=1,dest=0> 3000000<target=3>
ioapic0: int6 164<vector=64,delmode=1,dest=0> 3000000<target=3>
ioapic0: int7 190<vector=90,delmode=1,dest=0> 3000000<target=3>
ioapic0: int14 a170<vector=70,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic0: int19 f163<vector=63,delmode=1,pending,actlo,irrpending,level,dest=0> 3000000<target=3>
ioapic0: int20 a162<vector=62,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic0: int21 a160<vector=60,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic0: int22 a161<vector=61,delmode=1,actlo,level,dest=0> 3000000<target=3>
raidattach: Asked for 8 units
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DNES-318350Y, SA60> disk fixed
sd0: 17366 MB, 11474 cyl, 10 head, 309 sec, 512 bytes/sect x 35566501 sectors
sd0: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <QUANTUM, QM34500TD-SCA, N1K0> disk fixed
sd1: 4341 MB, 8057 cyl, 5 head, 220 sec, 512 bytes/sect x 8891624 sectors
sd1: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 2 lun 0: <QUANTUM, QM34500TD-SCA, N1K0> disk fixed
sd2: 4341 MB, 8057 cyl, 5 head, 220 sec, 512 bytes/sect x 8891624 sectors
sd2: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
ses0 at scsibus0 target 6 lun 0: <DELL, 1x3 U2W SCSI BP, 5.39> processor fixed
ses0: SAF-TE Compliant Device
ses0: async, 8-bit transfers
cd0 at scsibus2 target 5 lun 0: <NEC, CD-ROM DRIVE:465, 1.03> cdrom removable
cd0: sync (50.00ns offset 15), 8-bit (20.000MB/s) transfers
sd3 at scsibus3 target 114 lun 0: <NETAPP, X221_ST318304FC, NA06> disk fixed
sd3: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
sd4 at scsibus3 target 115 lun 0: <NETAPP, X221_ST318304FC, NA06> disk fixed
sd4: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
sd5 at scsibus3 target 116 lun 0: <NETAPP, X221_ST318304FC, NA06> disk fixed
sd5: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
sd6 at scsibus3 target 117 lun 0: <NETAPP, X221_ST318304FC, NA06> disk fixed
sd6: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
sd7 at scsibus3 target 118 lun 0: <NETAPP, X230_ST318304FC, NA29> disk fixed
sd7: 17160 MB, 14100 cyl, 6 head, 415 sec, 512 bytes/sect x 35145034 sectors
sd8 at scsibus3 target 120 lun 0: <NETAPP, X221_ST318304FC, NA00> disk fixed
sd8: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
sd9 at scsibus3 target 121 lun 0: <NETAPP, X230_ST318304FC, NA29> disk fixed
sd9: 17160 MB, 14100 cyl, 6 head, 415 sec, 512 bytes/sect x 35145034 sectors
sd10 at scsibus3 target 122 lun 0: <NETAPP, X221_ST318304FC, NA06> disk fixed
sd10: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
sd11 at scsibus3 target 124 lun 0: <NETAPP, X230_ST318304FC, NA29> disk fixed
sd11: 17160 MB, 14100 cyl, 6 head, 415 sec, 512 bytes/sect x 35145034 sectors
sd12 at scsibus3 target 125 lun 0: <NETAPP, X221_ST318304FC, NA06> disk fixed
sd12: 17560 MB, 14100 cyl, 6 head, 425 sec, 512 bytes/sect x 35964301 sectors
Searching for RAID components...
boot device: sd0
root on sd0a dumps on sd0b
mountroot: trying smbfs...
mountroot: trying coda...
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
cpu1: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: timer0 200c0<vector=c0,delmode=0,dest=0> 0<target=0>
cpu1: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu1: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: CPU 0 running
cpu2: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: timer0 200c0<vector=c0,delmode=0,dest=0> 0<target=0>
cpu2: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu2: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu2: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: CPU 1 running
cpu3: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu3: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu3: timer0 200c0<vector=c0,delmode=0,dest=0> 0<target=0>
cpu3: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu3: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu3: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu3: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu3: CPU 2 running
init: copying out path `/sbin/init' 11
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
-------------------- DDB output --------------------
login: panic: lfs_gatherblock: Null vp in segment
Stopped in pid 10.1 (ioflush) at        netbsd:cpu_Debugger+0x4:        leave
db{3}> trace
cpu_Debugger(c2273408,e58bf000,0,c02e900f,c2273408) at netbsd:cpu_Debugger+0x4
panic(c05a1fe0,1,e4ab5afc,c03728b7,4000) at netbsd:panic+0xb8
lfs_gatherblock(e58bf000,c2273408,0,c02f8854,e6551474) at netbsd:lfs_gatherblock+0x22
lfs_gop_write(e6551474,e4ab5bb4,4,d1,e6551474) at netbsd:lfs_gop_write+0x7fe
genfs_putpages(e4ab5d80,1,2b4,c02e9559,0) at netbsd:genfs_putpages+0xa91
lfs_putpages(e4ab5d80,1,e4ab5d8c,c032cac4,c21b3830) at netbsd:lfs_putpages+0x478
VOP_PUTPAGES(e6551474,0,0,0,0) at netbsd:VOP_PUTPAGES+0x49
lfs_writefile(c2244800,e58bf000,e6551474,c02f1ed0,5) at netbsd:lfs_writefile+0x17b
lfs_writevnodes(c2244800,c221fe00,e58bf000,0,c2244800) at netbsd:lfs_writevnodes+0x142
lfs_segwrite(c221fe00,5,e4ab5f28,c032cac4,0) at netbsd:lfs_segwrite+0xb0
lfs_sync(c221fe00,3,c1ea5f00,e4ab11d4,0) at netbsd:lfs_sync+0x78
sync_fsync(e4ab5f28,0,c1ea693c,27c,0) at netbsd:sync_fsync+0x7a
VOP_FSYNC(e5e95718,c1ea5f00,8,0,0) at netbsd:VOP_FSYNC+0x58
sched_sync(e4a8b480,0,0,0,c010030c) at netbsd:sched_sync+0x121
db{3}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xc05a1fe0  ffs_fifoop_opv_desc+0x1550
esi         0x100
ebp         0xe4ab5a9c
ebx         0xe4ab5ac8
edx         0xc0729320  cpu_info_primary
ecx         0x40000000
eax         0x3b6c
eip         0xc03d71bc  cpu_Debugger+0x4
cs          0x8
eflags      0x202
esp         0xe4ab5a9c
ss          0x10
netbsd:cpu_Debugger+0x4:        leave
db{3}> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
 1204           566     1204       1001 2  0x4002    1         bonnie++
 5016          6990     6990          0 2       0    1     lfs_cleanerd segment
 6990             1     6990          0 2       0    1     lfs_cleanerd    wait
 3099          4990     3099       1001 2  0x5002    1              top
 4990          7013     4990       1001 2  0x4002    1             bash    wait
 7013          5053     5053       1001 2  0x4100    1            xterm  select
 5053          6953     5053       1001 2  0x4000    1              csh   pause
 6953          2794     2794       1001 2   0x100    1             sshd  select
 2794           344     2794          0 2   0x100    1             sshd   netio
 444            566      444          0 4  0x5002    1             tcsh
 566            469      566       1001 2  0x4003    1             bash    wait
 469            210      210       1001 2  0x4100    1            xterm  select
 210            401      210       1001 2  0x4000    1              csh   pause
 401            303      303       1001 2   0x100    1             sshd  select
 303            344      303          0 2   0x100    1             sshd   netio
 558              1      468       1000 2  0x4000    1       setiathome
 461              1      473       1000 2  0x4000    1       setiathome
 108              1      470       1000 2  0x4000    1       setiathome
 107              1      429       1000 2  0x4000    1       setiathome
 100              1      100          0 2  0x4002    1            getty   ttyin
 99               1       99          0 2  0x4002    1            getty   ttyin
 98               1       98          0 2  0x4002    1            getty   ttyin
 97               1        1          0 2  0x4000    1            getty nanosle
 96               1       96          0 2  0x4002    1            getty   ttyin
 437              1      437          0 2       0    1             cron nanosle
 443              1      443          0 2       0    1            inetd  kqread
 344              1      344          0 2       0    1             sshd  select
 343            369       12       1002 2     0x2    1         postgres  select
 369            318       12       1002 2     0x2    1         postgres  select
 349              1      349          0 2       0    1             ntpd
 318              1       12       1002 2  0x4002    1         postgres  select
 207              1      207          0 2       0    1        mount_mfs  mfsidl
 178              1      178          0 2       0    1          syslogd  select
 11               0        0          0 2 0x20200    1         aiodoned aiodone
*10               0        0          0 2 0x20200    1          ioflush
 9                0        0          0 2 0x20200    1           reaper  reaper
 8                0        0          0 2 0x20200    1       pagedaemon pgdaemo
 7                0        0          0 2 0x20200    1       lfs_writer lfswrit
 6                0        0          0 2 0x20200    1         scsibus3  sccomp
 5                0        0          0 2 0x20200    1     isp0:fc_thrd fcclnup
 4                0        0          0 2 0x20200    1         scsibus2  sccomp
 3                0        0          0 2 0x20200    1         scsibus1  sccomp
 2                0        0          0 2 0x20200    1         scsibus0  sccomp
 1                0        1          0 2  0x4000    1             init    wait
 0               -1        0          0 2 0x20200    1          swapper schedul
db{3}> mach cpu 0
using cpu 0
db{3}> trace
_lockmgr(c077c7a0,400002,0,c05aaeac,533) at netbsd:_lockmgr+0xa3c
_kernel_proc_lock(e4a8b900,e4a8b900,e5809f80,c032cf03,e4ab1cb4) at netbsd:_kernel_proc_lock+0x56
postsig(e,e5809f80,c,c03e8101,0) at netbsd:postsig+0x40
syscall_plain(bfbf001f,1f,bfbf001f,bfbf001f,bfbffc35) at netbsd:syscall_plain+0x119
db{3}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xe4a8b900
esi         0
ebp         0xe5809ec0
ebx         0xc077c7a0  kernel_lock
edx         0xc1fae000  end+0x1814730
ecx         0
eax         0x400400
eip         0xc032afc8  _lockmgr+0xa3c
cs          0x8
eflags      0x246
esp         0xe5809e78
ss          0x10
netbsd:_lockmgr+0xa3c:  incl    0xffffffd8(%ebp)
db{3}> mach cpu 1
using cpu 1
db{3}> trace
_lockmgr(c077c7a0,400002,0,c05aaeac,533) at netbsd:_lockmgr+0xae4
_kernel_proc_lock(e5894884,e5923f80,c,e5894884,0) at netbsd:_kernel_proc_lock+0x56
syscall_plain(bfbf002b,bfbf002b,4812002b,2b,806d000) at netbsd:syscall_plain+0xaf
db{3}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xe5894884
esi         0
ebp         0xe5923f00
ebx         0xc077c7a0  kernel_lock
edx         0xc1fb0800  end+0x1816f30
ecx         0
eax         0x400400
eip         0xc032b070  _lockmgr+0xae4
cs          0x8
eflags      0x202
esp         0xe5923eb8
ss          0x10
netbsd:_lockmgr+0xae4:  testl   %esi,%esi
db{3}> mach cpu 2
using cpu 2
db{3}> trace
_lockmgr(c077c7a0,400002,0,c05aaeac,533) at netbsd:_lockmgr+0xae4
_kernel_proc_lock(e4a8bd00,e66edf80,c,c03e8101,0) at netbsd:_kernel_proc_lock+0x56
syscall_plain(1f,1f,1f,bfbf001f,93f4) at netbsd:syscall_plain+0xaf
db{3}> show reg
ds          0x10
es          0x10
fs          0x30
gs          0x10
edi         0xe4a8bd00
esi         0
ebp         0xe66edf00
ebx         0xc077c7a0  kernel_lock
edx         0xc1fb0000  end+0x1816730
ecx         0
eax         0x400400
eip         0xc032b070  _lockmgr+0xae4
cs          0x8
eflags      0x202
esp         0xe66edeb8
ss          0x10
netbsd:_lockmgr+0xae4:  testl   %esi,%esi
db{3}> mach cpu 3
using cpu 3
db{3}> trace
cpu_Debugger(c2273408,e58bf000,0,c02e900f,c2273408) at netbsd:cpu_Debugger+0x4
panic(c05a1fe0,1,e4ab5afc,c03728b7,4000) at netbsd:panic+0xb8
lfs_gatherblock(e58bf000,c2273408,0,c02f8854,e6551474) at netbsd:lfs_gatherblock+0x22
lfs_gop_write(e6551474,e4ab5bb4,4,d1,e6551474) at netbsd:lfs_gop_write+0x7fe
genfs_putpages(e4ab5d80,1,2b4,c02e9559,0) at netbsd:genfs_putpages+0xa91
lfs_putpages(e4ab5d80,1,e4ab5d8c,c032cac4,c21b3830) at netbsd:lfs_putpages+0x478
VOP_PUTPAGES(e6551474,0,0,0,0) at netbsd:VOP_PUTPAGES+0x49
lfs_writefile(c2244800,e58bf000,e6551474,c02f1ed0,5) at netbsd:lfs_writefile+0x17b
lfs_writevnodes(c2244800,c221fe00,e58bf000,0,c2244800) at netbsd:lfs_writevnodes+0x142
lfs_segwrite(c221fe00,5,e4ab5f28,c032cac4,0) at netbsd:lfs_segwrite+0xb0
lfs_sync(c221fe00,3,c1ea5f00,e4ab11d4,0) at netbsd:lfs_sync+0x78
sync_fsync(e4ab5f28,0,c1ea693c,27c,0) at netbsd:sync_fsync+0x7a
VOP_FSYNC(e5e95718,c1ea5f00,8,0,0) at netbsd:VOP_FSYNC+0x58
sched_sync(e4a8b480,0,0,0,c010030c) at netbsd:sched_sync+0x121
db{3}> reboot 104

dumping to dev 4,1 offset 360181
dump panic: TLB IPI rendezvous failed (mask 7)
Stopped in pid 10.1 (ioflush) at        netbsd:cpu_Debugger+0x4:        leave
db{3}> reboot 104

dumping to dev 4,1 offset 360181
dump panic: TLB IPI rendezvous failed (mask 7)
Stopped in pid 10.1 (ioflush) at        netbsd:cpu_Debugger+0x4:        leave
db{3}> reboot 104

dumping to dev 4,1 offset 360181
dump panic: TLB IPI rendezvous failed (mask 7)
Stopped in pid 10.1 (ioflush) at        netbsd:cpu_Debugger+0x4:        leave
db{3}> reboot 104

dumping to dev 4,1 offset 360181
dump panic: TLB IPI rendezvous failed (mask 7)
Stopped in pid 10.1 (ioflush) at        netbsd:cpu_Debugger+0x4:        leave
db{3}> reboot 104

dumping to dev 4,1 offset 360181
dump panic: TLB IPI rendezvous failed (mask 7)
Stopped in pid 10.1 (ioflush) at        netbsd:cpu_Debugger+0x4:        leave
db{3}> reboot 4
kernel: double fault trap, code=0
Stopped in pid 10.1 (ioflush) at        netbsd:isp_pci_rd_reg:  pushl   %ebp
db{3}> reboot 4
rebooting...


>How-To-Repeat:
Configure a system as described above, and then run bonnie++?


>Fix:

Unknown.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->oster 
Responsible-Changed-By: oster 
Responsible-Changed-When: Tue Apr 13 20:43:24 UTC 2004 
Responsible-Changed-Why:  
I've just seen this panic... since no-one else has claimed ownership 
of this PR, I'll take it... (unless someone else REALLY wants it :) ) 
Responsible-Changed-From-To: oster->kern-bug-people
Responsible-Changed-By: oster@narn.netbsd.org
Responsible-Changed-When: Fri, 25 Jan 2008 16:27:17 +0000
Responsible-Changed-Why:
I havn't been looking at LFS bits in ages.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.