iPXE wasn't compiled. - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: iPXE wasn't compiled. (/showthread.php?tid=7924) |
iPXE wasn't compiled. - HoRangKi - 2016-01-27 02:37 I can compile pxe-boot to use usb. but it wasn't run. My notebook(real machine) is rebooted infinite. I still don't understand, why wasn't run. [build machine information] $ uname -a Linux bw-VirtualBox 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ ll /dev/disk/by-id/ Totals 0 drwxr-xr-x 2 root root 200 1월 25 12:02 ./ drwxr-xr-x 5 root root 100 1월 25 12:02 ../ lrwxrwxrwx 1 root root 9 1월 25 10:27 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0 lrwxrwxrwx 1 root root 9 1월 25 10:27 ata-VBOX_HARDDISK_VB444533e4-25a6cacf -> ../../sda lrwxrwxrwx 1 root root 10 1월 25 10:27 ata-VBOX_HARDDISK_VB444533e4-25a6cacf-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 1월 25 10:27 ata-VBOX_HARDDISK_VB444533e4-25a6cacf-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 1월 25 10:27 ata-VBOX_HARDDISK_VB444533e4-25a6cacf-part5 -> ../../sda5 lrwxrwxrwx 1 root root 9 1월 25 12:02 usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0 -> ../../sdb lrwxrwxrwx 1 root root 10 1월 25 12:02 usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0-part3 -> ../../sdb3 lrwxrwxrwx 1 root root 10 1월 25 12:02 usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0-part4 -> ../../sdb4 $ git clone http://github.com/ipxe/ipxe ipxe-src $ cd ipxe-src/src $ make $ make bin/ipxe.usb $ sudo dd if=bin/ipxe.usb of=/dev/disk/by-id/usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0 $ qemu-system-i386 /dev/sdb -boot n <--- success [target machine information] $ lscpi -s 02:00.0 -nnn Network Controller [0200] : Qualcomm Atheros AR92856 Wireless Network Adapter (PCI-Express) [168C:002B] (rev 01) Why wasn't it booted in real machine? RE: iPXE wasn't compiled. - mcb30 - 2016-01-27 13:55 (2016-01-27 02:37)HoRangKi Wrote: I can compile pxe-boot to use usb. but it wasn't run. Thank you for the detailed information about your build environment. Could you describe more precisely the error which occurs? Do you see any output (e.g. "iPXE initialising devices...")? At what point does the machine reboot? Thanks, Michael RE: iPXE wasn't compiled. - HoRangKi - 2016-01-28 07:32 (2016-01-27 13:55)mcb30 Wrote: Could you describe more precisely the error which occurs? Do you see any output (e.g. "iPXE initialising devices...")? At what point does the machine reboot? I was writing debugging code. The Debugging process was recorded to the youtube video. The yutube video link : https://www.youtube.com/watch?v=EF-vl8f-9xE [Problem Call Stack] main() => initialise() => initialise() return !! => startup() => core/devices.c : probe_devices() => PCI probe call => pcibus_probe() => ath9k_init_device() => ath_rx_init() => ath_rxbuf_alloc() => infinite reboot I think it was being happened in ar9xxx code. Thanks for assistance! RE: iPXE wasn't compiled. - mcb30 - 2016-01-28 15:29 (2016-01-28 07:32)HoRangKi Wrote: [Problem Call Stack] Thanks for tracking that down. ath_rxbuf_alloc() was very broken. I've pushed a change to fix this one small part of the driver: http://git.ipxe.org/ipxe.git/commitdiff/d0bfd83. If we find any more bugs of this magnitude, then I'll just remove the whole ath9k driver. Michael RE: iPXE wasn't compiled. - HoRangKi - 2016-01-29 00:09 iPXE is compiled. Thanks for your answer. Regards, ByeoungWook |