linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive
@ 2001-04-12  2:53 Tim Meushaw
  2001-04-13  0:53 ` Tim Meushaw
  2001-04-28 18:37 ` CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive) Tim Meushaw
  0 siblings, 2 replies; 6+ messages in thread
From: Tim Meushaw @ 2001-04-12  2:53 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 2650 bytes --]

Hi there.  I just got a new CD-RW drive and am trying to get it working
under Linux.  I've got the ide-scsi modules all loaded, but have weird
errors when trying to mount a disk.

Here are the messages from "dmesg" that I get when the ide-cd and
ide-scsi modules are loaded.  My DVD-ROM is /dev/hdc, and the CD-RW is
/dev/hdd (or /dev/sr0):

-----------------------------------------------------
hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ide-cd: ignoring drive hdd
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: SONY      Model: CD-RW  CRX160E    Rev: 1.0e
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
-----------------------------------------------------

So, it looks like the drive is attached to /dev/sr0 properly.  Then, I
run "cdrecord -scanbus" to make sure:

-----------------------------------------------------
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.1'
scsibus0:
        0,0,0     0) 'SONY    ' 'CD-RW  CRX160E  ' '1.0e' Removable CD-ROM
-----------------------------------------------------

So, it REALLY looks like it's working.  However, here's what I get when
I try to mount an ordinary data CD:

-----------------------------------------------------
athens:~# mount -t iso9660 /dev/sr0 /cdrw
mount: block device /dev/sr0 is write-protected, mounting read-only
SCSI cdrom error : host 0 channel 0 id 0 lun 0 return code = 28000000
[valid=0] Info fld=0x0, Current sd0b:00: sense key Hardware Error
Additional sense indicates Logical unit communication CRC error (Ultra-DMA/32)
 I/O error: dev 0b:00, sector 64
isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=32
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       or too many mounted file systems
-----------------------------------------------------

I've tried this with both kernel 2.4.1 and 2.4.3 and have the exact same
error.  I've also tried multiple data CDs and have the same messages.
The CD-RW is a Sony CRX-160E, plugged in to an Asus A7V motherboard (the
PCI bus is described by "lspci" as "VIA Technologies, Inc. VT8363/8365
[KT133/KM133 AGP]").  I'm not sure what other information I can provide,
but I'll be happy to give anything else that might be needed to help fix
this problem.

Thanks a lot!
Tim

-- 
Timothy A. Meushaw
meushaw@pobox.com
http://www.pobox.com/~meushaw/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive
  2001-04-12  2:53 Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive Tim Meushaw
@ 2001-04-13  0:53 ` Tim Meushaw
  2001-04-28 18:37 ` CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive) Tim Meushaw
  1 sibling, 0 replies; 6+ messages in thread
From: Tim Meushaw @ 2001-04-13  0:53 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 3403 bytes --]

I've got an update for this problem I emailled about last night (and for
which I only received one reply :-) ).

Strangely enough, I'm able to actually burn a CD using the cd-rw
described below, and can verify data written to it (using X-CD-Roast).
I still can't actually mount a cd in the drive without getting the error
described below, but at least I can burn CDs now.

Does this behavior sound like a kernel problem, or does it suggest a bug
in the 'mount' utility?

Tim

