LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Frank van Maarseveen <frankvm@frankvm.com>
To: Tejun Heo <htejun@gmail.com>
Cc: Frank van Maarseveen <frankvm@frankvm.com>,
	Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
	Mark Lord <lkml@rtr.ca>, linux-scsi <linux-scsi@vger.kernel.org>,
	IDE/ATA development list <linux-ide@vger.kernel.org>,
	linux-kernel@vger.kernel.org, Alan Cox <alan@redhat.com>,
	bzolnier@gmail.com
Subject: Re: libata /dev/scd0 problem: mount after burn fails without eject
Date: Fri, 4 May 2007 10:44:52 +0200	[thread overview]
Message-ID: <20070504084452.GA20388@janus> (raw)
In-Reply-To: <463AF1C5.4090401@gmail.com>

On Fri, May 04, 2007 at 10:41:41AM +0200, Tejun Heo wrote:
> 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@rtr.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.

Plausible. I get the same kernel messages when I try to mount the CD
before burning.

-- 
Frank

  reply	other threads:[~2007-05-04  8:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 13:59 Frank van Maarseveen
2007-05-01 14:17 ` Mark Lord
2007-05-01 14:31   ` Michal Piotrowski
2007-05-04  8:16     ` Tejun Heo
2007-05-04  8:37       ` Frank van Maarseveen
2007-05-04  8:41         ` Tejun Heo
2007-05-04  8:44           ` Frank van Maarseveen [this message]
2007-05-01 14:58 ` Gene Heskett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070504084452.GA20388@janus \
    --to=frankvm@frankvm.com \
    --cc=alan@redhat.com \
    --cc=bzolnier@gmail.com \
    --cc=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=michal.k.k.piotrowski@gmail.com \
    --subject='Re: libata /dev/scd0 problem: mount after burn fails without eject' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).