LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2006, 11:08 AM   #1
lbertini
LQ Newbie
 
Registered: Jun 2006
Location: Niterói, RJ, Brazil
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Gigabit skge doesn wakeup with magickpacket


Hi,

I am trying to wakeup a computer with the command etherwake <MAC>, but it doesn't work. The computer goes dow, maintains its ethernet card on (leds blinking), but when I send the wakeup packet, it does not wakeup. Instead, a few minutes later, it does wakeup by itself. It happens even if I do not send any magickpacket at all.

The motherboard I am using is the Aopen i855GMEm-LFS, with Gentoo intalled. See some information below:

# lspci | grep Eth
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
02:01.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)

/etc/init.d/shutdown.sh contains:
ifconfig eth0 up
/usr/sbin/ethtool -s eth0 wol g
/sbin/halt -hdp

Kernel version:
# uname -r
2.6.16-suspend2-r8

The driver for the ethernet I am using is the SKGE, and the file skge.c informs that it is the version 1.5.

# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00000037 (55)
Link detected: yes


I hope someone can give me an insight about this problem. Any hint will be welcome.



Thank you,
Luciano
 
Old 06-16-2006, 02:14 PM   #2
Bobymc
Member
 
Registered: Apr 2006
Location: INDONESIA
Distribution: SLAX,Damn S.L,Suse,Mandrake,Rd HAT62,72,73,90, Mandriva2k6, FEdora, SUNmicrosys.
Posts: 269

Rep: Reputation: 30
Try to compare your WOL to the link below;

http://www.linuxquestions.org/questi...d.php?t=444793
 
Old 06-16-2006, 03:50 PM   #3
lbertini
LQ Newbie
 
Registered: Jun 2006
Location: Niterói, RJ, Brazil
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you for the reply. Actually, I had already read that thread.
The post 05-24-06, 05:17 PM from SlackTRAXX helped. I started there, installing the sk98lin driver, the version that came with the kernel did not support wol. Then I moved to skge. It supported, but kept not waking up and waking alone after a few minutes. After that, I downloaded the newer version from the marvell website. When I compiled the driver, I got some errors like USE_SYNC_TX_QUEUE not defined. To solve this, I used the patch in http :// linux . derkeiler . com / Mailing-Lists / Kernel / 2006-02 / msg04398 . html. With this new driver, I tried both sk98lin and skge, both supported wol, but none worked. The problem persists. The machine wakes up alone, and not with the magic packet.
 
Old 06-17-2006, 10:40 AM   #4
lbertini
LQ Newbie
 
Registered: Jun 2006
Location: Niterói, RJ, Brazil
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Here are some update to my problem:
I solved it partially. I realized that I can wake up the machine with wol packets, but only if it was put in Suspend-to-Ram. In suspend-to-disk or shutdown, the ethernet card continues blinking, but wol doesn't work.
I disabled one of the ethernet interfaces in BIOS and this stoped with the problem of starting up the machine automatically after 4 minutes without the Wol packet. But then, I don know why, maybe I have missed some steps trying everything to solve the problem, I re-enabled the second interface and the automatic wake up disappeared.
Another thing I can't explain is that, amazingly, the power consumption in suspend-to-ram is 5W, while it is 9W in suspend to disk or normal shutdown. One observation that may help to explain is that in suspend to ram the ethernet interface leds stay lit, but not blinking, while it seems to show much more activity in the other sleep states, because it blinks a lot.
One question: Is it possible that, after disabling and re-enabling one interface, something changed, for example, IRQs assignments, and that changed everything?
 
Old 06-18-2006, 09:01 AM   #5
Bobymc
Member
 
Registered: Apr 2006
Location: INDONESIA
Distribution: SLAX,Damn S.L,Suse,Mandrake,Rd HAT62,72,73,90, Mandriva2k6, FEdora, SUNmicrosys.
Posts: 269

Rep: Reputation: 30
Wake-on: d
Current message level: 0x00000037 (55)
Link detected: yes
______________________________________________________


I havent try to solve your problem.
At the moment try to change the wake up state to ;

Wake on g

We'll see what'll happen.

Last edited by Bobymc; 06-18-2006 at 09:04 AM.
 
Old 06-19-2006, 08:16 AM   #6
lbertini
LQ Newbie
 
Registered: Jun 2006
Location: Niterói, RJ, Brazil
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
It is already working. I just have to use suspend-to-ram. Thak you for helping.
 
Old 07-25-2006, 08:04 AM   #7
lbertini
LQ Newbie
 
Registered: Jun 2006
Location: Niterói, RJ, Brazil
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
message posted in the wrong thread, sorry.

Last edited by lbertini; 07-25-2006 at 08:08 AM. Reason: posted in the wrong thread.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5-64 goes to sleep won't wakeup mickeyboa Fedora 0 04-21-2006 08:37 PM
Skge Driver sab0tage Linux - Hardware 1 02-22-2006 11:18 PM
Wakeup from USB device luca2525 Linux - Hardware 1 08-25-2005 01:46 PM
How do I wakeup my laptop? susefan Linux - Laptop and Netbook 2 03-02-2005 10:22 AM
laptop doesn't wakeup from sleep kc8nsb Debian 1 09-05-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration