Project

General

Profile

Bug #1651

panic in fifo_read

Added by Johannes.Hofmann over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

with version 5d56fcbc0d6cf2ff3f0ce0305d95bd3ae16e2a5f I just got the
panic below.

Cheers,
Johannes

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x40008
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01b2222
stack pointer = 0x10:0xdb1c7b20
frame pointer = 0x10:0xdb1c7b24
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 3145 (tail)
current thread = pri 6

trap number = 12
panic: page fault
Trace beginning at frame 0xdb1c7a2c
panic(db1c7a50,10,db1c7ad8,c,db1c7a70) at panic+0x8c
panic(c035bd33,c036e9e9,0,0,fffff) at panic+0x8c
trap_fatal(40008,0,db1c7ad8,d8c8d350,d8c8e1f0) at trap_fatal+0x2da
trap_pfault(6,c0204f93,db1c7aac,d8c8e1f0,d73f71d8) at trap_pfault+0x12b
trap(db1c7ad8) at trap+0x3eb
calltrap() at calltrap+0xd
--- trap 0, eip = 0, esp = 0xdb1c7b1c, ebp = 0xdb1c7b98 ---
(null)(dc226d20,20001,40,db1c7bc4,dc226c68) at 0
_end(38,c0368e50,40,c035ef43,44) at 0xd8c8d7d0
error_desc() at error_desc+0x216d
Uptime: 2h17m24s
Physical memory: 1530 MB
Dumping 213 MB: 198 182 166 150 134 118 102 86 70 54 38 22 6

Reading symbols from /boot/modules/if_iwi.ko...done.
Loaded symbols for /boot/modules/if_iwi.ko
Reading symbols from /boot/modules/acpi.ko...done.
Loaded symbols for /boot/modules/acpi.ko
Reading symbols from /boot/modules/ipfw.ko...done.
Loaded symbols for /boot/modules/ipfw.ko
Reading symbols from /boot/modules/radeon.ko...done.
Loaded symbols for /boot/modules/radeon.ko
Reading symbols from /boot/modules/drm.ko...done.
Loaded symbols for /boot/modules/drm.ko
Reading symbols from /boot/modules/usb.ko...done.
Loaded symbols for /boot/modules/usb.ko
Reading symbols from /boot/modules/ehci.ko...done.
Loaded symbols for /boot/modules/ehci.ko
Reading symbols from /boot/modules/umass.ko...done.
Loaded symbols for /boot/modules/umass.ko
_get_mycpu (di=0xc03d52a0) at ./machine/thread.h:83
83 __asm ("movl %%fs:globaldata,%0" : "=r" (gd) : "m"(__mycpu__dummy));
(kgdb) bt
#0 _get_mycpu (di=0xc03d52a0) at ./machine/thread.h:83
#1 md_dumpsys (di=0xc03d52a0) at /hammer/usr/src/sys/platform/pc32/i386/dump_machdep.c:264
#2 0xc01a8af2 in dumpsys () at /hammer/usr/src/sys/kern/kern_shutdown.c:838
#3 0xc01a906d in boot (howto=260) at /hammer/usr/src/sys/kern/kern_shutdown.c:387
#4 0xc01a918e in panic (fmt=0xc035bd33 "%s") at /hammer/usr/src/sys/kern/kern_shutdown.c:744
#5 0xc032973f in trap_fatal (frame=0xdb1c7ad8, eva=<value optimized out>)
at /hammer/usr/src/sys/platform/pc32/i386/trap.c:1127
#6 0xc032987c in trap_pfault (frame=0xdb1c7ad8, usermode=0, eva=262152) at /hammer/usr/src/sys/platform/pc32/i386/trap.c:1028
#7 0xc0329db6 in trap (frame=0xdb1c7ad8) at /hammer/usr/src/sys/platform/pc32/i386/trap.c:707
#8 0xc03192b7 in calltrap () at /hammer/usr/src/sys/platform/pc32/i386/exception.s:785
#9 0xc01b2222 in _lwkt_trytokref2 (ref=0xdb1c7b3c, tok=0xdc226d40) at /hammer/usr/src/sys/kern/lwkt_token.c:289
#10 _lwkt_gettokref (ref=0xdb1c7b3c, tok=0xdc226d40) at /hammer/usr/src/sys/kern/lwkt_token.c:320
#11 lwkt_gettoken (ref=0xdb1c7b3c, tok=0xdc226d40) at /hammer/usr/src/sys/kern/lwkt_token.c:356
#12 0xc02051dc in fifo_read (ap=0xdb1c7b98) at /hammer/usr/src/sys/vfs/fifofs/fifo_vnops.c:299
#13 0xc0297ff4 in ufsfifo_read (ap=0xdb1c7b98) at /hammer/usr/src/sys/vfs/ufs/ufs_vnops.c:1843
#14 0xc0298119 in ufs_vnoperatefifo (ap=0xdb1c7b98) at /hammer/usr/src/sys/vfs/ufs/ufs_vnops.c:2301
#15 0xc020425a in vop_read (ops=0xd8c8d7d0, vp=0xdc226c68, uio=0xdb1c7ca0, ioflag=65536, cred=0xd41cc8d0)
at /hammer/usr/src/sys/kern/vfs_vopops.c:403
#16 0xc02026be in vn_read (fp=0xd420cee8, uio=0xdb1c7ca0, cred=0xd41cc8d0, flags=0)
at /hammer/usr/src/sys/kern/vfs_vnops.c:652
#17 0xc01c92bb in dofileread (fd=3, auio=0xdb1c7ca0, flags=0, res=0xdb1c7cf0) at /hammer/usr/src/sys/sys/file2.h:57
#18 kern_preadv (fd=3, auio=0xdb1c7ca0, flags=0, res=0xdb1c7cf0) at /hammer/usr/src/sys/kern/sys_generic.c:240
#19 0xc01c9440 in sys_read (uap=0xdb1c7cf0) at /hammer/usr/src/sys/kern/sys_generic.c:116
#20 0xc032a358 in syscall2 (frame=0xdb1c7d40) at /hammer/usr/src/sys/platform/pc32/i386/trap.c:1361
#21 0xc0319366 in Xint0x80_syscall () at /hammer/usr/src/sys/platform/pc32/i386/exception.s:876
#22 0x0000001f in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(kgdb)

History

#1

Updated by Johannes.Hofmann over 10 years ago

Matthew Dillon <> wrote:
> :Hi,
> :
> :with version 5d56fcbc0d6cf2ff3f0ce0305d95bd3ae16e2a5f I just got the
> :panic below.
> :
> :Cheers,
> :Johannes
>
> Bleh. I missed some token unlocks. I'll commit a fix right now.

Yes, it's fixed!

Thanks,
Johannes

Also available in: Atom PDF