Subject: disklabel compatibility between platforms?
To: None <port-alpha@netbsd.org>
From: packet ninja <emory@incumbent.org>
List: port-macppc
Date: 12/14/2000 22:50:43
hey.

my multia died today for reasons as-yet unknown (could be heat stroke :))
but when i plugged the 4 gig SCSI from the multia into my netbsd macppc
machine, it refuses to see a disklabel.  (this is *really* bad since i
have a mail spool and ~/mail tree i *need* to jank off the disk.)

dmesg says:

scsibus0: waiting 2 seconds for devices to settle...
probe(esp0:2:0): max sync rate 6.25MB/s
sd0 at scsibus0 target 2 lun 0: <SEAGATE, ST34520N, 1498> SCSI2 0/direct
fixed
sd0: 4340 MB, 9006 cyl, 4 head, 246 sec, 512 bytes/sect x 8888924 sectors
scsibus1: waiting 2 seconds for devices to settle...
sd1 at scsibus1 target 0 lun 0: <SEAGATE, ST32430N, 0640> SCSI2 0/direct
fixed
sd1: 2049 MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4197405 sectors
sd2 at scsibus1 target 1 lun 0: <SEAGATE, ST15150N, 0017> SCSI2 0/direct
fixed
sd2: 4095 MB, 3712 cyl, 21 head, 107 sec, 512 bytes/sect x 8388315 sectors
boot device: sd1
root on sd1a dumps on sd1b
root file system type: ffs
sd0: no disk label -- NetBSD or Macintosh

and disklabel says:

# /dev/rsd0c:
type: SCSI
disk: ST34520N
label: fictitious
flags:
bytes/sector: 512
sectors/track: 246
tracks/cylinder: 4
sectors/cylinder: 984
cylinders: 9006
total sectors: 8888924
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

3 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  c:  8888924        0     unused        0     0         # (Cyl.    0 -
9033*)
disklabel: boot block size 0
disklabel: super block size 0

uname on the macppc says:

NetBSD eloso 1.5 NetBSD 1.5 (GENERIC) #1: Sun Nov 19 13:58:47 PST 2000
matt@duel.local:/u1/kobj/GENERIC macppc

it's a 9500/180MP.

i'll be hooking up myself a DDS2 tonight to prevent future problems.  :P

/*
	ryan emory lundberg		http://www.incumbent.org/
	packet ninja, pki advocate	emory@incumbent.org
	"the dude abides."					/*