[ipxe-devel] IPXE question: iPXE.efi can't detect network device

Daniel Li 354225989 at qq.com
Sun Sep 9 15:10:28 BST 2012


Hi Owner,
Who can help me?I eagerly waitting for ipxe team reply,if you need any infomation,please let me know. 
I have debug this issue more than one week,but i can't find the root cause,my deubg information like following figure.
The call flow is efipci_supported()->efipci_create()->OpenProtocol(),unfortunately,OpenProtocol return EFI_UNSUPPORTED error code and the log is "EFIPCI device 0x3dbf5398 is not a PCI device",I think ipxe can't enum the pci device.Could you tell me the right step or ut pass machine. I get the faile result after boot ipxe via uefi shell on Thinkpad T420 and VMare 8.0,it's network device is intel.
BTW,Could you tell me whether ipxe is supported in uefi enviroment,if not,could you tell me your plan.



------------------
Best Regards,Daniel Li 


 




------------------ 原始邮件 ------------------
发件人: "我自己的邮箱"<354225989 at qq.com>;
发送时间: 2012年9月7日(星期五) 晚上9:37
收件人: "ipxe-devel"<ipxe-devel at lists.ipxe.org>; 

主题: IPXE question: iPXE.efi can't detect network device



Dear IPXE owner,
Thanks for ipxe develop team hard work,after read ipxe code ,i found that ipxe code is very classic and helpful to me.
Our product will import ipxe,but efi file can't found network device,I built efi file according to the below steps.
1.I have undef PXE_STACK and  PXE_MENU in src\config\general.h.
2.Built EFI version as vendor/product specific:
$ make bin-x86-64/10222000.efi bin-x86-64/10222001.efi bin-x86-64/10222625.efi.(computer vendor is 1022 ,device id is 2001).
$make bin-x86-64-efi/80861502(computer vendor is 8086,device id is 1502).
3.insert usb drive and enter uefi shell.
4.fs0:
5.run above efi file.
6.All commands are Show the tip "No more network devices".


My built enviroment like following:
OS:ubuntu 12
GCC:4.6






------------------ 原始邮件 ------------------
发件人: "Anton D. Kachalov"<mouse at yandex-team.ru>;
发送时间: 2012年9月6日(星期四) 晚上10:18
收件人: "化石"<354225989 at qq.com>; "ipxe-devel"<ipxe-devel at lists.ipxe.org>;

主题: Re: PXE question: iPXE.efi can't detect network device



Hello.
 
It's better to address this question directly to the ipxe-devel at lists.ipxe.org mailing list. Michael Brown should be right person.
 
BTW, ipxe.iso is legacy bootable ISO image and it contains all supported network drivers including pcnet32.
 
Try to build EFI version as vendor/product specific:
 
$ make bin-x86-64/10222000.efi bin-x86-64/10222001.efi bin-x86-64/10222625.efi
 
One of them should work.
 
Please pay attention that EFI environment doesn't support PXE stack. You have to disable PXE_STACK and PXE_MENU in the config file.
06.09.2012, 17:32, "化石" <354225989 at qq.com>:
Dear Anton,
I have built ipxe.efi 64 bit,my network device card is pcnet32,but ipxe.efi can't attach network card,i only get the log "No more network devices".but if boot to ipxe via ipxe.iso,ipxe can detected the network device card.
We will add ipxe to our project,so I hurry to solve this problem.

BTW,
After debug ipxe.efi,i found that only call efi_pci.c\efipci_driver_startup but not call efi_pci.c\efipci_start,so i think pci device not been attach,do you know that what time to call function efipci_start().

Although I have read a topic about "Using iPXE with UNDI driver",but i can't find the root cause,Do you know the root cause?

Thank you very much.
I have built via run command "make bin-x86-64/ipxe.efi DEBUG:efi_pci device,pci" and then run ipxe.efi,
unfortunately,the result like following figure,it means can't attach any pci device,do you know why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120909/05b48728/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2B04F6FE at EF027D60.54A34C50
Type: application/octet-stream
Size: 29159 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120909/05b48728/attachment-0001.obj>


More information about the ipxe-devel mailing list