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

Re: SunFire V240 network cards



On Thu, 21 Nov 2013 22:04:03 -0300
Mauro Antivero <mauro.antivero@gmail.com> wrote:

> Hello to all.
> 
> I've installed Debian 7 Wheezy on SunFire V240. The server has 4
> Gigabit network cards, but when I run ifconfig -a I get the following:
> 
> eth0      Link encap:Ethernet  HWaddr 00:14:4f:8f:ca:5a
>            inet addr:172.30.0.161  Bcast:172.30.0.255
> Mask:255.255.255.0 inet6 addr: fe80::214:4fff:fe8f:ca5a/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:87718 errors:0 dropped:76 overruns:0 frame:0
>            TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:6650737 (6.3 MiB)  TX bytes:50656 (49.4 KiB)
>            Interrupt:6
> 
> eth1      Link encap:Ethernet  HWaddr 00:14:4f:8f:ca:5c
>            BROADCAST MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>            Interrupt:31
> 
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:16436  Metric:1
>            RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:692 (692.0 B)  TX bytes:692 (692.0 B)
> 
> Missing two network cards.
> 
> This is the contents of /etc/udev/rules.d/70-persistent-net.rules:
> 
> # 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"
> 
> And this is what I get when I run lspci:
> 
> 0000:00:02.0 Ethernet controller: Broadcom Corporation NetXtreme
> BCM5704 Gigabit Ethernet
> 0000:00:02.1 Ethernet controller: Broadcom Corporation NetXtreme
> BCM5704 Gigabit Ethernet
> 0001:00:06.0 Non-VGA unclassified device: ULi Electronics Inc. M7101 
> Power Management Controller [PMU]
> 0001:00:07.0 ISA bridge: ULi Electronics Inc. M1533/M1535/M1543 PCI
> to ISA Bridge [Aladdin IV/V/V+]
> 0001:00:0a.0 USB controller: ULi Electronics Inc. USB 1.1 Controller 
> (rev 03)
> 0001:00:0d.0 IDE interface: ULi Electronics Inc. M5229 IDE (rev c4)
> 0002:00:02.0 SCSI storage controller: LSI Logic / Symbios Logic
> 53c1010 66MHz  Ultra3 SCSI Adapter (rev 01)
> 0002:00:02.1 SCSI storage controller: LSI Logic / Symbios Logic
> 53c1010 66MHz  Ultra3 SCSI Adapter (rev 01)
> 0003:00:02.0 Ethernet controller: Broadcom Corporation NetXtreme
> BCM5704 Gigabit Ethernet
> 0003:00:02.1 Ethernet controller: Broadcom Corporation NetXtreme
> BCM5704 Gigabit Ethernet
> 
> So, the system really gots 4 network cards but only see two of them.
> 
> Can anyone tell me how I can do to get all 4 network cards
> functionals?
> 
> Thanks a lot and best regards.
> 
> Maur.
> 
> 

Since the V240 is the same as the V210, I used an OpenBOOT hack to fix
the PCI tables. I found it since I had a similar problem on a V210, and
it is on the Debian sparc mailing list. The URL is:

https://lists.debian.org/debian-sparc/2012/11/msg00041.html


Reply to: