public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] NIC not working after ACPI PXE boot - solution!
@ 2000-11-30 16:02 Matt_Domsch
  2000-11-30 16:21 ` Ahna, Christopher J
  2000-12-01 23:35 ` Michael Madore
  0 siblings, 2 replies; 3+ messages in thread
From: Matt_Domsch @ 2000-11-30 16:02 UTC (permalink / raw)
  To: linux-ia64

Some engineers here at Dell have developed a solution to the issue where the
on-board NIC is unresponsive to Linux if first EFI tried to use it.  We're
working through the licensing issues to make the code GPL, but until then, I
can provide a simple functional description, and if someone wished to write
code and add it to the kernel, great! :)

The basic steps are:
use BS->LocateHandle(SimpleNetworkProtocol) to get the number of NICs in the
system.
for each handle returned:
	use BS->HandleProtocol() get EFI_SIMPLE_NETWORK->Mode->State.
	if State != shutdown
		call EFI_SIMPLE_NETWORK->Shutdown() on the NIC
		call EFI_SIMPLE_NETWORK->Stop() on the NIC

This obviously needs to be done prior to loading network drivers, either in
the kernel or in eli/lilo.

Thanks,
Matt Domsch
Dell Enterprise Systems Group
Linux Development Team





^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [Linux-ia64] NIC not working after ACPI PXE boot - solution!
  2000-11-30 16:02 [Linux-ia64] NIC not working after ACPI PXE boot - solution! Matt_Domsch
@ 2000-11-30 16:21 ` Ahna, Christopher J
  2000-12-01 23:35 ` Michael Madore
  1 sibling, 0 replies; 3+ messages in thread
From: Ahna, Christopher J @ 2000-11-30 16:21 UTC (permalink / raw)
  To: linux-ia64

Matt,

This very same fix was developed here at Intel and integrated into the
BigSur BIOS a few weeks back.  The next released version of BigSur FW will
include this fix.  I believe this fix will get pushed into standard releases
of EFI, so all EFI based FW should get this problem solved in time.  This is
pretty much a bug in EFI, so I don't think a workaround needs to go into the
kernel permanently.  Thanks,

Chris

-----Original Message-----
From: Matt_Domsch@Dell.com [mailto:Matt_Domsch@Dell.com]
Sent: Thursday, November 30, 2000 8:02 AM
To: linux-ia64@linuxia64.org
Subject: [Linux-ia64] NIC not working after ACPI PXE boot - solution!


Some engineers here at Dell have developed a solution to the issue where the
on-board NIC is unresponsive to Linux if first EFI tried to use it.  We're
working through the licensing issues to make the code GPL, but until then, I
can provide a simple functional description, and if someone wished to write
code and add it to the kernel, great! :)

The basic steps are:
use BS->LocateHandle(SimpleNetworkProtocol) to get the number of NICs in the
system.
for each handle returned:
	use BS->HandleProtocol() get EFI_SIMPLE_NETWORK->Mode->State.
	if State != shutdown
		call EFI_SIMPLE_NETWORK->Shutdown() on the NIC
		call EFI_SIMPLE_NETWORK->Stop() on the NIC

This obviously needs to be done prior to loading network drivers, either in
the kernel or in eli/lilo.

Thanks,
Matt Domsch
Dell Enterprise Systems Group
Linux Development Team




_______________________________________________
Linux-IA64 mailing list
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-ia64] NIC not working after ACPI PXE boot - solution!
  2000-11-30 16:02 [Linux-ia64] NIC not working after ACPI PXE boot - solution! Matt_Domsch
  2000-11-30 16:21 ` Ahna, Christopher J
@ 2000-12-01 23:35 ` Michael Madore
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Madore @ 2000-12-01 23:35 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

Hi,

I have thrown together a quick and dirty efi application to shutdown any
network adapters which are not already in a stopped state.  The source code
and Makefile are attached.  We intend to add the workaround as a patch to
our lilo package as well.

-- 
Mike Madore
Software Engineer
TurboLinux, Inc.

On Thu, Nov 30, 2000 at 10:02:19AM -0600, Matt_Domsch@Dell.com wrote:
> Some engineers here at Dell have developed a solution to the issue where the
> on-board NIC is unresponsive to Linux if first EFI tried to use it.  We're
> working through the licensing issues to make the code GPL, but until then, I
> can provide a simple functional description, and if someone wished to write
> code and add it to the kernel, great! :)
> 
> The basic steps are:
> use BS->LocateHandle(SimpleNetworkProtocol) to get the number of NICs in the
> system.
> for each handle returned:
> 	use BS->HandleProtocol() get EFI_SIMPLE_NETWORK->Mode->State.
> 	if State != shutdown
> 		call EFI_SIMPLE_NETWORK->Shutdown() on the NIC
> 		call EFI_SIMPLE_NETWORK->Stop() on the NIC
> 
> This obviously needs to be done prior to loading network drivers, either in
> the kernel or in eli/lilo.
> 
> Thanks,
> Matt Domsch
> Dell Enterprise Systems Group
> Linux Development Team
> 
> 
> 
> 
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64


[-- Attachment #2: netshut.tar.gz --]
[-- Type: application/x-tar-gz, Size: 19354 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-01 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-30 16:02 [Linux-ia64] NIC not working after ACPI PXE boot - solution! Matt_Domsch
2000-11-30 16:21 ` Ahna, Christopher J
2000-12-01 23:35 ` Michael Madore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox