Thread (16 messages) flat view 16 messages, 2 authors, 2012-09-27

RE: bnx2x: link detected up at startup even when it should be down

From: Dmitry Kravkov <hidden>
Date: 2012-09-25 13:11:58

-----Original Message-----
From: Jean-Michel Hautbois [mailto:jhautbois@gmail.com]
Sent: Tuesday, September 25, 2012 2:54 PM
To: Dmitry Kravkov
Cc: netdev; Barak Witkowski; Eilon Greenstein; davem@davemloft.net
Subject: Re: bnx2x: link detected up at startup even when it should be down
After a reboot (with the added if but no netif_msg) :
I'm looking for link messages during device load.
These (get_setting/set_settings) appear at the later stages.
Will you able to load driver with module param debug=0x4 instead? So we can catch all link related messages
(This can be done via /etc/modprobe.conf)
[  998.244250] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[  998.244251]   supported 0x7460  advertising 0x7460  speed 2500
[  998.244252]   duplex 1  port 3  phy_address 1  transceiver 0
[  998.244252]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  998.244551] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[  998.244552]   supported 0x7460  advertising 0x7460  speed 8000
[  998.244552]   duplex 1  port 3  phy_address 1  transceiver 0
[  998.244553]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  998.244851] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[  998.244852]   supported 0x7460  advertising 0x7460  speed 2500
[  998.244852]   duplex 1  port 3  phy_address 1  transceiver 0
[  998.244853]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  998.246453] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[  998.246454]   supported 0x7460  advertising 0x7460  speed 1000
[  998.246454]   duplex 1  port 3  phy_address 1  transceiver 0
[  998.246455]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  998.255995] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[  998.643647] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[  998.723597] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[  998.735816] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[  999.255050] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[  999.255051]   supported 0x7460  advertising 0x7460  speed 2500
[  999.255052]   duplex 1  port 3  phy_address 1  transceiver 0
[  999.255052]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  999.255356] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[  999.255356]   supported 0x7460  advertising 0x7460  speed 8000
[  999.255357]   duplex 1  port 3  phy_address 1  transceiver 0
[  999.255358]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  999.255651] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[  999.255652]   supported 0x7460  advertising 0x7460  speed 2500
[  999.255653]   duplex 1  port 3  phy_address 1  transceiver 0
[  999.255653]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  999.255943] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[  999.255944]   supported 0x7460  advertising 0x7460  speed 1000
[  999.255944]   duplex 1  port 3  phy_address 1  transceiver 0
[  999.255945]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[  999.257380] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[  999.644969] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[  999.724909] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[  999.737130] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1000.258622] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1000.263951] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1000.263952]   supported 0x7460  advertising 0x7460  speed 2500
[ 1000.263952]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1000.263953]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1000.264240] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1000.264241]   supported 0x7460  advertising 0x7460  speed 8000
[ 1000.264241]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1000.264242]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1000.264525] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1000.264525]   supported 0x7460  advertising 0x7460  speed 2500
[ 1000.264526]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1000.264527]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1000.264815] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1000.264816]   supported 0x7460  advertising 0x7460  speed 1000
[ 1000.264816]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1000.264817]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1000.646283] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1000.726224] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1000.738445] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1001.260013] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1001.272929] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1001.272930]   supported 0x7460  advertising 0x7460  speed 2500
[ 1001.272931]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1001.272931]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1001.273221] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1001.273222]   supported 0x7460  advertising 0x7460  speed 8000
[ 1001.273222]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1001.273223]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1001.273503] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1001.273504]   supported 0x7460  advertising 0x7460  speed 2500
[ 1001.273505]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1001.273505]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1001.273790] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1001.273790]   supported 0x7460  advertising 0x7460  speed 1000
[ 1001.273791]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1001.273791]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1001.647598] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1001.727540] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1001.739762] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1002.261261] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1002.281715] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1002.281715]   supported 0x7460  advertising 0x7460  speed 2500
[ 1002.281716]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1002.281717]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1002.282002] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1002.282003]   supported 0x7460  advertising 0x7460  speed 8000
[ 1002.282003]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1002.282004]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1002.282294] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1002.282295]   supported 0x7460  advertising 0x7460  speed 2500
[ 1002.282296]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1002.282296]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1002.282583] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1002.282584]   supported 0x7460  advertising 0x7460  speed 1000
[ 1002.282584]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1002.282585]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1002.648914] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1002.728852] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1002.741076] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1003.262650] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1003.290582] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1003.290583]   supported 0x7460  advertising 0x7460  speed 2500
[ 1003.290584]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1003.290584]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1003.290886] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1003.290887]   supported 0x7460  advertising 0x7460  speed 8000
[ 1003.290887]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1003.290888]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1003.291188] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1003.291188]   supported 0x7460  advertising 0x7460  speed 2500
[ 1003.291189]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1003.291190]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1003.291493] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1003.291494]   supported 0x7460  advertising 0x7460  speed 1000
[ 1003.291494]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1003.291495]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1003.650229] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1003.730167] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1003.742391] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1004.263895] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1004.299670] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1004.299671]   supported 0x7460  advertising 0x7460  speed 2500
[ 1004.299672]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1004.299673]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1004.299986] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1004.299987]   supported 0x7460  advertising 0x7460  speed 8000
[ 1004.299987]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1004.299988]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1004.300293] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1004.300293]   supported 0x7460  advertising 0x7460  speed 2500
[ 1004.300294]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1004.300295]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1004.300600] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1004.300600]   supported 0x7460  advertising 0x7460  speed 1000
[ 1004.300601]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1004.300601]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1004.651587] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1004.731481] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1004.743705] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1005.265285] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1005.308537] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1005.308538]   supported 0x7460  advertising 0x7460  speed 2500
[ 1005.308538]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1005.308539]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1005.308840] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1005.308841]   supported 0x7460  advertising 0x7460  speed 8000
[ 1005.308841]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1005.308842]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1005.309147] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1005.309147]   supported 0x7460  advertising 0x7460  speed 2500
[ 1005.309148]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1005.309149]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1005.309448] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1005.309448]   supported 0x7460  advertising 0x7460  speed 1000
[ 1005.309449]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1005.309450]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1005.652906] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1005.732798] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1005.745020] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
[ 1006.266543] bnx2x: [bnx2x_set_aer_mmd:3342(eth3)]Set AER to 0x2
[ 1006.317428] bnx2x: [bnx2x_get_settings:251(eth0)]ethtool_cmd: cmd 1
[ 1006.317429]   supported 0x7460  advertising 0x7460  speed 2500
[ 1006.317430]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1006.317431]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1006.317731] bnx2x: [bnx2x_get_settings:251(eth1)]ethtool_cmd: cmd 1
[ 1006.317732]   supported 0x7460  advertising 0x7460  speed 8000
[ 1006.317733]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1006.317733]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1006.318031] bnx2x: [bnx2x_get_settings:251(eth2)]ethtool_cmd: cmd 1
[ 1006.318031]   supported 0x7460  advertising 0x7460  speed 2500
[ 1006.318032]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1006.318033]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1006.318329] bnx2x: [bnx2x_get_settings:251(eth3)]ethtool_cmd: cmd 1
[ 1006.318330]   supported 0x7460  advertising 0x7460  speed 1000
[ 1006.318331]   duplex 1  port 3  phy_address 1  transceiver 0
[ 1006.318331]   autoneg 1  maxtxpkt 0  maxrxpkt 0
[ 1006.654172] bnx2x: [bnx2x_set_aer_mmd:3342(eth1)]Set AER to 0x2
[ 1006.734109] bnx2x: [bnx2x_set_aer_mmd:3342(eth0)]Set AER to 0x0
[ 1006.746331] bnx2x: [bnx2x_set_aer_mmd:3342(eth2)]Set AER to 0x0
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help