ramq wrote:
Then, simply run this script:
.......
And that's all there is to it - nothing more, nothing less.
I've successully done three cards so far and that covered my needs, atleast for the time beeing.
Hi there, very useful indeed, but sadly I end up with a bad checksum
The cards I used were HP NC7770 PCI-X 284848-001 from here
http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=380144771142&ssPageName=STRK:MEWNX:IT
Maybe someone is interested since they are selling for 6,99 Euro each (plus shipping)
Here's the output of lspci -vv on a linux machine.
Code:
Select all
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
Subsystem: Silicon Graphics, Inc. Gigabit Ethernet (Copper)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (16000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at f0000000 [disabled] [size=64K]
Capabilities: [40] PCI-X non-bridge device
Command: DPERE- ERO+ RBC=512 OST=1
Status: Dev=ff:1f.1 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=512 DMOST=1 DMCRS=8 RSCEM- 266MHz- 533MHz-
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Product Name: SGI Gigabit Ethernet Controller
Read-only fields:
[PN] Part number: 9210289
[EC] Engineering changes: 0002
[SN] Serial number: WECRFF6A89
[MN] Manufacture ID: 31 30 42 37
[RV] Reserved: checksum bad, 49 byte(s) reserved
Read/write fields:
[YA] Asset tag: Hewlett Packard
[RW] Read-write area: 103 byte(s) free
End
Capabilities: [58] MSI: Mask- 64bit+ Count=1/8 Enable-
Address: b676091b09465720 Data: 3cc3
Kernel driver in use: tg3
Kernel modules: tg3
And my fuel won't recognise the card in IRIX (the card is there in the hinv with correct PCI-IDs. It also shows up correctly in the prom hinv) .
Also my Octane won't recognise the card. Says something like "cannot connect to tg1". Can lookup the exact message when I get back home.
Also the card doesn't show up with "ifconfig -a" or "tgcmd inventory" (on both machines).
Could someone help me with the checksum here since I've tried the
I've used the shell code below to compute the checksum over the hexdump, this time just hex bytes with one space, no linebreaks etc.
Code:
Select all
( echo obase=16
echo ibase=16
echo \(00 `cat hexsgi | cut -b 1-$[3*16] `\)%100 | sed -e 's/ /+/g' | tr a-z A-Z ) | bc
from above but get a
with bc under fedora 11 and I don't have a clue how to fix (calculate) it ? Would be great.
The output of
Code:
Select all
cat test.dump | cut -b 1-$[3*16] |sed -e 's/ /+/g' | tr a-z A-Z
is
Code:
Select all
66+99+55+AA+08+00+00+00+00+00+03+21+00+00+02+00+
I've attached the whole dump, though.
And maybe someone could send me the if_tg.o for IP35 via PM if he/she has it handy. Would be great,too.
Best regards
McBlack