Date: Sun, 4 Oct 1998 00:38:57 -0500 From: Tom Jackson <toj@silverback.gorilla.net> To: Mike Smith <mike@smith.net.au>, Tom Jackson <toj@silverback.gorilla.net> Cc: current@FreeBSD.ORG Subject: Re: CRUSH after recompile kernel... Message-ID: <19981004003857.A329@TOJ.org> In-Reply-To: <199810040127.SAA00572@dingo.cdrom.com>; from Mike Smith on Sat, Oct 03, 1998 at 06:27:54PM -0700 References: <19981003173628.A311@TOJ.org> <199810040127.SAA00572@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sat, Oct 03, 1998 at 06:27:54PM -0700, Mike Smith wrote:
> > Since no one else is reporting this, I've probably done something stupid.
> > Running current up to date cam, smp, etc. Freshly compiled kernel that
> > file says is a dynamic linked elf, installed in /.
> >
> > Compiled loader and installed in /boot.
> >
> > On bootup I issue the '/boot/loader' and let it run to stop:
> > ...
> > FreeBSD/i386 bootstrap loader, Revision 0.2
> > ...
> > Booting [kernel] in 1 seconds...
> > can't load `kernel'
> > disk1s2a:> ls
> > /
> > ls: open '/' failed: no such file or directory
> >
> > Just to be safe, earlier did 'disklabel -B sd0'.
> > Ant idea? Could it be that smp is no go for now?
>
> No, SMP should be fine. Is the default device (disk1s2a) correct, ie.
> you have another slice on the first harddisk before the FreeBSD slice?
>
> Try other slices, eg: 'ls disk1s1a:'. It's not unlikely that there's a
> miscalculation in the slice numbering somewhere.
>
I first wanted to try my Thinkpad with a dangerously dedicated ide and the
src and obj nfs mounted from the server (the one that doesn't work). The
Thinkpad works fine.
The server, asus p2l97-ds w/ 1005 bios, does indeed have another partition
before FBSD. 1 is w95, 2 is FBSD boot, and 3 is FBSD. I tried ls'ing every-
thing I could think of and nothing works. I'll include the fdisk and disklabel.
Any suggestion on what to try?
--
Tom
[-- Attachment #2 --]
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=4149 heads=64 sectors/track=32 (2048 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4149 heads=64 sectors/track=32 (2048 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS (> 32MB))
start 32, size 511968 (249 Meg), flag 0
beg: cyl 0/ sector 1/ head 1;
end: cyl 249/ sector 32/ head 63
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 512000, size 3991552 (1949 Meg), flag 80 (active)
beg: cyl 250/ sector 1/ head 0;
end: cyl 1023/ sector 32/ head 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 4503552, size 3993600 (1950 Meg), flag 0
beg: cyl 1023/ sector 63/ head 255;
end: cyl 1023/ sector 32/ head 63
The data for partition 4 is:
<UNUSED>
[-- Attachment #3 --]
# /dev/rsd0c:
type: SCSI
disk: sd0s2
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1949
sectors/unit: 3991552
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 102400 0 4.2BSD 0 0 0 # (Cyl. 0 - 49)
b: 524288 102400 swap # (Cyl. 50 - 305)
c: 3991552 0 unused 0 0 # (Cyl. 0 - 1948)
e: 1677336 626688 4.2BSD 0 0 0 # (Cyl. 306 - 1125*)
f: 843764 2304024 4.2BSD 0 0 0 # (Cyl. 1125*- 1537*)
g: 843764 3147788 4.2BSD 0 0 0 # (Cyl. 1537*- 1948*)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981004003857.A329>
