lkml.org 
[lkml]   [2002]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.30 LILO FreeBSD partition problems
On Sat, Aug 03, 2002 at 08:17:14PM -0400, Skip Ford wrote:

> > Which LILO version is this?
>
> 21.4-3
>
> > What are the kernel boot messages for this disk
>
> 2.5.29:
> hda: Maxtor 2B020H1, DISK drive
> hda: 39876480 sectors w/2048KiB Cache, CHS=39560/16/63, UDMA(33)
> hda: [PTBL] [2482/255/63] hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
>
> 2.5.30:
> hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
>
> > Probably some LILO option like "ignore-table" or "linear" or "lba32"
> > would help.
>
> lba32 and linear each didn't work. I didn't try ignore-table. I see
> the difference above between .29 and .30 with [PTBL] but I don't know
> what it means.

LILO wants to check that what it sees in the partition table
corresponds to the truth. The kernel has first decided that
the truth is CHS=39560/16/63, but then looks at the partition table
and sees that some programs are going to be unhappy if it reveals
this truth, and instead it returns what it finds in the partition
table. That is what this "[PTBL] [2482/255/63]" means.

Since 2.5.30 the kernel no longer looks at the partition table to
guess what would make fdisk and lilo happy. These programs can
(and do) look at the partition table themselves and need no
kernel help. Now fdisk already knows this, but maybe lilo doesn't.

If you want the kernel to provide lilo with some random numbers,
add boot parameters to the kernel invocation: hda=C,H,S.
If you want lilo to ignore the discrepancy between what the
disk said and the kernel repeated and what it sees in the
partition table, try the global option "ignore-table".
(I never tried, this is just from the man page.)

If lilo tries to check 3D addresses in spite of the fact that
it got a "linear" or "lba32" option, then that is a lilo bug,
especially if it aborts on a difference.
Let me cc the maintainer - maybe John Coffman.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.054 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site