Upgrading to Ubuntu 10.10

From BitFolk
Jump to navigation Jump to search

Some tips on upgrading to Ubuntu 10.10 (Maverick Meerkat) from 10.04 (Lucid Lynx).

Do you need to upgrade?

This page is not a recommendation to upgrade.

In general on server systems it is best to only do major upgrades when they are absolutely required. In particular, Ubuntu 10.04 is a Long Term Support release and will therefore be supported for longer than any other subsequent release up to the next LTS. If you upgrade to 10.10 then you are also likely committing to upgrading to future releases on a shorter time scale.

Status of Ubuntu 10.10 at BitFolk

At the time of writing (06:39, 11 November 2010 (UTC)), one customer has upgraded from 9.04 through 9.10, 10.04 and then to 10.10. They initially found that the 10.10 kernel did not boot, having problems finding the root device, but this was later found to be due to the block device being renamed from /dev/xvda to /dev/sda. After fixing /etc/fstab and /boot/grub/menu.lst to mount by UUID they were able to boot without issue.

While they were having problems with the 10.10 kernel they attempted to run with the 10.04 kernel, which did work but produced some concerning kernel output:

[    0.559757] Initialising Xen virtual ethernet driver.
[    1.022805] ------------[ cut here ]------------
[    1.022830] WARNING: at /build/buildd/linux-2.6.32/block/blk-core.c:337 blk_start_queue+0x74/0x80()
[    1.022842] Modules linked in: xen_netfront xen_blkfront
[    1.022861] Pid: 71, comm: udevd Not tainted 2.6.32-25-generic-pae #45-Ubuntu
[    1.022870] Call Trace:
[    1.022882]  [<c0154342>] warn_slowpath_common+0x72/0xa0
[    1.022894]  [<c0346144>] ? blk_start_queue+0x74/0x80
[    1.022905]  [<c0346144>] ? blk_start_queue+0x74/0x80
[    1.022916]  [<c015438a>] warn_slowpath_null+0x1a/0x20
[    1.022927]  [<c0346144>] blk_start_queue+0x74/0x80
[    1.022939]  [<cf82a8f1>] kick_pending_request_queues+0x21/0x30 [xen_blkfront]
[    1.022952]  [<cf82aa99>] blkif_interrupt+0x199/0x1c0 [xen_blkfront]
[    1.022965]  [<c01a8404>] handle_IRQ_event+0x54/0x150
[    1.022976]  [<c01ab699>] ? move_native_irq+0x19/0x50
[    1.022986]  [<c01aa9f4>] handle_level_irq+0x74/0x100
[    1.022997]  [<c010be6d>] handle_irq+0x1d/0x30
[    1.023009]  [<c03bba3a>] xen_evtchn_do_upcall+0x14a/0x160
[    1.023020]  [<c010a4a7>] xen_do_upcall+0x7/0x10
[    1.023029] ---[ end trace 4fe0af9b69da2106 ]---
[    1.023037] ------------[ cut here ]------------
[    1.023047] WARNING: at /build/buildd/linux-2.6.32/block/blk-core.c:245 blk_remove_plug+0x84/0x90()
[    1.023059] Modules linked in: xen_netfront xen_blkfront
[    1.023075] Pid: 71, comm: udevd Tainted: G        W  2.6.32-25-generic-pae #45-Ubuntu
[    1.023085] Call Trace:
[    1.023093]  [<c0154342>] warn_slowpath_common+0x72/0xa0
[    1.023104]  [<c03445a4>] ? blk_remove_plug+0x84/0x90
[    1.023114]  [<c03445a4>] ? blk_remove_plug+0x84/0x90
[    1.023124]  [<c015438a>] warn_slowpath_null+0x1a/0x20
[    1.023135]  [<c03445a4>] blk_remove_plug+0x84/0x90
[    1.023145]  [<c0345ef0>] __blk_run_queue+0x10/0x120
[    1.023156]  [<c0346109>] blk_start_queue+0x39/0x80
[    1.023167]  [<cf82a8f1>] kick_pending_request_queues+0x21/0x30 [xen_blkfront]
[    1.023180]  [<cf82aa99>] blkif_interrupt+0x199/0x1c0 [xen_blkfront]
[    1.023192]  [<c01a8404>] handle_IRQ_event+0x54/0x150
[    1.023202]  [<c01ab699>] ? move_native_irq+0x19/0x50
[    1.023212]  [<c01aa9f4>] handle_level_irq+0x74/0x100
[    1.023222]  [<c010be6d>] handle_irq+0x1d/0x30
[    1.023233]  [<c03bba3a>] xen_evtchn_do_upcall+0x14a/0x160
[    1.023244]  [<c010a4a7>] xen_do_upcall+0x7/0x10
[    1.023252] ---[ end trace 4fe0af9b69da2107 ]---
Begin: Running /scripts/init-bottom ... done.
[   10.908902] ------------[ cut here ]------------
[   10.908928] WARNING: at /build/buildd/linux-2.6.32/block/blk-core.c:337 blk_start_queue+0x74/0x80()
[   10.908941] Modules linked in: xen_netfront xen_blkfront
[   10.908961] Pid: 0, comm: swapper Tainted: G        W  2.6.32-25-generic-pae #45-Ubuntu
[   10.908973] Call Trace:
[   10.908985]  [<c0154342>] warn_slowpath_common+0x72/0xa0
[   10.908997]  [<c0346144>] ? blk_start_queue+0x74/0x80
[   10.909008]  [<c0346144>] ? blk_start_queue+0x74/0x80
[   10.909019]  [<c015438a>] warn_slowpath_null+0x1a/0x20
[   10.909030]  [<c0346144>] blk_start_queue+0x74/0x80
[   10.909043]  [<cf82a8f1>] kick_pending_request_queues+0x21/0x30 [xen_blkfront]
[   10.909057]  [<cf82aa99>] blkif_interrupt+0x199/0x1c0 [xen_blkfront]
[   10.909070]  [<c0175bd4>] ? sched_clock_local+0xa4/0x180
[   10.909083]  [<c01a8404>] handle_IRQ_event+0x54/0x150
[   10.909094]  [<c010682a>] ? xen_force_evtchn_callback+0x1a/0x30
[   10.909106]  [<c01ab699>] ? move_native_irq+0x19/0x50
[   10.909117]  [<c01aa9f4>] handle_level_irq+0x74/0x100
[   10.909128]  [<c010be6d>] handle_irq+0x1d/0x30
[   10.909141]  [<c03bba3a>] xen_evtchn_do_upcall+0x14a/0x160
[   10.909153]  [<c010a4a7>] xen_do_upcall+0x7/0x10
[   10.909163]  [<c01023a7>] ? hypercall_page+0x3a7/0x1010
[   10.909174]  [<c0106882>] ? xen_safe_halt+0x12/0x20
[   10.909185]  [<c0104734>] xen_idle+0x24/0x40
[   10.909196]  [<c0108594>] cpu_idle+0x94/0xd0
[   10.909208]  [<c059f688>] rest_init+0x58/0x60
[   10.909219]  [<c07e48fd>] start_kernel+0x351/0x357
[   10.909230]  [<c07e43d8>] ? unknown_bootoption+0x0/0x19e
[   10.909241]  [<c07e40bb>] i386_start_kernel+0xaa/0xb1
[   10.909252]  [<c07e7918>] xen_start_kernel+0x543/0x54a
[   10.909264]  [<c0409088>] ? pkt_rbtree_find+0x98/0xc0
[   10.909272] ---[ end trace 4fe0af9b69da2108 ]---
[   10.909280] ------------[ cut here ]------------
[   10.909290] WARNING: at /build/buildd/linux-2.6.32/block/blk-core.c:245 blk_remove_plug+0x84/0x90()
[   10.909302] Modules linked in: xen_netfront xen_blkfront
[   10.910367] Pid: 0, comm: swapper Tainted: G        W  2.6.32-25-generic-pae #45-Ubuntu
[   10.910378] Call Trace:
[   10.910387]  [<c0154342>] warn_slowpath_common+0x72/0xa0
[   10.910398]  [<c03445a4>] ? blk_remove_plug+0x84/0x90
[   10.910408]  [<c03445a4>] ? blk_remove_plug+0x84/0x90
[   10.910418]  [<c015438a>] warn_slowpath_null+0x1a/0x20
[   10.910428]  [<c03445a4>] blk_remove_plug+0x84/0x90
[   10.910438]  [<c0345ef0>] __blk_run_queue+0x10/0x120
[   10.910449]  [<c0346109>] blk_start_queue+0x39/0x80
[   10.910459]  [<cf82a8f1>] kick_pending_request_queues+0x21/0x30 [xen_blkfront]
[   10.910472]  [<cf82aa99>] blkif_interrupt+0x199/0x1c0 [xen_blkfront]
[   10.910482]  [<c0175bd4>] ? sched_clock_local+0xa4/0x180
[   10.910493]  [<c01a8404>] handle_IRQ_event+0x54/0x150
[   10.910504]  [<c010682a>] ? xen_force_evtchn_callback+0x1a/0x30
[   10.910515]  [<c01ab699>] ? move_native_irq+0x19/0x50
[   10.910524]  [<c01aa9f4>] handle_level_irq+0x74/0x100
[   10.910535]  [<c010be6d>] handle_irq+0x1d/0x30
[   10.910545]  [<c03bba3a>] xen_evtchn_do_upcall+0x14a/0x160
[   10.910556]  [<c010a4a7>] xen_do_upcall+0x7/0x10
[   10.910565]  [<c01023a7>] ? hypercall_page+0x3a7/0x1010
[   10.910575]  [<c0106882>] ? xen_safe_halt+0x12/0x20
[   10.910585]  [<c0104734>] xen_idle+0x24/0x40
[   10.910595]  [<c0108594>] cpu_idle+0x94/0xd0
[   10.910605]  [<c059f688>] rest_init+0x58/0x60
[   10.910615]  [<c07e48fd>] start_kernel+0x351/0x357
[   10.910624]  [<c07e43d8>] ? unknown_bootoption+0x0/0x19e
[   10.910636]  [<c07e40bb>] i386_start_kernel+0xaa/0xb1
[   10.910647]  [<c07e7918>] xen_start_kernel+0x543/0x54a
[   10.910657]  [<c0409088>] ? pkt_rbtree_find+0x98/0xc0
[   10.910664] ---[ end trace 4fe0af9b69da2109 ]---

