Re: Installation SONY CD-ROM

1997-11-20 Thread Bruce Perens

CDU31A/CDU33A Driver Info
-

Information on the Sony CDU31A/CDU33A CDROM driver for the Linux
kernel.

   Corey Minyard ([EMAIL PROTECTED])
  
   Colossians 3:17

Crude Table of Contents
---

  Setting Up the Hardware
  Configuring the Kernel
  Configuring as a Module
  Driver Special Features

  
This device driver handles Sony CDU31A/CDU33A CDROM drives and
provides a complete block-level interface as well as an ioctl()
interface as specified in include/linux/cdrom.h).  With this
interface, CDROMs can be accessed, standard audio CDs can be played
back normally, and CD audio information can be read off the drive.

Note that this will only work for CDU31A/CDU33A drives.  Some vendors
market their drives as CDU31A compatible.  They lie.  Their drives are
really CDU31A hardware interface compatible (they can plug into the
same card).  They are not software compatible.

Setting Up the Hardware
---

The CDU31A driver in unable to safely tell if an interface card is
present that it can use because the interface card does not announce
its presence in any way besides placing 4 I/O locations in memory.  It
used to just probe memory and attempt commands, but Linus wisely asked
me to remove that because it could really screw up other hardware in
the system.

Because of this, you must tell the kernel where the drive interface
is, what interrupts are used, and possibly if you are on a PAS-16
soundcard.

If you have the Sony CDU31A/CDU33A drive interface card, the following
diagram will help you set it up.  If You have another card, you are on
your own.  You need to make sure that the I/O address and interrupt is
not used by another card in the system.  You will need to know the I/O
address and interrupt you have set.  Note that use of interrupts is
highly recommended, if possible, it really cuts down on CPU used.
Unfortunately, most soundcards do not support interrupts for their
CDROM interfaces.  By default, the Sony interface card comes with
interrupts disabled.
   
+--+-+--+
|  JP1 |  34 Pin Conn|  |
|  JP2 +-+  |
|  JP3  |
|  JP4  |
|   +--+
|   |  +-+
|   |  | |  External
|   |  | |  Connector
|   |  | |
|   |  +-+
|   +--+
|   |
|  ++
|  |
+--+
   
  JP1 sets the Base Address, using the following settings:
   
Address Pin 1   Pin 2
--- -   -
0x320   Short   Short
0x330   Short   Open
0x340   OpenShort
0x360   OpenOpen
   
  JP2 and JP3 configure the DMA channel; they must be set the same.
   
DMA Pin 1   Pin 2   Pin 3
--- -   -   -
1   On  Off On
2   Off On  Off
3   Off Off On
   
  JP4 Configures the IRQ:
   
IRQ Pin 1   Pin 2   Pin 3   Pin 4
--- -   -   -   -
3   Off Off On  Off
4   Off Off*Off On
5   On  Off Off Off
6   Off On  Off Off
   
  The documentation states to set this for interrupt
  4, but I think that is a mistake.

Note that if you have another interface card, you will need to look at
the documentation to find the I/O base address.  This is specified to
the SLCD.SYS driver for DOS with the /B: parameter, so you can look at
you DOS driver setup to find the address, if necessary.

Configuring the Kernel
--

You must tell the kernel where the drive is at boot time.  This can be
done at the Linux boot prompt, by using LILO, or by using Bootlin.
Note that this is no substitute for HOWTOs and LILO documentation, if
you are confused please read those for info on bootline 

Re: Installation SONY CD-ROM

1997-11-20 Thread Claude Sisson
darren morin [EMAIL PROTECTED] wrote:
:I have the Debian Linux edition CDRom from the boot! magazine (Nov.
'97)
:and I constructed my disks using the DOS rawrite-2 tool, and everything
is
:fine there.  However, since I'm a newbie, my question is regarding in
the
:CD Rom installation.  I have a SONY CDU31-A, and the prompt comes up
during
:installation asking me for a command line argument.  What?!?!  What
is
:it? (I have the port addresses in my Sound Blaster 16 manual, if that's
:what its talking about).

I too am having the same frustrations that Darren is with the disk from
Boot magazine. I have been trying to ignore the device drivers part of
the installation, but when I log onto the system, the system cannot find
my CD-ROM to do dselect (I'm not sure, but I don't think it is finding
my floppy drive, either).

Questions:
(1) Is there on-line documentation explaining in greater detail what
needs to be done during the install device drivers exercise (it is not
intuitive, at least to me)? The documentation that I have found on the
disk and on-line so far just slides over this part of the installation.
(2) If the answer to (1) is No, then:
(a) Do I need to load a device driver during installation and issue
commands to it so that my floppy drive will be recognized (a standard
3.5, 1.44 MB drive configured as drive a:)?
(b) What should I do during the installation to get the system to
recognize the CD-ROM attached to my Soundblaster 16 PnP (Win95 tells me
it's a Matshita CR-581-M attached to a standard IDE/ESDI controller; the
IRQ is 10; I have no idea what the port number is; all the jumpers have
been removed).
(c) Will I need to perform a mount command after I log onto the
system as root?
(3) At the moment, I am not sweating about my printer, mouse, or modem.
I am presuming that once I get onto the CD, that I should be able to fix
those things. Is this a good presumption?

Right now, I have a skeletal system that I can play with to learn Unix
commands (a valuable exercise in itself), but I would really like to get
at all the riches waiting for me on the CD-ROM.

Many thanks for your help!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


DEBIAN QUESTION RE: INSTALLATION SONY CD-ROM

1997-11-19 Thread darren morin
As it is getting very late for me here, I have a question,  Since I'm a
newbie, (no stones, please) I have followed the instructions using the DOS
rawrite-2 tool, constructed all seven floppy images needed.  My question
involves installing the SONY CDU31A.

I have the Debian Linux edition CDRom from the boot! magazine (Nov. '97)
and I constructed my disks using the DOS rawrite-2 tool, and everything is
fine there.  However, since I'm a newbie, my question is regarding in the
CD Rom installation.  I have a SONY CDU31-A, and the prompt comes up during
installation asking me for a command line argument.  What?!?!  What is
it? (I have the port addresses in my Sound Blaster 16 manual, if that's
what its talking about). What do I do with it?  I type in the numbers for
IRQ and whatever, and it starts looking for itand never stops, forcing
me to CTRLALTDEL and having to start all over again.  PLEASE HELP!!!
I've tried everything I know, just as long as I don't get another RTFM
again (I printed out the Debian Linux Installation and getting started
manual by Boris Beletsky, by the way). Im following along, but I've tried 8
times just to get this thing going and as far as I have gotten is up to
install CDRom inteface from the menu.

P.S.  Just in case something else goes wrong, I'm letting you know I bought
Partition Magic so I could split my WIN 95 and Linux up (if I ever get it
going...).
Sincerely, [EMAIL PROTECTED] :-(
   

  


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: DEBIAN QUESTION RE: INSTALLATION SONY CD-ROM

1997-11-19 Thread Lindsay Allen

Darren,

I saved this message some time back. I don't have one of these myself, but
the argument you need seems to be

0x340 cdu31a_irq=5


From [EMAIL PROTECTED] Wed Nov 19 13:50:03 1997
Date: Fri, 15 Nov 1996 03:32:59 +0100 (MET)
From: Paul Seelig [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], debian-user@lists.debian.org
Subject: Re: cdu31a
Resent-Date: Fri, 15 Nov 1996 10:35:19 +0800
Resent-From: debian-user@lists.debian.org

On 14 Nov 1996 [EMAIL PROTECTED] wrote:
 
 A friend is trying to convert to Debian from Slakware.  He's using
 buzz-fixed off an Info Magic cdrom, and can't get the installation
 boot disk to recognize his cdu31a.
 
 At the lilo prompt, he's type
   linux cdu31a=0x230,0
 
 This lilo parameter worked fine under slakware.
 
 Any suggestions?

This gave me the hardest time of installation too and i lost two days
being without a reasonably working system trying to find this out and
reinstalling numerous times until Bruce gave me the right advice:

Try:

modprobe cdu31a cdu31a_port=0x340 cdu31a_irq=5

If you use modconf (the module configuration menu) use the arguments

cdu31a_port=0x340 cdu31a_irq=5

Adapt as needed.

It's all stated in the kernel documentation included with the sources 
which are not present upon the stage of the base system installation. And
the information *present* during installation time is somewhat misleading
because the old scheme of passing parameters to LILO doesn't work with the
new 2.0.xx kernels. This should be revised in the setup configuration. Or
is it already for Debian-1.2 release?
 P. *8^)
-- 
   Paul Seelig [EMAIL PROTECTED]
   African Music Archive - Institute for Ethnology and Africa Studies
   Johannes Gutenberg-University   -  Forum 6  -  55099 Mainz/Germany
   Our AMA Homepage  in  the WWW at  http://www.uni-mainz.de/~bender/

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Keep in touch via email if needed.
Lindsay
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   [EMAIL PROTECTED]  Perth, Western Australia
voice +61 8 9316 248632.0125S 115.8445Evk6lj
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Wed, 19 Nov 1997, darren morin wrote:

 As it is getting very late for me here, I have a question,  Since I'm a
 newbie, (no stones, please) I have followed the instructions using the DOS
 rawrite-2 tool, constructed all seven floppy images needed.  My question
 involves installing the SONY CDU31A.
 
 I have the Debian Linux edition CDRom from the boot! magazine (Nov. '97)
 and I constructed my disks using the DOS rawrite-2 tool, and everything is
 fine there.  However, since I'm a newbie, my question is regarding in the
 CD Rom installation.  I have a SONY CDU31-A, and the prompt comes up during
 installation asking me for a command line argument.  What?!?!  What is
 it? (I have the port addresses in my Sound Blaster 16 manual, if that's
 what its talking about). What do I do with it?  I type in the numbers for
 IRQ and whatever, and it starts looking for itand never stops, forcing
 me to CTRLALTDEL and having to start all over again.  PLEASE HELP!!!
 I've tried everything I know, just as long as I don't get another RTFM
 again (I printed out the Debian Linux Installation and getting started
 manual by Boris Beletsky, by the way). Im following along, but I've tried 8
 times just to get this thing going and as far as I have gotten is up to
 install CDRom inteface from the menu.
 
 P.S.  Just in case something else goes wrong, I'm letting you know I bought
 Partition Magic so I could split my WIN 95 and Linux up (if I ever get it
 going...).
 Sincerely, [EMAIL PROTECTED] :-(

 
   
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Installation SONY CD-ROM

1997-11-19 Thread darren morin
As it is getting very late for me here, I have a question,  Since I'm a
newbie, (no stones, please) I have followed the instructions using the DOS
rawrite-2 tool, constructed all seven floppy images needed.  My question
involves installing the SONY CDU31A.

I have the Debian Linux edition CDRom from the boot! magazine (Nov. '97)
and I constructed my disks using the DOS rawrite-2 tool, and everything is
fine there.  However, since I'm a newbie, my question is regarding in the
CD Rom installation.  I have a SONY CDU31-A, and the prompt comes up during
installation asking me for a command line argument.  What?!?!  What is
it? (I have the port addresses in my Sound Blaster 16 manual, if that's
what its talking about). What do I do with it?  I type in the numbers for
IRQ and whatever, and it starts looking for itand never stops, forcing
me to CTRLALTDEL and having to start all over again.  PLEASE HELP!!!
I've tried everything I know, just as long as I don't get another RTFM
again (I printed out the Debian Linux Installation and getting started
manual by Boris Beletsky, by the way). Im following along, but I've tried 8
times just to get this thing going and as far as I have gotten is up to
install CDRom inteface from the menu.

P.S.  Just in case something else goes wrong, I'm letting you know I bought
Partition Magic so I could split my WIN 95 and Linux up (if I ever get it
going...).
Sincerely, [EMAIL PROTECTED] :-(
   

  


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .