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

Re: Nachtrag: OT: XEN mit hardy-dom0 und etch-domU (was: ubuntu hardy xen pkgs mit etch (amd64))



Am Montag, den 26.05.2008, 19:20 +0200 schrieb Markus Schulz:
> Am Montag, 26. Mai 2008 schrieb Thomas Halinka:
> > Am Montag, den 26.05.2008, 02:18 +0200 schrieb Thomas Halinka:
> > > Hallo zusammen,
> >
> > anbei das Log des starten etch-Gastsystems:
> >
> > Using config file "/srv/xen/univ.cfg".
> > Started domain univ
> >                    [    0.000000] Linux version 2.6.24-17-xen
> > (buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP
> > Thu May 1 15:55:31 UTC 2008 (Ubuntu 2.6.24-4.6-generic)
> > [    0.000000] Command line: root=/dev/sda1 ro
> 
> [...]
> 
> > [    0.648159] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02)
> > initialised: dm-devel@redhat.com
> > Done.
> > Begin: Running /scripts/init-premount ...
> > Done.
> > Begin: Mounting root file system... ...
> > Begin: Running /scripts/local-top ...
> > Done.
> > Begin: Waiting for root file system... ...
> > Done.
> > Begin: Running /scripts/local-premount ...
> > Begin: Waiting for resume device... ...
> > Done.
> > Done.
> > [    6.222440] kjournald starting.  Commit interval 5 seconds
> > [    6.222452] EXT3-fs: mounted filesystem with ordered data mode.
> > Begin: Running /scripts/local-bottom ...
> > Done.
> > Done.
> > Begin: Running /scripts/init-bottom ...
> > Done.
> > mount: Mounting /sys on /root/sys failed: No such file or directory
> > mount: Mounting /proc on /root/proc failed: No such file or directory
> 
> Deine initrd scheint defekt zu sein, entpacke sie doch einfach mal und 
> schau dir den Inhalt genauer an. Sind die verwendeten Kernel+Initrd per 
> Paket installiert, dabei wird die initrd idR neu erzeugt, dabei aber 
> mit Daten aus dem Hostsystem (dom0), die sind ja eventuell nicht 
> passend?

Yeah - du liegst richtisch oder nahezu:

xm create /srv/xen/univ.cfg -c
Using config file "/srv/xen/univ.cfg".
Started domain univ
                   [    0.000000] Linux version 2.6.24-17-xen
(buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu
May 1 15:55:31 UTC 2008 (Ubuntu 2.6.24-4.6-generic)
[    0.000000] Command line: root=/dev/sda1 ro 
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 000000009cc00000 (usable)
[    0.000000] end_pfn_map = 642048
[18533.242143] Zone PFN ranges:
[18533.242145]   DMA             0 ->     4096
[18533.242147]   DMA32        4096 ->  1048576
[18533.242148]   Normal    1048576 ->  1048576
[18533.242150] Movable zone start PFN for each node
[18533.242151] early_node_map[1] active PFN ranges
[18533.242152]     0:        0 ->   642048
[18533.288142] No mptable found.
[18533.294274] PERCPU: Allocating 22368 bytes of per cpu data
[18533.294296] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 633270
[18533.294300] Kernel command line: root=/dev/sda1 ro 
[18533.294780] Initializing CPU#0
[18533.295017] PID hash table entries: 4096 (order: 12, 32768 bytes)
[18533.295068] Xen reported: 1995.007 MHz processor.
[    0.179784] console [xvc0] enabled
[    0.179822] Console: colour dummy device 80x25
[    0.181137] Dentry cache hash table entries: 524288 (order: 10,
4194304 bytes)
[    0.182607] Inode-cache hash table entries: 262144 (order: 9, 2097152
bytes)
[    0.182965] Software IO TLB disabled
[    0.200843] Memory: 2481328k/2568192k available (2531k kernel code,
78452k reserved, 1329k data, 220k init)
[    0.267804] Calibrating delay using timer specific routine.. 3991.99
BogoMIPS (lpj=7983987)
[    0.267845] Security Framework initialized
[    0.267856] SELinux:  Disabled at boot.
[    0.267863] AppArmor: AppArmor initialized
[    0.267867] Failure registering capabilities with primary security
module.
[    0.267882] Mount-cache hash table entries: 256
[    0.268010] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.268014] CPU: L2 cache: 6144K
[    0.268024] CPU: Physical Processor ID: 1
[    0.268025] CPU: Processor Core ID: 3
[    0.268033] SMP alternatives: switching to UP code
[    0.268903] Freeing SMP alternatives: 23k freed
[    0.269030] Early unpacking initramfs... done
[    0.288049] Brought up 1 CPUs
[    0.288623] net_namespace: 120 bytes
[    0.288628] failed to set up cpufreq notifier
[    0.307834] Time: 165:165:165  Date: 165/165/65
[    0.307865] NET: Registered protocol family 16
[    0.308866] Brought up 1 CPUs
[    0.308877] PCI: Fatal: No config space access function found
[    0.308880] PCI: setting up Xen PCI frontend stub
[    0.309394] ACPI: Interpreter disabled.
[    0.309399] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.309426] pnp: PnP ACPI: disabled
[    0.309636] xen_mem: Initialising balloon driver.
[    0.310560] Setting mem allocation to 2560000 kiB
[    0.310801] PCI: System does not support PCI
[    0.310805] PCI: System does not support PCI
[    0.324554] NET: Registered protocol family 8
[    0.324557] NET: Registered protocol family 20
[    0.324615] AppArmor: AppArmor Filesystem Enabled
[    0.324972] NET: Registered protocol family 2
[    0.328513] Time: xen clocksource has been installed.
[    0.360448] IP route cache hash table entries: 131072 (order: 8,
1048576 bytes)
[    0.360900] TCP established hash table entries: 262144 (order: 10,
4194304 bytes)
[    0.362293] TCP bind hash table entries: 65536 (order: 8, 1048576
bytes)
[    0.362656] TCP: Hash tables configured (established 262144 bind
65536)
[    0.362660] TCP reno registered
[    0.372474] checking if image is initramfs... it is
[    0.392520] Freeing initrd memory: 21824k freed
[    0.401281] audit: initializing netlink socket (disabled)
[    0.401301] audit(1211824902.516:1): initialized
[    0.401568] VFS: Disk quotas dquot_6.5.1
[    0.401588] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.401659] io scheduler noop registered
[    0.401665] io scheduler anticipatory registered
[    0.401667] io scheduler deadline registered
[    0.401674] io scheduler cfq registered (default)
[    0.401874] Xen virtual console successfully installed as xvc0
[    0.401923] Event-channel device installed.
[    0.407480] Successfully initialized TPM backend driver.
[    0.412431] netfront: Initialising virtual ethernet driver.
[    0.413694] xen-vbd: registered block device major 8
[    0.437479] rtc: IRQ 8 is not free.
[    0.437550] Linux agpgart interface v0.102
[    0.438066] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize
[    0.438125] input: Macintosh mouse button emulation
as /devices/virtual/input/input0
[    0.438233] PNP: No PS/2 controller found. Probing ports directly.
[    0.439062] i8042.c: No controller found.
[    0.440318] mice: PS/2 mouse device common for all mice
[    0.440351] cpuidle: using governor ladder
[    0.440407] NET: Registered protocol family 1
[    0.440452] registered taskstats version 1
[    0.440460] XENBUS: Device with no driver: device/console/0
[    0.440472]   Magic number: 1:252:3141
[
0.440505] /build/buildd/linux-2.6.24/debian/build/custom-source-xen/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.440513] Freeing unused kernel memory: 220k freed
Loading, please wait...
Begin: Loading essential drivers... ...
[    0.641322] fuse init (API version 7.9)
[    0.664502] thermal: Unknown symbol acpi_processor_set_thermal_limit
[    0.679246] device-mapper: uevent: version 1.0.3
[    0.679286] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02)
initialised: dm-devel@redhat.com
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
Done.
Begin: Running /scripts/local-premount ...
Begin: Waiting for resume device... ...
Done.
Done.
[    6.248632] kjournald starting.  Commit interval 5 seconds
[    6.248644] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
INIT: version 2.86 booting
Setting hostname to 'kzv_sh_ucs1'...hostname: the specified hostname is
invalid
done.
* Files under mount point '/lib/init/rw' will be hidden.
Starting the hotplug events dispatcher: udevdudevd[2181]: nss_ldap:
could not search LDAP server - Server is unavailable
udevd[2181]: lookup_group: error resolving group 'scanner': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'scanner': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'scanner': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'scanner': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'nvram': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_user: error resolving user 'tss': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'tss': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'fuse': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'kvm': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'rdma': Illegal seek
udevd[2181]: nss_ldap: could not search LDAP server - Server is
unavailable
udevd[2181]: lookup_group: error resolving group 'rdma': Illegal seek
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Setting parameters of disc: (none).
Activating swap:swapon on /dev/sda2
[    9.207832] Unable to find swap-space signature
swapon: /dev/sda2: Invalid argument
 failed!
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda1 
/dev/sda1: clean, 157090/12165120 files, 3055807/48640000 blocks
.
[    9.306829] EXT3 FS on sda1, internal journal
Setting the system clock..
System Clock set. Local time: Mon May 26 18:01:53 UTC 2008.
Cleaning up ifupdown....
Loading kernel module usb_storage.
[   11.404075] usbcore: registered new interface driver usbfs
[   11.404101] usbcore: registered new interface driver hub
[   11.405380] usbcore: registered new device driver usb
[   11.408656] usbcore: registered new interface driver libusual
[   11.442858] SCSI subsystem initialized
[   11.446636] Initializing USB Mass Storage driver...
[   11.446654] usbcore: registered new interface driver usb-storage
[   11.446660] USB Mass Storage support registered.
Loading kernel module ipv6.
FATAL: Could not open
'/lib/modules/2.6.24-17-xen/kernel/net/ipv6/ipv6.ko': Not a directory
Loading kernel module tg3.
Loading kernel module shpchp.
[   11.508473] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   11.515048] shpchp: Standard Hot Plug PCI Controller Driver version:
0.4
Loading kernel module pci_hotplug.
Loading kernel module ide_generic.
[   11.544806] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   11.544812] ide: Assuming 50MHz system bus speed for PIO modes;
override with idebus=xx
Loading kernel module i2c_i801.
Loading kernel module i2c_core.
Loading kernel module ehci_hcd.
Loading kernel module bnx2.
Loading kernel module zlib_inflate.
FATAL: Module zlib_inflate not found.
Loading kernel module aacraid.
[   13.874115] Adaptec aacraid driver 1.1-5[2449]-ms
Loading kernel module usbhid.
[   13.906503] usbcore: registered new interface driver hiddev
[   13.906516] usbcore: registered new interface driver usbhid
[
13.906520] /build/buildd/linux-2.6.24/debian/build/custom-source-xen/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Loading kernel module uhci_hcd.
[   13.923174] USB Universal Host Controller Interface driver v3.0
Loading kernel module usbcore.
Loading kernel module quota_v2.
Creating device-mapper devices...done.
Loading device-mapper support.
Will now check all file systems.
fsck 1.40-WIP (14-Nov-2006)
Checking all file systems.
Done checking file systems. 
A log is being saved in /var/log/fsck/checkfs if that location is
writable.
Setting kernel variables...done.
Will now mount local filesystems:.
Will now activate swapfile swap:swapon on /dev/sda2
[   14.059048] Unable to find swap-space signature
swapon: /dev/sda2: Invalid argument
failed.
Cleaning /tmp...done.
Cleaning /var/run...done.
Cleaning /var/lock...done.
Setting up networking....
* /etc/network/options is deprecated (see README.Debian of netbase).
Setting up IP spoofing protection...done (rp_filter).
Configuring network interfaces...modprobe: FATAL: Could not open
'/lib/modules/2.6.24-17-xen/kernel/net/ipv6/ipv6.ko': Not a directory


