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

Re: SunFire V240 network cards



Hi,

I believe that this is the same problem as described a year or so ago on a V210. The firmware device tree has some overlapping address ranges for two of the network devices and hence the device driver loading fails.

This failure is visible in the dmesg output (see below) and is consistent with the symptoms seen last year.

I did work out a method to modify the device tree in Openboot/OBP (firmware) and you can find that at

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

That will likely work in the V240 case but it might need a few tweaks.

Really a solution needs to be implemented in the device driver/linux kernel. The thread died out last year and I got distracted with other things to take the issue upstream.

On 22/11/2013 12:11, Mauro Antivero wrote:
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:

I am interested to hear that it does work on a V210. I'm guessing that some revisions of OBP have the device tree fixed up.



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


Here the device driver reports that it cannot allocate the memory for BAR 2 of the device (because the other network device in the pair has already allocated it).
[   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

Ditto here. Hence only 2 out of 4 devices get attached.
[   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

Regards

Richard


Reply to: