johntwillis / ipxe

iPXE network bootloader. This is a mirror of the iPXE git tree at http://git.ipxe.org/ipxe.git
http://ipxe.org
GNU General Public License v2.0
4 stars 0 forks source link

Difficulty Reproducing usb boot #4

Open hh opened 9 years ago

hh commented 9 years ago

I'm trying to replicate this, but having a bit of trouble...It looks like I have the right code and hardware, but I may have missed something.

[hh@viii src]$ sudo lsusb -v 2>&1 | grep 0b95:772a
Bus 002 Device 117: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
git clone git@github.com:johntwillis/ipxe.git
cd ipxe
git checkout -b usb origin/master
[hh@viii src]$ git log -1
commit f06530a787f9122831ed1788747158b914c4f47a
Merge: 7f183d4 a3d8607
Author: John Willis <gooplex@gmail.com>
Date:   Thu Sep 25 21:28:21 2014 -0500

    Merge pull request #3 from ipxe/master

    Pull changes from original ipxe/ipxe master since this was forked to add USB support
[hh@viii src]$ make bin/ipxe.iso
make: 'bin/ipxe.iso' is up to date.
$  sudo qemu-system-i386 -cdrom bin/ipxe.iso -usbdevice host:0b95:772a -net nic -net user -serial file:logfile.log --curses

SeaBIOS (version 1.7.5-20140617_173321-var-lib-archbuild-testing-x86_64-tobias)
iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+07F943B0+07EF43B0 C980

Booting from Hard Disk...
Boot failed: could not read the boot disk

Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...

ISOLINUX 4.05 0x4f92e181 ETCD Copyright (C) 1994-2011 H. Peter Anvin et al
iPXE ISO boot image
Loading ipxe.krn...ready.
iPXE initialising devices...ok

iPXE 1.0.0+ (f0653) -- Open Source Network Boot Firmware -- http://ipxe.org      
Features: VLAN iSCSI HTTP DNS TFTP AoE SRP ELF MBOOT PXE bzImage Menu PXEXT      

No more network devices

Press Ctrl-B for the iPXE command line..

qemu: fatal: Trying to execute code outside RAM or ROM at 0x10495114
EAX=ffffff48 EBX=ffffff48 ECX=00000000 EDX=08618904
ESI=000ce7a4 EDI=000bebf4 EBP=00009cda ESP=00163750
EIP=08618904 EFL=00000002 [-----] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
CS =0008 07e7c810 ffffffff 00cf9f00 DPL=0 CS32 [CRA]
SS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
DS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
FS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
GS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
LDT=0000 00000000 00000000 00008200 DPL=0 LDT
TR =0008 00000580 00000067 00008900 DPL=0 TSS32-avl
GDT=     0009ce10 00000037
IDT=     07fde760 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 
DR6=ffff0ff0 DR7=00000400
CCS=000ce7a4 CCD=08618904 CCO=LOGICL  
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
```
Igoranze commented 9 years ago

Hy, did u had any luck yet?

hh commented 9 years ago

No luck yet