So nun habe ich nämlich /lib/modules aus dom0 kopiert, sondern aus
laufender etch-domU, die mittels xen-tools generiert wurde und das hats
gebracht oder nahezu, denn nun bin ich weiter, aber:


[   19.660109] end_request: I/O error, dev sda1, sector 11248
[   19.660120] end_request: I/O error, dev sda1, sector 11336
[   19.661118] end_request: I/O error, dev sda1, sector 11160
[   19.662861] Aborting journal on device sda1.
[   19.662906] end_request: I/O error, dev sda1, sector 10312
[   19.662911] Buffer I/O error on device sda1, logical block 1289
[   19.662915] lost page write due to I/O error on sda1
[   25.049057] ext3_abort called.
[   25.049064] EXT3-fs error (device sda1): ext3_journal_start_sb:
Detected aborted journal
[   25.049068] Remounting filesystem read-only
if-up.d/mountnfs[eth4]: lock /var/run/network/mountnfs exist, not
mounting
modprobe: FATAL: Could not open
'/lib/modules/2.6.24-17-xen/kernel/net/ipv6/ipv6.ko': Not a directory

ifup: failed to open statefile /etc/network/run/ifstate: Read-only file
system
failed.
Starting portmap daemon....
/etc/rcS.d/S55bootmisc.sh: line 23: /var/lib/initscripts/nologin:
Read-only file system
/etc/rcS.d/S55bootmisc.sh: line 28: /var/run/utmp: Read-only file system
Initializing random number generator...rm: cannot remove
`/var/lib/urandom/random-seed': Read-only file system
failed.
Recovering nvi editor sessions... done.
Setting up X server socket directory /tmp/.X11-unix...mkdir: cannot
create directory `/tmp/.X11-unix': Read-only file system
INIT: Entering runlevel: 2
Starting system log daemon: syslogd[   40.150854] end_request: I/O
error, dev sda1, sector 238026760
[   40.150863] Buffer I/O error on device sda1, logical block 29753345
[   40.150866] lost page write due to I/O error on sda1
[   40.150869] Buffer I/O error on device sda1, logical block 29753346
[   40.150871] lost page write due to I/O error on sda1
[   40.150873] Buffer I/O error on device sda1, logical block 29753347
[   40.150876] lost page write due to I/O error on sda1
[   40.150878] Buffer I/O error on device sda1, logical block 29753348
[   40.150881] lost page write due to I/O error on sda1

