* Gentoo Linux BUG 18612 - cfdisk @ 2003-04-03 17:11 Brandon Low 2003-04-04 0:02 ` Andries Brouwer 2003-04-04 15:16 ` Daniel Egger 0 siblings, 2 replies; 4+ messages in thread From: Brandon Low @ 2003-04-03 17:11 UTC (permalink / raw) To: linux-kernel http://bugs.gentoo.org/show_bug.cgi?id=18612 This bug appears to be caused by using cfdisk's default allocation on the last partition on a drive. From the looks of it on the user's LBA mapped drive, cfdisk allocated a bunch of non-existant sectors when the user allowed it to pick the default size for that last partition. --Brandon Low ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gentoo Linux BUG 18612 - cfdisk 2003-04-03 17:11 Gentoo Linux BUG 18612 - cfdisk Brandon Low @ 2003-04-04 0:02 ` Andries Brouwer 2003-04-04 0:13 ` Brandon Low 2003-04-04 15:16 ` Daniel Egger 1 sibling, 1 reply; 4+ messages in thread From: Andries Brouwer @ 2003-04-04 0:02 UTC (permalink / raw) To: Brandon Low; +Cc: linux-kernel, aeb On Thu, Apr 03, 2003 at 11:11:48AM -0600, Brandon Low wrote: > http://bugs.gentoo.org/show_bug.cgi?id=18612 > > This bug appears to be caused by using cfdisk's default allocation > on the last partition on a drive. From the looks of it on the user's > LBA mapped drive, cfdisk allocated a bunch of non-existant sectors > when the user allowed it to pick the default size for that last partition. (please break lines) (in case something is wrong with cfdisk, tell the cfdisk maintainer, not the kernel list) (what kernel version is this? - I see, 2.4.20) According to WD, this disk has 78,165,360 sectors. So, in case it was partitioned with such a size maybe nothing was wrong. The boot messages shown say: kenny kernel: hda: setmax LBA 78165360, native 78125000 How come setmax has the right value and native has not? Did other software clip the disk? What is the identify data for this drive? Was the partitioning done with a kernel that had CONFIG_IDEDISK_STROKE enabled? Andries ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gentoo Linux BUG 18612 - cfdisk 2003-04-04 0:02 ` Andries Brouwer @ 2003-04-04 0:13 ` Brandon Low 0 siblings, 0 replies; 4+ messages in thread From: Brandon Low @ 2003-04-04 0:13 UTC (permalink / raw) To: Andries Brouwer; +Cc: linux-kernel, aeb [-- Attachment #1: Type: text/plain, Size: 1529 bytes --] On Fri, 04/04/03 at 02:02:28 +0200, Andries Brouwer wrote: > On Thu, Apr 03, 2003 at 11:11:48AM -0600, Brandon Low wrote: > > > http://bugs.gentoo.org/show_bug.cgi?id=18612 > > > > This bug appears to be caused by using cfdisk's default allocation > > on the last partition on a drive. From the looks of it on the user's > > LBA mapped drive, cfdisk allocated a bunch of non-existant sectors > > when the user allowed it to pick the default size for that last partition. > > (please break lines) Heh, sorry about that. > > (in case something is wrong with cfdisk, tell the cfdisk maintainer, > not the kernel list) > > (what kernel version is this? - I see, 2.4.20) > It is indeed 2.4.20 in the report. > According to WD, this disk has 78,165,360 sectors. > So, in case it was partitioned with such a size maybe nothing was wrong. > > The boot messages shown say: > kenny kernel: hda: setmax LBA 78165360, native 78125000 > How come setmax has the right value and native has not? > Did other software clip the disk? > What is the identify data for this drive? Interesting, I wonder why stock 2.4.20 would report it differently than the new IDE stuff that is in our kernel, as that seems to be the problem. > > Was the partitioning done with a kernel that had CONFIG_IDEDISK_STROKE > enabled? Haven't heard of that option, I'll check with the bug reporter. > > > Andries > Thanks a lot for the reply, it has at least helped us much to narrow things down. --Brandon [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gentoo Linux BUG 18612 - cfdisk 2003-04-03 17:11 Gentoo Linux BUG 18612 - cfdisk Brandon Low 2003-04-04 0:02 ` Andries Brouwer @ 2003-04-04 15:16 ` Daniel Egger 1 sibling, 0 replies; 4+ messages in thread From: Daniel Egger @ 2003-04-04 15:16 UTC (permalink / raw) To: Brandon Low; +Cc: Linux Kernel Mailinglist [-- Attachment #1: Type: text/plain, Size: 734 bytes --] Am Don, 2003-04-03 um 19.11 schrieb Brandon Low: > This bug appears to be caused by using cfdisk's default allocation on > the last partition on a drive. From the looks of it on the user's LBA > mapped drive, cfdisk allocated a bunch of non-existant sectors when > the user allowed it to pick the default size for that last partition. Actually I've seen several CFs fail when used in LBA mode, not just those partitioned with cfdisk. I claim there's either a problem of the manufacturers taking commands with LBAs or some driver problem on the linux to address the CFs correctly. Anyway, I see this as rather minor; drop down to CHS in BIOS and everything works fine (here at least). -- Servus, Daniel [-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-04 15:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-04-03 17:11 Gentoo Linux BUG 18612 - cfdisk Brandon Low 2003-04-04 0:02 ` Andries Brouwer 2003-04-04 0:13 ` Brandon Low 2003-04-04 15:16 ` Daniel Egger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox