mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Felker <tcfelker@mtco.com>
To: tfavre@mandrakesoft.com
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.7 : kernel panic while ripping CD
Date: Fri, 9 Jul 2004 10:08:44 -0500	[thread overview]
Message-ID: <200407091008.44875.tcfelker@mtco.com> (raw)
In-Reply-To: <200407091157.20508.tfavre@mandrakesoft.com>

On Friday 09 July 2004 4:57 am, Thibauld Favre wrote:
> Hi,
>
> When I rip a CD (I use kaudiocreator), I cannot rip all tracks in one go.
> When I do so, after a while (as far as I can say there's no logic) I can
> hear the CDrom drive stop and the ripping stalls. If I kill the process
> that stalled (the only thing I can do), then I get a bad kernel panic. So
> basically, when the ripping stalls I'm done ! I can continue working
> without problems but as soon as I want to close kaudiocreator : badaboom.
>
> I first thought it could come from kaudiocreator but then I realized that
> my CDrom drive was generating errors. Here's a summary of the interesting
> parts (the full dmesg and lsmod output can be found as attachments).
>
> ----------------------------------------------------------------
> hdc: UJDA745 DVD/CDRW, ATAPI CD/DVD-ROM drive
> [...]
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: MATSHITA  Model: UJDA745 DVD/CDRW  Rev: 1.02
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> [...]
> sr0: CDROM not ready.  Make sure there is a disc in the drive.
> sr0: CDROM not ready.  Make sure there is a disc in the drive.
> spurious 8259A interrupt: IRQ7.
> sr0: CDROM not ready.  Make sure there is a disc in the drive.
> sr0: CDROM not ready.  Make sure there is a disc in the drive.
> sr0: CDROM not ready.  Make sure there is a disc in the drive.
> sr0: CDROM not ready.  Make sure there is a disc in the drive.
> hdc: irq timeout: status=0xd0 { Busy }
> hdc: irq timeout: error=0xd0LastFailedSense 0x0d
> hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
> hdc: status error: error=0x00
> hdc: drive not ready for command
> hdc: lost interrupt
> hdc: lost interrupt
> hdc: DMA disabled
> hdc: ATAPI reset complete
> scsi: Device offlined - not ready after error recovery: host 0 channel 0 id
> 8 lun 0
> scsi: Device offlined - not ready after error recovery: host 0 channel 0 id
> 8 lun 0
> sr0: CDROM (ioctl) error, command: 0x42 02 40 01 00 00 00 00 10 00
> sr: sense =  0  0
> Non-extended sense class 0 code 0x0
> Raw sense data:0x00 0x00 0x00 0x00
> sr0: CDROM (ioctl) error, command: 0x42 02 40 01 00 00 00 00 10 00
> sr: sense =  0  0
> Non-extended sense class 0 code 0x0
> Raw sense data:0x00 0x00 0x00 0x00
> ------------------------------------------------------------------------
>
> I use a Debian unstable on a T40p laptop with a self compiled 2.6.7 kernel.
> I access my CD-rom drive through /dev/sr0 I'd like to be able to help
> further but I don't know what might interest you. Just ask me if you need
> more info...
>
> Thanks a lot,
>
> Thibauld Favre

On 2.6 you're not really supposed to do IDE-SCSI emulation anymore.  Most 
software can now use the plain IDE interface, just by telling it to 
use /dev/hdc.  So try compiling ide-scsi as a module or not at all and not 
loading it.  This may not solve the problem, but it might make error recovery 
cleaner.

-- 
Tom Felker, <tcfelker@mtco.com>
<http://vlevel.sourceforge.net> - Stop fiddling with the volume knob.

The ability to monopolize a market is insignificant next to the power of the 
source.

      reply	other threads:[~2004-07-09 15:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-09  9:57 Thibauld Favre
2004-07-09 15:08 ` Tom Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407091008.44875.tcfelker@mtco.com \
    --to=tcfelker@mtco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tfavre@mandrakesoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®