*BSD News Article 99405


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!uunet!in2.uu.net!204.178.176.27!hunter.premier.net!europa.clark.net!howland.erols.net!newsfeed.internetmci.com!news.campus.mci.net!n-f-m
From: Anthony Jenkins <ajenkins@auburn.campus.mci.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Floppy Utility for ATAPI CD-ROM Setup
Date: Thu, 10 Jul 1997 17:22:37 -0500
Organization: CampusMCI
Lines: 60
Message-ID: <33C560AD.36CC19D5@auburn.campus.mci.net>
References: <33BD5CCF.25FDE0BF@dca.net>
NNTP-Posting-Host: s13-pm01.auburn.campus.mci.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0b5C (X11; I; FreeBSD 2.2.1-RELEASE i386)
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44268

Will Kelly wrote:
> 
> I'm doing my first every FreeBSD install on my 2nd PC.  The systems is
> a
> Pentium 75 with a Creative Labs IDE CD-ROM plugged into the second IDE
> channel on the mother board.  I tried making a boot floppy to install
> the software from the CD, but of course the CD is not found.  The
> manual
> I have for the FreeBSD said to use the 'Atapiflp.bat', but I cannot
> find
> it on my disks.  Anyone know where I can get this file?
> 
> Thanks in advance for your assistance...
> 
> Will

I have a similar setup; my C.L IDE CD-ROM is on the second channel of
the primary IDE interface, the first channel being my harddrive (I hope
I'm using the right terminology;  I have a primary and secondary IDE
controller onboard, each being able to control two IDE devices). 
Anyway, here's output from dmesg(1):

  wdc0 at 0x1f0-0x1f7 irq 14 on isa
  wdc0: unit 0 (wd0): <Seagate Technology 1275MB - ST31276A>
  wd0: 1221MB (2501856 sectors), 2482 cyls, 16 heads, 63 S/T, 512 B/S
  wdc0: unit 1 (atapi): <N C                 C -ROM
DRIVE:272/4\^H1\^P>,   removable, iordy
  wcd0: 689Kb/sec, 256Kb cache, audio play, 256 volume levels,
ejectable   tray
  wcd0: medium type unknown, unlocked

My /usr/src/sys/i386/conf/MYKERNEL1 file has the following:

#controller     wdc0    at isa? port "IO_WD1" bio irq 14 flags     
0x000080ff vector wdintr
controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
#disk           wd1     at wdc0 drive 1

#controller     wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk           wd2     at wdc1 drive 0
#disk           wd3     at wdc1 drive 1

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          wcd0            #IDE CD-ROM

The first controller wdc line is commented out because for some reason
it quit working when I migrated from FBSD 2.1.6 to 2.2.1.  the
ATAPI_STATIC option was what finally got my CD working for me...
couldn't get FBSD to find it otherwise.  I don't think I have anything
else noteworthy in the way of setup... lemme know if this helps or if
you have any questions.  After recompiling your kernel & rebooting, type
"/dev/MAKEDEV /dev/wcd" I think, and try "mount_cd9660 /dev/wcd0c
/cdrom", substituting for "/cdrom" whatever directory you want to use as
the mount point for your CD-ROM, making sure you have a CD in there (my
FBSD live filesystem CD lives in mine).

Hope this helps,
Anthony Jenkins