Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot from Alternative Interface...
2011-09-16, 19:36
Post: #1
Boot from Alternative Interface...
Is there a way to PXE boot iPXE from one interface, then iSCSI boot from another?

At the iPXE Command Prompt, when I type dhcp net0, all works normally... but when I attempt to access the other network adapter, no dice.

It probably is worth mentioning that the other network adapter has no PXE ROM.

So do I have to specify the network drivers at compile time?

I'm including the lspci dump.

Code:
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 82)
00:09.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 15)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
$

Thanks!

M^3

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
2011-09-17, 08:00
Post: #2
RE: Boot from Alternative Interface...
(2011-09-16 19:36)MultimediaMan Wrote:  Is there a way to PXE boot iPXE from one interface, then iSCSI boot from another?

At the iPXE Command Prompt, when I type dhcp net0, all works normally... but when I attempt to access the other network adapter, no dice.

So do I have to specify the network drivers at compile time?
Code:
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 82)

I believe what you want to do should be possible, but you need native drivers for both cards available, AFAIK. And you do need to either specify which drivers you want or use an all-drivers image and recompile.

Does your SiS 900 match one of these PCI vendor/product IDs?

Code:
PCI_ROM(0x1039, 0x0900, "sis900",  "SIS900", 0),
PCI_ROM(0x1039, 0x7016, "sis7016", "SIS7016", 0),

If it does, then you should be able to get access to it if you boot ipxe with the sis900 driver in the package. If you're currently booting with undionly.kpxe or something similar I assume you won't get access to it, as the driver for your sis900 is not available.

I believe the all-drivers make target is called ipxe.pxe (someone correct me if I'm wrong here) if you intend to chainload it. If you're building a ROM image for your realtek adapter you need to add two, not just one, drivers into your image. The romburning tutorial doesn't mention how to do this, but hopefully someone else can chime in and explain how to do that.

The ifstat command should help you figure out if your network card is available or not.

Once you have both cards operational (and with valid IP details) sanhook/sanboot should be able to access your resources without problems.
Visit this user's website Find all posts by this user
Quote this message in a reply
2011-09-17, 08:22 (This post was last modified: 2011-09-17 08:30 by MultimediaMan.)
Post: #3
RE: Boot from Alternative Interface...
Yeah, that's the impression I have received...I'll try to compile an ipxe with just those two drivers and give it a go. I don't have enough space left in the BIOS image to do it in the BIOS, but if I build a PXE image with the drivers loaded, I should be OK.

Again, there isn't really explicit documentation on the syntax of loading drivers into a PXE image, let alone multiples.


"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
2011-09-18, 09:56 (This post was last modified: 2011-09-18 09:59 by robinsmidsrod.)
Post: #4
RE: Boot from Alternative Interface...
(2011-09-17 08:22)MultimediaMan Wrote:  Again, there isn't really explicit documentation on the syntax of loading drivers into a PXE image, let alone multiples.

I was browsing through my IRC logs, and I found one mention of this syntax to choose drivers. Not sure if it is correct, but at least you should be one step closer to understanding what to look for in the Makefile and documentation.

Code:
make bin/rtl8139--r8169.pxe

So I'm guessing that your compile line should be something like this:

Code:
make bin/rtl8169--sis900.pxe
make bin/103c8169--sis900.rom

But don't blame me if it blows up when you flash it into your BIOS.
Visit this user's website Find all posts by this user
Quote this message in a reply
2011-09-18, 10:25
Post: #5
RE: Boot from Alternative Interface...
No worries... Smile

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 




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