From: Marcin Dalecki <dalecki@evision.ag>
To: Ingo Molnar <mingo@elte.hu>
Cc: martin@dalecki.de, Andries.Brouwer@cwi.nl,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org
Subject: Re: [bug, 2.5.29, (not IDE)] partition table (not) corruption?
Date: Thu, 08 Aug 2002 11:18:53 +0200 [thread overview]
Message-ID: <3D52377D.3040403@evision.ag> (raw)
In-Reply-To: Pine.LNX.4.44.0208081057150.2542-100000@localhost.localdomain
Uz.ytkownik Ingo Molnar napisa?:
> On Thu, 8 Aug 2002, Marcin Dalecki wrote:
>
>
>>If you look at the boot messages from a kernel:
>>
>>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>> hda: 78140160 sectors, CHS=77520/16/63, UDMA(33)
>> hda: hda1 hda4
>>
>>You can actually see the CHS info field.
>
>
> okay, here are the 2.4.18(-ish) and 2.5.30 CHS fields:
>
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 8418816 sectors (4310 MB) w/80KiB Cache, CHS=524/255/63, UDMA(33)
> hdc: 40132503 sectors (20548 MB) w/1900KiB Cache, CHS=39813/16/63, UDMA(33)
> hdb: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
>
> hda: QUANTUM FIREBALL SE4.3A, DISK drive
> hdb: RICOH CD-R/RW MP7083A, ATAPI CD/DVD-ROM drive
> hdc: QUANTUM FIREBALLP LM20.5, DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 8418816 sectors w/80KiB Cache, CHS=14848/9/63, UDMA(33)
> hda: hda1 hda2 < hda5 hda6 >
> hdc: 40132503 sectors w/1900KiB Cache, CHS=39813/16/63, UDMA(33)
> hdc: hdc1
> hdb: Disabling (U)DMA for RICOH CD-R/RW MP7083A
> hdb: DMA disabled
> hdb: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
>
> i have the bootlogs of this system back to 2.5.25 only, which also shows
> the wrong(?) CHS:
>
> Linux version 2.5.25 (mingo@mars) (gcc version 2.96 20000731 (Red Hat Linux 7.2
> 2.96-101.9)) #3 SMP Tue Jul 9 21:12:18 CEST 2002
>
> hda: QUANTUM FIREBALL SE4.3A, DISK drive
> hdb: RICOH CD-R/RW MP7083A, ATAPI CD/DVD-ROM drive
> hdc: QUANTUM FIREBALLP LM20.5, DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 8418816 sectors w/80KiB Cache, CHS=14848/9/63
> hda: [PTBL] [524/255/63] hda1 hda2 < hda5 hda6 >
^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is actually the interresting
part. Well this is actually printed by
the partition grocking code. 255/63 *is* indicating LBA (linear)
access to the drive. It is really lilo who didn't parse the partition
table and was relying on the value returned by GETGEO ioctl instead.
At least lilo should automatically resort to LBA if C > 1024.
> hdc: 40132503 sectors w/1900KiB Cache, CHS=39813/16/63
> hdc: hdc1
>
> Ingo
>
>
next prev parent reply other threads:[~2002-08-08 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-07 18:43 [bug, 2.5.29, IDE] partition table corruption? Andries.Brouwer
2002-08-07 21:12 ` [bug, 2.5.29, (not IDE)] partition table (not) corruption? Ingo Molnar
2002-08-08 7:30 ` Marcin Dalecki
2002-08-08 7:37 ` Ingo Molnar
2002-08-08 8:42 ` Marcin Dalecki
2002-08-08 9:03 ` Ingo Molnar
2002-08-08 9:18 ` Marcin Dalecki [this message]
2002-08-08 7:46 ` [bug, 2.5.29, IDE] partition table corruption? Marcin Dalecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D52377D.3040403@evision.ag \
--to=dalecki@evision.ag \
--cc=Andries.Brouwer@cwi.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=martin@dalecki.de \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox