Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 22:45:39 -0500
From:      Zach Heilig <zach@gaffaneys.com>
To:        FreeBSD-current@FreeBSD.ORG
Subject:   cdda2wav == panic (/sys/vm/vm_page.c:516)
Message-ID:  <19981021224539.A10190@znh.org>

next in thread | raw e-mail | index | archive | help
This is an ELF kernel compiled from sources cvsup-ed ~01:50 GMT (Oct 22)

Relevent hardware:
ncr0: <ncr 53c875j fast20 wide scsi> rev 0x04 int a irq 11 on pci0.13.0
cd0 at ncr0 bus 0 target 5 lun 0
cd0: <MATSHITA CD-R   CW-7502 4.10> Removable CD-ROM SCSI2 device
cd0: 10.0MB/s transfers (10.0MHz, offset 8)
cd0: cd present [176612 x 2048 byte records]

The ncr0 is a diamond fireport 40, and the cdr is the only device on that bus
(it is in an external case, with a terminator plugged into the passthrough
connector).  It works very well burning audio/data tracks and reading data
tracks.

I noticed this earlier today with a kernel from Oct 10.  The panic with an up
to date kernel is different from the Oct 10 kernel.  That kernel would usually
wait until cdda2wav exited before panic'ing (complaining about dirty pages --
the last 5-10 megs or so of the track would be zero's after reboot), today's
kernel panics 8-10 Mbytes into the track (at least the 3 times I tried to
read an audio track).

stack trace:

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 2895872
initial pcb at 25efcc
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xffd6
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xf01e44e0
stack pointer	        = 0x10:0xf48dacac
frame pointer	        = 0x10:0xf48dacb4
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		= 332 (cdda2wav)
interrupt mask		= bio 
panic: from debugger

syncing disks... 63 63 63 63 63 63 63 63 63 63 63 63 63 63 63 63 63 63 63 63 giving up
1: dev:00020400, flags:21020034, blkno:131376, lblkno:131376
2: dev:00020400, flags:21020034, blkno:131264, lblkno:131264
3: dev:00020407, flags:20000010, blkno:3880032, lblkno:3880032
4: dev:00020407, flags:20000010, blkno:3880016, lblkno:3880016
5: dev:00020407, flags:21000034, blkno:3866672, lblkno:3866672
6: dev:00020407, flags:21020034, blkno:3801184, lblkno:3801184
7: dev:00020404, flags:21020034, blkno:65648, lblkno:65648
8: dev:00020404, flags:21020034, blkno:66128, lblkno:66128
9: dev:00020404, flags:21020034, blkno:65664, lblkno:65664
10: dev:00020404, flags:21020034, blkno:66096, lblkno:66096
11: dev:00020407, flags:21000034, blkno:2032, lblkno:2032
12: dev:ffffffff, flags:20020014, blkno:3936800, lblkno:4267
13: dev:ffffffff, flags:20020014, blkno:3936784, lblkno:4266
14: dev:ffffffff, flags:20020014, blkno:3936768, lblkno:4265
15: dev:ffffffff, flags:20020014, blkno:3936752, lblkno:4264
16: dev:ffffffff, flags:20020014, blkno:3936704, lblkno:4261
17: dev:ffffffff, flags:20020014, blkno:3936720, lblkno:4262
18: dev:ffffffff, flags:20020034, blkno:3936736, lblkno:4263
19: dev:ffffffff, flags:20020014, blkno:3936688, lblkno:4260
20: dev:00020407, flags:21020034, blkno:2883648, lblkno:2883648
21: dev:00020407, flags:21000034, blkno:16, lblkno:16
22: dev:ffffffff, flags:20000030, blkno:4275, lblkno:4275
23: dev:00020407, flags:21020034, blkno:1048736, lblkno:1048736
24: dev:00020400, flags:21020034, blkno:131280, lblkno:131280
25: dev:00020407, flags:20000010, blkno:3934192, lblkno:3934192
26: dev:ffffffff, flags:220202b0, blkno:3934192, lblkno:-4108
27: dev:00020407, flags:21000034, blkno:3932208, lblkno:3932208
28: dev:00020400, flags:21020034, blkno:65600, lblkno:65600
29: dev:00020400, flags:21020034, blkno:196672, lblkno:196672

