[ubuntu-cloud] Running the UEC images in VirtualBox - /dev/disk/by-label/uec-rootfs does not exist.

Laurence Rowe l at lrowe.co.uk
Tue Oct 12 00:49:52 BST 2010


On 11 October 2010 16:58, Scott Moser <smoser at ubuntu.com> wrote:
> The following shell will allow you to work around.  What it basically does
> is grab the current 'linux-image' that satisfies "linux-server", extracts
> it, copies the missing dependency to -virtual, and recreates the
> initramfs in the image.

Thanks for looking at this, unfortunately it doesn't seem to work for me.

Changes to your script:

  * commented out the line ``mv "${d}/etc/resolv.conf"
"${d}/etc/resolv.conf.dist"`` - it would not download without it.
  * used i386 rather than amd64
  * ran the script under an ubuntu 9.04 VM and copied off the resulant
.img to convert to .vdi on my mac.

I'm seeing the same error again. By following the instructions at
http://www.opensourcery.co.za/2009/09/30/virtualbox-gentoo-and-serial-consoles/
I was able to log the boot over a virtual serial console:

Begin: Mounting root file system ... Begin: Running /scripts/lo[
2.695607] ahci: Unknown symbol ahci_ops (err 0)
cal-top ... done[    2.779118] e1000: Intel(R) PRO/1000 Network Driver
- version 7.3.21-k6-NAPI
.
[    2.852090] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.923194] ahci: Unknown symbol ahci_start_engine (err 0)
[    2.951412] e1000 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 10
(level, low) -> IRQ 10
[    2.971120] ahci: Unknown symbol ahci_interrupt (err 0)
[    2.993209] ahci: Unknown symbol ahci_check_ready (err 0)


Attachment: fixlog.txt - log showing script and running of it.
Attachment: bootlog.txt - serial console boot log.

