From owner-freebsd-stable@FreeBSD.ORG Tue Feb 20 23:22:03 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D39B716D03A for ; Tue, 20 Feb 2007 23:22:03 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from ithil.ics.muni.cz (ithil.ics.muni.cz [147.251.4.38]) by mx1.freebsd.org (Postfix) with ESMTP id 36AD813C4A5 for ; Tue, 20 Feb 2007 23:22:02 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (holub.ics.muni.cz [147.251.23.83]) (authenticated bits=0) by ithil.ics.muni.cz (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l1KN4bOc005265 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 21 Feb 2007 00:04:39 +0100 From: "Petr Holub" To: Date: Wed, 21 Feb 2007 00:04:38 +0100 Message-ID: <008401c75543$7ee539b0$5317fb93@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Muni-Spam-TestIP: 147.251.23.83 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ithil.ics.muni.cz [147.251.4.38]); Wed, 21 Feb 2007 00:04:39 +0100 (CET) Cc: Subject: 6.2-RELEASE panic when blanking CD-RW media X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 23:22:03 -0000 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@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 : 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@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 Features2=0x649d> AMD Features=0x20000000 Logical CPUs per core: 2 real memory = 1073217536 (1023 MB) avail memory = 1032843264 (984 MB) MPTable: ioapic0: Assuming intbase of 0 ioapic1: Assuming intbase of 24 ioapic0 irqs 0-23 on motherboard ioapic1 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: pcibus 0 on motherboard pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci6: on pcib1 nvidia0: port 0xcc00-0xcc7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci6 nvidia0: [GIANT-LOCKED] pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci4: on pcib2 pcib3: at device 0.0 on pci4 pci5: on pcib3 em0: 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: irq 16 at device 28.4 on pci0 pci3: on pcib4 pci3: at device 0.0 (no driver attached) pcib5: irq 17 at device 28.5 on pci0 pci2: on pcib5 pci2: at device 0.0 (no driver attached) uhci0: port 0xe480-0xe49f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xe800-0xe81f irq 17 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0xe880-0xe89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: port 0xec00-0xec1f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: 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: 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: 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: at device 30.0 on pci0 pci1: on pcib6 emu10kx0: port 0x8880-0x88bf irq 22 at device 1.0 on pci1 pcm0: on emu10kx0 pcm0: midi0: on emu10kx0 emu10kx0: Audigy IR MIDI events enabled. midi1: on emu10kx0 pci1: 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: on fwohci0 fwe0: 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: 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: 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: on fwohci1 fwe1: 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: 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: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: 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: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: on atapci1 pci0: at device 31.3 (no driver attached) pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] ppc0: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 3412098152 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDR at ata0-master UDMA66 ad4: 238475MB at ata2-master SATA300 cd0 at ata0 bus 0 target 0 lun 0 cd0: 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