It is currently 22 May 2013, 18:59

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Search for 'ethool' on my pseries [SOLVED]
PostPosted: 01 Jun 2010, 13:00 
Offline

Joined: 27 Oct 2009, 10:10
Posts: 31
Location: France -Quimper
Hello there,

I'm still on the road with my IBM pseries ppc64(power4+) - 9114-275.
I'd like to perfom a wake on lan on this box, and I first search for the 'ethtool'.

Code:
[root@RS6K1]ilenia -s ethtool
Building the cache ...... done!
ethtool not found!

I didn't see anything like that, even in the port.

First I was wondering if I have a chance to find a package trough the ppc.contrib.rsync ?

Second, I was wondering if someone had already tried to compile that net tool, with success on this type of machine?

Thanks,
Fred.


Last edited by fredmj on 02 Jun 2010, 07:49, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 13:11 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 310
Location: Italy
fredmj wrote:

First I was wondering if I have a chance to find a package trough the ppc.contrib.rsync ?

Second, I was wondering if someone had already tried to compile that net tool, with success on this type of machine?


ppc/contrib is empty instead you need to activate x86/contrib and there you'll find ethtool.
http://crux.nu/portdb/?a=search&q=ethtool

It 'd compile without any kind of problems on ppc64.


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 13:25 
Offline

Joined: 27 Oct 2009, 10:10
Posts: 31
Location: France -Quimper
Ok many thanks for that. I'm on the work.

Just because I'm curious, what would your advice?
Use the x86/contrib (/etc/ports/contrib.rsync.inactive -> /etc/ports/contrib.rsync)?
Or compiling myself?


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 13:44 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 310
Location: Italy
fredmj wrote:
Just because I'm curious, what would your advice?
Use the x86/contrib (/etc/ports/contrib.rsync.inactive -> /etc/ports/contrib.rsync)?
Or compiling myself?


Code:
# mv /etc/ports/contrib.rsync.inactive  /etc/ports/contrib.rsync


the best way is always to compile using a port/Pkgfile to maintain your CRUX. If is already available in a ports repository you'll be able to use ilenia too.
Maybe you'd find useful to do a your own local repository.


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 14:13 
Offline

Joined: 27 Oct 2009, 10:10
Posts: 31
Location: France -Quimper
Ok, that what I though my own repository could be fine. Especially if I have to compile different version of tools

Nevertheless, I have the following error message, using ilenia :

Code:
[root@RS6K1]ilenia -U ethtool
Building the cache ....... done!
Packages to update:

Packages to install:
ethtool 2.6.33-1 x86/contrib
Confirm update? [y/N] y
==> Installing ethtool (1 on 1)
=======> Downloading 'http://dl.sourceforge.net/sourceforge/gkernel/ethtool-2.6.33.tar.gz'.
--2010-06-01 17:02:12--  http://dl.sourceforge.net/sourceforge/gkernel/ethtool-2.6.33.tar.gz
Resolving dl.sourceforge.net... 216.34.181.138
Connecting to dl.sourceforge.net|216.34.181.138|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sourceforge.net/downloads/sourceforge/gkernel/ethtool-2.6.33.tar.gz [following]
--2010-06-01 17:02:28--  http://sourceforge.net/downloads/sourceforge/gkernel/ethtool-2.6.33.tar.gz
Resolving sourceforge.net... 216.34.181.60
Connecting to sourceforge.net|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-06-01 17:02:43 ERROR 404: Not Found.

=======> ERROR: Downloading 'http://dl.sourceforge.net/sourceforge/gkernel/ethtool-2.6.33.tar.gz' failed.


--------
Packages installed:
Packages updated:
Packages not installed or updated:
Packages failed to install or update: ethtool
Ports with pre-install:
Ports with post-install:
Ports with README:
There isn't any rejected file!



Do you know if there's a problem with the sourceforge repository?
I compiled the source nearby, so I'm not blocked on that point.


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 14:19 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 310
Location: Italy
here the answer:
http://crux.nu/Wiki/FileDownloading


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 14:41 
Offline

