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] [thread-next>] [day] [month] [year] [list]
Message-ID: <463AF1C5.4090401@gmail.com>
Date:	Fri, 04 May 2007 10:41:41 +0200
From:	Tejun Heo <htejun@...il.com>
To:	Frank van Maarseveen <frankvm@...nkvm.com>
CC:	Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
	Mark Lord <lkml@....ca>,
	linux-scsi <linux-scsi@...r.kernel.org>,
	IDE/ATA development list <linux-ide@...r.kernel.org>,
	linux-kernel@...r.kernel.org, Alan Cox <alan@...hat.com>,
	bzolnier@...il.com,
	IDE/ATA development list <linux-ide@...r.kernel.org>,
	linux-kernel@...r.kernel.org
Subject: Re: libata /dev/scd0 problem: mount after burn fails without eject

Frank van Maarseveen wrote:
> On Fri, May 04, 2007 at 10:16:32AM +0200, Tejun Heo wrote:
>> Michal Piotrowski wrote:
>>> On 01/05/07, Mark Lord <lkml@....ca> wrote:
>>>> Forwarding to linux-scsi and linux-ide mailing lists.
>>>>
>>>> Frank van Maarseveen wrote:
>>>>> Tested on 2.6.20.6 and 2.6.21.1
>>>>>
>>>>> I decided to swich from the old IDE drivers to libata and now there
>>>>> seems to be a little but annoying problem: cannot mount an ISO image
>>>>> after burning it.
>>>>>
>>>>> May  1 14:32:55 kernel: attempt to access beyond end of device
>>>>> May  1 14:32:55 kernel: sr0: rw=0, want=68, limit=4
>>>>> May  1 14:32:55 kernel: isofs_fill_super: bread failed, dev=sr0,
>>>> iso_blknum=16, block=16
>>>>> an "eject" command seems to fix the state of the PATA DVD writer
>>>>> or driver. The problem occurs for burning a CD and for DVD too with
>>>>> identical error messages.
>> Right after burning, if you run 'fuser -v /dev/sr0', what does it say?
> 
> Tried the fuser as root to be sure but it didn't show anything.

I guess sr is forgetting to set media changed flag somewhere.  Don't
really know where tho.  CC'd Bartlomiej, linux-scsi and linux-ide.  Any
ideas?

-- 
tejun
-
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