On Wed, Apr 11, 2001 at 10:53:57PM -0400, Tim Meushaw wrote:
> Hi there.  I just got a new CD-RW drive and am trying to get it working
> under Linux.  I've got the ide-scsi modules all loaded, but have weird
> errors when trying to mount a disk.
> 
> Here are the messages from "dmesg" that I get when the ide-cd and
> ide-scsi modules are loaded.  My DVD-ROM is /dev/hdc, and the CD-RW is
> /dev/hdd (or /dev/sr0):
> 
> -----------------------------------------------------
> hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
> ide-cd: ignoring drive hdd
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: SONY      Model: CD-RW  CRX160E    Rev: 1.0e
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
> -----------------------------------------------------
> 
> So, it looks like the drive is attached to /dev/sr0 properly.  Then, I
> run "cdrecord -scanbus" to make sure:
> 
> -----------------------------------------------------
> Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> Linux sg driver version: 3.1.17
> Using libscg version 'schily-0.1'
> scsibus0:
>         0,0,0     0) 'SONY    ' 'CD-RW  CRX160E  ' '1.0e' Removable CD-ROM
> -----------------------------------------------------
> 
> So, it REALLY looks like it's working.  However, here's what I get when
> I try to mount an ordinary data CD:
> 
> -----------------------------------------------------
> athens:~# mount -t iso9660 /dev/sr0 /cdrw
> mount: block device /dev/sr0 is write-protected, mounting read-only
> SCSI cdrom error : host 0 channel 0 id 0 lun 0 return code = 28000000
> [valid=0] Info fld=0x0, Current sd0b:00: sense key Hardware Error
> Additional sense indicates Logical unit communication CRC error (Ultra-DMA/32)
>  I/O error: dev 0b:00, sector 64
> isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=32
> mount: wrong fs type, bad option, bad superblock on /dev/sr0,
>        or too many mounted file systems
> -----------------------------------------------------
> 
> I've tried this with both kernel 2.4.1 and 2.4.3 and have the exact same
> error.  I've also tried multiple data CDs and have the same messages.
> The CD-RW is a Sony CRX-160E, plugged in to an Asus A7V motherboard (the
> PCI bus is described by "lspci" as "VIA Technologies, Inc. VT8363/8365
> [KT133/KM133 AGP]").  I'm not sure what other information I can provide,
> but I'll be happy to give anything else that might be needed to help fix
> this problem.
> 
> Thanks a lot!
> Tim
> 
> -- 
> Timothy A. Meushaw
> meushaw@pobox.com
> http://www.pobox.com/~meushaw/



-- 
Timothy A. Meushaw
meushaw@pobox.com
http://www.pobox.com/~meushaw/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive)
  2001-04-12  2:53 Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive Tim Meushaw
  2001-04-13  0:53 ` Tim Meushaw
@ 2001-04-28 18:37 ` Tim Meushaw
  2001-05-18  0:14   ` Workaround Found for " Tim Meushaw
  1 sibling, 1 reply; 6+ messages in thread
From: Tim Meushaw @ 2001-04-28 18:37 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 3510 bytes --]

I had received info that this may have been fixed in 2.4.3-ac5.  I
didn't get the chance to test it there, but I installed 2.4.4 this
morning.  Alas, I receive exactly the same errors with 2.4.4 as I did
previously with 2.4.3.

One thing that did differ, though, shortly after I sent this first
email, magically the drive started working properly.  I was able to
mount disks perfectly.  However, I had to reboot for some reason or
another, and the problem came back and has stayed with me ever since.
As far as I know I didn't do anything to make it work when it did, it
just "started working", which isn't an answer I like, but that's all I
can say.... :-)

Tim

On Wed, Apr 11, 2001 at 10:53:57PM -0400, Tim Meushaw wrote:
> Hi there.  I just got a new CD-RW drive and am trying to get it working
> under Linux.  I've got the ide-scsi modules all loaded, but have weird
> errors when trying to mount a disk.
> 
> Here are the messages from "dmesg" that I get when the ide-cd and
> ide-scsi modules are loaded.  My DVD-ROM is /dev/hdc, and the CD-RW is
> /dev/hdd (or /dev/sr0):
> 
> -----------------------------------------------------
> hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
> ide-cd: ignoring drive hdd
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: SONY      Model: CD-RW  CRX160E    Rev: 1.0e
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
> -----------------------------------------------------
> 
> So, it looks like the drive is attached to /dev/sr0 properly.  Then, I
> run "cdrecord -scanbus" to make sure:
> 
> -----------------------------------------------------
> Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> Linux sg driver version: 3.1.17
> Using libscg version 'schily-0.1'
> scsibus0:
>         0,0,0     0) 'SONY    ' 'CD-RW  CRX160E  ' '1.0e' Removable CD-ROM
> -----------------------------------------------------
> 
> So, it REALLY looks like it's working.  However, here's what I get when
> I try to mount an ordinary data CD:
> 
> -----------------------------------------------------
> athens:~# mount -t iso9660 /dev/sr0 /cdrw
> mount: block device /dev/sr0 is write-protected, mounting read-only
> SCSI cdrom error : host 0 channel 0 id 0 lun 0 return code = 28000000
> [valid=0] Info fld=0x0, Current sd0b:00: sense key Hardware Error
> Additional sense indicates Logical unit communication CRC error (Ultra-DMA/32)
>  I/O error: dev 0b:00, sector 64
> isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=32
> mount: wrong fs type, bad option, bad superblock on /dev/sr0,
>        or too many mounted file systems
> -----------------------------------------------------
> 
> I've tried this with both kernel 2.4.1 and 2.4.3 and have the exact same
> error.  I've also tried multiple data CDs and have the same messages.
> The CD-RW is a Sony CRX-160E, plugged in to an Asus A7V motherboard (the
> PCI bus is described by "lspci" as "VIA Technologies, Inc. VT8363/8365
> [KT133/KM133 AGP]").  I'm not sure what other information I can provide,
> but I'll be happy to give anything else that might be needed to help fix
> this problem.
> 
> Thanks a lot!
> Tim
> 
> -- 
> Timothy A. Meushaw
> meushaw@pobox.com
> http://www.pobox.com/~meushaw/



-- 
Timothy A. Meushaw
meushaw@pobox.com
http://www.pobox.com/~meushaw/

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

* Workaround Found for Re: CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive)
  2001-04-28 18:37 ` CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive) Tim Meushaw
