All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Re: problem with lvm on root-fs
@ 2002-10-17  2:01 Stefan Weigel
  2002-10-17  2:20 ` Luca Berra
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Weigel @ 2002-10-17  2:01 UTC (permalink / raw)
  To: linux-lvm

Hi erveryone!
I'm a little bit closer now. I've create an initrd with lvmcreate_initrd.
In this initrd there was no module for my mylex-raid-controller. I've fixed 
that problem, e.g. put the kernel module in it and changed linuxrc.
After rebooting there's another kernel panic, but on this time the system 
finds my volume groups. Output:

kernel panic: no init found. Try passing init= to...

This is a little bit strange. I checked the initrd another time and in the 
ramdisk-bin-dir there's the bash and sh.
A little help would be nice!

Greetings

Stefan Weigel

P.S.: I'm using SLES7.2 with the standard-packages.

> Hi!
> I'm trying to get lvm on my root-fs working. But there's is an kernel-panic 
> error. Some details:
>
>
> - system with Mylex RAID-controller (DAC960). It's included in the initrd.
>
>
> - root-partition is /dev/rd/c0d0p1
>
>
> I used the HowTo from sistina.com, copied the files from /dev/rd/c0d0p1 to 
> /dev/sysvg/rootlv, edited the /etc/fstab pointing to the new partition 
> /dev/sysvg/rootlv.
> I made a reboot and everything worked fine. But in /etc/lilo.conf there's 
> the 
> entry root=/dev/rd/c0d0p1. I changed this entry to /dev/sysvg/rootlv. Then I 
> run lilo. After another reboot I got the kernel panic.
> The initrd is IMO working. But when I change the "root=" entry in 
> /etc/lilo.conf a kernel panic occurs.
> Can anybody help me ??
>
>
> Best regards 
> 
>
> Stefan Weigel

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-17  2:01 [linux-lvm] Re: problem with lvm on root-fs Stefan Weigel
@ 2002-10-17  2:20 ` Luca Berra
  2002-10-17  2:51   ` Stefan Weigel
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Berra @ 2002-10-17  2:20 UTC (permalink / raw)
  To: linux-lvm

On Thu, Oct 17, 2002 at 08:59:03AM +0200, Stefan Weigel wrote:
>Hi erveryone!
>I'm a little bit closer now. I've create an initrd with lvmcreate_initrd.
>In this initrd there was no module for my mylex-raid-controller. I've fixed 
>that problem, e.g. put the kernel module in it and changed linuxrc.
>After rebooting there's another kernel panic, but on this time the system 
>finds my volume groups. Output:
>
>kernel panic: no init found. Try passing init= to...
>
this usually means it couldn't mount your root fs, or got it wrong

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-17  2:20 ` Luca Berra
@ 2002-10-17  2:51   ` Stefan Weigel
  2002-10-17 15:31     ` Luca Berra
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Weigel @ 2002-10-17  2:51 UTC (permalink / raw)
  To: linux-lvm

Am Donnerstag, 17. Oktober 2002 09:15 schrieb Luca Berra:
> On Thu, Oct 17, 2002 at 08:59:03AM +0200, Stefan Weigel wrote:
> >Hi erveryone!
> >I'm a little bit closer now. I've create an initrd with lvmcreate_initrd.
> >In this initrd there was no module for my mylex-raid-controller. I've
> > fixed that problem, e.g. put the kernel module in it and changed linuxrc.
> > After rebooting there's another kernel panic, but on this time the system
> > finds my volume groups. Output:
> >
> >kernel panic: no init found. Try passing init= to...
>
> this usually means it couldn't mount your root fs, or got it wrong
>
> L.

Hi,
that's right, but where's my problem ? I've used the howto from sistina.com to 
convert my root-fs. On a non lvm root partition there are no problems. 
There's already the entry in /etc/fstab pointing to my root-fs on lvm. Also 
this is no problem. But when I changing lilo.conf (root=) to my root-fs on 
lvm I get this error. In the initrd there are all needed modules (RAID+lvm) 
and it find my volume groups but still I got this kernel panic. There's a 
/bin/sh, so why it is beefing ?

I'm very confused.

Greetings

