Re: Sun Fire V210 NIC's don't work
Hi,
On 20/11/2012 19:47, Kaya Saman wrote:
On 11/20/2012 06:54 PM, Richard Mortimer wrote:
On 19/11/2012 22:36, Kaya Saman wrote:
I suspect that this can be worked around quite quickly. From a quick
look at the tg3 driver source code I don't think that the BAR 2
registers are actually used on the model present in that version.
As a quick and dirty hack it might just be as simple as removing the
BAR 2 entry from the assigned-addresses property. My
Openboot/forth-foo is a little rusty but I'll see if I can find some
time to work out a quick hack to try that.
If that works then I'd suspect that the correct way to handle this is
to workaround the issue would be somewhere in the sparc platform setup
code in the kernel.
Try this...
The following needs typing from the "ok" prompt prior to typing boot. It
will not persist after a reboot (would needed adding into the nvramrc
for that).
For testing I would suggest setting auto-boot? to false and resetting
the box. At the ok prompt do
setenv auto-boot? false
reset-all
Once OBP has reset then the following should get rid of the
assigned-addresses on the net1 and net3 nodes in OBP.
hex
cd net1
83001110 encode-int
0 encode-int encode+
400000 encode-int encode+
0 encode-int encode+
200000 encode-int encode+
" assigned-addresses" property
device-end
cd net3
83001110 encode-int
0 encode-int encode+
400000 encode-int encode+
0 encode-int encode+
200000 encode-int encode+
" assigned-addresses" property
device-end
Once that is done you can boot using
boot
But be careful. If OBP resets the box when you type boot then you need
to try again.
Once the box is booted then an "/sbin/ifconfig -a" should show you all
4 interfaces if the hack works.
Once tested you can make the hack semi-permanent by adding it to the
nvramrc in OBP.
nvedit
... prompt turns to something like " 0:"
... commands from above one per line ...
... control-c after the last line to get back to the "ok" prompt
nvstore
reset-all
Fingers crossed.
Best Regards
Richard
Reply to: