*BSD News Article 58489


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.mid.net!sbctri.tri.sbc.com!newspump.wustl.edu!gumby!newsxfer.itd.umich.edu!chi-news.cic.net!uwm.edu!homer.alpha.net!usenet
From: molson@milwaukee.rbvdnr.com (Matto)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: wc 2.1 install IDE CDROM install problems
Date: 29 Dec 1995 14:39:38 GMT
Organization: Your Organization
Lines: 45
Message-ID: <4c0uja$3hj@homer.alpha.net>
References: <4bv694$mlj@spool.cs.wisc.edu>
NNTP-Posting-Host: 156.46.64.73
X-Newsreader: WinVN 0.92.6+

>This is an atapi controller. Both DOS/fdisk and the boot/rebuild code
>see both drives just fine. I have the most success with placing all 850 meg
>of the last ide drive as the freeBSD partitions and the entire build proceeds
>to completion. The osbsbeta booter let me point to that drive and partion
>just fine also. BUT when is tries to run, the kernel loaded from that partition
>by the booter fails to find wdc1 at 0x170 and the world ends.
>
>When I went the safe route and try to build the entire freeBSD install into
>that 800 meg on the back end of my "first drive", the system locks up as it 
>starto load up the file systems from the cdrom. Going from wdc1 cdrom to
>wdc0 w0.
>
>????????
>
>Any help would be nice. Not a unix novice here. Used to do kernel code and scsi
>drivers and now do more networking....... Unix jobs since 81.
>I like what I see. The 850 segate had 2.05 from WC that I loaded from floppies
>and DOS. It was fine. Now I have 1024x764 pixels and the X will be reasonable
>plus of course the CDROM..... and more speed.... :-)
>
>Bill Taylor, Experts On Demand, eod@waun.tdsnet.com


I finally got mine to work last night!  The problem I was having was that
the boot floppy(and the generic kernel) set the I/O address for the 
IDE CDROM to something like 0x330.  Thanks to Windows 95(the only thing
about it I've been thankful for), I could print out my entire hardware
configuration and found that my CDROM was at I/O 0x630.  I changed this 
using config on booting the ATAPI floppy and the install went great.  
Then I used config on the generic kernel and it found it just the same.
The only thing left to do was mount it.

In CONFIG(to set address):
config>port matcdc0 0x630  //or whatever your I/O address for IDE CDROM
config>quit

In FreeBSD(to mount it):
#/sbin/mount_cd9660 /dev/matcd0a /cdrom

You'll have to do this mount manually every time you boot unless you
remove the "noauto" part of the /cdrom line in /etc/fstab.  If you do,
make sure there is a disk in the drive every time you boot.

Good Luck,
Matto