Stefan

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-17  2:51   ` Stefan Weigel
@ 2002-10-17 15:31     ` Luca Berra
  2002-10-18  3:12       ` Stefan Weigel
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Berra @ 2002-10-17 15:31 UTC (permalink / raw)
  To: linux-lvm

Stefan Weigel wrote:
>>>kernel panic: no init found. Try passing init= to...
>>
>>this usually means it couldn't mount your root fs, or got it wrong
>>
>>L.
> 
> 
> Hi,
> that's right, but where's my problem ? I've used the howto from sistina.com to 

do you have any hint printed above this?

L.

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-17 15:31     ` Luca Berra
@ 2002-10-18  3:12       ` Stefan Weigel
  2002-10-18  4:59         ` Luca Berra
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Weigel @ 2002-10-18  3:12 UTC (permalink / raw)
  To: linux-lvm

Am Donnerstag, 17. Oktober 2002 22:30 schrieb Luca Berra:
> Stefan Weigel wrote:
> >>>kernel panic: no init found. Try passing init= to...
> >>
> >>this usually means it couldn't mount your root fs, or got it wrong
> >>
> >>L.
> >
> > Hi,
> > that's right, but where's my problem ? I've used the howto from
> > sistina.com to
>
> do you have any hint printed above this?
>
> L.
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Hi!
I don't know exactly what you guess. I've used this one: 
http://tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html

After the command lvmcreate_initrd I've mounted the initrd and added the 
module for my raid-controller and changed linuxrc. But I mentioned that.
Sorry if I misunderstand you.

Best regards

Stefan

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-18  3:12       ` Stefan Weigel
@ 2002-10-18  4:59         ` Luca Berra
  2002-10-18  5:39           ` Stefan Weigel
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Berra @ 2002-10-18  4:59 UTC (permalink / raw)
  To: linux-lvm

On Fri, Oct 18, 2002 at 10:13:56AM +0200, Stefan Weigel wrote:
>Am Donnerstag, 17. Oktober 2002 22:30 schrieb Luca Berra:
>> do you have any hint printed above this?
>>
>
>Hi!
>I don't know exactly what you guess. I've used this one: 
>http://tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html
>
I meant, could you maybe connect a serial cable and provide the boot
messages up to the kernel panic, or something like that

i am especially interested whether you have devfs or not,
messages from vgchange and the 'Mounted root' message

L.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-18  4:59         ` Luca Berra
@ 2002-10-18  5:39           ` Stefan Weigel
  2002-10-18  8:03             ` Stefan Weigel
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Weigel @ 2002-10-18  5:39 UTC (permalink / raw)
  To: linux-lvm

Am Freitag, 18. Oktober 2002 11:58 schrieb Luca Berra:
> On Fri, Oct 18, 2002 at 10:13:56AM +0200, Stefan Weigel wrote:
> >Am Donnerstag, 17. Oktober 2002 22:30 schrieb Luca Berra:
> >> do you have any hint printed above this?
> >
> >Hi!
> >I don't know exactly what you guess. I've used this one:
> >http://tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html
>
> I meant, could you maybe connect a serial cable and provide the boot
> messages up to the kernel panic, or something like that
>
> i am especially interested whether you have devfs or not,
> messages from vgchange and the 'Mounted root' message
>
> L.

Oh..ok. This should be no problem. I sent you the output soon.

Greetings

