Subject: Re: is it boot or is it me?
To: David Laight <david@l8s.co.uk>
From: Marc Recht <marc@informatik.uni-bremen.de>
List: port-i386
Date: 02/04/2003 19:25:28
> 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..
> What does fdisk and disklabel report for the disk geometry?
leeloo# fdisk /dev/rwd0
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 1024 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
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
leeloo# disklabel -r /dev/rwd0
# /dev/rwd0d:
type: unknown
disk: mydisk
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 120103200
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 1049265 63 4.2BSD 1024 8192 86 # (Cyl. 0*- 1040)
b: 6290928 1049328 swap # (Cyl. 1041 - 7281)
c: 120103137 63 unused 0 0 # (Cyl. 0*- 119149)
d: 120103200 0 unused 0 0 # (Cyl. 0 - 119149)
e: 40960080 7340256 4.2BSD 1024 8192 86 # (Cyl. 7282 - 47916)
f: 2097648 48300336 4.2BSD 1024 8192 86 # (Cyl. 47917 - 49997)
g: 16777152 50397984 4.2BSD 1024 8192 86 # (Cyl. 49998 - 66641)
h: 52928064 67175136 4.2BSD 1024 8192 86 # (Cyl. 66642 - 119149)
> 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
> Have you checked the mbr boot code as well?
I've updated that, too.
> (that hasn't been changed yet)
I just tried everything..
Regards,
Marc