Re: [casper] ROACH1 - ethernet problem.

2020-04-20 Thread Ramesh Karuppusamy
Thanks for all your inputs folks. Forcing the switch to operate in 100mbps mode on the said port and then connecting the ROACH1 has solved the problem now. I am super stumped by the problem - this board worked for close to 10 years auto-negotiating and decided not to, last Friday! Cheers, Ram

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread James Smith
Ramesh, I've never actually gotten a ROACH to talk directly to a server. The auto-negotiation in the NIC is not great. You pretty much need a switch in-between. Which is why Jason recommended using an old 100Mbps switch. Regards, James On Fri, Apr 17, 2020 at 4:00 PM Ramesh Karuppusamy wrote:

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Jason Manley
Yeah, but as I say, this never fixed the 1Gbps problem anyway. Was a weird problem. Jason > On 17 Apr 2020, at 16:00, Ramesh Karuppusamy wrote: > > > > I just tried this by putting a spare network interface on to 100mbps and also > forcing the ROACH1 eth0 to 100mpbs - this did not help. Loo

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Ramesh Karuppusamy
I just tried this by putting a spare network interface on to 100mbps and also forcing the ROACH1 eth0 to 100mpbs - this did not help. Looks like the ethernet device on the ROACH1 is dead. I used mii-tool to force 100mbps operation: root@roach:~# mii-tool -F 100baseTx-HD eth0 root@roach:~# mii

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Indrajit Vittal Barve
Dear Ramesh, Here is the link you can download and write the image to the SD card. If possible use the 2GB SD card which is shipped along with the board. https://drive.google.com/open?id=1sK69IUDKkdEw3W6aF0r7wll0QR1KoSiS sudo dd of=/dev/mmcblk0p1 if=~/roach1_imagebkup_20190416_2GB.img Note m

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Ramesh Karuppusamy
Hi Indrajit, Useful to know - I believe I do have our original ROACH1 image somewhere, therefore I will try what you suggested. Thanks! Cheers, Ramesh > On 17. Apr 2020, at 15:30, Indrajit Vittal Barve wrote: > > Dear Ramesh Karuppusamy, > > This kind of issues we faced several times, We

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread James Smith
Just to add to what Jason has said, older 100 Mbps switches are easy enough to pick up secondhand on eBay and such, depending on where you are. They're quite cheap. On Fri, Apr 17, 2020 at 3:19 PM Jason Manley wrote: > > > Since we are running the ancient Debian Etch on this unit, I have no > ac

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Indrajit Vittal Barve
Dear Ramesh Karuppusamy, This kind of issues we faced several times, We use to do re-write the SD card image. Then it gets resolved. If you want the image for the roach1 I can provide the same. Then you can copy your BOF and run your code. --- Thanks and Regards Indrajit Vittal Barve On 202

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Jason Manley
> Since we are running the ancient Debian Etch on this unit, I have no access > to ethtool, with which I understand that you can switch to 100mpbs. Is there > any other way to force 100mbps operation? This actually wouldn't work anyway (we tried it). Something is broken in that Nat.Semi PHY's

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Ramesh Karuppusamy
Thanks Jason, I thought about it. Since we are running the ancient Debian Etch on this unit, I have no access to ethtool, with which I understand that you can switch to 100mpbs. Is there any other way to force 100mbps operation? Cheers, Ramesh > On 17. Apr 2020, at 15:10, Jason Manley wro

Re: [casper] ROACH1 - ethernet problem.

2020-04-17 Thread Jason Manley
Can you try it with a 100mbps link partner? ROACH1's PHY was notoriously fickle at 1Gbps. We never did get to the bottom of it, even with Nat.Semi's support, and switched PHYs on ROACH2. Jason Manley DSP Manager SKA-SA Cell: +27 82 662 7726 Work: +27 21 506 7300 > On 17 Apr 2020, at 14:56, Ram

[casper] ROACH1 - ethernet problem.

2020-04-17 Thread Ramesh Karuppusamy
Dear All, I hope you are all staying healthy. The gigabit ethernet on our ~10 year old ROACH1 board went silent all of a sudden this morning. The ethernet port show no activity (the yellow LED flickers very occasionally). On booting the unit off the SD card, and manually bringing up the interf