Hi,

I have an interesting problem with wake on lan and Gentoo.

I have a nvidia ethernet card, which can do Wake on Lan.

When I issue the following commands from the command line:

$ pci-config -#12 -S
( This is pci-config from scyld.com)


$ /sbin/halt -fdhp

Everything works fine, the machine shuts down and wakes up from sleep.

I also put the commands in the /etc/init.d/shutdown script:


/sbin/pci-config -#12 -S
sleep 3
#Next command used to be /sbin/halt -idp, changed for Wake on Lan
/sbin/halt -fdhp


Now after shutdown, the machine doesn't wake up anymore.

I guess something happens in the shutdown scripts that blocks the proper=20
power-initalization of the network card, but I don't know what.


The output of the pci-config command is: (both from command line and from=20
script)


pci-config.c:v2.03 4/15/2002 Donald Becker ([EMAIL PROTECTED])
http://www.scyld.com/diag/index.html
Device #12 at bus 0 device/function 4/0.
006610de 00b00007 020000a1 00000000 ee001000 0000d401 00000000 00000000
00000000 00000000 00000000 80a71043 00000000 00000044 00000000 1401010b
80a71043 fe020001 00000100 00000004 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Base Address 0: Memory at ee001000.
Base Address 1: I/O at 0000d400.
Extended capabilities, first structure at offset 0x44.
Extended PCI capability type 1 at 0x44, next 0.
Power management entry ver. 2: Capabilities fe02, Ctrl 0100, Event 0000.
Power state D0.


Can anyone help?

Elton

--
[EMAIL PROTECTED] mailing list



Reply via email to