broken 2.2 IDE CD-RW (was Re: plain 2.2.X: no ide CD-RW?)

broken 2.2 IDE CD-RW (was Re: plain 2.2.X: no ide CD-RW?)

Post by Anil B. Somaya » Tue, 26 Jun 2001 09:40:11



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

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

- --

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-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. plain 2.2.X: no ide CD-RW?

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

- --

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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. What are the best Mysql building configuration option ?

3. ide-scsi cd-rw woes (creative cd-rw blaster)

4. termtelnet

5. replacing IDE CD-ROM with IDE CD-RW - kernel panic!

6. promise ultra 133 tx2 lets system standby during use...?

7. IDE CD-RW drive and SCSI host emulation Content-Type: text/plain; charset=us-ascii

8. Major Unix flaw emerges

9. SCSI CD-RW: yamaha 4416s: HowTo REWrite CD-RW's?

10. Caldera 2.2 and Memorex Cd-RW

11. CD-RW Drive under YDL 2.2 on iBook (latest)

12. CD-RW support specifically with NEC NR 7700A CD-RW drive

13. Cannot boot up Debian 2.2 with SCSI Yamaha CD-RW