*BSD News Article 58951


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!dfw.nkn.net!rowdy.lonestar.org!nemesis!uhclem
From: uhclem@nemesis.lonestar.org (Frank Durda IV)
Subject: Re: Installation CD-ROM Problem
X-Newsreader: Tin 1.1 PL5
Organization: The Big Blue Box
Message-ID: <DKsHu4.BAJ@nemesis.lonestar.org>
References: <suk-0601961043080001@cola143.scsn.net>
Date: Sun, 7 Jan 1996 02:34:50 GMT
Lines: 65

Peter Kwangjun Suk (suk@pobox.com) wrote:
[0]The Installation program doesn't recognize my cdrom! (even after I boot
[0]from cdrom)
[0]
[0]I have a AM486dx100 with IDE bus.
[0]At Windows95 boot time, the messages displayed about the cdrom are:
[0]CD-ROM Device Driver Version 4.11
[0]Copyright (C) Creative Technology Ltd, and
[0]Copyright (C) Matsuchita-Kotobuki Electronics Industries, Ltd.
[0]1990, 1991, 1992, 1993.  All rights reserved.
[0]Drive Name = MSCD000
[0]Supporting the following units:
[0]        unit 0 id 1 MATSUSHITA CD-ROM CR-563-x 1.02

That CD-RO drive is NOT an IDE drive, it is a proprietary Matsushita/
Panasonic/Creative drive.  If you look on your sound card (or the card that
came with the drive, it should say "Creative/Panasonic" on the connector.

From your example above, it appears are using Creative DOS drivers (not
the best choice for Windows '95, but they will work), I am assuming you
have a board and drive that came from Creative Labs.  Probably the reason
the drive isn't working for you is that the hardware is not addressed at the
I/O port the driver is looking at.  In FreeBSD 2.0.5, the matcd driver would
check at several addresses, but one of the key FreeBSD people kept
complaining about how terrible this was, so in 2.1.0 the matcd driver only
looks at a single location.  (Based on the number of people having the
same problem as you, I regret agreeing to that change.)  Subsequently,
the chances of that one I/O address being the "right" address for you are
low.

The problem is easy to fix.  At the boot prompt, type "-c".  Then you will
get a prompt that says "Config>".  At that prompt, type "iomem matcdc -1".
This will tell the matcd driver to check all the known I/O addresses
that different sound cards use for the CR562/563 CD-ROM interface.
Now type "q" and the system will boot with the new settings in place.

During the boot process, the matcd driver will tell you what location the
CD-ROM hardware was actually at.   You should make a note of this for
future use.

Also, if you know the correct address for the CD-ROM interface, you
can just say "iomem matcdc 0xnnn" and specify the correct address.
Having the exact address means that the boot process will be faster, 
since the search takes time.   You might look at the CONFIG.SYS file
that ran the commands in your example.  You probably have a /P:250 or
something like that on the line.  That means the I/O port for the
CD-ROM is at 0x250 and you need to give that number to the matcd driver.

Once your system is installed on the hard disk, you can use the "-c" command
once again and the value you set this time will remain in place from now
on.  You won't have to set the value again unless you change the kernel,
and if you change the kernel, you can set the correct value in the kernel
configuration file.

This information was included in the HARDWARE.TXT file (Q & A section) in the
root directory of the 2.1.0-RELEASE CD.  Be sure to refer to that file
first (you can read it under MS-DOS or any other system) when you run into
problems.

Frank Durda IV <uhclem@nemesis.lonestar.org>|"The Knights who say "LETNi"
or uhclem%nemesis@rwsystr.nkn.net           | demand...  A SEGMENT REGISTER!!!"
	  ^------(this is the fastest route)|"A what?"
or ...letni!rwsys!nemesis!uhclem	    |"LETNi! LETNi! LETNi!"  - 1983