public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Daniel Taylor <Daniel.Taylor@wdc.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extended partition for > 512B sector
Date: Thu, 11 Mar 2010 13:58:19 -0800	[thread overview]
Message-ID: <4B99677B.80001@zytor.com> (raw)
In-Reply-To: <3E0C3AE547FA504DA5E89EA5A24AC85803E2BD8E@wdscexbe01.sc.wdc.com>

On 03/11/2010 01:25 PM, Daniel Taylor wrote:
>
> I have not yet tried booting from one of these disks.
>
> They are in USB-attached enclosures,

Right...

> attached well after boot, so the
> bootloader has never seen them.

Wrong.  A lot of BIOSes will attempt to boot from USB storage.  Worse, a 
fair number of BIOSes will hang during startup if a USB storage device 
that confuses them -- even if not the primary boot device.

> They simply refuse to mount to a running
> Linux system because, when the storage for partition size and start was
> expanded to 64-bit, no one bothered to fix the intermediate storage in
> msdos.c, so the kernel cannot locate the start nor figure the size of
> the partitions.
>
> Logically, this patch is not complicated.  The data types in msdos.c
> are flat-out wrong, given that the real stored data is of type sector_t.
> The intermediate variables should not be u32.

I would consider this a bugfix.  As such, it should be pushed outside 
the merge window.

	-hpa

  reply	other threads:[~2010-03-11 21:58 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  3:17 [PATCH] msdos: add support for large disks Daniel Taylor
2010-03-01 22:13 ` Andrew Morton
2010-03-03 14:02   ` OGAWA Hirofumi
2010-03-03 22:50     ` Daniel Taylor
2010-03-03 23:05       ` H. Peter Anvin
2010-03-03 23:24         ` Daniel Taylor
2010-03-04  0:17           ` H. Peter Anvin
2010-03-04  9:18           ` OGAWA Hirofumi
2010-03-04 15:29             ` H. Peter Anvin
2010-03-07 10:59     ` OGAWA Hirofumi
2010-03-07 23:03       ` H. Peter Anvin
2010-03-08  0:09         ` OGAWA Hirofumi
2010-03-08  0:12           ` H. Peter Anvin
2010-03-08  9:36             ` OGAWA Hirofumi
2010-03-10 15:48               ` [PATCH 1/2] fs/partitions/msdos: " OGAWA Hirofumi
2010-03-10 15:51                 ` [PATCH 2/2] fs/partition/msdos: Fix unusable extended partition for > 512B sector OGAWA Hirofumi
2010-03-10 23:16                   ` Daniel Taylor
2010-03-11 11:57                     ` OGAWA Hirofumi
2010-03-11 21:25                       ` Daniel Taylor
2010-03-11 21:58                         ` H. Peter Anvin [this message]
2010-03-11 22:06                           ` Daniel Taylor
2010-03-11 22:09                             ` H. Peter Anvin
2010-03-12 23:44                               ` Andrew Morton
2010-03-11 22:17                         ` OGAWA Hirofumi
2010-03-11 22:27                           ` H. Peter Anvin
2010-03-11 22:40                             ` OGAWA Hirofumi
2010-03-10 23:12                 ` [PATCH 1/2] fs/partitions/msdos: add support for large disks Daniel Taylor

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=4B99677B.80001@zytor.com \
    --to=hpa@zytor.com \
    --cc=Daniel.Taylor@wdc.com \
    --cc=akpm@linux-foundation.org \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /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