Re: Buggy HLT instruction in Cyrix M2 or error in ATAPI CDROM code ?

Frantisek Dufka (dufkaf@merit.cz)
Tue, 19 Oct 1999 12:05:33 +0200


>
> I probably can borrow different CDROM drive if that helps.
> I will report the result later.
>

I tried SAMSUNG SC-148B (48x) yesterday and it DOES work.

My old GCD-R540C does only pio 3, while the samsung does pio 4 and dma mword2
(see below), maybe this could be the problem ?

Can I tune something in drivers/block/ide-* to make it work ?

Well except that pio 3 thing the GCD-R540C is an excellent drive, it reads DA
frames, has FFWD/REV, PLAY buttons, honours SETSPEED ioctl and is absolutely
quiet. Tha Samsung sounds like helicopter and can't be even slowed down via
ioctl :-( It does't do 48x either (maybe internally), hdparm -t says 3MB/s.
Anybody knows a good drive ?

thanks,
Frantisek Dufka

hdparm output for both drives :

/dev/hda:

Model=SAMSUNG SC-148B, FwRev=BS10, SerialNo=
Config={ SpinMotCtl Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=0(?), BuffSize=0kB, MaxMultSect=0
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdb:

Model=GCD-R540C, FwRev=1.01, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=0(?), BuffSize=256kB, MaxMultSect=0
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
tDMA={min:0,rec:0}, DMA modes: sword0 sword1 sword2 mword0
IORDY=on/off, tPIO={min:180,w/IORDY:180}, PIO modes: mode3

output of the setspeed ioctl on Samsung:

Oct 19 11:15:29 arthur kernel: ATAPI device hda:
Oct 19 11:15:29 arthur kernel: Error: Illegal request -- (Sense key=0x05)
Oct 19 11:15:29 arthur kernel: Invalid command operation code -- (asc=0x20, ascq=0x00)
Oct 19 11:15:29 arthur kernel: The failed "Set CD Speed" packet command was:
Oct 19 11:15:29 arthur kernel: "bb 00 ff ff 00 00 00 00 00 00 00 00 "

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/