6.2-RELEASE panic when blanking CD-RW media

Petr Holub hopet at ics.muni.cz
Tue Feb 20 23:22:03 UTC 2007


Hi,

I've encountered a deterministic kernel panic when
blanking one specific CD-RW media using cdrecord.

# cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.2) Copyright (C) 1995-2004 Jörg Schil
ling
Using libscg version 'schily-0.8'.
scsibus2:
        2,0,0   200) 'PIONEER ' 'DVD-RW  DVR-111 ' '1.23' Removable CD-ROM
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *

# cdrecord dev=2,0,0 blank=fast

The kernel panic details follow and dmesg is at the end of this
email. Though I understand there's something wrong with the media,
I think it shouldn't panic the kernel either.

Thanks in advance for looking into this,
Petr

# cat info.9
Dump header from device /dev/ad4s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 1072824320B (1023 MB)
  Blocksize: 512
  Dumptime: Tue Feb 20 14:18:54 2007
  Hostname: evenstar.ics.muni.cz
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  Panic String: page fault
  Dump Parity: 801179006
  Bounds: 9
  Dump Status: good
# kgdb /boot/kernel/kernel vmcore.9
kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".
(no debugging symbols found)...Attempt to extract a component of a value that is
not a structure pointer.
(kgdb) bt
#0  0xc067262e in doadump ()
#1  0xc0672afe in boot ()
#2  0xc0672d94 in panic ()
#3  0xc0885a04 in trap_fatal ()
#4  0xc088576b in trap_pfault ()
#5  0xc08853a9 in trap ()
#6  0xc0873a7a in calltrap ()
#7  0xc04e5e2e in acd_geom_detach ()
#8  0xc06388f9 in one_event ()
#9  0xc06389d1 in g_run_events ()
#10 0xc0639de5 in g_event_procbody ()
#11 0xc065cd34 in fork_exit ()
#12 0xc0873adc in fork_trampoline ()
(kgdb) x 0xc067262e
0xc04e5e2e <acd_geom_detach+18>:	0x03b0b0ff
(kgdb) q


dmesg:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3412.10-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>>
  AMD Features=0x20000000<LM>
  Logical CPUs per core: 2
real memory  = 1073217536 (1023 MB)
avail memory = 1032843264 (984 MB)
MPTable: <INTEL    >
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <MPTable PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci6: <PCI bus> on pcib1
nvidia0: <GeForce 7900 GT/GTO> port 0xcc00-0xcc7f mem
0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 16 at
device 0.0 on pci6
nvidia0: [GIANT-LOCKED]
pci0: <multimedia> at device 27.0 (no driver attached)
pcib2: <PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci4: <PCI bus> on pcib2
pcib3: <MPTable PCI-PCI bridge> at device 0.0 on pci4
pci5: <PCI bus> on pcib3
em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 0xbc00-0xbc3f
mem 0xfa9e0000-0xfa9fffff,0xfa980000-0xfa9bffff irq 24 at device 1.0 on pci5
em0: Ethernet address: 00:04:23:c3:90:83
pcib4: <MPTable PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <PCI bus> on pcib4
pci3: <network, ethernet> at device 0.0 (no driver attached)
pcib5: <MPTable PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci2: <PCI bus> on pcib5
pci2: <mass storage> at device 0.0 (no driver attached)
uhci0: <UHCI (generic) USB controller> port 0xe480-0xe49f irq 20 at device 29.0
on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xe800-0xe81f irq 17 at device 29.1
on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0xe880-0xe89f irq 18 at device 29.2
on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0xec00-0xec1f irq 19 at device 29.3
on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfebfbc00-0xfebfbfff irq
20 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib6: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib6
emu10kx0: <Creative Audigy 2 ZS [SB0350]> port 0x8880-0x88bf irq 22 at device
1.0 on pci1
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
midi0: <EMU10Kx MIDI Interface> on emu10kx0
emu10kx0: Audigy IR MIDI events enabled.
midi1: <EMU10Kx MIDI Interface> on emu10kx0
pci1: <input device> at device 1.1 (no driver attached)
fwohci0: <1394 Open Host Controller Interface> mem
0xfa5ff800-0xfa5fffff,0xfa5f8000-0xfa5fbfff irq 23 at device 1.2 on pci1
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3c:01:53:00:aa:8d
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3c:00:aa:8d
fwe0: Ethernet address: 02:02:3c:00:aa:8d
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fwohci1: <Texas Instruments TSB43AB22/A> mem
0xfa5ff000-0xfa5ff7ff,0xfa5f4000-0xfa5f7fff irq 21 at device 3.0 on pci1
fwohci1: OHCI version 1.10 (ROM=1)
fwohci1: No. of Isochronous channels is 4.
fwohci1: EUI64 00:11:d8:00:00:9a:71:28
fwohci1: Phy 1394a available S400, 2 ports.
fwohci1: Link S400, max_rec 2048 bytes.
firewire1: <IEEE1394(FireWire) bus> on fwohci1
fwe1: <Ethernet over FireWire> on firewire1
if_fwe1: Fake Ethernet address: 02:11:d8:9a:71:28
fwe1: Ethernet address: 02:11:d8:9a:71:28
fwe1: if_start running deferred for Giant
sbp1: <SBP-2/SCSI over FireWire> on firewire1
fwohci1: Initiate bus reset
fwohci1: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire1: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH7 SATA300 controller> port
0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f mem
0xfebfb800-0xfebfbbff irq 23 at device 31.2 on pci0
atapci1: AHCI Version 01.10 controller with 4 ports detected
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
ata4: <ATA channel 2> on atapci1
ata5: <ATA channel 3> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
Timecounter "TSC" frequency 3412098152 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DVDR <PIONEER DVD-RW DVR-111/1.23> at ata0-master UDMA66
ad4: 238475MB <Seagate ST3250824AS 3.AAE> at ata2-master SATA300
cd0 at ata0 bus 0 target 0 lun 0
cd0: <PIONEER DVD-RW  DVR-111 1.23> Removable CD-ROM SCSI-0 device
cd0: 66.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s1a
em0: link state changed to UP
(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 a de 0 0 1 0
(cd0:ata0:0:0:0): CAM Status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI Status: Check Condition
(cd0:ata0:0:0:0): NOT READY asc:4,7
(cd0:ata0:0:0:0): Logical unit not ready, operation in progress sks:0x80,0
(cd0:ata0:0:0:0): Unretryable error
(cd0:ata0:0:0:0): cddone: got error 0x10 back



More information about the freebsd-stable mailing list