* 2.6.28: md0: unknown partition table
@ 2008-12-30 12:25 Justin Piszcz
2009-01-01 9:26 ` Luca Berra
0 siblings, 1 reply; 2+ messages in thread
From: Justin Piszcz @ 2008-12-30 12:25 UTC (permalink / raw)
To: linux-kernel, linux-raid
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]
[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?
Justin.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.28: md0: unknown partition table
2008-12-30 12:25 2.6.28: md0: unknown partition table Justin Piszcz
@ 2009-01-01 9:26 ` Luca Berra
0 siblings, 0 replies; 2+ messages in thread
From: Luca Berra @ 2009-01-01 9:26 UTC (permalink / raw)
To: linux-raid
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
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-01 9:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-30 12:25 2.6.28: md0: unknown partition table Justin Piszcz
2009-01-01 9:26 ` Luca Berra
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).