Joined: 27 Oct 2009, 10:10
Posts: 31
Location: France -Quimper
Many thanks for that help, you really make me progressing with linux!

Following I have
Code:
[root@RS6K1]ethtool -s eth0 wol g
Cannot set new wake-on-lan settings: Operation not supported
  not setting wol


the other (maybe) useful information could be :

Code:
[root@RS6K1]ethtool eth0
Settings for eth0:
   Supported ports: [ TP MII ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
   Supports auto-negotiation: Yes
   Advertised link modes:  10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
   Advertised pause frame use: No
   Advertised auto-negotiation: Yes
   Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                        100baseT/Half 100baseT/Full
   Link partner advertised pause frame use: No
   Link partner advertised auto-negotiation: Yes
   Speed: 100Mb/s
   Duplex: Full
   Port: MII
   PHYAD: 1
   Transceiver: internal
   Auto-negotiation: on
   Supports Wake-on: g
   Wake-on: d
   Current message level: 0x00000007 (7)
   Link detected: yes


[
Code:
root@RS6K1]lspci | grep Ethernet
0000:21:01.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d)
0001:41:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)


Code:
[root@RS6K1]lsmod
Module                  Size  Used by
e100                   38465  0
e1000                 131678  0


I guess I have to recompile myself the drivers, no?
Did you already tried (and success in) Wake On Lan functionality on pseries with that NIC?


Last edited by fredmj on 01 Jun 2010, 17:27, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 16:29 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 310
Location: Italy
as i can remember on IBM 9114-275 ethernet devices are WOL enabled. I don't remember if both or only one.

And from your output it seems to be true i.e. on 10/100 Mbps nic (e100 linux module) wol is supported but switched-off
Code:
Supports Wake-on: g
Wake-on: d



OT: please, can you provide me the lscpu output from a 9114-275 of yours?


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 01 Jun 2010, 18:40 
Offline

Joined: 27 Oct 2009, 10:10
Posts: 31
Location: France -Quimper
That's seems to be confirmed by the ethtool eth1 command :

