[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wheezy mit xen 4.1 sid als domU Kernelpanik



Sorry für die PM, der Donnervogel hat mich wiedermal reingelegt!



Am 07.01.2014 15:47, schrieb Helmut Backhaus:
Hallo Paul,

Am 07.01.2014 07:56, schrieb Paul Muster:
On 05.01.2014 07:43, Helmut Backhaus wrote:

Das wäre ja zu schön gewesen!
Leider klappt das nicht.

Fehlermeldung?
Ich glaube, das das nicht viel aussagt.

Error: Boot loader didn't return any data!



Dann habe ich mal eine DVD-Installation gemacht, aber auch damit bekomme
ich es mit pygrub nicht hin. Ich habe im I-Net gelesen, dass es damit
wohl immer mal Probleme gegeben *hat*. Das scheint aber alles länger
herzu sein (2010/2011).
Eine Lösung zu meinem Problem habe ich aber nicht gefunden.

Deshalb hier nun erst mal die Frage:
Was soll ich an Daten, Fehlermeldungen usw. liefern? Was kann ich testen?
Mir fehlt da so etwas der Ansatz.

* Plattenkonfiguration der DomU (aus der .cfg)
disk = [

# 'file:/xen/iso/testing/2014-01-02/debian-testing-i386-amd64-source-DVD-1.iso,xvdd:cdrom,r' ,
'phy:/dev/vg1/deb-test5-disk,xvda,w'
, 'phy:/dev/vg1/deb-test5-swap,xvdb,w'
]

Das ISO-File habe ich nur zur Installation gebraucht, auch ohne diese Zeile ist das Verhalten das gleiche.
* ggf. Partitionierung in der DomU
Hier ist mir nicht ganz klar was ich liefern soll.
Ich habe die DomU jetzt mal mit Kernel von extern gestartet und hoffe, dass folgendes weiterhilft:

root@deb-test5:~# uname -a
Linux deb-test5 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux
root@deb-test5:~# cat /etc/debian_version
jessie/sid

Abfrage fdisk:
root@deb-test5:~# fdisk -l

Disk /dev/xvda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/xvda doesn't contain a valid partition table

Disk /dev/xvdb: 536 MB, 536870912 bytes
37 heads, 35 sectors/track, 809 cylinders, total 1048576 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b839d

Device Boot Start End Blocks Id System
/dev/xvdb1 2048 1046527 522240 82 Linux swap / Solaris
root@deb-test5:~#

Abfrage proc/mounts:
root@deb-test5:~# cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=25877,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=24700k,mode=755 0 0
/dev/xvda / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=153840k 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
root@deb-test5:~#


* Auszug aus /var/log/xen/xend.log beim Versuch, die DomU zu starten
[2014-01-07 15:26:21 4473] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'deb-test5'], ['memory', 1024], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['bootloader', '/usr/lib/xen-4.1/bin/pygrub'], ['bootloader_args', '-q'], ['image', ['linux', ['root', '/dev/xvda ro'], ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'phy:/dev/vg1/deb-test5-disk'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vg1/deb-test5-swap'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['vif']]]) [2014-01-07 15:26:21 4473] DEBUG (XendDomainInfo:2498) XendDomainInfo.constructDomain [2014-01-07 15:26:21 4473] DEBUG (balloon:187) Balloon: 7731668 KiB free; need 16384; done.
[2014-01-07 15:26:21 4473] DEBUG (XendDomain:476) Adding Domain: 6
[2014-01-07 15:26:21 4473] DEBUG (XendDomainInfo:2836) XendDomainInfo.initDomain: 6 256 [2014-01-07 15:26:22 6386] DEBUG (XendBootloader:113) Launching bootloader as ['/usr/lib/xen-4.1/bin/pygrub', '--args=root=/dev/xvda ro ', '--output=/var/run/xend/boot/xenbl.501', '-q', '/dev/vg1/deb-test5-disk']. [2014-01-07 15:26:24 4473] ERROR (XendBootloader:214) Boot loader didn't return any data!
[2014-01-07 15:26:24 4473] ERROR (XendDomainInfo:488) VM start failed
Traceback (most recent call last):
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 474, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2838, in _initDomain
self._configureBootloader()
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 3285, in _configureBootloader
bootloader_args, kernel, ramdisk, args)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendBootloader.py", line 215, in bootloader
raise VmError, msg
VmError: Boot loader didn't return any data!
[2014-01-07 15:26:24 4473] DEBUG (XendDomainInfo:3071) XendDomainInfo.destroy: domid=6
[2014-01-07 15:26:25 4473] DEBUG (XendDomainInfo:2406) No device model
[2014-01-07 15:26:25 4473] DEBUG (XendDomainInfo:2408) Releasing devices
[2014-01-07 15:26:25 4473] ERROR (XendDomainInfo:108) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 106, in create
vm.start()
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 474, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2838, in _initDomain
self._configureBootloader()
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 3285, in _configureBootloader
bootloader_args, kernel, ramdisk, args)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendBootloader.py", line 215, in bootloader
raise VmError, msg
VmError: Boot loader didn't return any data!

* Anzeige der DomU (starte die DomU mal inkl. sofortigem Verbinden auf die Konsole, bei xm create ... ist das -c)
=======================>
pyGRUB version 0.6
┌────────────────────────────────────────────────────────────────────────┐
│ Debian GNU/Linux, with Linux 3.11-2-amd64 │
│ Debian GNU/Linux, with Linux 3.11-2-amd64 (recovery mode) │
│ │
│ │
│ │
│ │
│ │
│ │
└────────────────────────────────────────────────────────────────────────┘
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.




Will boot selected entry in 1 seconds


[Errno 28] No space left on device
Error writing temporary copy of ramdisk
root@deb64-xen:~# Error: Boot loader didn't return any data!
==================================>

Ich hoffe, dass ist so zu erkennen.

Dann habe ich noch folgendes probiert:
root@deb64-xen:~# pygrub -i /dev/vg1/deb-test5-disk

Hier kommt erst das von oben drüber und dann das hier:

Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /boot/grub/grub.cfg
WARNING:root:Unknown directive load_video
WARNING:root:Unknown directive terminal_output
WARNING:root:Unknown image directive load_video
WARNING:root:Unknown image directive load_video
WARNING:root:Unknown directive source
[Errno 28] No space left on device
Error writing temporary copy of ramdisk
root@deb64-xen:~#


In beiden Fällen habe ich den grub2 installiert, ist dass so richtig?

Ja.
Dann habe ich ja nicht alles falsch gemacht. ;-)

Danke für die Unterstütztung!!



--
Gruß,
Helmut Backhaus


Reply to: