Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Patch: Toshiba SCSI CD-ROMs on Linux/Alpha
@ 1996-08-12 11:55 Wim van Dorst
  0 siblings, 0 replies; 2+ messages in thread
From: Wim van Dorst @ 1996-08-12 11:55 UTC (permalink / raw)


Hello *,

Recently I acquired a PhotoCD with more than one session
on it.  Up till then I had ignored the photocd error
message that I always had while mounting any CD-ROM, since 
mounting did go fine, the message nonwithstanding.

FYI: HW/SW: Toshiba XM3701B SCSI CD-ROM on a NoName
     Alpha with Linux/Alpha from Red Hat 3.0.3. Linux 
     versions 1.3.* up to 2.0.12.

After browsing the code, and asking on the Redhat-AXP
mailing list (thanks David M-T), I thought I'd give it
a try, with (unexpected) success.

The following, appended patch does:
- better emulation of memory segmentation: get_fs/set_fs stuff
  (I hope I got _all_ initializations right)
- adaptation of SCSI CD-ROM driver (sr): long != 4 bytes on Alpha
- adaptation of scsi-ioctl to be more consistent (high level
  functions to give "unsigned char" when low level function
  expects so, en visa versa).

On my system this patch, applied to 2.0.12, results in 
- no error messages any more about Toshiba ioctls
- properly mounting of _multisession_ CD-ROMs, too

Would all owners of the appropriate hardware (i.e. Toshiba
SCSI CD-ROMs on Alphas) please test this, and comment on
it? Would it be allright for me to ask Linus to include
this in the kernel source tree?

Met vriendelijke groeten, Wim van Dorst
--------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 33 4676365, (+31) 35 5242319
(-:      baron@clifton.hobby.nl       WvD@Chem.AkzoNobel.nl      :-)
--------------------------------------------------------------------

begin 664 axptosh-diff.gz
M'XL("%`6#S(``V%X<'1O<V@M9&EF9@#%6>%RVD@2_@U/T;>IVY,`@21D;&"=
MQ`&<]26V4X:MVBK'I9*E`506$BL)V[F<W_VZ9R0A`0+GMO9.E4)63_<W/=T]
M/3T=QYU.05F!$H+G^JOGEA7:\Y;E+>=6ZX&%/O-:RS"P610U;<'1?'IT]G%5
M%44YC%6Y#'PX6\U`TT%3>ZK6,]J@=;N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A
M'?;]CNFW%Y^/K*)$V;.M+H_'+3*&S`X5M&VWEU@@R2M_/F$2S,%L25/MRI@&
MO[\=&=WD_I;E/#I9Q1$=N?]BTBXUY#X%2;3$R^,2)(OW4F)WP?#B^U_>"/[\
MC4ZU=]VH5/M_=:,[/'_N1G<S.AN:D^M!>HD[N4LQ$D)7$`QU1VO`]6UOY;"6
M%2T4T0=-&LQ!V)SG;O1[^7(M@[U\E?/0A2%6F[H.ZG%/UWLJ;Q\<;;0/]H-L
MM1*.C'4KH=VE[BS^I@<WMU7!T\"[IOTM<L@BK4&_O#(JCB7=5.K,O5#[$]XX
M;.KB/8-W3'&7?('O(-JDBP6FE^<I/;::/0W($;6,^%54J=2DQRM0HG0!>S(>
M`V)_17617_S;^%#R'_7U1];XY1(O>;7QQA389KX%+%'L\DIX&C+&&\+2Q_,O
M:6_Z-9&3&.E`W&1<>Z,FXZJ,K1BN@D?0CZCE=&0D+:?#,;.&V(B8;D_--_0U
MK:%A]N)OO>"`S("@KHF_C4<W1-+0GDK6)/9HJ!@SW):11`E-KBK?T4TABU>A
MSZO\EVH]!4SXY(IDK\(0-2[\KXJ\9HP$XW,)YRF.R.3D0THYJ5+\%I4HI7*E
ME,TE\72<3%Q$>K0\OJPDL'C&IYQEGHTO\?CX>#FZFIB_TO[[#W^Z^)]E&P``
`
end
--------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 33 4676365, (+31) 35 5242319
(-:      baron@clifton.hobby.nl       WvD@Chem.AkzoNobel.nl      :-)
--------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-08-12 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m0upvb0-0003BoC@clifton.hobby.nl>
1996-08-12 19:16 ` Patch: Toshiba SCSI CD-ROMs on Linux/Alpha Michal Jaegermann
1996-08-12 11:55 Wim van Dorst

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