Re: libata /dev/scd0 problem: mount after burn fails without eject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux