Subject: Re: ls-120 support
To: None <bouyer@antioche.eu.org>
From: fabrizio messina <fabrizio79@linuxmail.org>
List: netbsd-help
Date: 06/13/2002 20:59:18
----- Original Message -----
From: Manuel Bouyer <bouyer@antioche.eu.org>
Date: Thu, 13 Jun 2002 20:21:58 +0200
To: fabrizio messina <fabrizio979@yahoo.it>
Subject: Re: ls-120 support
> On Thu, Jun 13, 2002 at 12:29:09AM +0200, fabrizio messina wrote:
> > hi
> >
> > i've installed netbsd 1.5.2 on my laptop compaq
> > with an internal ls-120 drive.
>
> How is it probed ?
sd0 at atapibus1 drive 0: <LS-120 SLIM 04
...
> >
> > but when i try to mount my 120mb disk the kernel tells
> > me:
> >
> > device sd0 not configured
> > sd0: no disklabel
>
> How to you try to mount it ? the "no disklabel" message is just
> informational, the kernel fake a disklabel. You can see the partitions
> the kernel faked with 'disklabel sd0'
>
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
> --
>
look this fdisk output:
NetBSD disklabel disk geometry:
cylinders: 963 heads: 8 sectors/track: 32 (256 sectors/cylinder)
... ok
Partition table:
0: sysid 112 (DiskSecure Multi-Boot)
start 543519333, size 1948282485 (951309 MB), flag 0x6f
beg: cylinder 288, head 32, sector 37
end: cylinder 365, head 114, sector 37
1: sysid 46 (unknown)
start 1330184192, size 538976288 (263172 MB), flag 0x61
beg: cylinder 367, head 115, sector 52
end: cylinder 10, head 32, sector 13
2: sysid 83 (DM6 Aux3)
start 538989391, size 1398362912 (682794 MB), flag 0x20
beg: cylinder 345, head 32, sector 19
end: cylinder 324, head 77, sector 19
3: sysid 187 (unknown)
start -384957826, size 65344 (31 MB), flag 0x7f
beg: cylinder 65, head 1, sector 0
end: cylinder 128, head 0, sector 7
what??
this 120mb disk has been formatted with w95
but fdisk does not see the correct msdos partition
look this "disklabel sd0" output
# /dev/rsd0d:
type: ATAPI
disk: 8YN001534\000
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 8
sectors/cylinder: 256
cylinders: 963
total sectors: 246528
rpm: 720
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 246528 0 unused 0 0 # (Cyl. 0 - 962)
e: 1948282485 543519333 unused 0 0 # (Cyl. 2123122*- 9733600*)
f: 538976288 1330184192 unused 0 0 # (Cyl. 5196032 - 7301408*)
g: 1398362912 538989391 unused 0 0 # (Cyl. 2105427*- 7567782*)
h: 65344 -384957826 unused 0 0 # (Cyl. 15273474*- 15273729*)
this disk works correctly on w95, but netbsd look
this stupid values...
thanks in advance
fabrizio79@linuxmail.org
--
Get your free email from www.linuxmail.org
Powered by Outblaze