Code:
[root@RS6K1]ethtool eth1
Settings for eth1:
   Supported ports: [ TP ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Supports auto-negotiation: Yes
[...]
   Supports Wake-on: d
   Wake-on: d
   Current message level: 0x00000007 (7)
   Link detected: no


But if eth0 does support the option g (magic packet)
Code:
[root@RS6K1]ethtool eth0
Settings for eth0:
   Supported ports: [ TP MII ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
   Supports auto-negotiation: Yes
[...]
   Supports Wake-on: g
   Wake-on: d
[...]


I am wondering which operations I have to do to enable it, since a
Code:
[root@RS6K1]ethtool -s eth0 wol g
Cannot set new wake-on-lan settings: Operation not supported
  not setting wol

does not work...?!

EDIT : I remember that I've got the option 'Wake On Lan' under the "power on/off" menu of the ASMI. The menu seems to be gone. Maybe I have to check the firmware, sms and others menu ...

EDIT2 :
Code:
[root@RS6K1]lscpu
Architecture:          ppc64
CPU(s):                1
Thread(s) per core:    1
Core(s) per socket:    1
CPU socket(s):         1
NUMA node(s):          1
Model:                 IBM,9114-275
L1d cache:             32K
L1i cache:             64K
L2 cache:              1536K
L3 cache:              8192K


Well I download the latest drivers and I'll check the wake-on-lan issue on other topic.
I consider this one (ethtool) closed and solved.


Top
 Profile  
 
 Post subject: Re: Search for 'ethool' to activate the wakeonlan on my pseries
PostPosted: 02 Jun 2010, 08:54 
Offline
User avatar

Joined: 17 Dec 2005, 14:31
Posts: 310
Location: Italy
fredmj wrote:
EDIT2 :
Code:
[root@RS6K1]lscpu
Architecture:          ppc64
CPU(s):                1
Thread(s) per core:    1
Core(s) per socket:    1
CPU socket(s):         1
NUMA node(s):          1
Model:                 IBM,9114-275
L1d cache:             32K
L1i cache:             64K
L2 cache:              1536K
L3 cache:              8192K



thanks,
damn... thus our 9114-275 is going to be broken... L3 cache is dead.
Code:
root@power4:~# lscpu
Architecture:          ppc64
CPU(s):                2
Thread(s) per core:    1
Core(s) per socket:    2
CPU socket(s):         1
Model:                 IBM,9114-275
L1d cache:             32K
L1i cache:             64K
L2 cache:              1536K
L3 cache:              0K
root@power4:~# servicelog -v
Servicelog Statistics:

There is 1 open event requiring action.

Summary of Logged Events:

        Type   Total    Open  Closed    Info

       Basic       1       1       0       0
             -------------------------------
                   1       1       0       0

Logged Repair Actions:         0
Registered Notification Tools: 0

root@power4:~# servicelog -v --query='id=1'
Servicelog ID:      1
Log Timestamp:      Tue Jun  1 23:32:07 2010
Event Timestamp:    Tue Jun  1 23:28:49 2010
Update Timestamp:   Tue Jun  1 23:32:07 2010
Type:               Basic Event
Severity:           4 (WARNING)
Platform:           ppc64
Model/Serial:       9114-275/651ED9E
Node Name:          power4
Reference Code:     A10-100
Serviceable Event:  Yes
Predictive Event:   No
Disposition:        2 (Unrecoverable, Bypassed)
Call Home Status:   1 (Call Home Candidate)
Status:             Open

Description:
The following resource is unavailable due to an error. System is operating in
degraded mode.


<< Callout 1 >>
Priority
Type                0
Procedure Id:       n/a
Location:           U0.1-P1
FRU:                n/a
Serial:
CCIN:



Code:
PowerPC,POWER4   U0.1-P1               PowerPC,POWER4
        Machine Type-Model........cpu
        Location Code.(YL)........U0.1-P1

  PowerPC,POWER4   U0.1-P1               PowerPC,POWER4
        Machine Type-Model........cpu
        Location Code.(YL)........U0.1-P1

  L2-cache         U0.1-P1               L2-cache
        Machine Type-Model........cache
        Location Code.(YL)........U0.1-P1

  L3-cache         U0.1-P1               L3-cache
        Machine Type-Model........cache
        Location Code.(YL)........U0.1-P1


Quote:
Well I download the latest drivers and I'll check the wake-on-lan issue on other topic.
I consider this one (ethtool) closed and solved.


i've checked on our 9114-275 and i'm able to enable WOL on the 10/100 nic. But i don't know if it really work and i don't remember my ASMI settings.

Code:
root@power4:~# ethtool eth1
Settings for eth1:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes
root@power4:~# ethtool -s eth1 wol g
root@power4:~# ethtool eth1
Settings for eth1:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes



Top
 Profile  
 
 Post subject: Re: Search for 'ethool' on my pseries [SOLVED]
PostPosted: 12 Jun 2010, 20:23 
Offline

Joined: 27 Oct 2009, 10:10
Posts: 31
Location: France -Quimper
Damn! The "wol" configuration seems to be ok on your machines. That's sound like a hope for me, it should work on my machines.
Well I hope that's a firmware level issue. If not, I don't see how that could be solved.

Sorry for that memory problem. When my studies work will be achieve on that clustering project on old ibm machines (I guess it should take 2 centuries, regarding my "intellectual" velocity), I'll give you all my servers. ;-)

EDIT 1 : maybe you could send me your ethtool version (and binaries)?!

EDIT 2 : Thanks a lot for your kernel configuration file (posted HERE.
ethtool work now on my little 9114-275 box. Damn! I can't keep to stamp one's feet myself. Crux PPC really rocks! I am learning a lot with this distribution. The more I practice, the more I love that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron