Re: forcedeth net driver: reverse mac address after pxe boot



Alex Owen wrote:

This is obviously causes me a problem with automated installs started
via PXE boot as the installed cannot DHCP as the MAC address is wrong.


I have a forcedeth system (ASUS A8N-E) which can't use either the Linux driver *or* the standard Windows driver *at all* after booting PXE and then exiting the PXE stack for local boot.

The obvious fix for this is to try and read the MAC address from the
canonical location... ie where is the source of the address writen
into the controlers registers at power on? But do we know where that
may be?

The other solution would be unconditionally reset the controler to
it's power on state then use the current logic? can we reset the
controller via software?
There does seem to be an nv_mac_reset function... and this does seem
to be called if the card has a capability DEV_HAS_POWER_CONTROL but it
is called in nv_open() while the MAC is read in nv_probe().

Doing a proper reset of the hardware would be the right thing, assuming that this is safe/possible to do.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Bootstrapping secure communications
    ... A single server hosts images. ... indistinguishable from each other besides MAC. ... I was originally thinking of PXE booting each box. ... an attacker could intercept the PXE boot ...
    (comp.arch.embedded)
  • Re: Bootstrapping secure communications
    ... For the prototype system, ... indistinguishable from each other besides MAC. ... I was originally thinking of PXE booting each box. ... an attacker could intercept the PXE boot ...
    (comp.arch.embedded)
  • Re: Bootstrapping secure communications
    ... A single server hosts images. ... indistinguishable from each other besides MAC. ... I was originally thinking of PXE booting each box. ... an attacker could intercept the PXE boot ...
    (comp.arch.embedded)
  • Desperate for help - sorry!!
    ... we can boot into Terminal Services via PXE ... ONLY FROM CERTAIN MAC ADDRESSES. ... Swapping the network cards over from a "non-working" machine with one ... I DID try deleting the leased DHCP address for one of the XP ...
    (microsoft.public.windows.terminal_services)
  • Re: ADS default job templates. Trouble booting into the deployment ag
    ... Configure BIOS to PXE boot 1st and then HD boot. ... The device bios is configured bios then HD ... The controller, is set at auto-add unknown PXE clients. ...
    (microsoft.public.windows.server.setup)