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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080512203422.GA2641@schwan.zoo>
Date:	Mon, 12 May 2008 22:34:22 +0200
From:	Ingo Saitz <Ingo.Saitz@...d.uni-hannover.de>
To:	linux-kernel@...r.kernel.org
Cc:	linux-scsi@...r.kernel.org
Subject: Re: PROBLEM: 2.6.25: sr0 cdrom does not change medium size on
	medium change

I did some git bisecting during which I found it does matte wether you
let the drive settle before mounting or not during the 2.6.25 devcycle.
So after being struck at some random position I redid the bisection.

This commit applies to: changing the medium (cd/dvd), waiting until the
drive settles and mounting it. The kernel no longer changes the size of
the medium in /sys/block/sr0/size, giving read errors for bigger mediae.

-----8<-----8<-----
210ba1d1724f5c4ed87a2ab1a21ca861a915f734 is first bad commit
commit 210ba1d1724f5c4ed87a2ab1a21ca861a915f734
Author: James Bottomley <James.Bottomley@...senPartnership.com>
Date:   Sat Jan 5 10:39:51 2008 -0600

    [SCSI] sr: update to follow tray status correctly

    Based on an original patch from: David Martin <tasio@...io.net>

    When trying to get the drive status via ioctl CDROM_DRIVE_STATUS, with
    no disk it gives CDS_TRAY_OPEN even if the tray is closed.

    ioctl works as expected with ide-cd driver.

    Gentoo bug report: http://bugs.gentoo.org/show_bug.cgi?id=196879

    Cc: Maarten Bressers <mbres@...too.org>
    Signed-off-by: James Bottomley <James.Bottomley@...senPartnership.com>

:040000 040000 704d23cdc9b3e5d596d879b4705586966b76e74d 9f1f71802ee45e734758d2c89d0b90102b549bdb M      drivers
----->8----->8-----

I'm forwarding this to the linux-scsi list, too.

    Ingo

Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