Laurence
-------------- next part --------------
  Booting a command list

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35-22-virtual (buildd at rothera) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu4) ) #33-Ubuntu SMP Sun Sep 19 23:54:13 UTC 2010 (Ubuntu 2.6.35-22.33-virtual 2.6.35.4)
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
[    0.000000]  BIOS-e820: 000000001fff0000 - 0000000020000000 (ACPI data)
[    0.000000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.5 present.
[    0.000000] last_pfn = 0x1fff0 max_arch_pfn = 0x1000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] CPU MTRRs all blank - virtualized system.
[    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 - 000000000009fc00 (usable)
[    0.000000]  modified: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  modified: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  modified: 0000000000100000 - 000000001fff0000 (usable)
[    0.000000]  modified: 000000001fff0000 - 0000000020000000 (ACPI data)
[    0.000000]  modified: 00000000fffc0000 - 0000000100000000 (reserved)
[    0.000000] init_memory_mapping: 0000000000000000-000000001fff0000
[    0.000000] RAMDISK: 17c91000 - 18034000
[    0.000000] ACPI: RSDP 000e0000 00024 (v02 VBOX  )
[    0.000000] ACPI: XSDT 1fff0030 00034 (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.000000] ACPI: FACP 1fff00f0 000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.000000] ACPI: DSDT 1fff0410 018FF (v01 VBOX   VBOXBIOS 00000002 INTL 20060912)
[    0.000000] ACPI: FACS 1fff0200 00040
[    0.000000] ACPI: SSDT 1fff0240 001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20060912)
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 511MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 1fff0000
[    0.000000]   low ram: 0 - 1fff0000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000001 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x0001fff0
[    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 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x0001fff0
[    0.000000] Using APIC driver default
[    0.000000] ACPI: PM-Timer IO Port: 0x4008
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] Found and enabled local APIC!
[    0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000010000
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 20000000 (gap: 20000000:dffc0000)
[    0.000000] Booting paravirtualized kernel on bare hardware
[    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 @c1600000 s39872 r0 d21568 u2097152
[    0.000000] pcpu-alloc: s39872 r0 d21568 u2097152 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz ro init=/usr/lib/cloud-init/uncloud-init root=LABEL=uec-rootfs ds=nocloud-net ubuntu-pass=ubuntu console=ttyS0,38400
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] allocated 2621100 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Subtract (37 early reservations)
[    0.000000]   #1 [0000001000 - 0000002000]   EX TRAMPOLINE
[    0.000000]   #2 [0000100000 - 00009ff65c]   TEXT DATA BSS
[    0.000000]   #3 [0017c91000 - 0018034000]         RAMDISK
[    0.000000]   #4 [000009fc00 - 0000100000]   BIOS reserved
[    0.000000]   #5 [0000a00000 - 0000a07071]             BRK
[    0.000000]   #6 [0000010000 - 0000011000]      TRAMPOLINE
[    0.000000]   #7 [0000011000 - 0000015000]     ACPI WAKEUP
[    0.000000]   #8 [0000015000 - 0000016000]         PGTABLE
[    0.000000]   #9 [0001000000 - 0001001000]         BOOTMEM
[    0.000000]   #10 [0001001000 - 0001401000]         BOOTMEM
[    0.000000]   #11 [0001401000 - 0001401004]         BOOTMEM
[    0.000000]   #12 [0001401040 - 0001401100]         BOOTMEM
[    0.000000]   #13 [0001401100 - 0001401160]         BOOTMEM
[    0.000000]   #14 [0001401180 - 0001402980]         BOOTMEM
[    0.000000]   #15 [0001402980 - 0001402ac4]         BOOTMEM
[    0.000000]   #16 [0001402b00 - 0001402b40]         BOOTMEM
[    0.000000]   #17 [0001402b40 - 0001402b80]         BOOTMEM
[    0.000000]   #18 [0001402b80 - 0001402bc0]         BOOTMEM
[    0.000000]   #19 [0001402bc0 - 0001402c00]         BOOTMEM
[    0.000000]   #20 [0001402c00 - 0001402c40]         BOOTMEM
[    0.000000]   #21 [0001402c40 - 0001402c80]         BOOTMEM
[    0.000000]   #22 [0001402c80 - 0001402c90]         BOOTMEM
[    0.000000]   #23 [0001402cc0 - 0001402cd0]         BOOTMEM
[    0.000000]   #24 [0001402d00 - 0001402d89]         BOOTMEM
[    0.000000]   #25 [0001402dc0 - 0001402e49]         BOOTMEM
[    0.000000]   #26 [0001600000 - 000160f000]         BOOTMEM
[    0.000000]   #27 [0001404e80 - 0001404e84]         BOOTMEM
[    0.000000]   #28 [0001404ec0 - 0001404ec4]         BOOTMEM
[    0.000000]   #29 [0001404f00 - 0001404f04]         BOOTMEM
[    0.000000]   #30 [0001404f40 - 0001404f44]         BOOTMEM
[    0.000000]   #31 [0001404f80 - 0001405028]         BOOTMEM
[    0.000000]   #32 [0001405040 - 00014050a8]         BOOTMEM
[    0.000000]   #33 [0001402e80 - 0001404e80]         BOOTMEM
[    0.000000]   #34 [00014050c0 - 00014450c0]         BOOTMEM
[    0.000000]   #35 [00014450c0 - 00014650c0]         BOOTMEM
[    0.000000]   #36 [000160f000 - 000188eeac]         BOOTMEM
[    0.000000] Initializing HighMem for node 0 (00000000:00000000)
[    0.000000] Memory: 503652k/524224k available (5104k kernel code, 20124k reserved, 2437k data, 704k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff16000 - 0xfffff000   ( 932 kB)
[    0.000000]     pkmap   : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xe07f0000 - 0xffbfe000   ( 500 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfff0000   ( 511 MB)
[    0.000000]       .init : 0xc085e000 - 0xc090e000   ( 704 kB)
[    0.000000]       .data : 0xc05fc0e6 - 0xc085d8a8   (2437 kB)
[    0.000000]       .text : 0xc0100000 - 0xc05fc0e6   (5104 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] 	RCU-based detection of stalled CPUs is disabled.
[    0.000000] 	Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:2304 nr_irqs:256
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration failed
[    0.000000] TSC: Unable to calibrate against PIT
[    0.000000] TSC: using PMTIMER reference calibration
[    0.000000] Detected 2678.208 MHz processor.
[    0.036040] Calibrating delay loop (skipped), value calculated using timer frequency.. 5356.41 BogoMIPS (lpj=10712832)
[    0.044020] pid_max: default: 32768 minimum: 301
[    0.048036] Security Framework initialized
[    0.052040] AppArmor: AppArmor initialized
[    0.056007] Yama: becoming mindful.
[    0.060089] Mount-cache hash table entries: 512
[    0.062804] Initializing cgroup subsys ns
[    0.064016] Initializing cgroup subsys cpuacct
[    0.066212] Initializing cgroup subsys memory
[    0.068024] Initializing cgroup subsys devices
[    0.072020] Initializing cgroup subsys freezer
[    0.076021] Initializing cgroup subsys net_cls
[    0.080208] mce: CPU supports 0 MCE banks
[    0.084060] using mwait in idle threads.
[    0.088015] Performance Events: unsupported p6 CPU model 37 no PMU driver, software events only.
[    0.110673] SMP alternatives: switching to UP code
[    0.154610] Freeing SMP alternatives: 24k freed
[    0.156026] ACPI: Core revision 20100428
[    0.160642] ACPI: setting ELCR to 0200 (from 0e20)
[    0.164140] ftrace: converting mcount calls to 0f 1f 44 00 00
[    0.168015] ftrace: allocating 22447 entries in 44 pages
[    0.176225] Enabling APIC mode:  Flat.  Using 0 I/O APICs
[    0.180041] weird, boot CPU (#0) not listed by the BIOS.
[    0.184026] SMP motherboard not detected.
[    0.192000] APIC calibration not consistent with PM-Timer: 103ms instead of 100ms
[    0.192000] APIC delta adjusted to PM-Timer: 6186583 (6430224)
[    0.196138] SMP disabled
[    0.200196] Brought up 1 CPUs
[    0.204005] Total of 1 processors activated (5356.41 BogoMIPS).
[    0.208228] devtmpfs: initialized
[    0.213365] regulator: core version 0.5
[    0.216082] Time: 23:42:47  Date: 10/11/10
[    0.218860] NET: Registered protocol family 16
[    0.220132] EISA bus registered
[    0.224038] ACPI: bus type pci registered
[    0.228265] PCI: PCI BIOS revision 2.10 entry at 0xfc130, last bus=0
[    0.232008] PCI: Using configuration type 1 for base access
[    0.235183] bio: create slab <bio-0> at 0
[    0.239283] ACPI: Interpreter enabled
[    0.240013] ACPI: (supports S0 S5)
[    0.244329] ACPI: Using PIC for interrupt routing
[    0.253392] ACPI: No dock devices found.
[    0.256007] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[    0.260250] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.287591] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10 11)
[    0.292849] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 10 *11)
[    0.300459] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 9 *10 11)
[    0.316395] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *9 10 11)
[    0.320858] HEST: Table is not found!
[    0.324191] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.328009] vgaarb: loaded
[    0.332206] SCSI subsystem initialized
[    0.333657] usbcore: registered new interface driver usbfs
[    0.336045] usbcore: registered new interface driver hub
[    0.340098] usbcore: registered new device driver usb
[    0.344278] ACPI: WMI: Mapper loaded
[    0.348009] PCI: Using ACPI for IRQ routing
[    0.352824] NetLabel: Initializing
[    0.356013] NetLabel:  domain hash size = 128
[    0.360009] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.361711] NetLabel:  unlabeled traffic allowed by default
[    0.364074] Switching to clocksource tsc
[    0.375968] AppArmor: AppArmor Filesystem Enabled
[    0.391321] pnp: PnP ACPI init
[    0.408917] ACPI: bus type pnp registered
[    0.429504] ERROR: Unable to locate IOAPIC for GSI 1
[    0.440205] ERROR: Unable to locate IOAPIC for GSI 12
[    0.442145] ERROR: Unable to locate IOAPIC for GSI 7
[    0.450854] pnp: PnP ACPI: found 5 devices
[    0.461711] ACPI: ACPI bus type pnp unregistered
[    0.493479] PnPBIOS: Disabled by ACPI PNP
[    0.544107] NET: Registered protocol family 2
[    0.552889] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.561712] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.579049] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    0.595081] TCP: Hash tables configured (established 16384 bind 16384)
[    0.621378] TCP reno registered
[    0.622539] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.641126] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.643349] NET: Registered protocol family 1
[    0.644891] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.662237] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.673156] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.700675] Trying to unpack rootfs image as initramfs...
[    0.728848] cpufreq-nforce2: No nForce2 chipset.
[    0.755943] Scanning for low memory corruption every 60 seconds
[    0.788274] audit: initializing netlink socket (disabled)
[    0.815373] type=2000 audit(1286840563.812:1): initialized
[    0.848468] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.872915] Freeing initrd memory: 3724k freed
[    0.897354] VFS: Disk quotas dquot_6.5.2
[    0.910501] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.922761] fuse init (API version 7.14)
[    0.924739] msgmni has been set to 991
[    0.931822] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.947494] io scheduler noop registered
[    0.960861] io scheduler deadline registered
[    0.971970] io scheduler cfq registered (default)
[    0.997765] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.017356] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.046201] ACPI: AC Adapter [AC] (on-line)
[    1.071364] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.084671] ACPI: Power Button [PWRF]
[    1.097431] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[    1.132357] ACPI: Sleep Button [SLPF]
[    1.144134] ACPI: Battery Slot [BAT0] (battery present)
[    1.171992] ERST: Table is not found!
[    1.179837] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.196215] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.207745] isapnp: Scanning for PnP cards...
[    1.236876] brd: module loaded
[    1.240353] loop: module loaded
[    1.242119] scsi0 : ata_piix
[    1.304094] scsi1 : ata_piix
[    1.319940] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
[    1.341209] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
[    1.396672] Fixed MDIO Bus: probed
[    1.398489] PPP generic driver version 2.4.2
[    1.413746] tun: Universal TUN/TAP device driver, 1.6
[    1.431293] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    1.494491] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.507343] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[    1.521148] ehci_hcd 0000:00:0b.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[    1.582642] ehci_hcd 0000:00:0b.0: EHCI Host Controller
[    1.590384] ehci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 1
[    1.604064] ehci_hcd 0000:00:0b.0: irq 10, io mem 0xf0805000
[    1.657090] ehci_hcd 0000:00:0b.0: USB 2.0 started, EHCI 1.00
[    1.664239] ata2.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[    1.676800] hub 1-0:1.0: USB hub found
[    1.681726] hub 1-0:1.0: 8 ports detected
[    1.683423] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.703152] ata2.00: configured for UDMA/33
[    1.705810] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[    1.722984] ohci_hcd 0000:00:06.0: PCI INT A -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[    1.774317] ohci_hcd 0000:00:06.0: OHCI Host Controller
[    1.789248] ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2
[    1.859442] ohci_hcd 0000:00:06.0: irq 11, io mem 0xf0804000
[    1.908964] isapnp: No Plug & Play device found
[    1.911527] scsi 1:0:0:0: CD-ROM            VBOX     CD-ROM           1.0  PQ: 0 ANSI: 5
[    1.924513] hub 2-0:1.0: USB hub found
[    1.925885] hub 2-0:1.0: 8 ports detected
[    1.932311] sr0: scsi3-mmc drive: 32x/32x xa/form2 tray
[    1.942915] Uniform CD-ROM driver Revision: 3.20
[    1.945177] uhci_hcd: USB Universal Host Controller Interface driver
[    1.956116] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    1.971494] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[    2.001889] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.008445] serio: i8042 AUX port at 0x60,0x64 irq 12
[    2.012248] mice: PS/2 mouse device common for all mice
[    2.032102] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    2.062040] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    2.070815] rtc0: alarms up to one day, 114 bytes nvram
[    2.087939] device-mapper: uevent: version 1.0.3
[    2.108578] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel at redhat.com
[    2.111649] device-mapper: multipath: version 1.1.1 loaded
[    2.113607] device-mapper: multipath round-robin: version 1.0.0 loaded
[    2.141319] EISA: Probing bus 0 at eisa.0
[    2.167938] Cannot allocate resource for EISA slot 4
[    2.177764] EISA: Detected 0 cards.
[    2.187972] cpuidle: using governor ladder
[    2.190739] cpuidle: using governor menu
[    2.211277] TCP cubic registered
[    2.222611] NET: Registered protocol family 10
[    2.228425] lo: Disabled Privacy Extensions
[    2.260649] NET: Registered protocol family 17
[    2.280213] Using IPI No-Shortcut mode
[    2.291775] registered taskstats version 1
[    2.311259]   Magic number: 14:974:756
[    2.341542] rtc_cmos rtc_cmos: setting system clock to 2010-10-11 23:42:49 UTC (1286840569)
[    2.397561] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    2.431928] EDD information not available.
[    2.442525] Freeing unused kernel memory: 704k freed
[    2.444452] Write protecting the kernel text: 5108k
[    2.471287] Write protecting the kernel read-only data: 2016k
Loaing, please [    2.496184] usb 2-1: new full speed USB device using ohci_hcd and address 2
wait...
[    2.576391] udev[66]: starting version 163
Begin: Loading essential drivers .. done.
Begin: Running /scripts/init-preunt ... done.
Begin: Mounting root file system ... Begin: Running /scripts/lo[    2.695607] ahci: Unknown symbol ahci_ops (err 0)
cal-top ... done[    2.779118] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k6-NAPI
.
[    2.852090] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.923194] ahci: Unknown symbol ahci_start_engine (err 0)
[    2.951412] e1000 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, low) -> IRQ 10
[    2.971120] ahci: Unknown symbol ahci_interrupt (err 0)
[    2.993209] ahci: Unknown symbol ahci_check_ready (err 0)
[    3.020922] ahci: Unknown symbol ahci_kick_engine (err 0)
[    3.499148] ahci: Unknown symbol ahci_set_em_messages (err 0)
[    3.541867] ahci: Unknown symbol ahci_init_controller (err 0)
[    3.582389] ahci: Unknown symbol ahci_reset_controller (err 0)
[    3.592425] ahci: Unknown symbol ahci_print_info (err 0)
[    3.621807] ahci: Unknown symbol ahci_do_softreset (err 0)
[    3.648304] ahci: Unknown symbol ahci_stop_engine (err 0)
[    3.663262] ahci: Unknown symbol ahci_sht (err 0)
[    3.678211] ahci: Unknown symbol ahci_reset_em (err 0)
[    3.712485] ahci: Unknown symbol ahci_save_initial_config (err 0)
[    3.724515] ahci: Unknown symbol ahci_ignore_sss (err 0)
[    3.727840] ahci: Unknown symbol ahci_ops (err 0)
[    3.770227] ahci: Unknown symbol ahci_start_engine (err 0)
[    3.780800] ahci: Unknown symbol ahci_interrupt (err 0)
[    3.785429] ahci: Unknown symbol ahci_check_ready (err 0)
[    3.801604] ahci: Unknown symbol ahci_kick_engine (err 0)
[    3.867591] ahci: Unknown symbol ahci_set_em_messages (err 0)
[    3.897747] ahci: Unknown symbol ahci_init_controller (err 0)
[    3.949436] ahci: Unknown symbol ahci_reset_controller (err 0)
[    3.980243] ahci: Unknown symbol ahci_print_info (err 0)
[    4.017826] ahci: Unknown symbol ahci_do_softreset (err 0)
[    4.036368] ahci: Unknown symbol ahci_stop_engine (err 0)
[    4.072439] e1000 0000:00:03.0: eth0: (PCI:33MHz:32-bit) 08:00:27:96:be:53
[    4.089468] e1000 0000:00:03.0: eth0: Intel(R) PRO/1000 Network Connection
[    4.094856] ahci: Unknown symbol ahci_sht (err 0)
[    4.127907] ahci: Unknown symbol ahci_reset_em (err 0)
[    4.133922] ahci: Unknown symbol ahci_save_initial_config (err 0)
[    4.156820] ahci: Unknown symbol ahci_ignore_sss (err 0)
Gave up waiting for root device.  Common problems:
- Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait ong enough?)
   - Check root= (did the systemwait for the right device?)
 - Mising modules (cat /proc/modules; ls /dev)