kommt weiterhin - nur später, aber nun seh ich endlich mal was
greifbares:

[18717.583543] drbd0: local disk flush failed with status -5
[18719.587198] drbd0: local disk flush failed with status -5
[18721.590894] drbd0: local disk flush failed with status -5
[18723.594566] drbd0: local disk flush failed with status -5
[18725.597999] drbd0: local disk flush failed with status -5
[18727.601860] drbd0: local disk flush failed with status -5
[18729.605428] drbd0: local disk flush failed with status -5
[18731.609031] drbd0: local disk flush failed with status -5
[18733.612683] drbd0: local disk flush failed with status -5
[18735.615204] drbd0: local disk flush failed with status -5
[18737.618942] drbd0: local disk flush failed with status -5
[18739.622596] drbd0: local disk flush failed with status -5
[18741.626311] drbd0: local disk flush failed with status -5
[18743.629925] drbd0: local disk flush failed with status -5
[18745.633684] drbd0: local disk flush failed with status -5
[18747.637229] drbd0: local disk flush failed with status -5
[18749.640850] drbd0: local disk flush failed with status -5
[18751.644576] drbd0: local disk flush failed with status -5
[18753.648448] drbd0: local disk flush failed with status -5
[18755.651968] drbd0: local disk flush failed with status -5
[18757.655722] drbd0: local disk flush failed with status -5
[18759.659369] drbd0: local disk flush failed with status -5
[18761.661708] drbd0: local disk flush failed with status -5
[18763.665243] drbd0: local disk flush failed with status -5
[18765.668877] drbd0: local disk flush failed with status -5
[18767.672481] drbd0: local disk flush failed with status -5
[18769.676310] drbd0: local disk flush failed with status -5
[18771.679934] drbd0: local disk flush failed with status -5
[18773.683572] drbd0: local disk flush failed with status -5
[18775.687125] drbd0: local disk flush failed with status -5
[18777.690819] drbd0: local disk flush failed with status -5
[18779.694577] drbd0: local disk flush failed with status -5
[18781.697243] drbd0: local disk flush failed with status -5

Jetzt kommt mein drbd-device ausser Tritt.... Vermutlich habe ich mir
das wohl irgendwie während irgendwelche Basteleien, die während dieses
WE nahezu ohne Schlaf passiert sein könnte....

Das setze ich mal neu auf und sehe weiter - die Meldungen gabs davor
nämlich NICHT.....

> Vermutlich ist es bei solchen Mischsystemen besser die initrd immer in 
> der domu zu erzeugen und auf die dom0 zu kopieren. Oder man bootet via 
> qemu direkt in einen bootmanager ala grub, anstatt direkt den kernel.

Oder nutzt besagte Gäste als HVM, was identisch sein sollte...

> 
> -- 
> Markus Schulz

Vielen Dank!

Grüße

Thomas,

der nun endlich ein Problem sieht :D


Reply to: