[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash on mkdir
On Mon, Dec 03, 2001 at 12:00:42PM -0500, slashmarco wrote:
here it comes.
--- snip ---
uvm_fault(0xe907ca8c, 0xd771d000, 0, 1) -> 1
kernel: page fault trap, code=0
Stopped at _skpc+0xe: repe scasb (%esi)
ddb> trace
_skpc(e9129b68,20b,f5280,41ed) at _skpc+0xe
_ffs_blkpref(e9129b68,20b,f5280,41ed,e02767cc) at _ffs_blkpref+0x183
_ffs_inode_alloc(e9129b68,41ed,e0882100,e912fcf4,e90da28c) at _ffs_inode_alloc+0xb5
_ufs_mkdir(e912fe44,5,e90b5e74,e907aea0,e912fed8) at _ufs_mkdir+0x9f
_VOP_MKDIR(e90da28c,e912fea0,e912feb4,e912fed8,e90b5e74) at _VOP_MKDIR+0x3b
_sys_mkdir(e90b5e74,e912ff88,e912ff80,d,0) at _sys_mkdir+0x101
_syscall() at _syscall+0x242
--- syscall (number 136) ---
0x432f:
ddb> boot sync
[...]
panic: lockmgr: draining against myself
[...]
ddb> boot halt
[...]
panic: wdc_exec_command: polled command not done
[...]
ddb> boot crash
[...]
panic: wddump: polled command has been queued
[...]
ddb> boot dump
dumping to dev 1, offset 63
dump device not ready
cbb1: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xffffffff
cbb0: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xffffffff
panic: wdc_exec_command: polled command not done
[...]
ddb>
[here comes the reset switch :p]
--- snip ---
it seems to me, btw - in spite of what i previously said -, that this panic
occurs when i want to create a directory in /home in general (it "worked" in
other directories as well).
> Could you add a tarce from ddb ?
>
> On Mon, 3 Dec 2001, Dominic wrote:
>
> > i experienced a crash of the kernel in just issuing a simple "mkdir".
> >
> > --- snip ---
> > $ pwd
> > /home/dmake/misc/.alias
> > $ mkdir 12-03/blah
> > uvm_fault(0xe8ee32b0, 0xd8f2e000, 0, 1) -> 1
> > kernel: page fault trap, code = 0
> > Stopped at _skpc+0xe repe scasb (%esi)
> > ddb>
> > --- snip ---
> >
> > btw, "boot (dump|crash|sync|halt)" will not work - it panics again with
> > a different kind of panic depending on which option i chose for "boot".
> >
> > i wasn't able to reproduce this on another 2.9-stable system or even 3.0.
> > also i wasn't albe to reproduce this on any other directory on the system.
> >
> > --- snip ---
> > OpenBSD 2.9-stable (GENERIC) #1: Fri Nov 23 23:51:19 CET 2001
> > dmake@pcb:/usr/src/sys/arch/i386/compile/GENERIC
> > cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 869 MHz
> > cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SIMD
> > real mem = 133738496 (130604K)
> > avail mem = 119078912 (116288K)
> > using 1658 buffers containing 6791168 bytes (6632K) of memory
> > mainbus0 (root)
> > bios0 at mainbus0: AT/286+(60) BIOS, date 12/18/00, BIOS32 rev. 0 @ 0xfd792
> > apm0 at bios0: Power Management spec V1.2
> > apm0: battery life expectancy 100%
> > apm0: AC on, battery charge high, charging
> > pcibios0 at bios0: rev. 2.1 @ 0xfd790/0x870
> > pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdf30/176 (9 entries)
> > pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB PCI-ISA" rev 0x00)
> > pcibios0: PCI bus #3 is the last bus
> > bios0: ROM list: 0xc0000/0xc000
> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
> > ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
> > pci1 at ppb0 bus 1
> > vga1 at pci1 dev 0 function 0 "S3 Savage/MX-MV" rev 0x11
> > wsdisplay0 at vga1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > vendor "ESS", unknown product 0x1988 (class multimedia, subclass audio, rev 0x12) at pci0 dev 6 function 0 not configured
> > vendor "ESS", unknown product 0x1989 (class communications, subclass miscellaneous, rev 0x12) at pci0 dev 6 function 1 not configured
> > pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
> > pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
> > atapiscsi0 at pciide0 channel 0
> > scsibus0 at atapiscsi0: 2 targets
> > cd0 at scsibus0 targ 1 lun 0: <TOSHIBA, DVD-ROM SD-C2502, 1711> SCSI0 5/cdrom removable
> > wd0 at pciide0 channel 0 drive 0: <IBM-DJSA-220>
> > wd0: 16-sector PIO, LBA, 19077MB, 16383 cyl, 16 head, 63 sec, 39070080 sectors
> > pciide0: channel 0 interrupting at irq 14
> > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> > cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> > pciide0: channel 1 ignored (disabled)
> > uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
> > usb0 at uhci0: USB revision 1.0
> > uhub0 at usb0
> > uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > uhub0: 2 ports with 2 removable, self powered
> > "Intel 82371AB Power Management" rev 0x03 at pci0 dev 7 function 3 not configured
> > rl0 at pci0 dev 8 function 0 "Realtek 8139" rev 0x10: irq 9 address 00:e0:18:0e:d0:a2
> > rlphy0 at rl0 phy 0: RTL internal phy
> > cbb0 at pci0 dev 10 function 0 "Ricoh 5C476 PCI-CardBus" rev 0x80: irq 9
> > cbb1 at pci0 dev 10 function 1 "Ricoh 5C476 PCI-CardBus" rev 0x80: irq 9
> > isa0 at pcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5
> > pckbd0 at pckbc0 (kbd slot)
> > pckbc0: using irq 1 for kbd slot
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pms0 at pckbc0 (aux slot)
> > pckbc0: using irq 12 for aux slot
> > wsmouse0 at pms0 mux 0
> > pcppi0 at isa0 port 0x61
> > midi0 at pcppi0: <PC speaker>
> > sysbeep0 at pcppi0
> > lpt0 at isa0 port 0x378/4 irq 7
> > npx0 at isa0 port 0xf0/16: using exception 16
> > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> > cardslot0 at cbb0 slot 0 flags 0
> > cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
> > pcmcia0 at cardslot0
> > cardslot1 at cbb1 slot 1 flags 0
> > cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
> > pcmcia1 at cardslot1
> > biomask 4240 netmask 4240 ttymask 52c2
> > pctr: 686-class user-level performance counters enabled
> > mtrr: Pentium Pro MTRR support
> > dkcsum: wd0 matched BIOS disk 80
> > root on wd0a
> > rootdev=0x0 rrootdev=0x300 rawdev=0x302
> > WARNING: / was not properly unmounted
> > --- snip ---
> >
> > btw, there is a bug which seems to be fixed in 3.0, but still isn't in
> > 2.9-stable (it was reported by ? raan a month ago or so) -
> > "panic: timeout_add: to_ticks < 0".
> >
> > dmake.