Subject: sunblade added 80gig IDE HD
To: None <port-sparc64@netbsd.org>
From: Leigh <leigh@roq.com>
List: port-sparc64
Date: 11/06/2002 23:24:14
I added 80gig IDE hd to this sunblade 100 while I had debian sparc64 on i=
t
It was running ok
After I setup netbsd on this machine it didn't setup my extra HD during=20
install, I might not have had it plugged in at the time, not sure..
Anyway I tried adding it like the instructions say on these URLS
http://www.netbsd.org/Documentation/misc/#adding-a-disk
http://www.mclink.it/personal/MG2508/nbsdeng/ap-inst.html
, but I cant seem to get more then a 80meg partition, when its an 80Gig h=
d
Below its a bunch of copy and pastes of what I did.



###############################################
pciide0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (r=
ev.=20
0xc3)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using ivec 180c for native-PCI interrupt
atapibus0 at pciide0 channel 0: 2 targets
cd0 at atapibus0 drive 1: <LTN486S, , YSU1> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at pciide0 channel 0 drive 0: <ST315310A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 14594 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 29888820 sect=
ors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DM=
A=20
data transfers)
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DM=
A=20
data transfers)
pciide0: secondary channel configured to native-PCI mode
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y080L0>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 78167 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 160086528 sec=
tors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DM=
A=20
data transfers)
###############################################
disklabel -i -I wd1
###############################################
partition> I
# Current values:
# /dev/rwd1c:
type: ESDI
disk: Maxtor 6Y080L0
label: Quantum ProDrive
flags:
bytes/sector: 512
sectors/track: 34
tracks/cylinder: 6
sectors/cylinder: 204
cylinders: 832
total sectors: 169728
rpm: 3662
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

Disk type [?] [ESDI]:
Disk name [Maxtor 6Y080L0  ]:
Label name [Quantum ProDrive]:
Number of partitions [1]: 8
Sector size (bytes) [512]:
Number of sectors per track [34]:
Number of tracks per cylinder [6]:
Number of sectors/cylinder [204]:
Total number of cylinders [832]:
Total number of sectors [169728]:
Hardware sectors interleave [1]:
Sector 0 skew, per track [0]:
Sector 0 skew, per cylinder [0]:
Head switch time (usec) [0]:
Track seek time (usec) [0]:
partition>
partition> a
Filesystem type [?] [4.2BSD]:
Start offset [0c, 0s, 0M]:
Partition size ('$' for all remaining) [832c, 169728s, 82.875M]: $
partition> ?
?       print this menu
C       make partitions contiguous
E       print disk label and current partition table
I       change label information
N       name the label
P       print current partition table
Q       quit
R       rounding (c)ylinders (s)ectors
W       write the current partition table
[a-h]   define named partition
partition> P
8 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:    169728         0     4.2BSD   1024  8192   336   # (Cyl.    0 - 83=
1)
 b:     56712    113016       swap                      # (Cyl.  554 - 83=
1)
 c:    169728         0    unknown                      # (Cyl.    0 - 83=
1)
 e:    169728         0     4.2BSD   1024  8192   336   # (Cyl.    0 - 83=
1)
partition> c
Filesystem type [?] [unknown]: 4.2BSD
Start offset [0c, 0s, 0M]:
Partition size ('$' for all remaining) [832c, 169728s, 82.875M]: $
 c:    169728         0     4.2BSD      0     0     0   # (Cyl.    0 - 83=
1)
partition> e
Filesystem type [?] [4.2BSD]:
Start offset [0c, 0s, 0M]:
Partition size ('$' for all remaining) [832c, 169728s, 82.875M]: $
partition> w
Unknown command w
partition> W
Label disk [n]? y
Label written
partition> Q
########################################################