Subject: Re: ATAPI LS120 support problem
To: None <port-i386@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-i386
Date: 05/03/2001 19:11:06
On 03.05.01, 10:07:14, scott worley wrote:
> Hi,
> 
> I'm new to BSD, been using linux.
> 
> Install NetBSD 1.5 on a SCSI only system, exception is an ATAPI LS120 drive 
> as master on the first IDE channel.  No other IDE devices are present.
> 
> I tried using this drive to move data from my linux system to BSD but I don't 
> fully understand the disklabel issues.
> 

[...]

> 8 partitions:
> #        size   offset     fstype   [fsize bsize   cpg]
>   d:   246528        0     unused        0     0         # (Cyl.    0 - 962)
>   e:   246496       32      MSDOS                        # (Cyl.    0*- 962)
>   h: -859853824        0     unused        0     0         # (Cyl.    0 - 
> 13418411)
> 
> I have tried various disklabel options such as -r, -R, -e, -I, etc. and have 
> dumped the above, edited it and written it back with disklabel -R but nothing 
> works.  The disklabel always is the same as above.  My BSD HD disklabel 
> currently is using e: so I need to tell it that the LS120 msdos partition is 
> on h: but as you can see the drive/media??? is reporting an erroneous value.  
> I have seen this value, -859853824, reported under linux which makes me 
> suspect the drive.  The only other possibility is the fdisk program on all 
> OS's I've used is doing a read-modify-write, leaving "bad" information in the 
> partition table.

What's wrong with ignoring the garbled entry for partition h and just
mounting /dev/wd0e?

And if it's an IDE drive what are you trying to do with _s_d0? That's
the first scsi disk, as opposed to wd0, which would be the first IDE
disk.

> 
> Am I on the right track or completely overlooking something?
> 


-- 
Bernd Sieker

NetBSD: making all computer hardware a commodity.
		-- Erik E. Fair