[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SunFire V240 network cards



El 22/11/13 05:46, Dr. Nagy Elemér Károl y escribió:
Dear Mauro,

I hope this helps to debug the problem - a very similar model, a V210 works for me with stock Debian 7 (kernel
3.2.0-4-sparc64-smp) - it has the same network card configuration at first glance:

0000:00:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
0000:00:02.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
0003:00:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
0003:00:02.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet

# PCI device 0x14e4:/sys/devices/root/f0069c00/pci0000:00/0000:00:02.1 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x14e4:/sys/devices/root/f00859d4/pci0003:00/0003:00:02.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x14e4:/sys/devices/root/f00859d4/pci0003:00/0003:00:02.1 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
# PCI device 0x14e4:/sys/devices/root/f0069c00/pci0000:00/0000:00:02.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

I would try to manually hack and/or re-generate the 70-persistent-net.rules file as a first step.
I already tried to manually edit the 70-persistent-net.rules file. File was as follows(I have estimated the mac addresses):

# PCI device 0x14e4:/sys/devices/root/f0069c00/pci0000:00/0000:00:02.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:4f:8f:ca:5a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x14e4:/sys/devices/root/f00859d4/pci0003:00/0003:00:02.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:4f:8f:ca:5c", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x14e4:/sys/devices/root/f0069c00/pci0000:00/0000:00:02.1 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:4f:8f:ca:5b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x14e4:/sys/devices/root/f00859d4/pci0003:00/0003:00:02.1 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:4f:8f:ca:5d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

But nothing happens.

How could I regenerate this file?


Also, posting a dmesg output could help a bit.
Here is my actual dmesg output (says nothing about eth2 or eth3):

[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.30.4.a 2010/01/06 14:48'
[    0.000000] PROMLIB: Root node compatible:
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-sparc64-smp (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1
[    0.000000] bootconsole [earlyprom0] enabled
[    0.000000] ARCH: SUN4U
[    0.000000] Ethernet address: 00:14:4f:8f:ca:5a
[    0.000000] Kernel: Using 2 locked TLB entries for main kernel image.
[    0.000000] Remapping the kernel... done.
[    0.000000] OF stdout device is: /pci@1e,600000/isa@7/serial@0,3f8
[    0.000000] PROM: Built device tree with 80786 bytes of memory.
[    0.000000] Top of RAM: 0x127fedc000, Total RAM: 0x1ffe96000
[    0.000000] Memory hole size: 67584MB
[    0.000000]  [4000000-4ffffff] on node 0
[    0.000000]  [20000000-20ffffff] on node 0
[    0.000000]  [24000000-24ffffff] on node 0
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x0093ff6e
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[8] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00040000
[    0.000000]     0: 0x00100000 -> 0x00140000
[    0.000000]     0: 0x00800000 -> 0x00840000
[    0.000000]     0: 0x00900000 -> 0x0093f7ff
[    0.000000]     0: 0x0093f800 -> 0x0093ff3f
[    0.000000]     0: 0x0093ff47 -> 0x0093ff50
[    0.000000]     0: 0x0093ff68 -> 0x0093ff6b
[    0.000000]     0: 0x0093ff6d -> 0x0093ff6e
[    0.000000] On node 0 totalpages: 1048395
[    0.000000]   Normal zone: 75775 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 972620 pages, LIFO batch:15
[    0.000000] Booting Linux...
[    0.000000] CPU CAPS: [flush,stbar,swap,muldiv,v9,ultra3,mul32,div32]
[    0.000000] CPU CAPS: [v8plus,vis,vis2]
[ 0.000000] PERCPU: Embedded 6 pages/cpu @fffff80004400000 s20416 r8192 d20544 u2097152
[    0.000000] pcpu-alloc: s20416 r8192 d20544 u2097152 alloc=1*4194304
[    0.000000] pcpu-alloc: [0] 0 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 972620
[    0.000000] Kernel command line: root=/dev/md0 ro
[    0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 10, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 9, 4194304 bytes) [ 0.000000] Memory: 8292072k available (3592k kernel code, 1488k data, 232k init) [fffff80000000000,000000127fedc000]
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:255
[    0.000000] clocksource: mult[53555555] shift[24]
[    0.000000] clockevent: mult[3126e98] shift[32]
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled
[ 50.887236] Calibrating delay using timer specific routine.. 23.99 BogoMIPS (lpj=47997)
[   50.887253] pid_max: default: 32768 minimum: 301
[   50.887366] Security Framework initialized
[   50.887386] AppArmor: AppArmor disabled by boot time parameter
[   50.887440] Mount-cache hash table entries: 512
[   50.887879] Initializing cgroup subsys cpuacct
[   50.887908] Initializing cgroup subsys memory
[   50.887940] Initializing cgroup subsys devices
[   50.887949] Initializing cgroup subsys freezer
[   50.887957] Initializing cgroup subsys net_cls
[   50.887965] Initializing cgroup subsys blkio
[   50.887985] Initializing cgroup subsys perf_event
[   50.888156] Performance events: Supported PMU type is 'ultra3i'
[ 50.889464] CPU 0: synchronized TICK with master CPU (last diff 0 cycles, maxerr 6 cycles)
[   50.889503] Brought up 2 CPUs
[   50.889526] Testing NMI watchdog ... OK.
[   50.970241] devtmpfs: initialized
[   50.970794] print_constraints: dummy:
[   50.970957] NET: Registered protocol family 16
[   50.973994] /pci@1f,700000: TOMATILLO PCI Bus Module ver[4:0]
[   50.974011] /pci@1f,700000: PCI IO[7f601000000] MEM[7f700000000]
[   50.975885] PCI: Scanning PBM /pci@1f,700000
[   50.976057] pci 0000:00:02.0: PME# supported from D3hot
[   50.976132] pci 0000:00:02.1: PME# supported from D3hot
[   50.976358] /pci@1e,600000: TOMATILLO PCI Bus Module ver[4:0]
[   50.976377] /pci@1e,600000: PCI IO[7fe01000000] MEM[7ff00000000]
[   50.978230] PCI: Scanning PBM /pci@1e,600000
[ 50.978430] pci 0001:00:06.0: quirk: [io 0x7fe01000800-0x7fe0100083f] claimed by ali7101 ACPI [ 50.978457] pci 0001:00:06.0: quirk: [io 0x7fe01000600-0x7fe0100061f] claimed by ali7101 SMB
[   50.978532] pci 0001:00:0a.0: PME# supported from D3cold
[   50.978951] /pci@1c,600000: TOMATILLO PCI Bus Module ver[4:0]
[   50.978971] /pci@1c,600000: PCI IO[7ce01000000] MEM[7cf00000000]
[   50.980858] PCI: Scanning PBM /pci@1c,600000
[   50.981007] pci 0002:00:02.0: supports D1 D2
[   50.981072] pci 0002:00:02.1: supports D1 D2
[   50.981324] /pci@1d,700000: TOMATILLO PCI Bus Module ver[4:0]
[   50.981344] /pci@1d,700000: PCI IO[7c601000000] MEM[7c700000000]
[   50.983230] PCI: Scanning PBM /pci@1d,700000
[   50.983418] pci 0003:00:02.0: PME# supported from D3hot
[   50.983502] pci 0003:00:02.1: PME# supported from D3hot
[   50.985465] bio: create slab <bio-0> at 0
[   50.985810] vgaarb: loaded
[   50.986314] /pci@1e,600000/isa@7/rtc@0,70: RTC regs at 0x7fe01000070
[   50.986839] Switching to clocksource stick
[   50.994692] NET: Registered protocol family 2
[ 50.994955] IP route cache hash table entries: 262144 (order: 8, 2097152 bytes) [ 50.998096] TCP established hash table entries: 524288 (order: 10, 8388608 bytes)
[   51.014309] TCP bind hash table entries: 65536 (order: 7, 1048576 bytes)
[   51.017525] TCP: Hash tables configured (established 524288 bind 65536)
[   51.017545] TCP reno registered
[   51.017569] UDP hash table entries: 4096 (order: 4, 131072 bytes)
[   51.017995] UDP-Lite hash table entries: 4096 (order: 4, 131072 bytes)
[   51.018695] NET: Registered protocol family 1
[   51.018759] pci 0001:00:07.0: Activating ISA DMA hang workarounds
[   51.018792] PCI: Enabling device: (0001:00:0a.0), cmd 2
[   51.070922] PCI: CLS 64 bytes, default 64
[   51.071068] Unpacking initramfs...
[   51.494122] Freeing initrd memory: 10581k freed
[   51.494945] power: Control reg at 7fe01000800
[ 51.495238] chmc: UltraSPARC-IIIi memory controller at /memory-controller@0,0 [ 51.495270] chmc: UltraSPARC-IIIi memory controller at /memory-controller@1,0
[   51.495586] audit: initializing netlink socket (disabled)
[   51.495622] type=2000 audit(0.688:1): initialized
[   51.517266] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[   51.517816] VFS: Disk quotas dquot_6.5.2
[   51.517946] Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[   51.518140] msgmni has been set to 16216
[   51.518578] alg: No test for stdrng (krng)
[ 51.518662] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   51.518688] io scheduler noop registered
[   51.518701] io scheduler deadline registered
[   51.518739] io scheduler cfq registered (default)
[   51.519620] f00ac22c: ttyS0 at MMIO 0x7fe010003f8 (irq = 15) is a 16550A
[   51.519639] Console: ttyS0 (SU)
[   58.966879] console [ttyS0] enabled
[   59.012879] f00addac: ttyS1 at MMIO 0x7fe010002e8 (irq = 15) is a 16550A
[   59.102379] mousedev: PS/2 mouse device common for all mice
[   59.176013] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[   59.259616] rtc0: no alarms, 114 bytes nvram
[   59.316323] TCP cubic registered
[   59.358767] NET: Registered protocol family 10
[   59.418198] Mobile IPv6
[   59.450285] NET: Registered protocol family 17
[   59.508616] Registering the dns_resolver key type
[   59.570441] registered taskstats version 1
[ 59.624574] rtc_cmos rtc_cmos: setting system clock to 2013-11-21 19:00:54 UTC (1385060454)
[   59.734484] Initializing network drop monitor service
[   59.831322] udevd[49]: starting version 175
[   59.973091] tg3.c:v3.121 (November 2, 2011)
[   60.021297] usbcore: registered new interface driver usbfs
[   60.021361] usbcore: registered new interface driver hub
[   60.073508] usbcore: registered new device driver usb
[   60.074637] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   60.075250] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   60.075301] ohci_hcd 0001:00:0a.0: OHCI Host Controller
[ 60.075390] ohci_hcd 0001:00:0a.0: new USB bus registered, assigned bus number 1
[   60.075456] ohci_hcd 0001:00:0a.0: irq 17, io mem 0x7ff01000000
[   60.646927] PCI: Enabling device: (0000:00:02.0), cmd 2
[   60.648137] SCSI subsystem initialized
[   60.702119] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 60.791436] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   60.886487] usb usb1: Product: OHCI Host Controller
[   60.905923] libata version 3.00 loaded.
[   60.950622] usb usb1: Manufacturer: Linux 3.2.0-4-sparc64-smp ohci_hcd
[ 60.970834] tg3 0000:00:02.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update. [ 61.030826] tg3 0000:00:02.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update.
[   61.036497] usb usb1: SerialNumber: 0001:00:0a.0
[   61.066872] PCI: Enabling device: (0002:00:02.0), cmd 147
[   61.067446] sym0: <1010-66> rev 0x1 at pci 0002:00:02.0 irq 24
[ 61.090831] tg3 0000:00:02.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update. [ 61.092991] tg3 0000:00:02.0: eth0: Tigon3 [partno(none) rev 2100] (PCI:66MHz:64-bit) MAC address 00:14:4f:8f:ca:5a [ 61.093002] tg3 0000:00:02.0: eth0: attached PHY is 5704 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) [ 61.093011] tg3 0000:00:02.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[   61.093018] tg3 0000:00:02.0: eth0: dma_rwctrl[763f0000] dma_mask[32-bit]
[   61.093061] PCI: Enabling device: (0000:00:02.1), cmd 2
[ 61.093076] tg3 0000:00:02.1: BAR 2: can't reserve [mem 0x7f700000000-0x7f70000ffff]
[   61.093084] tg3 0000:00:02.1: Cannot obtain PCI resources, aborting
[   61.093095] tg3: probe of 0000:00:02.1 failed with error -16
[   61.093125] PCI: Enabling device: (0003:00:02.0), cmd 2
[   61.095474] sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking
[   61.143754] sym0: SCSI BUS has been reset.
[   61.143771] scsi0 : sym-2.2.3
[   62.067035] hub 1-0:1.0: USB hub found
[   62.116558] hub 1-0:1.0: 2 ports detected
[ 62.122824] tg3 0003:00:02.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update.
[   62.171681] PCI: Enabling device: (0001:00:0d.0), cmd 5
[   62.173692] scsi1 : pata_ali
[ 62.182826] tg3 0003:00:02.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update.
[   62.216428] scsi2 : pata_ali
[ 62.242822] tg3 0003:00:02.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update. [ 62.247507] tg3 0003:00:02.0: eth1: Tigon3 [partno(none) rev 2100] (PCI:66MHz:64-bit) MAC address 00:14:4f:8f:ca:5c [ 62.247518] tg3 0003:00:02.0: eth1: attached PHY is 5704 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) [ 62.247527] tg3 0003:00:02.0: eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[   62.247534] tg3 0003:00:02.0: eth1: dma_rwctrl[763f0000] dma_mask[32-bit]
[   62.247578] PCI: Enabling device: (0003:00:02.1), cmd 2
[ 62.247591] tg3 0003:00:02.1: BAR 2: can't reserve [mem 0x7c700000000-0x7c70000ffff]
[   62.247598] tg3 0003:00:02.1: Cannot obtain PCI resources, aborting
[   62.247610] tg3: probe of 0003:00:02.1 failed with error -16
[   62.251470] PCI: Enabling device: (0002:00:02.1), cmd 147
[   62.252041] sym1: <1010-66> rev 0x1 at pci 0002:00:02.1 irq 25
[   62.254336] sym1: No NVRAM, ID 7, Fast-80, LVD, parity checking
[   62.294688] sym1: SCSI BUS has been reset.
[   62.294707] scsi3 : sym-2.2.3
[ 63.220233] ata1: PATA max UDMA/100 cmd 0x7fe01000900 ctl 0x7fe01000918 bmdma 0x7fe01000920 irq 18 [ 63.338120] ata2: PATA max UDMA/100 cmd 0x7fe01000910 ctl 0x7fe01000908 bmdma 0x7fe01000928 irq 18
[   63.826753] scsi: waiting for bus probes to complete ...
[ 64.156047] scsi 0:0:0:0: Direct-Access FUJITSU MAW3073NCSUN72G 1703 PQ: 0 ANSI: 4 [ 64.262489] scsi target0:0:0: tagged command queuing enabled, command queue depth 16.
[   64.365517] scsi target0:0:0: Beginning Domain Validation
[ 64.442262] scsi target0:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
[   64.645035] scsi target0:0:0: Ending Domain Validation
[ 68.852206] sd 0:0:0:0: [sda] 143374738 512-byte logical blocks: (73.4 GB/68.3 GiB)
[   68.955814] sd 0:0:0:0: [sda] Write Protect is off
[   69.018808] sd 0:0:0:0: [sda] Mode Sense: c7 00 00 08
[ 69.019951] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   69.151800]  sda: sda1 sda2 sda3 sda4
[   69.204378] sd 0:0:0:0: [sda] Attached SCSI disk
[   69.269477] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   69.789936] md: md0 stopped.
[   69.841779] md: bind<sda2>
[   69.894604] md: raid1 personality registered for level 1
[   69.978059] bio: create slab <bio-1> at 1
[   70.047038] md/raid1:md0: active with 1 out of 2 mirrors
[   70.133399] md0: detected capacity change from 0 to 70077972480
[   70.244880]  md0: unknown partition table
[   70.441624] md: md1 stopped.
[   70.482923] md: bind<sda4>
[   70.520980] md/raid1:md1: active with 1 out of 2 mirrors
[   70.590902] md1: detected capacity change from 0 to 3156344832
[   70.678310]  md1: unknown partition table
[ 71.000826] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
[   72.395974] udevd[359]: starting version 175
[ 73.704900] Adding 3082352k swap on /dev/md1. Priority:-1 extents:1 across:3082352k
[   73.853945] EXT4-fs (md0): re-mounted. Opts: (null)
[   74.302167] EXT4-fs (md0): re-mounted. Opts: errors=remount-ro
[   74.568380] loop: module loaded
[ 74.693831] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   74.787732] bonding: MII link monitoring set to 100 ms
[   76.849648] RPC: Registered named UNIX socket transport module.
[   76.927514] RPC: Registered udp transport module.
[   76.989348] RPC: Registered tcp transport module.
[   77.051116] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   77.175875] FS-Cache: Loaded
[ 77.275295] tg3 0000:00:02.0: firmware: agent loaded tigon/tg3_tso.bin into memory
[   78.657434] tg3 0000:00:02.0: eth0: No firmware running
[   78.779735] FS-Cache: Netfs 'nfs' registered for caching
[   78.781171] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   78.944201] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   96.042538] tg3 0000:00:02.0: eth0: Link is up at 100 Mbps, full duplex
[ 96.129489] tg3 0000:00:02.0: eth0: Flow control is off for TX and off for RX
[   96.230245] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  106.882647] eth0: no IPv6 routers present

I would also try installing the firmware-XXX packages but networking in the V210 just works without it and it should be
identical in the v240.
I think the same, but anyway I check and the only Broadcom firmware packages that I find are for the NetXtreme II, and this kind of servers comes with NetXtreme I:

apt-cache search firmware | grep Broadc

b43-fwcutter - Utility for extracting Broadcom 43xx firmware
firmware-bnx2 - Binary firmware for Broadcom NetXtremeII
firmware-bnx2x - Binary firmware for Broadcom NetXtreme II 10Gb
firmware-brcm80211 - Binary firmware for Broadcom 802.11 wireless cards

I wonder if the firmware package is the same for both kind network cards.

Is very estrange situation because two of the four cards are detected automatically and works fine.

One last thing:

If I search for "tigon" in the repository I get the following:

apt-cache search tigon

firmware-linux-nonfree - Binary firmware for various drivers in the Linux kernel

I wonder what happend if I install this package... I would try and post my results.

Thanks a lot four tour help and best regards.

Mauro.

Best wishes:
Elmar


Reply to: