ports/57790: cdparanoia triggers kernel panic

Mark Knight markk at knigma.org
Thu Oct 9 08:00:35 UTC 2003


>Number:         57790
>Category:       ports
>Synopsis:       cdparanoia triggers kernel panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 09 01:00:32 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Knight
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD FreeBSD 4.9-PRERELEASE #0: Fri Sep 26 22:54:12 BST 2003
>Description:
Using cdparanoia (via ripit), causes a panic when it attempts to
rip a data track.  Is cdparanoia doing something bad or is this
really a kernel bug?

I've seen this bug with two different CDs, and it appears to have
occured with RELENG_4 both now, and as far back as at least July
2003.

GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00419000
initial pcb at physical address 0x0036a120
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x14
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc02ce18a
stack pointer	        = 0x10:0xd6453d40
frame pointer	        = 0x10:0xd6453d70
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		= 36261 (xconsole)
interrupt mask		= tty 
trap number		= 12
panic: page fault

syncing disks... 52 6 1 1 1 
done
Uptime: 2d6h24m12s

dumping to dev #ad/0x20009, offset 524544
dump ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device
done
255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 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 
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc018bf5c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc018c390 in poweroff_wait (junk=0xc032030c, howto=-1070465521) at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02cf9ff in trap_fatal (frame=0xd6453d00, eva=20) at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02cf6b9 in trap_pfault (frame=0xd6453d00, usermode=0, eva=20) at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02cf28f in trap (frame={tf_fs = -1044381680, tf_es = 16, tf_ds = 16, tf_edi = -700105320, tf_esi = 20, tf_ebp = -700105360, 
      tf_isp = -700105428, tf_ebx = 92, tf_edx = 20, tf_ecx = 23, tf_eax = -700105340, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1070800502, tf_cs = 8, tf_eflags = 66070, tf_esp = -1044381096, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466
#6  0xc02ce18a in generic_bcopy ()
#7  0xc01a636f in ptcread (dev=0xc1d2c480, uio=0xd6453ee0, flag=8323072) at /usr/src/sys/kern/tty_pty.c:457
#8  0xc01c6482 in spec_read (ap=0xd6453e74) at /usr/src/sys/miscfs/specfs/spec_vnops.c:253
#9  0xc0267040 in ufsspec_read (ap=0xd6453e74) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1798
#10 0xc02676c9 in ufs_vnoperatespec (ap=0xd6453e74) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2394
#11 0xc01c24e4 in vn_read (fp=0xc20eb5c0, uio=0xd6453ee0, cred=0xc25b8100, flags=0, p=0xd396cee0) at vnode_if.h:334
#12 0xc019b4b7 in dofileread (p=0xd396cee0, fp=0xc20eb5c0, fd=4, buf=0xbfbff64c, nbyte=1024, offset=-1, flags=0)
    at /usr/src/sys/sys/file.h:147
#13 0xc019b37b in read (p=0xd396cee0, uap=0xd6453f80) at /usr/src/sys/kern/sys_generic.c:117
#14 0xc02cfc65 in syscall2 (frame={tf_fs = 134545455, tf_es = 134545455, tf_ds = -1078001617, tf_edi = 1, tf_esi = 134557696, 
      tf_ebp = -1077937584, tf_isp = -700104748, tf_ebx = 672250820, tf_edx = -1077938612, tf_ecx = 22, tf_eax = 3, 
      tf_trapno = 22, tf_err = 2, tf_eip = 673784008, tf_cs = 31, tf_eflags = 659, tf_esp = -1077938652, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1175
#15 0xc02c3915 in Xint0x80_syscall ()
#16 0x280f5929 in ?? ()
#17 0x280f5c1e in ?? ()
#18 0x280eb49a in ?? ()
#19 0x280eb44c in ?? ()
#20 0x8049e53 in ?? ()
#21 0x80491e6 in ?? ()
(kgdb) 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list