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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jens Axboe
Date: Thursday, May 24, 2007 - 2:27 am

On Thu, May 24 2007, René Peters wrote:

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

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: SCSI drives, audio CDs and temporary system freeze wit ..., Jens Axboe, (Thu May 24, 2:27 am)