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

Bug#504709: marked as done (Xen console problems)



Your message dated Thu, 19 Feb 2009 11:29:51 +0100
with message-id <20090219102951.GA8066@wavehammer.waldi.eu.org>
and subject line Re: Bug#504709: #504709 Xen console problems
has caused the Debian Bug report #504709,
regarding Xen console problems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
504709: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504709
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Subject: linux-image-2.6.26-1-xen-amd64: DomU console problems
Package: linux-image-2.6.26-1-xen-amd64
Version: 2.6.26-8
Severity: important

I created a Xen DomU with xen-tools with:
xen-create-image -debootstrap -dir=/home/xen -size=20Gb -memory=512Mb  -fs=ext3 -cache=yes -dist=lenny -hostname=mapnik -ip 10.0.0.1 -netmask 255.0.0.0 -gateway 10.0.0.254  -mirror=http://mirror.isoc.org.il/pub/debian/ --role=minimal  --image=sparse

I got a proper disk image and swap image that I can loop mount.

I try to start it with;
xm create -c /etc/xen/mapnik.cfg

It starts to boot and then there are no longer console messages and there is no console login. The last message is about the lo driver. I attach the console log.

If I try to connect with ssh (using NAT networking) I can connect and after loop mounting and setting a root password I can even login but I get an error that there is no tty and I cannot do much beyond that. I can however connect with ssh to execute commands inside the machine such as ls / and things seem to work and booted.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.26-1-xen-amd64 depends on:
ii  initramfs-tools               0.92j      tools for generating an initramfs
ii  linux-modules-2.6.26-1-xen-am 2.6.26-8   Linux 2.6.26 modules on AMD64

linux-image-2.6.26-1-xen-amd64 recommends no packages.

