Bug 139888

Summary: kernel panic on inserting cd in old cd drive
Product: [Fedora] Fedora Reporter: Sebastian Mendel <redhat-bugzilla>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3CC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-28 08:50:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sebastian Mendel 2004-11-18 17:08:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5)
Gecko/20041117 Firefox/0.9.1+

Description of problem:
getting a kernel-panic when inserting any cd into cd-drive or booting
from the FC-installation cd

Version-Release number of selected component (if applicable):
kernel-2.6.9-1.667

How reproducible:
Always

Steps to Reproduce:
booting FC3 installation-cd

or

insert any cd into drive when FC is running

Actual Results:  kernel panic

Expected Results:  no kernel panic

Additional info:

im using latest rpm's via up2date from development

last messages before kernel panic:

kernel: hdc: media error (bad sector): status=0x51 { DriveReady
SeekComplete Error }
kernel: hdc: media error (bad sector): error=0x30
kernel: ide: failed opcode was 100
kernel: end_request: I/O error, dev hdc, sector 0
kernel: Buffer I/O error on device hdc, logical block 0


other /dev/hdc related messages found:

kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override
with idebus=xx
kernel: PIIX4: IDE controller at PCI slot 0000:00:04.1
kernel: PIIX4: chipset revision 1
kernel: PIIX4: not 100%% native mode: will probe irqs later
kernel:     ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio
kernel:     ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
kernel: hda: ST320420A, ATA DISK drive
kernel: Using cfq io scheduler
kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
kernel: hdc: FX240S, ATAPI CD/DVD-ROM drive
kernel: ide1 at 0x170-0x177,0x376 on irq 15
kernel: hda: max request size: 128KiB
kernel: hda: 39851760 sectors (20404 MB) w/2048KiB Cache,
CHS=39535/16/63, UDMA(33)
Nov 18 17:52:01 www kernel:  hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
kernel: hdc: ATAPI 24X CD-ROM drive, 256kB Cache, DMA
kernel: Uniform CD-ROM driver Revision: 3.20
...
smartd[1686]: smartd version 5.33 [i386-redhat-linux-gnu] Copyright
(C) 2002-4 Bruce Allen
smartd[1686]: Home page is http://smartmontools.sourceforge.net/
smartd[1686]: Opened configuration file /etc/smartd.conf
smartd[1686]: Configuration file /etc/smartd.conf parsed.
smartd[1686]: Device: /dev/hda, opened
smartd[1686]: Device: /dev/hda, found in smartd database.
smartd[1686]: Device: /dev/hda, is SMART capable. Adding to "monitor"
list.
smartd[1686]: Device: /dev/hdc, opened
smartd[1686]: Device: /dev/hdc, packet devices [this device CD/DVD]
not SMART capable
smartd[1686]: Unable to register ATA device /dev/hdc at line 2 of file
/etc/smartd.conf
smartd[1686]: Unable to register device /dev/hdc (no Directive -d
removable). Exiting.
smartd: smartd startup failed
...
fstab-sync[1952]: added mount point /media/cdrom1 for /dev/hdc

Comment 1 Dave Jones 2005-09-28 08:50:38 UTC
this should be fixed in errata. please reopen if not so.