I am currently able to boot kernel-3.3.4-3.fc17.armv5tel with the following qemu commandline:
[palosanto@virthost fedora-17]$ KERNELVER=3.3.4-3.fc17.armv5tel [palosanto@virthost fedora-17]$ /home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm -nographic -m 256 -M versatilepb -kernel boot/vmlinuz-$KERNELVER -initrd boot/initramfs-$KERNELVER.img -append "root=LABEL=rootfs console=ttyAMA0 audit=0" -hda fedora-17-arm.vmdk
If I just replace KERNELVER to 3.3.6-3.fc17.armv5tel , the boot process just hangs.
If I specify -M vexpress-a9, I can sort of boot the kernel. However no block device matching the disk image appears anywhere, so the boot process drops to an debug shell, like this:
[palosanto@virthost fedora-17]$ /home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm -nographic -m 256 -M vexpress-a9 -kernel boot/vmlinuz-$KERNELVER -initrd boot/initramfs-$KERNELVER.img -append "root=LABEL=rootfs console=ttyAMA0 audit=0" -hda fedora-17-arm.vmdk oss: Could not initialize DAC oss: Failed to open `/dev/dsp' oss: Reason: No such file or directory oss: Could not initialize DAC oss: Failed to open `/dev/dsp' oss: Reason: No such file or directory audio: Failed to create voice `lm4549.out' Uncompressing Linux... done, booting the kernel. l2x0_priv_write: Bad offset 900 l2x0_priv_write: Bad offset 904 [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.3.6-3.fc17.armv5tel (mockbuild@hsv-panda-3-v5tel.farm.hsv.redhat.com) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Thu May 17 02:33:44 EDT 2012 [ 0.000000] CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: ARM-Versatile Express [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] PERCPU: Embedded 8 pages/cpu @c093d000 s10944 r8192 d13632 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: root=LABEL=rootfs console=ttyAMA0 audit=0 [ 0.000000] audit: disabled (until reboot) [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] allocated 524288 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 256MB = 256MB total [ 0.000000] Memory: 244496k/244496k available, 17648k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc05cbe68 (5904 kB) [ 0.000000] .init : 0xc05cc000 - 0xc0618ac0 ( 307 kB) [ 0.000000] .data : 0xc061a000 - 0xc0659638 ( 254 kB) [ 0.000000] .bss : 0xc065965c - 0xc0739e9c ( 899 kB) [ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 nr_irqs:128 128 [ 0.000000] ------------[ cut here ]------------ [ 0.000000] WARNING: at arch/arm/common/gic.c:721 gic_init_bases+0xc4/0x334() [ 0.000000] Cannot allocate irq_descs @ IRQ16, assuming pre-allocated [ 0.000000] Modules linked in: [ 0.000000] [<c001585c>] (unwind_backtrace+0x0/0x124) from [<c00237b0>] (warn_slowpath_common+0x54/0x6c) [ 0.000000] [<c00237b0>] (warn_slowpath_common+0x54/0x6c) from [<c0023860>] (warn_slowpath_fmt+0x34/0x44) [ 0.000000] [<c0023860>] (warn_slowpath_fmt+0x34/0x44) from [<c05d2c8c>] (gic_init_bases+0xc4/0x334) [ 0.000000] [<c05d2c8c>] (gic_init_bases+0xc4/0x334) from [<c05d3564>] (ct_ca9x4_init_irq+0x1c/0x28) [ 0.000000] [<c05d3564>] (ct_ca9x4_init_irq+0x1c/0x28) from [<c05d321c>] (v2m_init_irq+0x14/0x1c) [ 0.000000] [<c05d321c>] (v2m_init_irq+0x14/0x1c) from [<c05cea34>] (init_IRQ+0x14/0x1c) [ 0.000000] [<c05cea34>] (init_IRQ+0x14/0x1c) from [<c05cc6b4>] (start_kernel+0x1c4/0x358) [ 0.000000] [<c05cc6b4>] (start_kernel+0x1c4/0x358) from [<60008044>] (0x60008044) [ 0.000000] ---[ end trace da227214a82491b7 ]--- [ 0.000000] Console: colour dummy device 80x30 [ 0.096749] Calibrating delay loop... 326.04 BogoMIPS (lpj=1630208) [ 0.293868] pid_max: default: 32768 minimum: 301 [ 0.295288] Security Framework initialized [ 0.298493] SELinux: Initializing. [ 0.301926] Mount-cache hash table entries: 512 [ 0.314888] Initializing cgroup subsys cpuacct [ 0.314979] Initializing cgroup subsys memory [ 0.315621] Initializing cgroup subsys devices [ 0.315765] Initializing cgroup subsys freezer [ 0.315855] Initializing cgroup subsys net_cls [ 0.315956] Initializing cgroup subsys blkio [ 0.316102] Initializing cgroup subsys perf_event [ 0.316897] CPU: Testing write buffer coherency: ok [ 0.318837] ftrace: allocating 17474 entries in 35 pages [ 0.451092] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.451495] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 1 counters available [ 0.452225] Setting up static identity map for 0x60439c10 - 0x60439c68 [ 0.461234] Brought up 1 CPUs [ 0.461365] SMP: Total of 1 processors activated (326.04 BogoMIPS). [ 0.479064] devtmpfs: initialized [ 0.496599] atomic64 test passed [ 0.498420] NET: Registered protocol family 16 [ 0.511094] L310 cache controller enabled [ 0.511162] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02420000, Cache size: 131072 B [ 0.512899] hw-breakpoint: debug architecture 0x0 unsupported. [ 0.514882] Serial: AMBA PL011 UART driver [ 0.517754] mb:uart0: ttyAMA0 at MMIO 0x10009000 (irq = 37) is a PL011 rev1 [ 0.554634] console [ttyAMA0] enabled [ 0.558647] mb:uart1: ttyAMA1 at MMIO 0x1000a000 (irq = 38) is a PL011 rev1 [ 0.560082] mb:uart2: ttyAMA2 at MMIO 0x1000b000 (irq = 39) is a PL011 rev1 [ 0.561419] mb:uart3: ttyAMA3 at MMIO 0x1000c000 (irq = 40) is a PL011 rev1 [ 0.586658] bio: create slab <bio-0> at 0 [ 0.591720] SCSI subsystem initialized [ 0.595184] usbcore: registered new interface driver usbfs [ 0.595988] usbcore: registered new interface driver hub [ 0.597312] usbcore: registered new device driver usb [ 0.608091] NetLabel: Initializing [ 0.608397] NetLabel: domain hash size = 128 [ 0.608760] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.610392] NetLabel: unlabeled traffic allowed by default [ 0.611368] Switching to clocksource v2m-timer1 [ 0.759733] NET: Registered protocol family 2 [ 0.762213] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.768047] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.769086] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.770223] TCP: Hash tables configured (established 8192 bind 8192) [ 0.770856] TCP reno registered [ 0.771238] UDP hash table entries: 128 (order: 0, 4096 bytes) [ 0.771941] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) [ 0.774873] NET: Registered protocol family 1 [ 0.780691] Unpacking initramfs... [ 2.890234] Freeing initrd memory: 7428K [ 3.161471] VFS: Disk quotas dquot_6.5.2 [ 3.162931] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.176630] msgmni has been set to 492 [ 3.199751] alg: No test for stdrng (krng) [ 3.200253] NET: Registered protocol family 38 [ 3.202027] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 3.204339] io scheduler noop registered [ 3.204788] io scheduler deadline registered [ 3.205447] io scheduler cfq registered (default) [ 3.210346] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 3.215070] uart-pl011 mb:uart0: no DMA platform data [ 3.215614] uart-pl011 mb:uart1: no DMA platform data [ 3.216168] uart-pl011 mb:uart2: no DMA platform data [ 3.216784] uart-pl011 mb:uart3: no DMA platform data [ 3.240894] loop: module loaded [ 3.244182] Fixed MDIO Bus: probed [ 3.246736] usbcore: registered new interface driver usbserial [ 3.247868] USB Serial support registered for generic [ 3.248613] usbcore: registered new interface driver usbserial_generic [ 3.249329] usbserial: USB Serial Driver core [ 3.250843] mousedev: PS/2 mouse device common for all mice [ 3.257137] device-mapper: uevent: version 1.0.3 [ 3.260584] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 3.263106] cpuidle: using governor ladder [ 3.263895] cpuidle: using governor menu [ 3.267816] usbcore: registered new interface driver usbhid [ 3.268383] usbhid: USB HID core driver [ 3.270841] ip_tables: (C) 2000-2006 Netfilter Core Team [ 3.273341] TCP cubic registered [ 3.273891] Initializing XFRM netlink socket [ 3.277364] NET: Registered protocol family 10 [ 3.285351] Mobile IPv6 [ 3.285811] NET: Registered protocol family 17 [ 3.286468] Registering the dns_resolver key type [ 3.288807] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 0 [ 3.299557] Registering SWP/SWPB emulation handler [ 3.322464] registered taskstats version 1 [ 3.325869] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 3.326571] Initializing network drop monitor service [ 3.340432] Freeing init memory: 304K [ 5.902595] dracut: dracut-018-36.git20120510.fc17 [ 6.988526] udevd[81]: starting version 182 udevd[81]: sender uid=-1, message ignored
[ 8.841736] mmci-pl18x mb:mmci: mmc0: PL181 manf 41 rev0 at 0x10005000 irq 41,42 (pio) [ 8.842599] mmci-pl18x mb:mmci: no DMA platform data
[ 50.760153] dracut Warning: Unable to process initqueue dracut Warning: Unable to process initqueue [ 50.773711] dracut Warning: /dev/disk/by-label/rootfs does not exist dracut Warning: /dev/disk/by-label/rootfs does not exist
Dropping to debug shell.
dracut:/#
On 05/22/2012 12:54 PM, Alex Villacís Lasso wrote:
If I specify -M vexpress-a9, I can sort of boot the kernel. However no block device matching the disk image appears anywhere, so the boot process drops to an debug shell, like this:
The 3.3.6 kernels are exclussively versatile express so you must use -M vexpress-a9
[snip]
[ 50.760153] dracut Warning: Unable to process initqueue dracut Warning: Unable to process initqueue [ 50.773711] dracut Warning: /dev/disk/by-label/rootfs does not exist dracut Warning: /dev/disk/by-label/rootfs does not exist
This is because your initramfs does not contain the mmci driver. There is a workaround installed in the current set of images being generated right now. I just booted and tested this one:
http://scotland.proximity.on.ca/arm-nightlies/vault/f17arm-20120522-192910-a...
You might find the 'boot-vexpress' and 'boot-vexpress+x' scripts, not to mention the prebuilt initramfs in this archive to be helpful:
http://scotland.proximity.on.ca/arm-nightlies/vault/f17arm-20120522-192910-a...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 22 May 2012 14:54:59 -0500 Alex Villacís Lasso a_villacis@palosanto.com wrote:
I am currently able to boot kernel-3.3.4-3.fc17.armv5tel with the following qemu commandline:
[palosanto@virthost fedora-17]$ KERNELVER=3.3.4-3.fc17.armv5tel [palosanto@virthost fedora-17]$ /home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm -nographic -m 256 -M versatilepb -kernel boot/vmlinuz-$KERNELVER -initrd boot/initramfs-$KERNELVER.img -append "root=LABEL=rootfs console=ttyAMA0 audit=0" -hda fedora-17-arm.vmdk
If I just replace KERNELVER to 3.3.6-3.fc17.armv5tel , the boot process just hangs.
If I specify -M vexpress-a9, I can sort of boot the kernel. However no block device matching the disk image appears anywhere, so the boot process drops to an debug shell, like this:
use -sd for your disk not -hda and you have to use -M vexpress-a9
so something like
/home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm - -nographic -m 256 -M versatilepb -kernel boot/vmlinuz-$KERNELVER - -initrd boot/initramfs-$KERNELVER.img -append "root=LABEL=rootfs console=ttyAMA0 audit=0" -sd fedora-17-arm.vmdk -M vexpress-a9
should work it does with the qemu binarries shipped in Fedora 17
Dennis
El 22/05/12 15:15, Dennis Gilmore escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 22 May 2012 14:54:59 -0500 Alex Villacís Lassoa_villacis@palosanto.com wrote:
I am currently able to boot kernel-3.3.4-3.fc17.armv5tel with the following qemu commandline:
[palosanto@virthost fedora-17]$ KERNELVER=3.3.4-3.fc17.armv5tel [palosanto@virthost fedora-17]$ /home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm -nographic -m 256 -M versatilepb -kernel boot/vmlinuz-$KERNELVER -initrd boot/initramfs-$KERNELVER.img -append "root=LABEL=rootfs console=ttyAMA0 audit=0" -hda fedora-17-arm.vmdk
If I just replace KERNELVER to 3.3.6-3.fc17.armv5tel , the boot process just hangs.
If I specify -M vexpress-a9, I can sort of boot the kernel. However no block device matching the disk image appears anywhere, so the boot process drops to an debug shell, like this:
use -sd for your disk not -hda and you have to use -M vexpress-a9
so something like
/home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm
- -nographic -m 256 -M versatilepb -kernel boot/vmlinuz-$KERNELVER
- -initrd boot/initramfs-$KERNELVER.img -append "root=LABEL=rootfs
console=ttyAMA0 audit=0" -sd fedora-17-arm.vmdk -M vexpress-a9
should work it does with the qemu binarries shipped in Fedora 17
Dennis -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux)
iEYEARECAAYFAk+79AYACgkQkSxm47BaWfdzyACdGMdbFPAJuABsBxyUO9jjKeJN +RcAmwWNervHKZAcsuDdimDUJUnY/TA3 =PoN8 -----END PGP SIGNATURE----- _______________________________________________ arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
Thanks! -sd did the trick.