*BSD News Article 24621


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!uniwa!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!cs.utexas.edu!uunet!nwnexus!deanstoy!dean
From: dean@deanstoy.wa.com (Dean M. Phillips)
Subject: Re: Question regarding master/slave IDE configuration
Keywords: gateway IDE rebooting disks installation
References: <2dksleINNet2@duncan.cs.utk.edu>
Organization: None whatsoever!
Date: Fri, 3 Dec 1993 02:49:27 GMT
Message-ID: <CHFuIu.KL@deanstoy.wa.com>
Lines: 83

In article <2dksleINNet2@duncan.cs.utk.edu> meystrik@cs.utk.edu (Charles Meystrik) writes:
>Hey 386bsd folks,
>
>I am a new person to world of 386bsd and am very excited about getting my
>system going.  There are a great number of people who are waiting to see
>if I succeed and are equally excited about the potential of this system.
>I have run into a few problems and have run out of steam trying to solve
>them myself so I am turning to the experts.
>
>My system is a gateway 2000 486SX/25 (a bit shy of my Sparc10 but hey)
>with 4M of ram and 2 IDE disk drives ((Master == Western Digital Caviar
>2120) && (Slave == Segate st3550a)).

This should work fine

>The first problem I have is that the system does not recognize the slave
>disk at boot time.  When I am in DOS everything seems fine, I am able to
>fdisk both disks, which seems to tell me it is a problem with 386bsd and
>not the hardware configuration.  Any ideas on this?

386bsd does not support a second IDE drive out-of-the box.  The kernel does
not know it exists.  In order to fix this, you will have to put enough of
the binaries and source tree on your primary drive to reconfigure and
recompile the kernel.  I did this on mine, and it was a struggle the first
time through.  See the file ROADMAP in /sys for hints on how to do this.
The key configuration change is to make the hard disk definition part of
your configuration file look like this:

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


>Second, I have installed the OS/2 boot manager on a 1M partition in on the
>master disk and allocated 2 other partitions, one for dos (to keep the
>wife happy) and the other for 386bsd.  The configuration and setup of the
>OS/2 boot manager, albiet a bit cumbersom to install initially, does
>recognize both the other bootable partitions.  When I select to boot into
>DOS (at gun point) it works fine, however, when you select 386bsd the
>system just hangs.  So it seems that bsd want its bootable partition to be
>the active parition or it won't work, is this true?  Is there a solution
>to this problem?  I would really like to have this setup (for my sake,
>she's a brut).

This is not true.  I have heard of others having problems with using the
OS/2 boot manager.  I use os-bs with the DRDOS partition active and I have
no problems (well, I consider the existence of the DRDOS partition a
problem but I can't persuade my wife to give up wordperfect for emacs and
groff. :-#) )

>Thirdly, When I type in reboot/shutdown to reboot the system it just hangs
>and never comes back, have to reset the box.  Halt works fine.  Also,
>maybe related, if there is a corrupt file system at boot time and fsck has
>to do some work on it the system hangs.  These seem like they could have
>patches associated that I don't know about, but.  Maybe it is just a
>gatewayism.

The hang instead of reboot may be a symptom of a non-standard keyboard
controller.  The hang after fsck is realy a hang after reboot (the system
must reboot if fsck modifies the file system because internal tables are
messed up).

>Any help to these problems would be greatly appreciated.  I would prefer email since 
>y'all probably have already dealt with these trivial matters long ago.

You might think about installing FreeBSD instead.  FreeBSD is a direct
descendant of 386bsd, but HUNDREDS of bugs are fixed.  I switched over to
FreeBSD a while ago and it is working quite nicely.  You can obtain FreeBSD
by anonymous FTP from freebsd.cdrom.com and other places.

From the release notes:

The FreeBSD software is being mirrored at the following locations:

Country		Site/Directory
=======		=====================================================

Austria		ftp.tu-graz.ac.at:/pub/FreeBSD
Germany		ftp.informatik.tu-muenchen.de:pub/comp/os/bsd/FreeBSD
Germany		ftp.uni-duisburg.de:/pub/unix/FreeBSD
Hong Kong	ftp.cs.cuhk.hk:/pub/FreeBSD
-- 
Dean M. Phillips    Microsoft free and proud of it!    dean@deanstoy.wa.com