All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 15378] New: If packet writing is enabled it causes I/O errors.
@ 2010-02-23 14:34 bugzilla-daemon
  2010-02-24 22:47 ` [Bug 15378] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2010-02-23 14:34 UTC (permalink / raw)
  To: linux-scsi

http://bugzilla.kernel.org/show_bug.cgi?id=15378

               URL: ssenuta@dialup.cc
           Summary: If packet writing is enabled it causes I/O errors.
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 2.6.32.8
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: linux-scsi@vger.kernel.org
        ReportedBy: ssenuta@dialup.cc
                CC: ssenuta@dialup.cc
        Regression: No


When packet writing is enabled it conflicts with normal cdrom drive operations
on a "shared" device. A work around for this problem is to just dis-associate
my shared /dev/sr0 drive from /dev/pktcdvd/pktcdvd0 with one of the following
commands

    pktsetup -d 0
    /etc/rc.d/init.d/pktcdvd stop     ,..Mandriva script 

I first noticed the problem when I discovered I couldn't play back some
commercial movie dvds When packet writing was enabled. Running lsdvd on the
problem dvd disc, indicates that the disc could not be read. 

lsdvd -x /dev/sr0
    libdvdread: Using libdvdcss version 1.2.10 for DVD access
    libdvdread: Can't seek to block 3591534
    libdvdread: Can't seek to block 3591534
    libdvdread: Invalid IFO for title 2 (VTS_02_0.IFO).

Yesterday, while testing a rescue initramfs in (init s) single user mode, I had
problems reading a regular (iso9660) cdrom because packet writing was enabled
at boot. When I mounted the iso9660 filesystem, I got the following I/O errors:

mount -t auto /dev/sr0 /mnt/misc:
     SR 1:0:0:0: [sr0] Result: Hostbyte=DD_OK Driverbyte=Driver_Sense
                       Sense Key: Illegle Request [current]
                       ADD.Sense: Logical Block Address Out of Range
                       CDB: Read (10): 28 00 00 04 81 20 00 00 02 00
     End:Request: I/O ERROR, Dev sr0, sector 1180800
     Buffer I/O Error on Device sr0 Logical Block 295200
     Buffer I/O Error on Device sr0 Logical Block 295201

I both cases "disabling" packet write allowed my Asus Sata cd-combo drive to
operate normally.

This is a list of all modules loaded for my "non-udev" initramfs.
Things work well but having packet write enabled causes I/O errors
when using the common cd-combo drive for regular (non packet) use.

Module                  Size  Used by
sg                     18616  0 
isofs                  23985  0 
pktcdvd                19524  0 
sr_mod                  9994  0 
cdrom                  24775  2 pktcdvd,sr_mod
usb_storage            29209  0 
uhci_hcd               15455  0 
ohci_hcd               16452  0 
ehci_hcd               26139  0 
usbhid                 17965  0 
nls_iso8859_1           2925  0 
nls_cp437               4453  0 
nls_cp850               3685  0 
vfat                    6754  0 
msdos                   4850  0 
fat                    35867  2 vfat,msdos

Aside from I/O Errors, there is also a problem ejecting a problem iso9660 disc.
but again disabling packet write is the work-around. It can be unmounted but
you can't open the cd tray. 

I don't think these problems are specific to only kernel-2.6.32.8 as I noticed
similar problem with other kernels. 

I hope there is a better solution than my work-around or installing two
cd-drives. Thank you

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 15378] If packet writing is enabled it causes I/O errors.
  2010-02-23 14:34 [Bug 15378] New: If packet writing is enabled it causes I/O errors bugzilla-daemon
@ 2010-02-24 22:47 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2010-02-24 22:47 UTC (permalink / raw)
  To: linux-scsi

http://bugzilla.kernel.org/show_bug.cgi?id=15378


Andrew Morton <akpm@linux-foundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akpm@linux-foundation.org,
                   |                            |axboe@kernel.dk
          Component|SCSI                        |Other
         AssignedTo|linux-scsi@vger.kernel.org  |io_other@kernel-bugs.osdl.o
                   |                            |rg




--- Comment #1 from Andrew Morton <akpm@linux-foundation.org>  2010-02-24 22:47:41 ---
I'll reassign it to io-storage/other.

Nobody really maintains the packet-writing code any more ;(

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-24 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-23 14:34 [Bug 15378] New: If packet writing is enabled it causes I/O errors bugzilla-daemon
2010-02-24 22:47 ` [Bug 15378] " bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.