ALERT!  /dev/dis/by-label/uec-rootfs does not exist.  Dropping to a shell!


BusyBox v1.15.3 (Ubunu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of buil-in commands.

(initramfs)          
-------------- next part --------------
ubuntu at ubuntu:~$ cat > fix.sh
arch=i386; bn=maverick-server-uec-${arch}
tar -Sxvzf ubuntu-10.10-server-uec-${arch}.tar.gz
cp ${bn}-floppy ${bn}-floppy.iso
mkdir ./mnt
sudo bash -c '
set -xe
img=$1; d=$2; MNT=""
[ -d "$d" ] || exit 1
cleanup() {
  f=$d/etc/resolv.conf; [ -e "$f.dist" ] && mv $f.dist $f
  rm -Rf "${d}.x"
  [ -z "$MNT" ] || umount "${MNT}"
}
trap cleanup EXIT
mount -o loop "$img" "$d"
MNT="${d}"
# mv "${d}/etc/resolv.conf" "${d}/etc/resolv.conf.dist"

chroot "${d}" env LANG=C sh -c \
   "apt-get update && apt-get install --download-only linux-server --yes"
mkdir -p "${d%/}.x"
sver=server
[ -f "${d}/var/cache/apt/archives/"linux-image-2*generic-pae*.deb ] &&
   sver=generic-pae
dpkg -x "${d}/var/cache/apt/archives/"linux-image-2*${sver}*.deb "${d}.x"
cp "${d}.x/lib/modules/"*-${sver}/kernel/drivers/ata/libahci.ko \
   "${d}/lib/modules/"*-virtual/kernel/drivers/ata/
chroot "${d}" env LANG=C update-initramfs -k all -u
rm -f "${d}/var/cache/apt/archives/"linux*
' arg0 "${bn}.img" ./mnt
^C
ubuntu at ubuntu:~$ sh fix.sh 
maverick-server-uec-i386.img
maverick-server-uec-i386-vmlinuz-virtual
maverick-server-uec-i386-loader
maverick-server-uec-i386-floppy
README.files
+ img=maverick-server-uec-i386.img
+ d=./mnt
+ MNT=
+ '[' -d ./mnt ']'
+ trap cleanup EXIT
+ mount -o loop maverick-server-uec-i386.img ./mnt
+ MNT=./mnt
+ chroot ./mnt env LANG=C sh -c 'apt-get update && apt-get install --download-only linux-server --yes'
Get:1 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Get:2 http://security.ubuntu.com maverick-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Get:3 http://archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Get:4 http://security.ubuntu.com maverick-security Release [38.5kB]
Get:5 http://archive.ubuntu.com maverick Release [39.8kB]
Get:6 http://archive.ubuntu.com maverick-updates Release [27.2kB]
Get:7 http://archive.ubuntu.com maverick/main i386 Packages [1492kB]   
Get:8 http://security.ubuntu.com maverick-security/main i386 Packages [9259B]
Get:9 http://security.ubuntu.com maverick-security/restricted i386 Packages [14B]
Get:10 http://security.ubuntu.com maverick-security/universe i386 Packages [2938B]
Get:11 http://security.ubuntu.com maverick-security/multiverse i386 Packages [14B]
Get:12 http://archive.ubuntu.com maverick/restricted i386 Packages [5992B]
Get:13 http://archive.ubuntu.com maverick/universe i386 Packages [5791kB]
Get:14 http://archive.ubuntu.com maverick/multiverse i386 Packages [183kB]
Get:15 http://archive.ubuntu.com maverick-updates/main i386 Packages [10.0kB]
Get:16 http://archive.ubuntu.com maverick-updates/restricted i386 Packages [14B]
Get:17 http://archive.ubuntu.com maverick-updates/universe i386 Packages [3699B]
Get:18 http://archive.ubuntu.com maverick-updates/multiverse i386 Packages [14B]
Fetched 7604kB in 7s (1001kB/s)                                                                                                                                                      
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  linux-generic-pae linux-image-2.6.35-22-generic-pae linux-image-generic-pae
Suggested packages:
  fdutils linux-doc-2.6.35 linux-source-2.6.35 linux-tools
The following NEW packages will be installed:
  linux-generic-pae linux-image-2.6.35-22-generic-pae linux-image-generic-pae linux-server
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 34.1MB of archives.
After this operation, 108MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ maverick/main linux-image-2.6.35-22-generic-pae i386 2.6.35-22.33 [34.0MB]
Get:2 http://archive.ubuntu.com/ubuntu/ maverick/main linux-image-generic-pae i386 2.6.35.22.23 [4838B]                                                                              
Get:3 http://archive.ubuntu.com/ubuntu/ maverick/main linux-generic-pae i386 2.6.35.22.23 [4832B]                                                                                    
Get:4 http://archive.ubuntu.com/ubuntu/ maverick/main linux-server i386 2.6.35.22.23 [4822B]                                                                                         
Fetched 34.1MB in 10s (3285kB/s)                                                                                                                                                     
Download complete and in download only mode
+ mkdir -p ./mnt.x
+ sver=server
+ '[' -f ./mnt/var/cache/apt/archives/linux-image-2.6.35-22-generic-pae_2.6.35-22.33_i386.deb ']'
+ sver=generic-pae
+ dpkg -x ./mnt/var/cache/apt/archives/linux-image-2.6.35-22-generic-pae_2.6.35-22.33_i386.deb ./mnt.x
+ cp ./mnt.x/lib/modules/2.6.35-22-generic-pae/kernel/drivers/ata/libahci.ko ./mnt/lib/modules/2.6.35-22-virtual/kernel/drivers/ata/
+ chroot ./mnt env LANG=C update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-2.6.35-22-virtual
+ rm -f ./mnt/var/cache/apt/archives/linux-generic-pae_2.6.35.22.23_i386.deb ./mnt/var/cache/apt/archives/linux-image-2.6.35-22-generic-pae_2.6.35-22.33_i386.deb ./mnt/var/cache/apt/archives/linux-image-generic-pae_2.6.35.22.23_i386.deb ./mnt/var/cache/apt/archives/linux-server_2.6.35.22.23_i386.deb
+ cleanup
+ f=./mnt/etc/resolv.conf
+ '[' -e ./mnt/etc/resolv.conf.dist ']'
+ rm -Rf ./mnt.x
+ '[' -z ./mnt ']'
+ umount ./mnt


More information about the Ubuntu-cloud mailing list