lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B593B74.2020601@jp.fujitsu.com>
Date:	Fri, 22 Jan 2010 14:45:24 +0900
From:	Taku Izumi <izumi.taku@...fujitsu.com>
To:	netdev@...r.kernel.org, Bruce Allan <bruce.w.allan@...el.com>,
	"David S. Miller" <davem@...emloft.net>,
	Jesse Brandeburg <jesse.brandeburg@...el.com>,
	John Ronciak <john.ronciak@...el.com>,
	"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
	PJ Waskiewicz <peter.p.waskiewicz.jr@...el.com>
CC:	Koki Sanagi <sanagi.koki@...fujitsu.com>,
	Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>,
	chavey@...gle.com
Subject: [PATCH v2 0/3] e1000e,igb,ixgbe: add registers etc. printout code
 just before resetting adapters

Hi Jeff,

This patchset is the update version of "register etc. printout code" patch. (sorry
for late reply)
The old one is http://marc.info/?l=linux-netdev&m=126286127208276&w=2

v1 -> v2:
 - replaced hexdump() with print_hex_dump()
 - changed the register printout inplementation (for-switch-case -> data-driven-table)

However the default value of "dump_flag" is not changed (still 1).
The reason I didn't change is
 - I think HW index (TDH,TDT..) and SW index (NTC,NTU) are at least necessary
 - the amount of default output is not so large (see bellow)
 - the adapter resetting problem doesn't happen frequently


The default output sample (NOT the actual hangup case) is as follows:

Jan 22 14:17:14 fedora11 kernel: igb 0000:03:00.0: Net device Info
Jan 22 14:17:14 fedora11 kernel: Device Name     state            trans_start
last_rx
Jan 22 14:17:14 fedora11 kernel: eth1            0000000000000003 00000000FFFB922A
0000000000000000
Jan 22 14:17:14 fedora11 kernel: igb 0000:03:00.0: Register Dump
Jan 22 14:17:14 fedora11 kernel: Register Name   [value ]
Jan 22 14:17:14 fedora11 kernel: CTRL            18c00241
Jan 22 14:17:14 fedora11 kernel: STATUS          00080783
Jan 22 14:17:14 fedora11 kernel: CTRL_EXT        10180c00
Jan 22 14:17:14 fedora11 kernel: ICR             00000081
Jan 22 14:17:14 fedora11 kernel: RCTL            0400803a
Jan 22 14:17:14 fedora11 kernel: RDLEN[0-3]      00001000 00001000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: RDH[0-3]        000000bc 00000000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: RDT[0-3]        000000ba 000000fe 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: RXDCTL[0-3]     02010810 02010810 00010000 00010000
Jan 22 14:17:14 fedora11 kernel: RDBAL[0-3]      35e48000 35f68000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: RDBAH[0-3]      00000000 00000000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TCTL            a503f0fa
Jan 22 14:17:14 fedora11 kernel: TDBAL[0-3]      35e4c000 35ef1000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TDBAH[0-3]      00000000 00000000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TDLEN[0-3]      00001000 00001000 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TDH[0-3]        00000000 0000001e 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TDT[0-3]        00000000 0000001e 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TXDCTL[0-3]     02000108 02000108 00000000 00000000
Jan 22 14:17:14 fedora11 kernel: TDFH            40020272
Jan 22 14:17:14 fedora11 kernel: TDFT            00000270
Jan 22 14:17:14 fedora11 kernel: TDFHS           00000272
Jan 22 14:17:14 fedora11 kernel: TDFPC           00000000
Jan 22 14:17:14 fedora11 kernel: igb 0000:03:00.0: TX Rings Summary
Jan 22 14:17:14 fedora11 kernel: Queue [NTU] [NTC] [bi(ntc)->dma  ] leng ntw timestamp
Jan 22 14:17:14 fedora11 kernel:     0     0     0 0000000000000000 0000   0
0000000000000000
Jan 22 14:17:14 fedora11 kernel:     1    1E    1E 0000000000000000 0000   0
0000000000000000
Jan 22 14:17:14 fedora11 kernel: igb 0000:03:00.0: RX Rings Summary
Jan 22 14:17:14 fedora11 kernel: Queue [NTU] [NTC]
Jan 22 14:17:14 fedora11 kernel:     0    BB    BC
Jan 22 14:17:14 fedora11 kernel:     1    FF     0


Best regards,
Taku Izumi

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