Bug#575069: kexec-tools: doesn't boot if root is a lvm volume and swap too

2010-04-20 Thread Javier Barroso

On 14/04/10 19:18, Khalid Aziz wrote:

On Tue, 2010-03-23 at 10:30 +0100, Javier Barroso wrote:
   

I tried to use kexec:
# kexec -l /boot/vmlinuz-2.6.30-1-686 --append=root=/dev/vg/root 
--initrd=/boot/initrd-2.6.30-1-686
# kexec -e

 

Have you tried loading kernel with:

# kexec -l /boot/vmlinuz-2.6.30-1-686 --append=`cat /proc/cmdline` 
--initrd=/boot/initrd-2.6.30-1-686
# kexec -e

If you haven't tried it, can you check if it works.
   
I tried it, but it didn't work. Again only /dev/vg/swap appear in 
/dev/vg and a limited initrd shell is show to me


Thank you very much!



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575069: kexec-tools: doesn't boot if root is a lvm volume and swap too

2010-04-20 Thread Khalid Aziz
On Tue, 2010-04-20 at 10:59 +0200, Javier Barroso wrote:
 On 14/04/10 19:18, Khalid Aziz wrote:
  On Tue, 2010-03-23 at 10:30 +0100, Javier Barroso wrote:
 
  I tried to use kexec:
  # kexec -l /boot/vmlinuz-2.6.30-1-686 --append=root=/dev/vg/root 
  --initrd=/boot/initrd-2.6.30-1-686
  # kexec -e
 
   
  Have you tried loading kernel with:
 
  # kexec -l /boot/vmlinuz-2.6.30-1-686 --append=`cat /proc/cmdline` 
  --initrd=/boot/initrd-2.6.30-1-686
  # kexec -e
 
  If you haven't tried it, can you check if it works.
 
 I tried it, but it didn't work. Again only /dev/vg/swap appear in 
 /dev/vg and a limited initrd shell is show to me
 
 Thank you very much!
 
 
 

I will have to set up a system to reproduce and debug this. That will
take some time but I will work on it.

-- 
===
Khalid Aziz
kha...@debian.org




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575069: kexec-tools: doesn't boot if root is a lvm volume and swap too

2010-04-14 Thread Khalid Aziz
On Tue, 2010-03-23 at 10:30 +0100, Javier Barroso wrote:
 I tried to use kexec:
 # kexec -l /boot/vmlinuz-2.6.30-1-686 --append=root=/dev/vg/root 
 --initrd=/boot/initrd-2.6.30-1-686
 # kexec -e
 

Have you tried loading kernel with:

# kexec -l /boot/vmlinuz-2.6.30-1-686 --append=`cat /proc/cmdline` 
--initrd=/boot/initrd-2.6.30-1-686
# kexec -e

If you haven't tried it, can you check if it works.

-- 
===
Khalid Aziz
kha...@debian.org




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575069: kexec-tools: doesn't boot if root is a lvm volume and swap too

2010-03-23 Thread Javier Barroso
Package: kexec-tools
Version: 1:2.0.1-1
Severity: normal


Hi,

I have a system with lvm partitions. swap and root are lvm partitions.

I tried to use kexec:
# kexec -l /boot/vmlinuz-2.6.30-1-686 --append=root=/dev/vg/root 
--initrd=/boot/initrd-2.6.30-1-686
# kexec -e

Then It hangs at mounting root filesystem, and then it show me a shell.

Inside this shell I can see:
# ls /dev/vg
swap

I can activate my logical volumes with vgchange
# vgchange -ay vg
...
30 logical volumes in volume group vg  now active


I tried too with append=/dev/mapper/vg-root
# kexec -l /boot/vmlinuz-2.6.30-1-686 --append=root=/dev/mapper/vg-root 
--initrd=/boot/initrd-2.6.30-1-686
# kexec -e

And it hangs for me telling it is not able to mount root but doesn't return any 
shell (like a oops appears in screen)


Thank you very much

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kexec-tools depends on:
ii  debconf [debconf-2.0] 1.5.29 Debian configuration management sy
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib

kexec-tools recommends no packages.

kexec-tools suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org