I (Andy) have taken a BitFolk standard Ubuntu 10.04 install and upgraded it to 10.10; this appears so far to boot and work normally with its packaged linux-image-virtual kernel. This VPS has not yet been put under any real load, however.

Ubuntu 10.10 install images derived from the process described here are therefore available for a clean install on BitFolk. BitFolk will not yet be offering this as a supported install image unless it's specifically asked for because it hasn't yet undergone enough real-world testing.

Prerequisites for an upgrade

Warning Warning: Please note that there are some quirks in upgrading from 8.04 to 10.04 on a BitFolk VPS; just following the instructions here will not work and will leave you with an unbootable VPS. The procedure for 8.04 to 10.04 has been described on the users mailing list before, and could do with being put into an article on this wiki.

That said, if you are intending to upgrade from 10.04 to 10.10 then you should:

  • Be on a fully up to date install of 10.04. If you aren't yet on Ubuntu 10.04 then you need to upgrade to that first. Upgrades that skip over releases (unless LTS to LTS) are not supported by Ubuntu.
  • Have Xen console access. It's best to do the upgrade from the Xen shell console so that loss of network access is not an issue. If you've forgotten your login credentials you can get a password reset from the front page of https://panel.bitfolk.com/. If that doesn't work, please contact BitFolk support.
  • Check your backups. Naturally you have all your important data backed up, so you just need to check that those backups are really there and up to date.
  • Consider requesting a disk snapshot. If, in the event of disaster, you would like to have your VPS rolled back to how it was before you started you should ask BitFolk support for a disk snapshot. These are free. Should disaster strike and you don't have a snapshot, what you will get is a clean VPS install for you to configure and put your data back onto. Rolling back to a snapshot will probably be a lot less work for you.
  • Make sure that your filesystems mount by label or UUID. The 10.10 virtual machine kernel seems to prefer using /dev/sda and so on as disk devices, in contrast to earlier kernels which used /dev/xvda. Making sure that your /etc/fstab and /boot/grub/menu.lst will allow mounting whatever the device names happen to be will make your life a lot easier.

Upgrade procedure

Allow upgrade to non-LTS release

Edit /etc/update-manager/release-upgrades to ensure that Prompt is set to normal:

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=normal

Otherwise, no upgrade will be offered, since there isn't an LTS release newer than 10.04 at the moment.

do-release-upgrade

The actual command that does most of the work:

$ sudo do-release-upgrade -d

After downloading all the packages this will give you an option to explain what it's going to do and will ask if you want to proceed:

Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'maverick.tar.gz'
authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg'
tar: Removing leading `/' from member names

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Updating repository information
WARNING: Failed to read mirror file
95% [Working]
Checking package manager
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
Building data structures... Done 

Calculating the changes

Calculating the changes

Do you want to start the upgrade? 


2 packages are going to be removed. 13 new packages are going to be 
installed. 195 packages are going to be upgraded. 

You have to download a total of 97.0M. This download will take about 
12 minutes with a 1Mbit DSL connection and about 3 hours 45 minutes 
with a 56k modem. 

Fetching and installing the upgrade can take several hours. Once the 
download has finished, the process cannot be cancelled.

 Continue [yN]  Details [d]d
 
Remove: libc6-i686 

Remove (was auto installed) libept0 


Install: apt-xapian-index gcc-4.5-base libboost-iostreams1.42.0 
  libdconf0 libept1 liblzma2 libmpfr4 libregexp-assemble-perl 
  linux-image-2.6.35-22-virtual python-debian python-xapian 
  wireless-crda xz-utils 


Upgrade: apt apt-file apt-utils aptitude base-files bash bsdmainutils 
  busybox-initramfs bzip2 consolekit coreutils cpio cpp cpp-4.4 cron 
  curl dash dbus debconf debconf-i18n debianutils dhcp3-client 
  dhcp3-common diff diffutils dmsetup dpkg e2fslibs e2fsprogs ethtool 
  gcc-4.1-base gcc-4.4-base gettext-base gnupg gnupg-curl gpgv grep 
  groff-base grub-common hostname ifupdown initramfs-tools 
  initramfs-tools-bin initscripts insserv iproute iproute-doc 
  iputils-ping iso-codes klibc-utils language-pack-en 
  language-pack-en-base libacl1 libapt-pkg-perl libasound2 libattr1 
  libbz2-1.0 libc-bin libc6 libc6-xen libcap2 libck-connector0 
  libcomerr2 libcurl3 libcurl3-gnutls libcwidget3 libdb4.8
  libdbus-1-3 libdbus-glib-1-2 libdevmapper1.02.1 libdrm-intel1 
  libdrm-nouveau1 libdrm-radeon1 libdrm2 libfreetype6 libgcc1 
  libgcrypt11 libglib2.0-0 libglib2.0-data libgnutls26 libgpm2 
  libgssapi-krb5-2 libidn11 libk5crypto3 libkeyutils1 libklibc 
  libkrb5-3 libkrb5support0 libldap-2.4-2 liblockfile1 libncurses5 
  libncursesw5 libnewt0.52 libnih-dbus1 libnih1 libpam-ck-connector 
  libpam-foreground libpam-modules libpam-runtime libpam0g libpci3 
  libpcre3 libplymouth2 libpng12-0 libpolkit-gobject-1-0 libpopt0 
  libpython2.6 libreadline6 libsasl2-2 libsasl2-modules libselinux1 
  libsepol1 libslang2 libsqlite3-0 libss2 libssl0.9.8 libstdc++6 
  libsysfs2 libtasn1-3 libtimedate-perl libudev0 libusb-0.1-4 
  libwrap0 libx11-6 libx11-data libxapian15 libxau6 libxcb1 libxdmcp6 
  libxext6 libxml2 linux-firmware linux-image-virtual linux-virtual 
  locales lockfile-progs login logrotate make man-db mime-support 
  mktemp module-init-tools mountall ncurses-base ncurses-bin 
  net-tools ntp ntpdate openssh-client openssh-server openssl 
  os-prober passwd pciutils perl perl-base perl-modules plymouth 
  plymouth-theme-ubuntu-text procps psmisc python python-apt 
  python-central python-minimal python-support python2.6 
  python2.6-minimal readline-common sed sensible-utils 
  shared-mime-info ssh sudo sysv-rc sysvinit-utils sysvutils tar 
  tasksel tasksel-data tcpd tzdata ubuntu-keyring ubuntu-minimal udev 
  update-manager-core upstart ureadahead usbutils vim-common vim-tiny
  whiptail x11-common zlib1g 

(END)

The upgrade of these packages should proceed uneventfully. At the end it will ask if you want to reboot. Don't!

Check that you have the linux-image-virtual kernel package installed

The correct kernel for a Xen virtual host is the one provided by the linux-image-virtual metapackage. Check you have it:

$ dpkg -l | grep linux-image
rc  linux-image-2.6.32-22-virtual      2.6.32-22.36             Linux kernel image for version 2.6.32 on x86/x86_64
rc  linux-image-2.6.32-24-virtual      2.6.32-24.43             Linux kernel image for version 2.6.32 on x86/x86_64
rc  linux-image-2.6.32-25-virtual      2.6.32-25.45             Linux kernel image for version 2.6.32 on x86/x86_64
ii  linux-image-2.6.35-22-virtual      2.6.35-22.35             Linux kernel image for version 2.6.35 on x86/x86_64
ii  linux-image-virtual                2.6.35.22.23             Linux kernel image for virtual machines

Don't worry about the lines that start "rc"; these are previously-removed old kernels. The last two lines are the important ones. If you don't have such a kernel then something went badly wrong.

Update GRUB config

/boot/grub/menu.lst now needs to be rewritten to boot the new kernel.

$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.35-22-virtual
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Halt the VPS, then boot it again

The moment of truth. halt the VPS to drop to the Xen shell prompt, and the use boot to start it again.

andy@mavtest:~$ sudo halt                   

Broadcast message from andy@mavtest
        (/dev/hvc0) at 6:35 ...

The system is going down for halt NOW!
andy@mavtest:~$ init: hvc0 main process (614) killed by TERM signal
init: Disconnected from system bus
init: hwclock-save main process (27441) terminated with status 1
 * Asking all remaining processes to terminate...                        [ OK ] 
 * All processes ended within 2 seconds....                              [ OK ] 
 * Saving random seed...                                                 [ OK ] 
 * Deconfiguring network interfaces...                                   [ OK ] 
 * Will now deactivate swap                                                     swapoff on /var/lib/swapfile
                                                                         [ OK ]
 * Will now unmount weak filesystems                                            none umounted
none umounted
none umounted
                                                                         [ OK ]
 * Mounting root filesystem read-only...                                        mount: / is busy
                                                                         [fail]
 * Will now halt
[6122611.811815] System halted.
xen-shell> boot
Booting instance: mavtest
Using config file "/etc/xen/mavtest.conf"
    pyGRUB  version 0.6
 ┌────────────────────────────────────────────────────────────────────────┐
 │ Ubuntu 10.10, kernel 2.6.35-22-virtual                                               │
Started domain mavtest
                      [    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35-22-virtual (buildd@vernadsky) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #35-Ubuntu SMP Sat Oct 16 23:57:40 UTC 2010 (Ubuntu 2.6.35-22.35-virtual 2.6.35.4)
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 000000000f000000 (usable)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0xf000 max_arch_pfn = 0x1000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] modified physical RAM map:
[    0.000000]  modified: 0000000000000000 - 0000000000001000 (reserved)
[    0.000000]  modified: 0000000000001000 - 0000000000002000 (usable)
[    0.000000]  modified: 0000000000002000 - 0000000000010000 (reserved)
[    0.000000]  modified: 0000000000010000 - 00000000000a0000 (usable)
[    0.000000]  modified: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  modified: 0000000000100000 - 000000000f000000 (usable)
[    0.000000] init_memory_mapping: 0000000000000000-000000000f000000
[    0.000000] RAMDISK: 00b25000 - 012cc000
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 240MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 0f000000
[    0.000000]   low ram: 0 - 0f000000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000001 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x0000f000
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[3] active PFN ranges
[    0.000000]     0: 0x00000001 -> 0x00000002
[    0.000000]     0: 0x00000010 -> 0x000000a0
[    0.000000]     0: 0x00000100 -> 0x0000f000
[    0.000000] Using APIC driver default
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000010000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at f000000 (gap: f000000:f1000000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 3.2-1
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 15 pages/cpu @c14fb000 s39872 r0 d21568 u65536
[    0.000000] pcpu-alloc: s39872 r0 d21568 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[6122721.070241] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 60849
[6122721.070245] Kernel command line: root=LABEL=root ro console=hvc0
[6122721.070269] PID hash table entries: 1024 (order: 0, 4096 bytes)
[6122721.070293] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[6122721.070356] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[6122721.070577] Enabling fast FPU save and restore... done.
[6122721.070582] Enabling unmasked SIMD FPU exception support... done.
[6122721.070586] Initializing CPU#0
[6122721.071168] allocated 1228780 bytes of page_cgroup
[6122721.071170] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[6122721.071175] Subtract (34 early reservations)
[6122721.071178]   #1 [000130b000 - 0001317000]  XEN PAGETABLES
[6122721.071181]   #2 [0000001000 - 0000002000]   EX TRAMPOLINE
[6122721.071183]   #3 [0000100000 - 00009ff65c]   TEXT DATA BSS
[6122721.071186]   #4 [0000b25000 - 00012cc000]         RAMDISK
[6122721.071188]   #5 [00012cc000 - 000130b000]  XEN START INFO
[6122721.071190]   #6 [0000010000 - 0000011000]      TRAMPOLINE
[6122721.071193]   #7 [0000011000 - 0000015000]     ACPI WAKEUP
[6122721.071195]   #8 [0000015000 - 000007f000]         PGTABLE
[6122721.071197]   #9 [0001317000 - 0001318000]         BOOTMEM
[6122721.071199]   #10 [0001318000 - 00014f8000]         BOOTMEM
[6122721.071202]   #11 [00014f8000 - 00014f8004]         BOOTMEM
[6122721.071204]   #12 [00014f8040 - 00014f8100]         BOOTMEM
[6122721.071206]   #13 [00014f8100 - 00014f812c]         BOOTMEM
[6122721.071208]   #14 [00014f8140 - 00014f8d40]         BOOTMEM
[6122721.071211]   #15 [00014f8d40 - 00014f8e18]         BOOTMEM
[6122721.071213]   #16 [00014f8e40 - 00014f8e80]         BOOTMEM
[6122721.071215]   #17 [00014f8e80 - 00014f8ec0]         BOOTMEM
[6122721.071217]   #18 [00014f8ec0 - 00014f8f00]         BOOTMEM
[6122721.071219]   #19 [00014f8f00 - 00014f8f10]         BOOTMEM
[6122721.071222]   #20 [00014f8f40 - 00014f8f50]         BOOTMEM
[6122721.071224]   #21 [00014f8f80 - 00014f8fa0]         BOOTMEM
[6122721.071226]   #22 [00014f8fc0 - 00014f8fe0]         BOOTMEM
[6122721.071228]   #23 [00014fb000 - 000150a000]         BOOTMEM
[6122721.071230]   #24 [000150a000 - 000150a004]         BOOTMEM
[6122721.071233]   #25 [000150a040 - 000150a044]         BOOTMEM
[6122721.071235]   #26 [000150a080 - 000150a084]         BOOTMEM
[6122721.071238]   #27 [000150a0c0 - 000150a0c4]         BOOTMEM
[6122721.071240]   #28 [000150a100 - 000150a180]         BOOTMEM
[6122721.071242]   #29 [000150a180 - 000150a1ac]         BOOTMEM
[6122721.071245]   #30 [00014f9000 - 00014fa000]         BOOTMEM
[6122721.071247]   #31 [000150a1c0 - 000152a1c0]         BOOTMEM
[6122721.071249]   #32 [000152a1c0 - 000153a1c0]         BOOTMEM
[6122721.071252]   #33 [000153b000 - 0001666fec]         BOOTMEM
[6122721.082820] Initializing HighMem for node 0 (00000000:00000000)
[6122721.082825] Memory: 224128k/245760k available (5104k kernel code, 21188k reserved, 2437k data, 704k init, 0k highmem)
[6122721.082831] virtual kernel memory layout:
[6122721.082832]     fixmap  : 0xf5716000 - 0xf57ff000   ( 932 kB)
[6122721.082833]     pkmap   : 0xf5400000 - 0xf5600000   (2048 kB)
[6122721.082834]     vmalloc : 0xcf800000 - 0xf53fe000   ( 603 MB)
[6122721.082836]     lowmem  : 0xc0000000 - 0xcf000000   ( 240 MB)
[6122721.082837]       .init : 0xc085e000 - 0xc090e000   ( 704 kB)
[6122721.082838]       .data : 0xc05fc166 - 0xc085d8a8   (2437 kB)
[6122721.082839]       .text : 0xc0100000 - 0xc05fc166   (5104 kB)
[6122721.082876] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[6122721.082893] Hierarchical RCU implementation.
[6122721.082894]        RCU dyntick-idle grace-period acceleration is enabled.
[6122721.082896]        RCU-based detection of stalled CPUs is disabled.
[6122721.082898]        Verbose stalled-CPUs detection is disabled.
[6122721.082905] NR_IRQS:2304 nr_irqs:256
[6122721.082946] Console: colour dummy device 80x25
[6122721.083183] console [tty0] enabled
[6122721.083695] console [hvc0] enabled
[6122721.084090] installing Xen timer for CPU 0
[6122721.086001] Detected 2000.070 MHz processor.
[6122721.086015] Calibrating delay loop (skipped), value calculated using timer frequency.. 4000.14 BogoMIPS (lpj=8000280)
[6122721.086029] pid_max: default: 32768 minimum: 301
[6122721.086051] Security Framework initialized
[6122721.086068] AppArmor: AppArmor initialized
[6122721.086073] Yama: becoming mindful.
[6122721.086124] Mount-cache hash table entries: 512
[6122721.086221] Initializing cgroup subsys ns
[6122721.086229] Initializing cgroup subsys cpuacct
[6122721.086237] Initializing cgroup subsys memory
[6122721.086248] Initializing cgroup subsys devices
[6122721.086254] Initializing cgroup subsys freezer
[6122721.086260] Initializing cgroup subsys net_cls
[6122721.086307] CPU: Unsupported number of siblings 16
[6122721.086317] Performance Events: unsupported p6 CPU model 26 no PMU driver, software events only.
[6122721.087226] SMP alternatives: switching to UP code
[6122721.136690] Freeing SMP alternatives: 24k freed
[6122721.136712] ftrace: converting mcount calls to 0f 1f 44 00 00
[6122721.136722] ftrace: allocating 22447 entries in 44 pages
[6122721.144505] cpu 0 spinlock event irq 1
[6122721.201691] Brought up 1 CPUs
[6122721.202115] devtmpfs: initialized
[6122721.203543] Grant table initialized
[6122721.203734] regulator: core version 0.5
[6122721.223767] Time: 165:165:165  Date: 165/165/65
[6122721.224183] NET: Registered protocol family 16
[6122721.225663] EISA bus registered
[6122721.226351] PCI: Fatal: No config space access function found
[6122721.227513] bio: create slab <bio-0> at 0
[6122721.227682] ACPI: Interpreter disabled.
[6122721.228129] xen_balloon: Initialising balloon driver.
[6122721.228377] vgaarb: loaded
[6122721.228511] SCSI subsystem initialized
[6122721.230093] usbcore: registered new interface driver usbfs
[6122721.230111] usbcore: registered new interface driver hub
[6122721.230145] usbcore: registered new device driver usb
[6122721.230249] PCI: System does not support PCI
[6122721.230256] PCI: System does not support PCI
[6122721.230343] NetLabel: Initializing
[6122721.230349] NetLabel:  domain hash size = 128
[6122721.230355] NetLabel:  protocols = UNLABELED CIPSOv4
[6122721.230370] NetLabel:  unlabeled traffic allowed by default
[6122721.230406] Switching to clocksource xen
[6122721.240250] AppArmor: AppArmor Filesystem Enabled
[6122721.240266] pnp: PnP ACPI: disabled
[6122721.240271] PnPBIOS: Disabled
[6122721.241585] NET: Registered protocol family 2
[6122721.241652] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[6122721.241853] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[6122721.241882] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[6122721.241907] TCP: Hash tables configured (established 8192 bind 8192)
[6122721.241915] TCP reno registered
[6122721.241921] UDP hash table entries: 128 (order: 0, 4096 bytes)
[6122721.241930] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[6122721.241989] NET: Registered protocol family 1
[6122721.242142] platform rtc_cmos: registered platform RTC device (no PNP device found)
[6122721.242200] cpufreq-nforce2: No nForce2 chipset.
[6122721.242221] Scanning for low memory corruption every 60 seconds
[6122721.242356] audit: initializing netlink socket (disabled)
[6122721.242371] type=2000 audit(1288766255.710:1): initialized
[6122721.254927] Trying to unpack rootfs image as initramfs...
[6122721.262248] Freeing initrd memory: 7836k freed
[6122721.264140] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[6122721.265445] VFS: Disk quotas dquot_6.5.2
[6122721.346653] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[6122721.347613] fuse init (API version 7.14)
[6122721.347914] msgmni has been set to 453
[6122721.351082] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[6122721.351500] io scheduler noop registered
[6122721.351655] io scheduler deadline registered
[6122721.351890] io scheduler cfq registered (default)
[6122721.352032] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[6122721.352061] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[6122721.352301] isapnp: Write Data Register 0xa79 already used
[6122721.352519] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[6122721.353606] brd: module loaded
[6122721.354090] loop: module loaded
[6122721.360031] blkfront device/vbd/51712 num-ring-pages 1 nr_ents 32.
[6122721.360373] blkfront: sda: barriers enabled
[6122721.360583]  sda:
[6122721.360971] Fixed MDIO Bus: probed
[6122721.361016] PPP generic driver version 2.4.2
[6122721.361062] Initialising Xen virtual ethernet driver.
[6122721.361138]  unknown partition table
[6122721.361712] tun: Universal TUN/TAP device driver, 1.6
[6122721.361722] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[6122721.361900] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[6122721.361923] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[6122721.361938] uhci_hcd: USB Universal Host Controller Interface driver
[6122721.361987] PNP: No PS/2 controller found. Probing ports directly.
[6122721.362826] i8042.c: No controller found.
[6122721.362922] mice: PS/2 mouse device common for all mice
[6122721.362981] rtc_cmos: probe of rtc_cmos failed with error -16
[6122721.363092] device-mapper: uevent: version 1.0.3
[6122721.363227] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
[6122721.363286] device-mapper: multipath: version 1.1.1 loaded
[6122721.363295] device-mapper: multipath round-robin: version 1.0.0 loaded
[6122721.363401] EISA: Probing bus 0 at eisa.0
[6122721.363408] EISA: Cannot allocate resource for mainboard
[6122721.363415] Cannot allocate resource for EISA slot 1
[6122721.363424] Cannot allocate resource for EISA slot 2
[6122721.363430] Cannot allocate resource for EISA slot 3
[6122721.363436] Cannot allocate resource for EISA slot 4
[6122721.363442] Cannot allocate resource for EISA slot 5
[6122721.363448] Cannot allocate resource for EISA slot 6
[6122721.546178] Cannot allocate resource for EISA slot 7
[6122721.546186] Cannot allocate resource for EISA slot 8
[6122721.546192] EISA: Detected 0 cards.
[6122721.546263] cpuidle: using governor ladder
[6122721.546270] cpuidle: using governor menu
[6122721.546624] TCP cubic registered
[6122721.546754] NET: Registered protocol family 10
[6122721.547142] lo: Disabled Privacy Extensions
[6122721.547588] NET: Registered protocol family 17
[6122721.547628] Using IPI No-Shortcut mode
[6122721.547733] registered taskstats version 1
[6122721.646497] XENBUS: Device with no driver: device/console/0
[6122721.646529]   Magic number: 1:252:3141
[6122721.646572] /build/buildd/linux-2.6.35/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[6122721.646583] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[6122721.646590] EDD information not available.
[6122721.646715] Freeing unused kernel memory: 704k freed
[6122721.648182] Write protecting the kernel text: 5108k
[6122721.648719] Write protecting the kernel read-only data: 2016k
Loading, please wait...
[6122721.677715] udev[63]: starting version 163
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[6122726.887518] EXT3-fs (sda): recovery required on readonly filesystem
[6122726.887536] EXT3-fs (sda): write access will be enabled during recovery
[6122726.904347] EXT3-fs: barriers not enabled
[6122727.581245] kjournald starting.  Commit interval 5 seconds
[6122727.581290] EXT3-fs (sda): orphan cleanup on readonly fs
[6122727.621951] EXT3-fs (sda): 12 orphan inodes deleted
[6122727.621967] EXT3-fs (sda): recovery complete
[6122727.633501] EXT3-fs (sda): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ... done.
done.          
Begin: Running /scripts/init-bottom ... done.
fsck from util-linux-ng 2.17.2
root: clean, 23256/655360 files, 330531/2621440 blocks
 * Setting up X server socket directory /tmp/.X11-unix...                [ OK ]
 * Setting up ICE socket directory /tmp/.ICE-unix...                     [ OK ]
 * Initializing random number generator...                               [ OK ]
 * Starting NTP server ntpd                                              [ OK ]
 * Recording successful boot for GRUB
   ...done.    
 * Running local boot scripts (/etc/rc.local)                            [ OK ]
               
Ubuntu 10.10 mavtest hvc0
               
mavtest login: andy
Password:
Last login: Wed Nov  3 06:08:49 UTC 2010 on hvc0
Linux mavtest 2.6.35-22-virtual #35-Ubuntu SMP Sat Oct 16 23:57:40 UTC 2010 i686 GNU/Linux
Ubuntu 10.10

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
Ubuntu 10.04.1 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
andy@mavtest:~$ mount
/dev/sda on / type ext3 (rw,relatime)
proc on /proc type proc (rw,noexec,nosuid)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
andy@mavtest:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda              9.9G  1.1G  8.3G  12% /
none                  110M  108K  110M   1% /dev
none                  114M     0  114M   0% /dev/shm
none                  114M   48K  114M   1% /var/run
none                  114M     0  114M   0% /var/lock
none                  9.9G  1.1G  8.3G  12% /var/lib/ureadahead/debugfs

Disaster!

If your VPS does not boot then you might be able to fix it via the rescue environment. Go back to the Xen shell, ensure your VPS is not running (destroy if necessary), then use the rescue command to boot.

If you can't fix it from there then you'll need to contact BitFolk support and ask for it to be reinstalled or rolled back to a snapshot you asked for previously.

Clean installs of the 10.10 image

If you don't feel like doing an upgrade, BitFolk Support is willing to install clean 10.10 images for you.

Support is also usually happy to provide a new VPS to run along side your existing one for a short period of time in order for you to migrate your services/data and generally test compatibility. This courtesy service may not be available in times of high demand and may be prioritised lower than other support issues. Please contact support to discuss your needs.