@ 2001-05-18  0:14   ` Tim Meushaw
  0 siblings, 0 replies; 6+ messages in thread
From: Tim Meushaw @ 2001-05-18  0:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: meushaw

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 4892 bytes --]

Thanks to an email I got (hi Thomas!), I was able to use a workaround to
the problem described below.  I don't know if it's the accepted fix or
not, but it worked for me.

What I did was set the DMA mode of the drive differently.  I used the
following hdparm command:
	hdparm -d 1 -X 34 /dev/hdd

After running that, I didn't have any problems.  I wasn't able to tell
what the mode was before running that, as I received errors from hdparm
for half the parameters, presumably because of the SCSI emulation
<shrug>.

I'm no longer subscribed to this list (too much traffic!), but wanted to
report this workaround, and thanks to Thomas Baecker for giving me this
answer when the same thing worked for him.  :-)

Tim

On Sat, Apr 28, 2001 at 02:37:50PM -0400, Tim Meushaw wrote:
> I had received info that this may have been fixed in 2.4.3-ac5.  I
> didn't get the chance to test it there, but I installed 2.4.4 this
> morning.  Alas, I receive exactly the same errors with 2.4.4 as I did
> previously with 2.4.3.
> 
> One thing that did differ, though, shortly after I sent this first
> email, magically the drive started working properly.  I was able to
> mount disks perfectly.  However, I had to reboot for some reason or
> another, and the problem came back and has stayed with me ever since.
> As far as I know I didn't do anything to make it work when it did, it
> just "started working", which isn't an answer I like, but that's all I
> can say.... :-)
> 
> Tim
> 
> On Wed, Apr 11, 2001 at 10:53:57PM -0400, Tim Meushaw wrote:
> > Hi there.  I just got a new CD-RW drive and am trying to get it working
> > under Linux.  I've got the ide-scsi modules all loaded, but have weird
> > errors when trying to mount a disk.
> > 
> > Here are the messages from "dmesg" that I get when the ide-cd and
> > ide-scsi modules are loaded.  My DVD-ROM is /dev/hdc, and the CD-RW is
> > /dev/hdd (or /dev/sr0):
> > 
> > -----------------------------------------------------
> > hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
> > Uniform CD-ROM driver Revision: 3.12
> > ide-cd: ignoring drive hdd
> > scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> >   Vendor: SONY      Model: CD-RW  CRX160E    Rev: 1.0e
> >   Type:   CD-ROM                             ANSI SCSI revision: 02
> > Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> > sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
> > -----------------------------------------------------
> > 
> > So, it looks like the drive is attached to /dev/sr0 properly.  Then, I
> > run "cdrecord -scanbus" to make sure:
> > 
> > -----------------------------------------------------
> > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> > Linux sg driver version: 3.1.17
> > Using libscg version 'schily-0.1'
> > scsibus0:
> >         0,0,0     0) 'SONY    ' 'CD-RW  CRX160E  ' '1.0e' Removable CD-ROM
> > -----------------------------------------------------
> > 
> > So, it REALLY looks like it's working.  However, here's what I get when
> > I try to mount an ordinary data CD:
> > 
> > -----------------------------------------------------
> > athens:~# mount -t iso9660 /dev/sr0 /cdrw
> > mount: block device /dev/sr0 is write-protected, mounting read-only
> > SCSI cdrom error : host 0 channel 0 id 0 lun 0 return code = 28000000
> > [valid=0] Info fld=0x0, Current sd0b:00: sense key Hardware Error
> > Additional sense indicates Logical unit communication CRC error (Ultra-DMA/32)
> >  I/O error: dev 0b:00, sector 64
> > isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=32
> > mount: wrong fs type, bad option, bad superblock on /dev/sr0,
> >        or too many mounted file systems
> > -----------------------------------------------------
> > 
> > I've tried this with both kernel 2.4.1 and 2.4.3 and have the exact same
> > error.  I've also tried multiple data CDs and have the same messages.
> > The CD-RW is a Sony CRX-160E, plugged in to an Asus A7V motherboard (the
> > PCI bus is described by "lspci" as "VIA Technologies, Inc. VT8363/8365
> > [KT133/KM133 AGP]").  I'm not sure what other information I can provide,
> > but I'll be happy to give anything else that might be needed to help fix
> > this problem.
> > 
> > Thanks a lot!
> > Tim
> > 
> > -- 
> > Timothy A. Meushaw
> > meushaw@pobox.com
> > http://www.pobox.com/~meushaw/
> 
> 
> 
> -- 
> Timothy A. Meushaw
> meushaw@pobox.com
> http://www.pobox.com/~meushaw/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Timothy A. Meushaw
meushaw@pobox.com
http://www.pobox.com/~meushaw/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive
  2001-04-13  1:32 Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive Douglas Gilbert
@ 2001-04-13  2:16 ` Tim Meushaw
  0 siblings, 0 replies; 6+ messages in thread
From: Tim Meushaw @ 2001-04-13  2:16 UTC (permalink / raw)
  To: Douglas Gilbert; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

On Thu, Apr 12, 2001 at 09:32:40PM -0400, Douglas Gilbert wrote:
> At the risk of Jens jumping on this post, I think
> there was some problem mounting cdroms that is
> fixed in the "ac" series, the latest of which is
> 2.4.3-ac5 . Perhaps you could try it and report
> back.

Okay, I'll give that a try, probably testing it on Saturday, and will
give the results of it.  I'd be also interested to see if it works with
those fixes or not.
 
> The fact that you can write a cd (which does not 
> involve the sr driver) means that the rest of the SCSI 
> subsystem and the ide-scsi driver seem to be working 
> ok. I doubt that this is a problem with the mount 
> command. 

That's good to hear at least.  :-)  It did seem like ide-scsi was
working fine, given every other operation I could think of other than
mount was working perfectly.

Thanks for the reply!  I'll make sure to say if 2.4.3-ac5 affects things
any.

Tim

-- 
Timothy A. Meushaw
meushaw@pobox.com
http://www.pobox.com/~meushaw/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive
@ 2001-04-13  1:32 Douglas Gilbert
  2001-04-13  2:16 ` Tim Meushaw
  0 siblings, 1 reply; 6+ messages in thread
From: Douglas Gilbert @ 2001-04-13  1:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: Tim Meushaw

Tim Meushaw <meushaw@pobox.com> wrote:
> I've got an update for this problem I emailled about 
> last night (and for which I only received one reply :-) ).
>
> Strangely enough, I'm able to actually burn a CD 
> using the cd-rw described below, and can verify 
> data written to it (using X-CD-Roast). I still can't 
> actually mount a cd in the drive without getting the 
> error described below, but at least I can burn CDs now.
> 
> Does this behavior sound like a kernel problem, or 
> does it suggest a bug in the 'mount' utility?

Tim,
At the risk of Jens jumping on this post, I think
there was some problem mounting cdroms that is
fixed in the "ac" series, the latest of which is
2.4.3-ac5 . Perhaps you could try it and report
back.

The fact that you can write a cd (which does not
involve the sr driver) means that the rest of the SCSI
subsystem and the ide-scsi driver seem to be working
ok. I doubt that this is a problem with the mount
command.

Doug Gilbert

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

end of thread, other threads:[~2001-05-18  0:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-12  2:53 Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive Tim Meushaw
2001-04-13  0:53 ` Tim Meushaw
2001-04-28 18:37 ` CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive) Tim Meushaw
2001-05-18  0:14   ` Workaround Found for " Tim Meushaw
2001-04-13  1:32 Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive Douglas Gilbert
2001-04-13  2:16 ` Tim Meushaw

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).