dumping to dev 20401, offset 262144
dump 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:268
268			dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:268
#1  0xf01478bc in at_shutdown (function=0xf022901e <db_panic_cmd+22>, 
    arg=0xf48daba8, queue=-267228095) at ../../kern/kern_shutdown.c:430
#2  0xf0126ca1 in db_panic (addr=-266451744, have_addr=0, count=-1, 
    modif=0xf48dab30 "") at ../../ddb/db_command.c:432
#3  0xf0126c41 in db_command (last_cmdp=0xf0246804, cmd_table=0xf0246664, 
    aux_cmd_tablep=0xf025c4e4) at ../../ddb/db_command.c:332
#4  0xf0126d06 in db_command_loop () at ../../ddb/db_command.c:454
#5  0xf0129067 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#6  0xf01ec719 in kdb_trap (type=12, code=0, regs=0xf48dac70)
    at ../../i386/i386/db_interface.c:157
#7  0xf01f6d93 in trap_fatal (frame=0xf48dac70) at ../../i386/i386/trap.c:874
#8  0xf01f6a84 in trap_pfault (frame=0xf48dac70, usermode=0)
    at ../../i386/i386/trap.c:772
#9  0xf01f66d7 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -236365800, 
      tf_esi = 8550, tf_ebp = -192041804, tf_isp = -192041832, tf_ebx = 51390, 
      tf_edx = 65470, tf_ecx = -192026224, tf_eax = -264085512, 
      tf_trapno = 12, tf_err = 0, tf_eip = -266451744, tf_cs = 8, 
      tf_eflags = 66054, tf_esp = 0, tf_ss = 0}) at ../../i386/i386/trap.c:396
#10 0xf01e44e0 in vm_page_lookup (object=0xf48de990, pindex=8550)
    at ../../vm/vm_page.c:516
#11 0xf01630c7 in allocbuf (bp=0xf1e95818, size=8192)
    at ../../kern/vfs_bio.c:1782
#12 0xf0162cb2 in getblk (vp=0xf48a82c0, blkno=4275, size=8192, slpflag=0, 
    slptimeo=0) at ../../kern/vfs_bio.c:1557
#13 0xf01cb09f in ffs_balloc (ap=0xf48dae98) at ../../ufs/ffs/ffs_balloc.c:297
#14 0xf01d38a4 in ffs_write (ap=0xf48daeec) at vnode_if.h:1015
#15 0xf016dc17 in vn_write (fp=0xf0b28640, uio=0xf48daf30, cred=0xf0a59b00)
    at vnode_if.h:331
#16 0xf014f9a2 in write (p=0xf4834e00, uap=0xf48daf84)
    at ../../kern/sys_generic.c:270
#17 0xf01f7017 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 805601292, 
      tf_esi = 805601292, tf_ebp = 805730652, tf_isp = -192041004, 
      tf_ebx = 129360, tf_edx = 805601292, tf_ecx = 0, tf_eax = 4, 
      tf_trapno = 7, tf_err = 2, tf_eip = 671874136, tf_cs = 31, 
      tf_eflags = 582, tf_esp = -272640664, tf_ss = 39})
    at ../../i386/i386/trap.c:1031
#18 0xf01ed06c in Xint0x80_syscall ()
(kgdb) 


-- 
Zach Heilig <zach@gaffaneys.com>
If it looks like a duck, and quacks like a duck, we have to at least consider
the possibility that we have a small aquatic bird of the family Anatidę on
our hands (Douglas Adams -- Dirk Gently's Holistic Detective Agency)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981021224539.A10190>