Re: SCSI drives, audio CDs and temporary system freeze with AIC7xxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 24 2007, René Peters wrote:
> Hello!
> 
> Inserting of audio CDs causes my system to hang with high I/O-load while 
> kded's mediamanagement is running.
> Long time later (round about 10-20 minutes) the system comes back again and 
> i'm able to play the audio CD. The issue is reproduceable with the following 
> drive:
> ->CD-R   PX-W1210S
> Data CD's don't show this behavior.
> No system freeze or any other bad behavior with audio CDs after stopping 
> kded's mediamanagement by hand. Maybe it is a kernel bug, maybe a bug in 
> kded.

My guess would be that the program is issuing some command that craps
out the drive (or controller). It could be a wrong length, or some other
cdb field set incorrectly.

You should try and run blktrace on the device, so we can see which
command is wreaking havoc. In short steps:

- Download http://brick.kernel.dk/snaps/blktrace-git-latest.tar.gz,
  untar, make, make install.

- Make sure your config has blktrace support, it's
  CONFIG_BLK_DEV_IO_TRACE and is in the block layer menu.

Now you are ready to reproduce the problem.

- Run blktrace /dev/sr0 (I'm assuming you only have the one SCSI cd-rom).

- Insert an audio CD.

This should now cause the adaptec drive to go nuts like it usually does.
Once things have settled down and the freeze is over, ctrl-c blktrace.
Then do:

- blkparse sr0 -o sr0.log

and send sr0.log in a reply to this message.

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux