Comment 1 for bug 7312

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1BsY9i-0005Zn-5y@localhost>
Date: Wed, 04 Aug 2004 22:38:57 -0400
From: Brian Frank <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: kernel-image-2.6.7-1-686: mounting cdrom causes kernel panic

Package: kernel-image-2.6.7-1-686
Version: 2.6.7-2
Severity: grave
Justification: causes non-serious data loss

Attempting to mount a CDROM results in the CD spinning for approximately
30 seconds, then the system locks up completely (unresponsive to
keyboard, mouse, and network). The lockup does not occur when a 2.4
series kernel is used (e.g. kernel-image-2.4.18-1-686), and a CDROM can
be mounted sucessfully, but some error messages are logged in
/var/log/syslog when the 2.4.18-1-686 kernel is used:

Aug 3 20:32:55 localhost kernel: hdd: DMA interrupt recovery
Aug 3 20:32:55 localhost kernel: hdd: lost interrupt
Aug 3 20:32:55 localhost kernel: hdd: cdrom_decode_status: status=0xd0
{ Busy }
Aug 3 20:32:55 localhost kernel: hdd: cdrom_decode_status:error=0xd0LastFailedSense 0x0d
Aug 3 20:32:55 localhost kernel: hdd: DMA disabled
Aug 3 20:32:55 localhost kernel: hdd: ATAPI reset complete
Aug 3 20:32:55 localhost kernel: hdd: command error: status=0x51 {
DriveReady SeekC
omplete Error }
Aug 3 20:32:55 localhost kernel: hdd: command error: error=0x50
Aug 3 20:32:55 localhost kernel: end_request: I/O error, dev 16:40
(hdd), sector 11

A similar problem seems to have been reported for
kernel-2.6.6-1-386 (Bug#257542: Kernel panics when cdrom mounted)

Sometimes the only related entries in /var/log/syslog before lockup is:

localhost kernel: hdd: ATAPI 24X CD-ROM drive, 120kB Cache, DMA
localhost kernel: Uniform CD-ROM driver Revision: 3.20

Occassionally some extra lines also appear:

localhost kernel: hdd: drive_cmd: status=0x51 {DriveReady SeekComplete Error }
localhost kernel: hdd: drive_cmd: error=0x04AbortedCommand
localhost kernel: hdd: irq timeout: status=0xd0 { Busy }
localhost kernel: hdd: irq timeout:error=0xd0LastFailedSense 0x0d

The CDROM can be used to play audio CD's, but after a long delay, and
the reading speed seems to be much slower than usual. When this is done,
the messages that appear in syslog are:

Output from appropriate /proc entries:

/proc/ide/hdd/model
CD-ROM 24X/AKOx

/proc/ide/hdd/driver
ide-cdrom version 4.61

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8

Versions of packages kernel-image-2.6.7-1-686 depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii initrd-tools 0.1.71 tools to create initrd image for p
ii module-init-tools 3.1-pre5-3 tools for managing Linux kernel mo

-- no debconf information