*BSD News Article 80146


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.sgi.com!news1.best.com!nntp1.best.com!usenet
From: Burton Sampley <bsampley@best.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FBSD install 'hangs' my system
Date: Mon, 07 Oct 1996 21:26:20 -0700
Organization: Best Internet Communications
Lines: 101
Message-ID: <3259D7EC.5384@best.com>
References: <3258615F.74FA@best.com>
Reply-To: bsampley@best.com
NNTP-Posting-Host: bsampley.vip.best.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)

J Wunsch wrote:
> Try booting with `-c' (directly at the ``Boot:'' prompt), type
> `visual' at the next prompt, and disable all the drivers where you
> don't have actual hardware for.


OK.

I tried that.  I disabled everything I don't have.  Same problem.  When
the visual config came up I was greeted with this line:

Active Drivers   21 conflicts

> Does it respond to Alt-F2, and display some debug messages over there?
> Or, can you hit ScrLck, followed by PgUp, and browse back through the
> messages?

Alt-F2 does work.  Here's what displays at the top left of the screen:

DEBUG: ioct(3, TIOCCONS, NULL) = 0 (success)
DEBUG: Found a device of type disk named: wd0
DEBUG: Found a DOS partition wd0s1 on drive wd0
DEBUG: Found a DOS partition wd0s2 on drive wd0
DEBUG: Try for cd0a returns errno 2
DEBUG: Try for mcd0a returns errno 2
DEBUG: Try for scd0a returns errno 2
DEBUG: Try for matcd0a returns errno 2

(then the cursur turns solid white under the last statement & the HDD
remains lit)

Scrlck works but I'm not sure about the PgUp.  The last line printed
before failure is:

rootfs is 1200 Kbyte compiled in MFS

I was able to observe the following line while using the ScrLck:

wdc0: unit 1(atapi): <Dolphin 8001 IDE 2X CD-ROM 4-03-95/1.08B>,
removable



> > HD geometry:  3148 cylinders 16 heads 63 SPT
> 
> Hmm.  I'm no expert for IDE drives nor do i know the state of the art
> in FreeBSD's IDE support, but it's possible that FreeBSD won't be able
> to boot off this harddisk in this translation mode.  Anyway, it should
> not hang either, it should even install (but refuse to boot off the
> harddisk later).

More info on my HD: (obtained from Linux FDISK (using option p) all the
crap about physical/logical stuff is typed exactly as displayed on
screen.  At first, I thought sloppy-DOS was responsible, but now I'm not
so sure that is true.)

Device          Boot    Begin   Start   End     Blocks  ID      SYS
/dev/hda1       *       1       1       242     487840+ 6       DOS 16
bit >=32M
/dev/hda2               243     243     470     459648  5       extended
/dev/hda3               1024    471     479     16632   82      Linux
swap
Partition 3 has different physical/logical beginnings (non-Linux?):
        phys=(1023,15,63) logical=(470,0,1)
Partition 3 has different physical/logical endings:
        phys=(1023,15,63) logical=(478,15,63)
Partition 3 does not end on cylinder boundry:
        phys=(1023,15,63) should br (1023,63,63)
/dev/hda4               1024    479     787     622440  83      Linux
native
Partition 4 has different physical/logical beginnings (non-Linux?):
        phys=(1023,15,63) logical=(478,16,1)
Partition 4 has different physical/logical endings:
        phys=(1023,15,63) logical=(786,63,63)
Partition 3 does not end on cylinder boundry:
        phys=(1023,15,63) should br (1023,63,63)
/dev/hda5               243     243     413     344704+ 6       DOS 16
bit >=32M
/dev/hda6               414     414     470     114880  6       DOS 16
bit >=32M

DOS FDISK says the following about the same drive:

Partition                       Mbytes          File Sys
c:      1       PRI DOS         476             FAT16
        2       EXT DOS         449             FAT16
        3       NON-DOS         16              
        4       NON-DOS         608


> Does the Linux space follow the primary DOS partition directly (i.e.,
> does it start below 508 MB)?  This would be best.  Btw., you can
> collapse both Linux partitions into one, since FreeBSD can
> sub-partition its disk space.  (We call the fdisk units `slices', just
> to distinguish them from the BSD `partitions'.)

-- see info above

What should I try next?  When you asked about ScrLck and PgUp, what
should I be
looking for if I can get it to work?