lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 24 May 2007 11:27:55 +0200
From:	Jens Axboe <jens.axboe@...cle.com>
To:	René Peters <ice.face@....de>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: SCSI drives, audio CDs and temporary system freeze with AIC7xxx

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