Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE wasn't compiled.
2016-01-27, 02:37
Post: #1
Question iPXE wasn't compiled.
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?
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-01-27, 13:55
Post: #2
RE: iPXE wasn't compiled.
(2016-01-27 02:37)HoRangKi Wrote:  I can compile pxe-boot to use usb. but it wasn't run.
My notebook(real machine) is rebooted infinite.

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
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-01-28, 07:32 (This post was last modified: 2016-03-12 21:31 by HoRangKi.)
Post: #3
RE: iPXE wasn't compiled.
(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!
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-01-28, 15:29
Post: #4
RE: iPXE wasn't compiled.
(2016-01-28 07:32)HoRangKi Wrote:  [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

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
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-01-29, 00:09
Post: #5
RE: iPXE wasn't compiled.
iPXE is compiled.
Thanks for your answer. Smile

Regards,
ByeoungWook
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)