public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* plain 2.2.X: no ide CD-RW?
@ 2001-06-23  7:42 Anil B. Somayaji
  2001-06-23 16:00 ` Carlos E Gorges
       [not found] ` <20010623183506.A23320@win.tue.nl>
  0 siblings, 2 replies; 3+ messages in thread
From: Anil B. Somayaji @ 2001-06-23  7:42 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For a while now, I've been running a 2.4 kernel, but (for my research)
I need to now run a 2.2 kernel.  I was hoping to just run a stock
2.2.19, but I've found that I can't use my CD-RW drive, either as a
plain IDE cdrom, or as a scsi-emulated one.  (I have ide-scsi, ide-cd,
and scsi all as modules.)

When I try things as scsi-emulated CD-ROM, I get the following:

  Jun 22 19:58:15 lydia kernel: ide-scsi: The scsi wants to send us
     more data than expected - discarding data
  Jun 22 19:58:16 lydia last message repeated 83 times

Instead, if I try ide-cd, I get these messages:

  Jun 22 20:11:38 lydia kernel: hdc: status error: status=0x58 {
     DriveReady SeekComplete DataRequest }
  Jun 22 20:11:38 lydia kernel: hdc: drive not ready for command
  Jun 22 20:11:38 lydia kernel: hdc: status timeout: status=0xd0 { Busy }
  Jun 22 20:11:38 lydia kernel: hdc: DMA disabled
  Jun 22 20:11:38 lydia kernel: hdc: drive not ready for command
  Jun 22 20:11:38 lydia kernel: hdc: ATAPI reset complete
  Jun 22 20:11:48 lydia kernel: hdc: irq timeout: status=0x80 { Busy }
  Jun 22 20:11:48 lydia kernel: hdc: ATAPI reset complete
  Jun 22 20:11:59 lydia kernel: hdc: irq timeout: status=0x80 { Busy }
  Jun 22 20:11:59 lydia kernel: end_request: I/O error, dev 16:00
     (hdc), sector 64
  Jun 22 20:11:59 lydia kernel: hdc: status timeout: status=0x80 { Busy }
  Jun 22 20:11:59 lydia kernel: hdc: drive not ready for command

I have these problems with 2.2.1[7-9] & 2.2.20pre5.  However, if I add
one of the IDE patches, all is well.  2.4 kernels have never given me
these sorts of problems.

I have a 440LX motherboard (HP Pavilion 8260), hooked up to a Plextor
PX-W8432T 4/8/32 CD-RW, attached as /dev/hdc.  I also have an OnStream
DI-30 as /dev/hdd, and a Maxtor 91020D6 10G drive as /dev/hda.

I can live with just running an ide-patched kernel, but it seems very
odd that I can't even use the drive as an IDE CD-ROM drive with a
stock 2.2 kernel.  Is this a bug, or a limitation?  I'd be happy to
perform any tests to try and track this problem down.

Thanks!

  --Anil

- -- 
Anil Somayaji (soma@cs.unm.edu)
http://www.cs.unm.edu/~soma
+1 505 872 3150
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iEYEARECAAYFAjs0SFkACgkQXOpXEmNZ3SeAtgCeL8j+ZvfANCB0acV6kL6AQFtB
GdUAnidlfYrkv1o+hSlO4kNoWUNXw43v
=RqEF
-----END PGP SIGNATURE-----

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

* Re: plain 2.2.X: no ide CD-RW?
  2001-06-23  7:42 plain 2.2.X: no ide CD-RW? Anil B. Somayaji
@ 2001-06-23 16:00 ` Carlos E Gorges
       [not found] ` <20010623183506.A23320@win.tue.nl>
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos E Gorges @ 2001-06-23 16:00 UTC (permalink / raw)
  To: Anil B. Somayaji, linux-kernel

HI all,


> For a while now, I've been running a 2.4 kernel, but (for my research)
> I need to now run a 2.2 kernel.  I was hoping to just run a stock
> 2.2.19, but I've found that I can't use my CD-RW drive, either as a
> plain IDE cdrom, or as a scsi-emulated one.  (I have ide-scsi, ide-cd,
> and scsi all as modules.)
>
> When I try things as scsi-emulated CD-ROM, I get the following:
>
>   Jun 22 19:58:15 lydia kernel: ide-scsi: The scsi wants to send us
>      more data than expected - discarding data
>   Jun 22 19:58:16 lydia last message repeated 83 times

> Instead, if I try ide-cd, I get these messages:
>
>   Jun 22 20:11:38 lydia kernel: hdc: status error: status=0x58 {
>      DriveReady SeekComplete DataRequest }
>   Jun 22 20:11:38 lydia kernel: hdc: drive not ready for command
>   Jun 22 20:11:38 lydia kernel: hdc: status timeout: status=0xd0 { Busy }
>   Jun 22 20:11:38 lydia kernel: hdc: DMA disabled
>   Jun 22 20:11:38 lydia kernel: hdc: drive not ready for command
>   Jun 22 20:11:38 lydia kernel: hdc: ATAPI reset complete
>   Jun 22 20:11:48 lydia kernel: hdc: irq timeout: status=0x80 { Busy }
>   Jun 22 20:11:48 lydia kernel: hdc: ATAPI reset complete
>   Jun 22 20:11:59 lydia kernel: hdc: irq timeout: status=0x80 { Busy }
>   Jun 22 20:11:59 lydia kernel: end_request: I/O error, dev 16:00
>      (hdc), sector 64
>   Jun 22 20:11:59 lydia kernel: hdc: status timeout: status=0x80 { Busy }
>   Jun 22 20:11:59 lydia kernel: hdc: drive not ready for command
>
> I have these problems with 2.2.1[7-9] & 2.2.20pre5.  However, if I add
> one of the IDE patches, all is well.  2.4 kernels have never given me
> these sorts of problems.
>
> I have a 440LX motherboard (HP Pavilion 8260), hooked up to a Plextor
> PX-W8432T 4/8/32 CD-RW, attached as /dev/hdc.  I also have an OnStream
> DI-30 as /dev/hdd, and a Maxtor 91020D6 10G drive as /dev/hda.
>
> I can live with just running an ide-patched kernel, but it seems very
> odd that I can't even use the drive as an IDE CD-ROM drive with a
> stock 2.2 kernel.  Is this a bug, or a limitation?  I'd be happy to
> perform any tests to try and track this problem down.

Same here Anil,
w/ k2.4.4/2.4.5 in a dual p3 550 ( Intel 440BX ), CREATIVE CD-RW RW8432E (IDE).

< insmod ide-scsi / sr_mod >
ide-scsi: (IO,CoD) != (0,1) while issuing a packet command
hdb: DMA disabled
hdb: ATAPI reset complete
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 256 of 352 bytes
  Vendor: CREATIVE  Model: CD-RW RW8432E     Rev: 1.05
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 64 of 82 bytes
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 132 of 158 bytes
sr0: scsi3-mmc drive: 264x/359x writer cd/rw xa/form2 cdda cartridge changer
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 64 of 82 bytes

<mount /mnt/cdrom>
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
MSDOS: Hardware sector size is 2048
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 0b:00.
MSDOS: Hardware sector size is 2048
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 0b:00.


cya;

>   --Anil
>
> - --
> Anil Somayaji (soma@cs.unm.edu)
> http://www.cs.unm.edu/~soma
> +1 505 872 3150
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iEYEARECAAYFAjs0SFkACgkQXOpXEmNZ3SeAtgCeL8j+ZvfANCB0acV6kL6AQFtB
> GdUAnidlfYrkv1o+hSlO4kNoWUNXw43v
> =RqEF
> -----END PGP SIGNATURE-----
> -
> 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/

-- 
	 _________________________
	 Carlos E Gorges          
	 (carlos@techlinux.com.br)
	 Tech informática LTDA
	 Brazil                   
	 _________________________


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

* broken 2.2 IDE CD-RW (was Re: plain 2.2.X: no ide CD-RW?)
       [not found] ` <20010623183506.A23320@win.tue.nl>
@ 2001-06-25  0:36   ` Anil B. Somayaji
  0 siblings, 0 replies; 3+ messages in thread
From: Anil B. Somayaji @ 2001-06-25  0:36 UTC (permalink / raw)
  To: Guest section DW; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guest section DW <dwguest@win.tue.nl> writes:

> On Sat, Jun 23, 2001 at 01:42:38AM -0600, Anil B. Somayaji wrote:
> 
> > For a while now, I've been running a 2.4 kernel, but (for my research)
> > I need to now run a 2.2 kernel.  I was hoping to just run a stock
> > 2.2.19, but I've found that I can't use my CD-RW drive, either as a
> > plain IDE cdrom, or as a scsi-emulated one.  (I have ide-scsi, ide-cd,
> > and scsi all as modules.)
> > 
> > I have these problems with 2.2.1[7-9] & 2.2.20pre5.  However, if I add
> > one of the IDE patches, all is well.  2.4 kernels have never given me
> > these sorts of problems.
> 
> Probably easy to sort out if you tell us which ide patch (with URL)
> you apply to make it work.

Sorry, I was referring to the backport of the 2.4 IDE code to 2.2.
I'm currently using ide.2.2.19.05042001 successfully, which I got from:

  ftp://ftp.us.kernel.org:/pub/linux/kernel/people/hedrick/ide-2.2.19

I've used several similar patches, though.  Stock 2.4 kernels work
fine with my CD-RW as well; however, I've now discovered that plain
2.2 kernels do not.  This could easily be a long-standing problem,
probably at least a year old - I've only recently stumbled across it,
though.

Since I have a solution (use the 2.4 IDE backport), this isn't
critical; however, since many people still rely on 2.2, and I'd like
to use a stock 2.2 kernel if possible, I'm willing to spend some time
debugging this.

Thanks!

  --Anil

(A bit of background: Before I got my CD-RW drive last summer, I
bought an OnStream DI-30 drive.  This drive was then only supported on
2.2 with the 2.4 IDE backport, and so I've used this drive
successfully with 2.2.16 + 2.4 IDE patch, and a similar combination
since.  Since stock 2.2.19+ now support this drive through the osst
patch, I thought I'd try it out.  It does work, but at the cost of
losing my CD-RW.)

- -- 
Anil Somayaji (somayaji@sprintmail.com)
http://www.cs.unm.edu/~soma
+1 505 872 3150
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iEYEARECAAYFAjs2h2AACgkQXOpXEmNZ3SfOlwCfb+it3YQrmO2e9q14AZMhcdZo
M+0An3Mi8aoEkvjD5vhC3Hc6yaICrMDE
=cV6C
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2001-06-25  0:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-23  7:42 plain 2.2.X: no ide CD-RW? Anil B. Somayaji
2001-06-23 16:00 ` Carlos E Gorges
     [not found] ` <20010623183506.A23320@win.tue.nl>
2001-06-25  0:36   ` broken 2.2 IDE CD-RW (was Re: plain 2.2.X: no ide CD-RW?) Anil B. Somayaji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox