From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: 2.6.28: md0: unknown partition table
Date: Thu, 1 Jan 2009 10:26:27 +0100 [thread overview]
Message-ID: <20090101092627.GA32138@maude.comedia.it> (raw)
In-Reply-To: <alpine.DEB.1.10.0812300610190.11356@p34.internal.lan>
On Tue, Dec 30, 2008 at 07:25:08AM -0500, Justin Piszcz wrote:
> Had a question about the new option in 2.6.28:
>
> [ 7.655297] usb 6-2: configuration #1 chosen from 1 choice
> [ 7.663280] hub 6-2:1.0: USB hub found
> [ 7.666533] hub 6-2:1.0: 3 ports detected
> [ 7.698008] udev: renamed network interface eth0_rename to eth1
> [ 7.824538] md1:<6> md0: unknown partition table
> [ 7.835978] [ 7.950237] usb 6-2.1: new full speed USB device using
> uhci_hcd and address 3
> [ 8.081335] usb 6-2.1: configuration #1 chosen from 1 choice
>
> See line:
> [ 7.824538] md1:<6> md0: unknown partition table
>
> This is swap, I do not recall seeing this error in kernels < 2.6.28, should
> the kernel not scan for partitions on a swap-based parititon? [1]
this is probably due to the fact that now /dev/md* are partitionable.
> [2] partitions for mdadm/raid are usually md0_p1 md1_p2 why would it scan for
> partitions on /dev/md0, /dev/md1, /dev/md2 as they are 'block devices' e.g.,
> similar to /dev/sda, /dev/sdb, /dev/sdc
>
> I do have the option checked off:
> [*] Autodetect RAID arrays during kernel boot
>
> As I compile everything in statically, no modules are used.
>
> If I disable that option, would my system still boot/that would get rid of
> the error/so it does not try to scan for partitions on swap?
no
if you want to get rid of that you can disable kernel partition
detection, but you have to do it manually in initrd/init scripts/udev
rules then(*)
(*) i still firmly believe that partition detection does not belong to
the kernel any more than raid/lvm.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
prev parent reply other threads:[~2009-01-01 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 12:25 2.6.28: md0: unknown partition table Justin Piszcz
2009-01-01 9:26 ` Luca Berra [this message]
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=20090101092627.GA32138@maude.comedia.it \
--to=bluca@comedia.it \
--cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).