Date: Thu, 31 Dec 1998 00:53:24 +0200 (EET) From: Ville Eerola <ve@sci.fi> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/9249: Panic on 2.2.8-STABLE when accessing wcd CDROM Message-ID: <199812302253.AAA00627@vebsd.vlsi.fi>
next in thread | raw e-mail | index | archive | help
>Number: 9249 >Category: kern >Synopsis: Panic on 2.2.8-STABLE when accessing wcd CDROM >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 30 15:00:01 PST 1998 >Last-Modified: >Originator: Ville Eerola >Organization: >Release: FreeBSD 2.2.8-STABLE i386 >Environment: FreeBSD vebsd 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Thu Dec 24 03:17:06 EET 1998 ville@vebsd:/disk4/FreeBSD/src/sys/compile/VEBSD i386 Last CTM applied to CVS before compiling kernel (& making world) was cvs-cur.4920.gz % cat /sys/i386/conf/VEBSD [...] options "CD9660" #ISO 9660 Filesystem [...] controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device wcd0 #IDE CD-ROM [...] controller ahc0 controller scbus0 device sd0 device cd0 % dmesg Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.8-STABLE #0: Thu Dec 24 03:17:06 EET 1998 ville@vebsd:/disk4/FreeBSD/src/sys/compile/VEBSD CPU: Pentium Pro (198.67-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV> real memory = 67108864 (65536K bytes) avail memory = 63836160 (62340K bytes) Probing for devices on PCI bus 0: chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0:0 fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 1 int a irq 15 on pci0:6:0 fxp0: Ethernet address 00:a0:c9:49:87:e5 chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0 chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1 ahc0 <Adaptec aic7880 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:9:0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs (ahc0:0:0): "QUANTUM FIREBALL_TM2110S 300X" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2014MB (4124736 512 byte sectors) (ahc0:1:0): "SEAGATE ST31230N 0300" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 1010MB (2069860 512 byte sectors) (ahc0:3:0): "IBM DPES-31080 S31Q" type 0 fixed SCSI 2 sd2(ahc0:3:0): Direct-Access 1034MB (2118144 512 byte sectors) (ahc0:4:0): "SEAGATE ST32155N 0318" type 0 fixed SCSI 2 sd3(ahc0:4:0): Direct-Access 2049MB (4197405 512 byte sectors) (ahc0:5:0): "SEAGATE ST31230N 0300" type 0 fixed SCSI 2 sd4(ahc0:5:0): Direct-Access 1010MB (2069860 512 byte sectors) (ahc0:6:0): "TEAC CD-R55S 1.0K" type 5 removable SCSI 2 cd0(ahc0:6:0): CD-ROM can't get the size vga0 <VGA-compatible display device> rev 1 int a irq 11 on pci0:11:0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in NIBBLE mode ppi0: <generic parallel i/o> on ppbus 0 nlpt0: <generic printer> on ppbus 0 nlpt0: Interrupt-driven port psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (atapi): <FX120T/b03>, removable, intr, dma, iordis npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa sb0: <SoundBlaster Pro 3.2> sbmidi0 not found at 0x330 opl0 at 0x388 on isa opl0: <Yamaha OPL-3 FM> >Description: When trying to access CDROM which uses the wcd driver the system panics with "Fatal trap 12: page fault while in kernel mode" Also the same system is totally happy accessing a CDROM in a SCSI cdrom-device (actually a CD-R burner). This leads one to think that the problem is probably in the wcd driver and not in any general CDROM code... The relevant data is: (typed by hand from not on paper) Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1c fault code = supervisor read, page not present instruction pointer = 0x8:0xf01b9943 stack pointer = 0x10:0xefbffcc0 frame pointer = 0x10:0xefbffcc4 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 = 337 (mount_cd9660) interrupt mask = bio panic: page fault % nm kernel | sort [...] f01b993c t _atapi_alloc f01b997c t _atapi_free f01b99ac t _atapi_enqueue [...] >How-To-Repeat: I have found at least two ways: 1) Try to mount the CD in the drive # mount_cd9660 /dev/wcd0c /cdrom 2) Try to read data out of the raw CD % cat /dev/rwcd0c > /dev/null >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812302253.AAA00627>