Re: Cannot initialize disklabel

2002-07-27 Thread Andrea Monaldi

David,

If I had this it should not work well under Linux and
W2K too, isn't it?

Anyway it's not this problem. It works bad ONLY in
FreeBSD.

BTW this HD was taken from an Apple G4 and has a
little Apple on the top of the drive. Does it mean it
has a different firmware? Why Linux and W2K works
perfectly with it? Does it make any sense if this
drive has been partitioned by OS X previously, doing
something strange, and preventing any usage with
another BSD OS?

Bye

Gino




--- David Siebörger <[EMAIL PROTECTED]> wrote:
> On Fri 2002-07-26 (15:07), Andrea Monaldi wrote:
> > It is always listed as 2G instead of 20 and I am
> not
> > able to initialize the partition or the disk label
> to
> > something different to 2 GB. The number of
> cylinder is
> > always 4092 although the disk has more than 3.
> 
> It sounds like your drive has the "Capacity
> Limitation Jumper" set. 
> All the > 2GB Maxtors I've seen have a jumper which
> reduces the
> reported capacity to 4092 cylinders so old BIOSes
> can detect them.
> 
> Look up your drive at http://www.maxtor.com/,
> download the jumper
> settings, and make sure that that jumper is not set
> on your drive.
> 
> 
> -- 
> David Siebörger
> [EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Cannot initialize disklabel

2002-07-27 Thread Andrea Monaldi

My MB is modern (PIII 450MHz - GigaByte Intel 440BX of
one and a half year ago).

The disk works fine on many linuxes (Mandrake 8.1, Red
Hat 7.3 and Debian 2.2r5) and on Windows 2000 on the
same system.

Another 10GB Maxtor disk with 19841 cylinders has the
core FreeBSD system on it and it works well.

The problem relies into the BSD label for the main
disk (i.e. /dev/ad2)

I've edited this label from linux fdisk and set it up
correctly.

Then I reboot FreeBSD and the command disklabel
/dev/ad2 shows 4092 cylinders instead if 39693.

If I execute disklabel -r /dev/ad2 the cylinder count
is ok, meaning the disk copy of the label is correct.

The kernel in-core BSD label is always incorrect and,
as FreeBSD fdisk relies on it I can't create a
partition greather tha 2 GB  (4092 cylinders)

Worse, if I set up the partition from linux fdisk and
the correct BSD label, when I boot FreeBSD the in-core
BSD label is still 4092 cylinders and the ata driver
complaints about having a partition too big.

If try to edit the BSD label the ata driver block the
writes.

I don't understand why from BSD there's no way to
force a new BSD label.

Bye

Gino


--- Cyrille Lefevre
<[EMAIL PROTECTED]>
wrote:
> On Fri, Jul 26, 2002 at 03:07:06PM -0700, Andrea
> Monaldi wrote:
> > I have a 4.6 box and I added a new HD (Maxtor
> 20GB).
> > 
> > It is always listed as 2G instead of 20 and I am
> not
> > able to initialize the partition or the disk label
> to
> > something different to 2 GB. The number of
> cylinder is
> > always 4092 although the disk has more than 3.
> 
> how old is your machine ? personally, since my BIOS
> is
> somewhat old, I have to use `MaxBlast' to deal w/
> disks
> bigger than 2 GB (or 8 GB, don't remember). does
> your
> first driver `MaxBlast'ed ? if so, your second drive
> have to be `MaxBlast'ed too. see the following URL
> for details and read carefully the installation
> procedure, etc.
> 
>
http://www.maxtor.com/en/support/downloads/maxblast_plus_ii.htm
> 
> > The disk in the BIOS is not set to LBA, but it is
> set
> > as NORMAL. I have another Maxtor disk that is
> running
> > fine.
> 
> why don't want to use LBA mode ?
> what are the caracteristics of the other drive ?
> 
> # grep ata /var/run/dmesg.boot  
> 
> > How can I create a disklabel ?
> 
> before to create a disklabel, what say fdisk ?
> 
> # fdisk ad0
> # fdisk ad1
> 
> Cyrille.
> -- 
> Cyrille Lefevre
mailto:[EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message