From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: libata /dev/scd0 problem: mount after burn fails without eject Date: Fri, 04 May 2007 10:16:32 +0200 Message-ID: <463AEBE0.7010506@gmail.com> References: <20070501135951.GA17072@janus> <46374C11.1010702@rtr.ca> <6bffcb0e0705010731v44cfad1awf4342121245f7ab3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from py-out-1112.google.com ([64.233.166.181]:22946 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965737AbXEDIQp (ORCPT ); Fri, 4 May 2007 04:16:45 -0400 Received: by py-out-1112.google.com with SMTP id a29so624045pyi for ; Fri, 04 May 2007 01:16:44 -0700 (PDT) In-Reply-To: <6bffcb0e0705010731v44cfad1awf4342121245f7ab3@mail.gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Michal Piotrowski Cc: Mark Lord , Frank van Maarseveen , linux-scsi , IDE/ATA development list , linux-kernel@vger.kernel.org, Alan Cox Michal Piotrowski wrote: > On 01/05/07, Mark Lord 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? -- tejun