Re: Problems with eject and pktcdvd

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

 



On Sun, Feb 05, 2006 at 08:13:28PM +0100, Peter Osterlund wrote:
> Damian Pietras <[email protected]> writes:
> 
> > On Sun, Jan 15, 2006 at 09:47:40PM +0100, Peter Osterlund wrote:
> > > 
> > > The irq timeout problem might be broken hardware/firmware, but there
> > > is a problem with drive locking and the pktcdvd driver.
> > > 
> > > If you do
> > > 
> > > 	pktsetup 0 /dev/hdc
> > > 	mount /dev/hdc /mnt/tmp
> > > 	umount /mnt/tmp
> > > 
> > > the door will be left in a locked state. (It gets unlocked when you
> > > run "pktsetup -d 0" though.) However, if you do:
> > > 
> > > 	pktsetup 0 /dev/hdc
> > > 	mount /dev/pktcdvd/0 /mnt/tmp
> > > 	umount /mnt/tmp
> > 
> > Thanks!
> > 
> > It works this way without any irq timeout. Unfortunately I can't use it
> > as a workaround, because CD-R media must be mounted with '-o ro' or I
> > get 'pktcdvd: Wrong disc profile (9)', so I can't just put it in fstab
> > and use 'mount /media/cdrom' for both CD-R and RW discs.
> 
> Please try this patch.

Now I can mount CD-R, CD-RW, DVD+RW using pktcdvd.

Something strange happend when I copied files to DVD+RW und used eject.
After some time eject exitet, but the disc was stil in the burner, I was
allowed to open it by pressing the eject button, but then:

hda: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hda: media error (bad sector): error=0x34 { AbortedCommand LastFailedSense=0x03
}
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 4546112
end_request: I/O error, dev hda, sector 4546116
end_request: I/O error, dev hda, sector 4546124
end_request: I/O error, dev hda, sector 4546132
end_request: I/O error, dev hda, sector 4546140
end_request: I/O error, dev hda, sector 4546148
end_request: I/O error, dev hda, sector 4546156
end_request: I/O error, dev hda, sector 4546164
end_request: I/O error, dev hda, sector 4546172
Buffer I/O error on device pktcdvd0, logical block 1136528
lost page write due to I/O error on pktcdvd0

And also many messages like this:
pktcdvd: Unknown ioctl for pktcdvd0 (5326)

I have no more free time to test if the disc is OK, but I think it is,
since it's new and was written only few times.
Writing to CD-RW and umounting it gave no errors.


When inserting CD-R I get:
pktcdvd: Wrong disc profile (9)
pktcdvd: pktcdvd0 failed probe

but everything works OK.

-- 
Damian Pietras
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux