[Bug 524893] Re: versatile: Can't boot initramfses
** Changed in: android (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/524893 Title: versatile: Can't boot initramfses To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/android/+bug/524893/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Also affects: android (Ubuntu) Importance: Undecided Status: New ** Changed in: android (Ubuntu Lucid) Status: New = Won't Fix ** Changed in: android (Ubuntu) Status: New = Triaged ** Changed in: android (Ubuntu) Importance: Undecided = High ** Changed in: android (Ubuntu) Assignee: (unassigned) = Dmitrijs Ledkovs (xnox) ** Changed in: android (Ubuntu) Milestone: None = ubuntu-13.10 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/524893 Title: versatile: Can't boot initramfses To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/android/+bug/524893/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
So the QEMU patch is the relevant one here; the kernel changes were just attempts at fixing this bug which failed. It would be nice if we could send this upstream, but I guess it needs testing / checking with other flavors than versatile. Also, ideally, QEMU should compute the address instead of hardcoding it. -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Changed in: linux (Ubuntu Lucid) Assignee: (unassigned) = Loïc Minier (lool) ** Changed in: linux (Ubuntu Lucid) Status: Triaged = Fix Committed -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
This bug was fixed in the package linux - 2.6.32-18.27 --- linux (2.6.32-18.27) lucid; urgency=low [ Chase Douglas ] * SAUCE: Don't register vga16fb framebuffer if other framebuffers are present - LP: #527369 [ Loïc Minier ] * [Config] armel/versatile: Set CRAMFS=m - LP: #524893 * [Config] armel: Reset default command-line - LP: #524893 [ Stefan Bader ] * build/modules: Update d-i to reflect recent config changes - LP: #546929 [ Upstream Kernel Changes ] * (pre-stable) drm/nouveau: report unknown connector state if lid closed - LP: #523072 * (pre-stable) Staging: rt2870: Add USB ID for Buffalo Airstation WLI-UC-GN - LP: #441990 * (pre-stable) iwlwifi: fix nfreed-- - LP: #545585 * (pre-stable) pata_via: Add VIA VX900 support - LP: #548675 -- Stefan Bader stefan.ba...@canonical.com Fri, 26 Mar 2010 18:39:42 +0100 ** Changed in: linux (Ubuntu Lucid) Status: Fix Committed = Fix Released -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
This bug was fixed in the package qemu-kvm - 0.12.3-0ubuntu17 --- qemu-kvm (0.12.3-0ubuntu17) lucid; urgency=low * qemu-debootstrap: test for basename part of $0 to enable build-arm-chroot compat mode. * New patch, arm-higher-initrd-load-addr, set INITRD_LOAD_ADDR to 0x00d0 instead of 0x0080 as to leave enough room for our piggish vmlinuz + its decompressed counterpart; should fix initramfs and initrd support; thanks Jason Andrews; LP: #524893. -- Loic Minier loic.min...@ubuntu.com Sat, 20 Mar 2010 10:30:21 +0100 ** Changed in: qemu-kvm (Ubuntu Lucid) Status: In Progress = Fix Released -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Changed in: qemu-kvm (Ubuntu Lucid) Assignee: Bryan Wu (cooloney) = Loïc Minier (lool) -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
A qemu bug seems possible, but unlikely. I have other kernels and initrd gzipped cpio archivies that are very similar and run fine with qemu versatile. The only difference here is the cpu is cortex-a8 but this doesn't seem related to initrd processing. I also took the initrd.gz and extracted it with gunzip and cpio and took the filesystem data and put the same data into an ext4 filesystem as described by https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap then I could boot the kernel and filesystem just fine using: qemu-system-arm -M versatilepb -cpu cortex-a8 -m 256 -kernel vmlinuz -hda rootfs.img -nographic -append rootwait root=/dev/sda console=ttyAMA0,115200 init=/bin/sh rw Since this boots fine there is nothing wrong with the filsystem information itself. qemu loader and ramdisk size don't seem related. The initrd is loaded by qemu after the kernel at 0x80 so if there is any corruption the initrd file would overwrite the kernel, not the other way around. The kernel size is only 0x2ca574 I think the next step is to look at the kernel configuration, I couldn't extract it using extract-ikconfig What's the best way to get the kernel configuration? -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
Oh well, first guess was wrong. The kernel config is fine. The problem is with qemu. The kernel became too big for qemu. Edit the qemu file source file hw/arm_boot.c Change this define to something bigger: -#define INITRD_LOAD_ADDR 0x0080 +#define INITRD_LOAD_ADDR 0x00a0 Rebuild qemu and the boot is fine. -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
I'm afraid I need help from kernel folks to understand why initramfses and initrds don't work in qemu-system-arm with our linux/versatile kernels. ** Changed in: linux (Ubuntu Lucid) Assignee: Loïc Minier (lool) = (unassigned) -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Tags added: lucid ** Tags removed: kernel-series-unknown -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Branch linked: lp:ubuntu/linux-ec2 -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Tags added: kernel-series-unknown -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 524893] Re: versatile: Can't boot initramfses
** Branch linked: lp:ubuntu/linux-mvl-dove -- versatile: Can't boot initramfses https://bugs.launchpad.net/bugs/524893 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs