public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problems booting 2.6.31 on Fedora 8
@ 2009-09-18 17:55 Ben Greear
  2009-09-18 18:48 ` Nikita V. Youshchenko
  2009-09-18 19:25 ` Joseph Fannin
  0 siblings, 2 replies; 4+ messages in thread
From: Ben Greear @ 2009-09-18 17:55 UTC (permalink / raw)
  To: linux-kernel

I'm having troubles booting 2.6.31 on Fedora 8.  The same kernel
boots fine on F11, but on F8, it cannot find the root logical volume.

One thing I notice is that F11 uses root=/dev/mapper... and F8 uses
root=/dev/VolGroup00/LogVol00 in grub.  It's not clear to me what
the value of mapper should be...is there some way to figure this
out from an older kernel (2.6.29) that boots fine?

I'm using a kernel config based on the one in F11.

My grub entry looks like:

title SERIAL 2.6.31
         root (hd0,0)
         kernel /ct2.6.31.img ro root=/dev/VolGroup00/LogVol00 console=ttyS0,38400
         initrd /initrd-ct2.6.31.img


sr 0:0:1:0: Attached scsi generic sg0 type 5
scsi 2:0:0:0: Direct-Access     ATA      Maxtor 6L080M0   BACE PQ: 0 ANSI: 5
registered taskstats version 1
   Magic number: 9:307:694
Initalizing network drop monitor service
sd 2:0:0:0: [sda] 160086528 512-byte logical blocks: (81.9 GB/76.3 GiB)
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
  sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI disk
Freeing unused kernel memory: 1292k freed
Write protecting the kernel read-only data: 6036k
Red Hat nash version 6.0.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Sinput: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
etting up hotplug.
Creating block device nodes.
Loading pata_acpi.ko module
Waiting for driver initialization.
Loading ata_generic.ko module
Making device-mapper control node
Scanning logical volumes
   Reading all physical volumes.  This may take a while...
   No volume groups found
Activating logical volumes
   Volume group "VolGroup00" not found
Trying to resume from /dev/VolGroup00/LogVol01
Unable to access resume device (/dev/VolGroup00/LogVol01)
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.


Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems booting 2.6.31 on Fedora 8
  2009-09-18 17:55 Problems booting 2.6.31 on Fedora 8 Ben Greear
@ 2009-09-18 18:48 ` Nikita V. Youshchenko
  2009-09-18 20:55   ` Ben Greear
  2009-09-18 19:25 ` Joseph Fannin
  1 sibling, 1 reply; 4+ messages in thread
From: Nikita V. Youshchenko @ 2009-09-18 18:48 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-kernel

> I'm having troubles booting 2.6.31 on Fedora 8.  The same kernel
> boots fine on F11, but on F8, it cannot find the root logical volume.
>
> One thing I notice is that F11 uses root=/dev/mapper... and F8 uses
> root=/dev/VolGroup00/LogVol00 in grub.  It's not clear to me what
> the value of mapper should be...is there some way to figure this
> out from an older kernel (2.6.29) that boots fine?

I've recently faced a very similar problem, trying to boot some "modern" 
kernel on debian etch system.

It was solved by putting more recent lvm2 binary into initrd.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems booting 2.6.31 on Fedora 8
  2009-09-18 17:55 Problems booting 2.6.31 on Fedora 8 Ben Greear
  2009-09-18 18:48 ` Nikita V. Youshchenko
@ 2009-09-18 19:25 ` Joseph Fannin
  1 sibling, 0 replies; 4+ messages in thread
From: Joseph Fannin @ 2009-09-18 19:25 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-kernel

On Fri, Sep 18, 2009 at 10:55:52AM -0700, Ben Greear wrote:
> I'm having troubles booting 2.6.31 on Fedora 8.  The same kernel
> boots fine on F11, but on F8, it cannot find the root logical volume.
>
> One thing I notice is that F11 uses root=/dev/mapper... and F8 uses
> root=/dev/VolGroup00/LogVol00 in grub.  It's not clear to me what
> the value of mapper should be...is there some way to figure this
> out from an older kernel (2.6.29) that boots fine?

Possibly /dev/mapper/VolGroup00-LogVol00 .

--
Joseph Fannin
jfannin@gmail.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems booting 2.6.31 on Fedora 8
  2009-09-18 18:48 ` Nikita V. Youshchenko
@ 2009-09-18 20:55   ` Ben Greear
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Greear @ 2009-09-18 20:55 UTC (permalink / raw)
  To: Nikita V. Youshchenko; +Cc: linux-kernel

On 09/18/2009 11:48 AM, Nikita V. Youshchenko wrote:
>> I'm having troubles booting 2.6.31 on Fedora 8.  The same kernel
>> boots fine on F11, but on F8, it cannot find the root logical volume.
>>
>> One thing I notice is that F11 uses root=/dev/mapper... and F8 uses
>> root=/dev/VolGroup00/LogVol00 in grub.  It's not clear to me what
>> the value of mapper should be...is there some way to figure this
>> out from an older kernel (2.6.29) that boots fine?
>
> I've recently faced a very similar problem, trying to boot some "modern"
> kernel on debian etch system.
>
> It was solved by putting more recent lvm2 binary into initrd.

The LVM2 mailing list gave me another answer:

Compile with
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y


This will likely not work on later distributions, but seems to work
fine for Fedora 8, at least.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-18 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 17:55 Problems booting 2.6.31 on Fedora 8 Ben Greear
2009-09-18 18:48 ` Nikita V. Youshchenko
2009-09-18 20:55   ` Ben Greear
2009-09-18 19:25 ` Joseph Fannin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox