From: Dyweni - Qemu-Devel <8SScqsnYX8tr@dyweni.com>
To: Qemu Devel <qemu-devel@nongnu.org>,
seabios@seabios.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] Error booting from USB Storage Device in QEMU-KVM GIT MASTER
Date: Thu, 19 Jan 2012 06:57:59 -0600 [thread overview]
Message-ID: <51092a88452ccdae81de9fa5e5aa3b55@pl1.haspere.com> (raw)
Hi,
I am unable to boot KVM using a usb flash drive. I'm using QEMU-KVM
built
from GIT MASTER as of this morning.
Here's my QEMU-KVM startup options:
qemu-system-x86_64 \
-curses \
-m 512 \
-snapshot \
-device piix3-usb-uhci \
-drive id=usbflash,file=flash.img,if=none,boot=on,cache=writeback \
-device usb-storage,drive=usbflash \
-net nic,macaddr=$(getmacpublic),vlan=0 -net
tap,vlan=0,ifname=$publictap,script=no \
-net nic,macaddr=$(getmacprivate),vlan=1 -net
tap,vlan=1,ifname=$privatetap,script=no \
$*
Here's the debugging output from SeaBIOS. (Notice the 'Unable to
configure USB MSC device.' message):
+ qemu-system-x86_64 -m 512 -snapshot -device piix3-usb-uhci -drive
id=usbflash,file=flash.img,if=none,boot=on,cache=writeback -device
usb-storage,drive=usbflash -net nic,macaddr=00:AA:00:AA:62:AA,vlan=0
-net tap,vlan=0,ifname=tap0,script=no -net
nic,macaddr=00:AA:00:D2:D1:BB,vlan=1 -net
tap,vlan=1,ifname=tap1,script=no -chardev stdio,id=seabios -device
isa-debugcon,iobase=0x402,chardev=seabios
qemu-kvm: boot=on|off is deprecated and will be ignored. Future
versions will reject this parameter. Please update your scripts.
Start bios (version 1.6.3)
Ram Size=0x20000000 (0x0000000000000000 high)
Relocating init from 0x000e3b20 to 0x1ffe12e0 (size 60412)
CPU Mhz=3601
=== PCI bus & bridge init ===
PCI: pci_bios_init_bus_rec bus = 0x0
=== PCI device probing ===
Found 8 PCI devices (max PCI bus is 00)
=== PCI new allocation pass #1 ===
PCI: check devices bus 0
=== PCI new allocation pass #2 ===
PCI: init bases bus 0 (primary)
type io max 100 sum 230 base c000
size 100: 2 bar(s), c000 -> c1ff
size 20: 1 bar(s), c200 -> c21f
size 10: 1 bar(s), c220 -> c22f
type mem max 10000 sum 33000 base febc0000
size 10000: 3 bar(s), febc0000 -> febeffff
size 1000: 3 bar(s), febf0000 -> febf2fff
type prefmem max 2000000 sum 2000000 base fc000000
size 2000000: 1 bar(s), fc000000 -> fdffffff
PCI: map device bus 0, bfd 0x0
PCI: map device bus 0, bfd 0x8
PCI: map device bus 0, bfd 0x9
bar 4, addr c220, size 10 [io]
PCI: map device bus 0, bfd 0xb
PCI: map device bus 0, bfd 0x10
bar 0, addr fc000000, size 2000000 [mem]
bar 1, addr febf0000, size 1000 [mem]
bar 6, addr febc0000, size 10000 [mem]
PCI: map device bus 0, bfd 0x18
bar 0, addr c000, size 100 [io]
bar 1, addr febf1000, size 100 [mem]
bar 6, addr febd0000, size 10000 [mem]
PCI: map device bus 0, bfd 0x20
bar 0, addr c100, size 100 [io]
bar 1, addr febf2000, size 100 [mem]
bar 6, addr febe0000, size 10000 [mem]
PCI: map device bus 0, bfd 0x28
bar 4, addr c200, size 20 [io]
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
PCI: bus=0 devfn=0x20: vendor_id=0x10ec device_id=0x8139
PCI: bus=0 devfn=0x28: vendor_id=0x8086 device_id=0x7020
PIIX3/PIIX4 init: elcr=00 0c
Found 1 cpu(s) max supported 1 cpu(s)
MP table addr=0x000fd620 MPC table addr=0x000fd630 size=240
SMBIOS ptr=0x000fd600 table=0x000fd4f0 size=263
ACPI tables: RSDP=0x000fd4c0 RSDT=0x1fffd7b0
Scan for VGA option rom
Running option rom at c000:0003
Turning on vga text mode console
SeaBIOS (version 1.6.3)
UHCI init on dev 00:05.0 (io=c200)
Found 1 lpt ports
Found 1 serial ports
ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9)
ATA controller 2 at 170/374/0 (irq 15 dev 9)
DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
Searching bootorder for: /pci@i0cf8/*@1,1/drive@1/disk@0
ebda moved from 9fc00 to 9f800
USB MSC vendor='QEMU' product='QEMU HARDDISK' rev='1.0.' type=0
removable=0
Unable to configure USB MSC device.
PS2 keyboard initialized
All threads complete.
Scan for option roms
Running option rom at c900:0003
pmm call arg1=1
pmm call arg1=0
pmm call arg1=1
pmm call arg1=0
Running option rom at ca00:0003
pmm call arg1=1
pmm call arg1=1
Searching bootorder for: /pci@i0cf8/*@3
Searching bootorder for: /pci@i0cf8/*@4
Searching bootorder for: /rom@genroms/vapic.bin
Running option rom at cb00:0003
ebda moved from 9f800 to 9f000
Returned 53248 bytes of ZoneHigh
e820 map has 7 items:
0: 0000000000000000 - 000000000009f000 = 1 RAM
1: 000000000009f000 - 00000000000a0000 = 2 RESERVED
2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
3: 0000000000100000 - 000000001fffd000 = 1 RAM
4: 000000001fffd000 - 0000000020000000 = 2 RESERVED
5: 00000000feffc000 - 00000000ff000000 = 2 RESERVED
6: 00000000fffc0000 - 0000000100000000 = 2 RESERVED
enter handle_19:
NULL
Booting from DVD/CD...
Device reports MEDIUM NOT PRESENT
atapi_is_ready returned -1
Boot failed: Could not read from CDROM (code 0003)
enter handle_18:
NULL
Booting from ROM...
Booting from c900:0372
enter handle_18:
NULL
Booting from ROM...
Booting from ca00:0372
In resume (status=0)
In 32bit resume
Attempting a hard reboot
--
Thanks,
Dyweni
next reply other threads:[~2012-01-19 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-19 12:57 Dyweni - Qemu-Devel [this message]
2012-01-19 13:01 ` [Qemu-devel] Error booting from USB Storage Device in QEMU-KVM GIT MASTER Dyweni - Qemu-Devel
2012-01-19 13:12 ` Gerd Hoffmann
2012-01-20 1:57 ` [Qemu-devel] [SeaBIOS] " Kevin O'Connor
2012-01-20 12:25 ` Dyweni - Qemu-Devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51092a88452ccdae81de9fa5e5aa3b55@pl1.haspere.com \
--to=8sscqsnyx8tr@dyweni.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).