Stefan

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-18  5:39           ` Stefan Weigel
@ 2002-10-18  8:03             ` Stefan Weigel
  2002-10-20  5:35               ` Luca Berra
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Weigel @ 2002-10-18  8:03 UTC (permalink / raw)
  To: linux-lvm

Hi Luca!
I should be happy now but there's still a problem left. First: now I can boot 
from my lvm-root-fs (yeeehhaaa). My problem: one line in /etc/lilo.conf 
(ramdisk=16384 instead of ramdisk=8192).
But if I now want to run lilo I get this message:

Fatal: Sorry, dont know how to handle device 0x3a05

My lilo.conf:

...
boot=/dev/rd/c0d0

image = /boot/vmlinuz
  root = /dev/sysvg/rootlv
  label = lvm
  initrd = /boot/initrd-lvm-2.4.7-4GB.gz
  ramdisk = 16384
...

Best regards

Stefan Weigel



Am Freitag, 18. Oktober 2002 12:41 schrieb Stefan Weigel:
> Am Freitag, 18. Oktober 2002 11:58 schrieb Luca Berra:
> > On Fri, Oct 18, 2002 at 10:13:56AM +0200, Stefan Weigel wrote:
> > >Am Donnerstag, 17. Oktober 2002 22:30 schrieb Luca Berra:
> > >> do you have any hint printed above this?
> > >
> > >Hi!
> > >I don't know exactly what you guess. I've used this one:
> > >http://tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html
> >
> > I meant, could you maybe connect a serial cable and provide the boot
> > messages up to the kernel panic, or something like that
> >
> > i am especially interested whether you have devfs or not,
> > messages from vgchange and the 'Mounted root' message
> >
> > L.
>
> Oh..ok. This should be no problem. I sent you the output soon.
>
> Greetings
>
> Stefan
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* Re: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-18  8:03             ` Stefan Weigel
@ 2002-10-20  5:35               ` Luca Berra
  2002-10-20  9:20                 ` Re[2]: " Stefan Weigel
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Berra @ 2002-10-20  5:35 UTC (permalink / raw)
  To: linux-lvm

On Fri, Oct 18, 2002 at 03:05:11PM +0200, Stefan Weigel wrote:
>Hi Luca!
>I should be happy now but there's still a problem left. First: now I can boot 
>from my lvm-root-fs (yeeehhaaa). My problem: one line in /etc/lilo.conf 
>(ramdisk=16384 instead of ramdisk=8192).
>But if I now want to run lilo I get this message:
>
>Fatal: Sorry, dont know how to handle device 0x3a05
>
this could be caused by an old lilo version.

LVM support was added to mainstream lilo in version 22.

upgrade to latest version from
ftp://metalab.unc.edu/pub/Linux/system/boot/lilo

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re[2]: [linux-lvm] Re: problem with lvm on root-fs
  2002-10-20  5:35               ` Luca Berra
@ 2002-10-20  9:20                 ` Stefan Weigel
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Weigel @ 2002-10-20  9:20 UTC (permalink / raw)
  To: Luca Berra

Sunday, October 20, 2002, 12:34:57 PM, you wrote:

LB> On Fri, Oct 18, 2002 at 03:05:11PM +0200, Stefan Weigel wrote:
>>Hi Luca!
>>I should be happy now but there's still a problem left. First: now I can boot 
>>from my lvm-root-fs (yeeehhaaa). My problem: one line in /etc/lilo.conf 
>>(ramdisk=16384 instead of ramdisk=8192).
>>But if I now want to run lilo I get this message:
>>
>>Fatal: Sorry, dont know how to handle device 0x3a05
>>
LB> this could be caused by an old lilo version.

LB> LVM support was added to mainstream lilo in version 22.

LB> upgrade to latest version from
LB> ftp://metalab.unc.edu/pub/Linux/system/boot/lilo

LB> L.


Yes, this could be the problem. But on the other hand it's a SuSE
Linux Enterprise version. And SuSE is very common with LVM. So I will
be very surprised if their packages wouldn't work together. But I will
give this a try..I will report if this problem is caused by an old
lilo version.

best regards

Stefan

-- 

__________________________________________

 stefan weigel
 administration

 global linxs gmbh
 knowledge interaction
 romanstrasse 16
 80639 munich - germany
 www.global-linxs.com

 tel.: +49(0)89. 189 336- 61
 fax.: +49(0)89. 189 336- 99
 email: sw@global-linxs.com

__________________________________________

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

end of thread, other threads:[~2002-10-20  9:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17  2:01 [linux-lvm] Re: problem with lvm on root-fs Stefan Weigel
2002-10-17  2:20 ` Luca Berra
2002-10-17  2:51   ` Stefan Weigel
2002-10-17 15:31     ` Luca Berra
2002-10-18  3:12       ` Stefan Weigel
2002-10-18  4:59         ` Luca Berra
2002-10-18  5:39           ` Stefan Weigel
2002-10-18  8:03             ` Stefan Weigel
2002-10-20  5:35               ` Luca Berra
2002-10-20  9:20                 ` Re[2]: " Stefan Weigel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.