Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 1998 20:35:17 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Ian Kallen <ian@gamespot.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: I'm burning... 
Message-ID:  <199806260335.UAA06242@antipodes.cdrom.com>
In-Reply-To: Your message of "Thu, 25 Jun 1998 14:43:54 PDT." <Pine.BSF.3.95q.980625144258.2181E-100000@mail.gamespot.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> 
> I'm kind of burning in hell right now.  I'm installing CURRENT onto a
> system with a 3940 controller that has the AIC-7895 chip.  OK fine.  I
> found the boot floppy that has the CAM stuff in it at
> http://www.freebsd.org/~abial/cam-boot/
> and did my install thing, copied the CAM aware kernel and chflag'd schg.  
> Now the system comes up and sees the 3940 busses as ahc0 and ahc1, as I
> expected but it can't mount root.  It's sees the disks and barfs,
> something like this:
> da0: 4095Mb (normal looking disk recognition stuff)
> error 6: panic: cannot mount root

I can't actually see how you can get error 6 out of that case; are you 
sure that the panic wasn't "can't mount root (2)"?

This looks like it's due to the disk type in the disklabel on your disk 
being wrong.  Are you preserving a disk layout from a previous 
installation, or redoing it from scratch?

There's a dangerous error in a number of cases where the disklabel on a 
SCSI disk can be set to ESDI (meaning IDE).  We depend on the label 
being correct in order to select the right driver type to access the 
disk.  (I could go on about this for hours; it is a major point of 
grief for anyone trying to improve the way that FreeBSD works out where 
it was booted from...)

> If I floppy boot and fsck it, there's no complaints.  I can mount it
> when I'm floppy booted.  What horrible step did I omit when I did this
> installation?

If you have the tools and skill to get this far; say 'disklabel foo' at 
it, and watch the 'type' field right at the top - use 'disklabel -e' 
to edit it to "SCSI" if its wrong.

> -Ian (installs are usually soooo easy!) Kallen

You're right on the very edge of "damn complicated" getting a CAM 
system up from scratch; I wouldn't feel to bad about it. 8)

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806260335.UAA06242>