Versions of packages linux-image-2.6.26-1-xen-amd64 suggests:
ii  grub                          0.97-47    GRand Unified Bootloader (Legacy v
pn  linux-doc-2.6.26              <none>     (no description available)

-- no debconf information
Using config file "/etc/xen/mapnik.cfg".
Started domain mapnik
[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 2.6.26-1-xen-amd64 (Debian 2.6.26-8) (waldi@debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Thu Oct 9 17:11:22 UTC 2008

[    0.000000] Command line: root=/dev/sda2 ro ip=10.0.0.1:1.2.3.4:10.0.0.129:255.0.0.0:mapnik:eth0:off xencons=tty0 console=tty0

[    0.000000] BIOS-provided physical RAM map:

[    0.000000]  Xen: 0000000000000000 - 0000000020800000 (usable)

[    0.000000] max_pfn_mapped = 133120

[    0.000000] init_memory_mapping

[    0.000000]   early res: 0 [200000-631917] TEXT DATA BSS

[    0.000000]   early res: 1 [632000-2171fff] Xen provided

[    0.000000]   early res: 2 [2172000-2278fff] PGTABLE

[    0.000000] Zone PFN ranges:

[    0.000000]   DMA             0 ->     4096

[    0.000000]   DMA32        4096 ->  1048576

[    0.000000]   Normal    1048576 ->  1048576

[    0.000000] Movable zone start PFN for each node

[    0.000000] early_node_map[1] active PFN ranges

[    0.000000]     0:        0 ->   133120

[    0.000000] PERCPU: Allocating 22192 bytes of per cpu data

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 131300

[    0.000000] Kernel command line: root=/dev/sda2 ro ip=10.0.0.1:1.2.3.4:10.0.0.129:255.0.0.0:mapnik:eth0:off xencons=tty0 console=tty0

[    0.000000] Initializing CPU#0

[    0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)

[    0.000000] Xen reported: 3000.106 MHz processor.

[    0.004000] Console: colour dummy device 80x25

[    0.004000] console [tty0] enabled

[    0.004000] console [tty0] enabled

[    0.004000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)

[    0.004000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)

[    0.004000] Software IO TLB disabled

[    0.004000] Memory: 481768k/532480k available (2277k kernel code, 42216k reserved, 1021k data, 216k init)

[    0.920068] Calibrating delay using timer specific routine.. 6005.27 BogoMIPS (lpj=12010548)

[    0.920120] Security Framework initialized

[    0.920133] SELinux:  Disabled at boot.

[    0.920142] Capability LSM initialized

[    0.920164] Mount-cache hash table entries: 256

[    0.920338] Initializing cgroup subsys ns

[    0.920349] Initializing cgroup subsys cpuacct

[    0.920356] Initializing cgroup subsys devices

[    0.920400] CPU: Trace cache: 12K uops, L1 D cache: 16K

[    0.920410] CPU: L2 cache: 2048K

[    0.920419] CPU: Physical Processor ID: 0

[    0.920424] CPU: Processor Core ID: 0

[    0.920432] SMP alternatives: switching to UP code

[    0.931885] Freeing SMP alternatives: 21k freed

[    0.932032] Brought up 1 CPUs

[    0.935438] net_namespace: 1224 bytes

[    0.935643] NET: Registered protocol family 16

[    0.937233] Brought up 1 CPUs

[    0.937252] PCI: Fatal: No config space access function found

[    0.937259] PCI: setting up Xen PCI frontend stub

[    0.938216] ACPI: Interpreter disabled.

[    0.938226] Linux Plug and Play Support v0.97 (c) Adam Belay

[    0.938271] pnp: PnP ACPI: disabled

[    0.938609] suspend: event channel 7

[    0.939273] xen_mem: Initialising balloon driver.

[    0.941003] usbcore: registered new interface driver usbfs

[    0.941092] usbcore: registered new interface driver hub

[    0.941154] usbcore: registered new device driver usb

[    0.941379] PCI: System does not support PCI

[    0.941387] PCI: System does not support PCI

[    0.953671] NET: Registered protocol family 2

[    0.989077] IP route cache hash table entries: 32768 (order: 6, 262144 bytes)

[    0.989399] TCP established hash table entries: 131072 (order: 9, 2097152 bytes)

[    0.990143] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)

[    0.990719] TCP: Hash tables configured (established 131072 bind 65536)

[    0.990726] TCP reno registered

[    1.001122] NET: Registered protocol family 1

[    1.001255] checking if image is initramfs... it is

[    1.030366] Freeing initrd memory: 26784k freed

[    1.044080] audit: initializing netlink socket (disabled)

[    1.044080] type=2000 audit(1225977087.088:1): initialized

[    1.044080] VFS: Disk quotas dquot_6.5.1

[    1.044080] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    1.044080] msgmni has been set to 1076

[    1.044080] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

[    1.044080] io scheduler noop registered

[    1.044080] io scheduler anticipatory registered

[    1.044080] io scheduler deadline registered

[    1.044080] io scheduler cfq registered (default)

[    1.044361] Linux agpgart interface v0.103

[    1.044412] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled

[    1.046258] brd: module loaded

[    1.046346] input: Macintosh mouse button emulation as /class/input/input0

[    1.048896] Xen virtual console successfully installed as tty0

[    1.048968] Event-channel device installed.

[    1.059331] netfront: Initialising virtual ethernet driver.

[    1.061887] PNP: No PS/2 controller found. Probing ports directly.

[    1.062727] i8042.c: No controller found.

[    1.072210] mice: PS/2 mouse device common for all mice

[    1.072360] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0

[    1.072504] No iBFT detected.

[    1.072977] TCP cubic registered

[    1.072985] NET: Registered protocol family 17

[    1.073154] registered taskstats version 1

[    1.073195] xen-vbd: registered block device major 8

[    1.073216] blkfront: sda1: barriers enabled

[    1.081319] blkfront: sda2: barriers enabled

[    1.172064] XENBUS: Device with no driver: device/console/0

[    1.172074] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

[    1.172086] Freeing unused kernel memory: 216k freed

[    2.429000] thermal: Unknown symbol acpi_processor_set_thermal_limit

[    2.927019] device-mapper: uevent: version 1.0.3

[    2.929479] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com

[    3.031121] kjournald starting.  Commit interval 5 seconds

[    3.031147] EXT3-fs: mounted filesystem with ordered data mode.

[    3.443250] Adding 131064k swap on /dev/sda1.  Priority:-1 extents:1 across:131064k

[    3.481956] EXT3 FS on sda2, internal journal

[    4.083647] NET: Registered protocol family 10

[    4.084105] lo: Disabled Privacy Extensions

[    9.396620] xen console-0: xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping

[    9.704991] System halted.


--- End Message ---
--- Begin Message ---
On Thu, Feb 19, 2009 at 10:59:39AM +0100, Axel Beckert wrote:
> On one Xen Dom0 I have Lenny DomUs with and without this problem. Same
> inittab on all (the one created by xen-create-image/debootstrap)
> DomUs, so it shouldn't be the cause.

xen-tools still creates broken inittabs and xen configs for new kernels.

> Main difference are the kernels: The working DomUs run Etch Xen
> kernels, the DomUs with broken console Lenny Xen kernels. The Dom0
> runs Lenny.

Both works. The later one uses hvc0 as default console.

> 1:2345:respawn:/sbin/getty 38400 tty1

This lacks the console on hvc0.

> disk        = [
>                   'phy:/dev/vg0/alohomora-swap,sda1,w',
>                   'phy:/dev/vg0/alohomora-disk,sda2,w',
>               ]

As I thought, this does not work with current kernels.

I'm closing this bug now as the config is broken. Please bug xen-tools
for them.

Bastian

-- 
He's dead, Jim.
		-- McCoy, "The Devil in the Dark", stardate 3196.1


--- End Message ---

Reply to: