Subject: Re: is it boot or is it me?
To: Marc Recht <marc@informatik.uni-bremen.de>
From: David Laight <david@l8s.co.uk>
List: port-i386
Date: 02/05/2003 00:48:36
On Tue, Feb 04, 2003 at 07:25:28PM +0100, Marc Recht wrote:
> > It is possible that the code is failing due to some 'oddity' of
> > your system. It definitely works on some...
> >
> > At what point does it hang?
> Directly after printing the "Revision 1.26.." string.
> Right before it would start booting..
I presume you mean 2.16 as generated by:
void
print_banner(void)
{
printf("\n");
printf(">> %s, Revision %s\n", bootprog_name, bootprog_rev);
printf(">> (%s, %s)\n", bootprog_maker, bootprog_date);
printf(">> Memory: %d/%d k\n", getbasemem(), getextmem());
}
Which is helpful - because it has actually got into the C code...
Do you see all of that message?
> BIOS disk geometry:
> cylinders: 1024 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
1024 is often 1023 - but that shouldn't matter.
> Partition table:
> 0: <UNUSED>
> 1: <UNUSED>
> 2: <UNUSED>
> 3: sysid 169 (NetBSD)
> start 63, size 120103137 (58644 MB), flag 0x80
> beg: cylinder 0, head 1, sector 1
> end: cylinder 1023, head 254, sector 63
Nothing complicated...
> leeloo# disklabel -r /dev/rwd0
As expected...
> > What does 'sysctl machdep.diskinfo' report?
> machdep.diskinfo: 80:0(1024/255/63),2 81:0(1024/255/63),2 82:0(1024/255/63),2 wd0:80 wd1:81,82 wd2:81,82
The :0( would be the disk size - but the kernel fix isn't in yet...
The ,2 shows that LBA reads are supported - but that probably doesn't matter.
David
--
David Laight: david@l8s.co.uk