Install Debian Etch PV DomU with VNC at Solaris Nevada (build 98) Dom0

This posting utilizes same image file for loading HVM and PV Debian Etch DomUs at SNV_98 Dom0. Due to ongoing issue with “rge” driver Solaris Nevada (98) causes faillure to run “apt-get install” at Debian PV DomUs, until checksums offloading at DomU will get disabled via “ethtool”. It also provides a simple way of VNC connection to Debian PV DomU. VNC setup on Debian PV DomU versus Ubuntu Hardy provides just one x-terminal session after connection via vncviewer. However, executing command “gnome-session” in this terminal immediately starts healthy Gnome Desktop with no problems (compare with [1]). Login to Debian HVM DomU console and run :-
# apt-get install linux-image-xen-amd64
# apt-get install vnc4server
********************************************
Add one more entry to /boot/grub/menu.lst
*********************************************
default 0
timeout 10

title Debian GNU/Linux, kernel 2.6.18-6-xen-amd64
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-6-xen-amd64 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18-6-xen-amd64
savedefault

title Debian GNU/Linux, kernel 2.6.18-6-amd64
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault

:wq

Shutdown HVM DomU.
Create Debian Etch PV DomU profile at Dom0, referencing same image file as Debian Etch HVM DomU:-
bash-3.2# cat deb4.cfg
memory = 2048
name = “DEB4PV”
vif = [ 'mac=00:16:3e:00:00:00' ]
disk = [ 'file:/export/home/images/debdisk.img,hda,w!']
****************
Start PV DomU
****************
# xm create -c deb4.cfg





Started domain DEB4PV
Bootdata ok (command line is root=/dev/hda1 ro)
Linux version 2.6.18-6-xen-amd64 (Debian 2.6.18.dfsg.1-23) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed Oct 15 11:49:51 UTC 2008
BIOS-provided physical RAM map:
Xen: 0000000000000000 – 0000000080800000 (usable)
No mptable found.
Built 1 zonelists. Total pages: 526336
Kernel command line: root=/dev/hda1 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 3005.554 MHz processor.
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Software IO TLB disabled
Memory: 2034432k/2105344k available (1949k kernel code, 62280k reserved, 878k data, 148k init)
Calibrating delay using timer specific routine.. 7515.18 BogoMIPS (lpj=15030372)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
(SMP-)alternatives turned off
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs… it is
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)

TCP reno registered
audit: initializing netlink socket (disabled)
audit(1225021132.364:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
netfront: device eth0 has copying receive path.
Registering block device major 3
hda: hda1 hda2
XENBUS: Device with no driver: device/console/0
Loading, please wait…
Begin: Loading essential drivers… …
Done.
Begin: Running /scripts/init-premount …
FATAL: Error inserting fan (/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/fan.ko): No such device
processor: Unknown symbol pm_idle
WARNING: Error inserting processor (/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/processor.ko): Unknown symbol in module, or unknown parameter (see dmesg)
thermal: Unknown symbol acpi_processor_set_thermal_limit
FATAL: Error inserting thermal (/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/thermal.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Done.
Begin: Mounting root file system… …
Begin: Running /scripts/local-top …
Done.
Begin: Running /scripts/local-premount …
Done.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom …
Done.
Done.
Begin: Running /scripts/init-bottom …
Done.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events…done.
Waiting for /dev to be fully populated…input: PC Speaker as /class/input/input0
done.
Couldnt get a file descriptor referring to the console
KDGKBMODE: Bad file descriptor
loadkeys: error reading keyboard mode
* Problem when loading /etc/console/boottime.kmap.gz, use install-keymap
Activating swap…Adding 353388k swap on /dev/hda5. Priority:-1 extents:1 across:353388k
done.
Checking root file system…fsck 1.40-WIP (14-Nov-2006)
/dev/hda1: clean, 83743/851968 files, 580335/1702882 blocks
done.
EXT3 FS on hda1, internal journal
Setting the system clock..
Cannot access the Hardware Clock via any known method.
Use the –debug option to see the details of our search for an access method.
Cleaning up ifupdown….
Loading kernel modules…loop: loaded (max 8 devices)
done.
Loading device-mapper supportdevice-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
.
Checking file systems…fsck 1.40-WIP (14-Nov-2006)
done.
Setting kernel variables…done.
Invalidating stale software suspend images… done.
Mounting local filesystems…done.
Activating swapfile swap…done.
Detecting hardware…Setting up networking….
Configuring network interfaces…Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:16:3e:00:00:01
Sending on LPF/eth1/00:16:3e:00:00:01
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.37 — renewal in 116741 seconds.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
done.
Starting portmap daemon….
Setting console screen modes and fonts.
Setting up ALSA…done (none loaded).
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting portmap daemon…Already running..
Starting HP Linux Printing and Imaging System: hpiod hpssd.
Starting BitTorrent tracker: disabled in /etc/default/bittorrent.
Starting Common Unix Printing System: cupsdlp: driver loaded but no devices found
ppdev: user-space parallel port driver
.
Starting system message bus: dbus.
Starting Hardware abstraction layer: hald.
Starting DHCP D-Bus daemon: dhcdbd.
Starting network connection manager: NetworkManager.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting network events dispatcher: NetworkManagerDispatcher.
Starting MTA: exim4.
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
Starting internet superserver: inetd.
Starting GNOME Display Manager: gdm.
Starting NFS common utilities: statd.
Starting anac(h)ronistic cron: anacron.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.

Debian GNU/Linux 4.0 DebianEtch tty1

DebianEtch login:

********************************
When logged in as root run :-
********************************
# /usr/local/sbin/ethtool -K eth1 tx off

Install of build-essentials and ethtool-6 has been done via apt-get install in Debian HVM DomU.
That’s a tricky place , because broken driver for RTL Gibatit NIC at SNV Dom0 have us to use same image file for HVM and PV DomUs to be able run “apt-get install build-essentials” and any other stuff until the point when “ethtool” gets built and checksums offloading may be disabled at PV DomU . It might appear impossible to run “apt-get install” at Debian PV DomU in case when NIC at SNV Dom0 has a broken driver like “rge”.

# su – boris
$ vnc4server
Login to Debian PV DomU via vncviewer from another terminal session:-





To start Gnome type :-
# gnome-session
In terminal window





References.
1. Install Ubuntu Hardy PV DomU with VNC at Solaris Nevada (build 98) Dom0

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: