Subject: 160GB hard drive won't boot (hand-ish install)
To: None <port-cobalt@netbsd.org>
From: Andre Schulze <as8@rcs.urz.tu-dresden.de>
List: port-cobalt
Date: 11/25/2003 17:30:35
Hi,

i have some trouble with getting a new (hand-ish) install to boot from
a 160 GB SAMSUNG SV1604N.
The system does boot netboot correctly, but not local. The linux file-
system is formatted with "-r 0 -o none". Limiting the drive to 32GB
did not help, unfortunately.

This is the new drive (btw. it's a 5400 rpm model):

wd0 at pciide0 channel 0 drive 0: <SAMSUNG SV1604N>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)

bash-2.05b# fdisk wd0
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

BIOS disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

Partition table:
0: sysid 131 (Linux native)
   start 1008, size 29232 (14 MB), flag 0x80
       beg: cylinder    1, head   0, sector  1
       end: cylinder   29, head  15, sector 63
1: sysid 169 (NetBSD)
   start 28224, size 312553584 (152614 MB), flag 0x0
       beg: cylinder   28, head   0, sector  1
       end: cylinder 1022, head  15, sector 63
2: <UNUSED>
3: <UNUSED>

bash-2.05b# disklabel wd0
# /dev/rwd0d:
type: unknown
disk: SAMSUNG SV1604N 
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 312581808
rpm: 5400
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:    244944     30240     4.2BSD    512  4096    22   # (Cyl.   30 - 272)
b:    524160    275184       swap                      # (Cyl.  273 - 792)
c: 312553584     28224     unused      0     0         # (Cyl.   28 - 310100)
d: 312581808         0     unused      0     0         # (Cyl.    0 - 310100)
e:     29232    799344 Linux Ext2      0     0         # (Cyl.  793 - 821)
f:   5119632    828576     4.2BSD   2048 16384   330   # (Cyl.  822 - 5900)
g: 306633600   5948208     4.2BSD   2048 16384   328   # (Cyl.  5901 - 310100)

bash-2.05b# mount
/dev/wd0a on / type ffs (local)
/dev/wd0f on /usr type ffs (local)
/dev/wd0e on /stand type ext2fs (local)
/dev/wd0g on /space type ffs (local)

Any hints appreciated,

	andre