Re: PCIe debugging error messages - kern.log

2012-08-01 Thread Andrew Peng
I have checked to make sure Debug hasn't been redirected; I will ask
the debian-kernel list and see if I can find anything there. Thanks
for the help folks.

--Andrew

On Mon, Jul 30, 2012 at 12:51 PM, Henrique de Moraes Holschuh
h...@debian.org wrote:
 On Mon, 30 Jul 2012, Andrew Peng wrote:
 I've been working with the Intel E1000 development team in trying to
 find the cause of a hardware hang in my kern.log:

 Jul 24 02:49:45 gaia kernel: [806292.204500] e1000e :02:00.0:
 eth1: Detected Hardware Unit Hang:

 Meh, we've just seen those in one of our servers at work, for the first
 time ever.

 This will tell the driver to dump extended debugging (a PCIe Ring
 Dump) info to the kernel log with another error is detected. However,
 after enabling this extended logging, the next time an error occurs, I
 still don't get the debug dump in the kern.log. I get basically the
 same info as above.

 Check whether loglevel DEBUG is being redirected somewhere, in
 /etc/rsyslog.conf or /etc/syslog.conf, etc.

 --
   One disk to rule them all, One disk to find them. One disk to bring
   them all and in the darkness grind them. In the Land of Redmond
   where the shadows lie. -- The Silicon Valley Tarot
   Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabrz_k2p+zchf1ggeylejj4mr8415hlo2dn4pj6a45305v9...@mail.gmail.com



PCIe debugging error messages - kern.log

2012-07-30 Thread Andrew Peng
I've been working with the Intel E1000 development team in trying to
find the cause of a hardware hang in my kern.log:

Jul 24 02:49:45 gaia kernel: [806292.204500] e1000e :02:00.0:
eth1: Detected Hardware Unit Hang:
Jul 24 02:49:45 gaia kernel: [806292.204503]   TDH  8c
Jul 24 02:49:45 gaia kernel: [806292.204504]   TDT  8f
Jul 24 02:49:45 gaia kernel: [806292.204505]   next_to_use  8f
Jul 24 02:49:45 gaia kernel: [806292.204506]   next_to_clean8c
Jul 24 02:49:45 gaia kernel: [806292.204508] buffer_info[next_to_clean]:
Jul 24 02:49:45 gaia kernel: [806292.204509]   time_stamp   10c029ca3
Jul 24 02:49:45 gaia kernel: [806292.204510]   next_to_watch8c
Jul 24 02:49:45 gaia kernel: [806292.204511]   jiffies  10c029dc2
Jul 24 02:49:45 gaia kernel: [806292.204512]   next_to_watch.status 0
Jul 24 02:49:45 gaia kernel: [806292.204513] MAC Status 80383
Jul 24 02:49:45 gaia kernel: [806292.204514] PHY Status 792d
Jul 24 02:49:45 gaia kernel: [806292.204516] PHY 1000BASE-T Status  3800
Jul 24 02:49:45 gaia kernel: [806292.204517] PHY Extended Status3000
Jul 24 02:49:45 gaia kernel: [806292.204518] PCI Status 10


One of the steps to find the cause of this is to enable extended error
reporting by using ethtool:
sudo ethtool -s eth1 msglvl 0x2c01

This will tell the driver to dump extended debugging (a PCIe Ring
Dump) info to the kernel log with another error is detected. However,
after enabling this extended logging, the next time an error occurs, I
still don't get the debug dump in the kern.log. I get basically the
same info as above.

Is there anything Debian specific that would cause this to not get
logged? I've tried searching all of the log files in /var/log for the
dump information in case it gets logged somewhere else, but could not
find anything. I have checked to make sure that the debug message
level is set correctly:

Settings for eth1:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: pumbag
Wake-on: g
Current message level: 0x2c01 (11265)
Link detected: yes


Any help would be appreciated.

Thanks

--Andrew


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CABrZ_K007dSpo9pRdQ-A1=6=2OCJRgjCvF0cc=drm+304nm...@mail.gmail.com



Re: map '-' to '_' and '_' to '-'

2010-11-12 Thread Andrew Peng
Hello!

Please take a look and see if this helps

http://www.columbia.edu/~djv/docs/keyremap.html



--Andrew



On Fri, Nov 12, 2010 at 2:02 AM, Kamaraju S Kusumanchi
raju.mailingli...@gmail.com wrote:
 While working on my Debian box (which btw is a mix of Lenny and Squeeze), I
 find that I type the underscore character ('_') more often than the dash
 character ('-'). It could be file names, variable names while writing code
 etc.,

 Typing '_' involves holding the shift key while typing '-' does not involve
 any. I am wondering if there is a way at the OS (or shell) level solution to
 remap '-', '_' one to another so that typing '_' does not involve holding
 shift key but typing '-' does.

 Any ideas/comments/suggestions/pointers etc.,?

 thanks
 raju
 --
 Kamaraju S Kusumanchi
 http://malayamaarutham.blogspot.com/


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/ibis8b$4d...@dough.gmane.org




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin=8b+rcftwnkfjv6h1vaqxdkgfgp=5pnn_s...@mail.gmail.com