Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 46958

Re: Use netconsole to troubleshoot uBoot without a serial cable

$
0
0
I found this thread after following Alice down the rabbit hole...

I'm having problems getting netconsole to help troubleshoot my GoFlex Home problems.

Back in September of 2013, I installed Arch Linux ARM on it, using the instructions over at the archlinuxarm.org GoFlex Home page. So I'm using v0.6 of the UBIT environment from http://jeff.doozan.com/debian/goflex/v0.6/uInitrd and http://jeff.doozan.com/debian/goflex/v0.6/ubit_start. The GoFlex was successfully serving up a software RAID 5 array on a Sans Digital RAID storage array connected via a SATA-eSATA adapter cable to the GoFlex (yes - the Kirkwood does have a built-in SATA port multiplier!). The storage array was in JBOD mode, and md was properly running a RAID 5 config with four 2T drives - sweet.

Everything was working fine, until I pulled a bone-headed move. I accidentally crashed my Linux laptop, and the only USB flash drive I had on hand was the one in the GoFlex, so I "borrowed" it. I copied the archlinuxarm image using the dd utility on my wife's MacBook. After I rebuilt my laptop, I used dd to re-image the USB flash drive and stuck it back in the GoFlex. Nada. Nothing works... Seems OS X does weird things to ISO images when using dd...

I'm confused as hell about using nc. Does Jeff's uboot image run nc by default, or does it have to be manually setup? I don't have a USB-serial cable converter, so I can't get to the GoFlex console port to configure it.

I did connect the GoFlex directly to my laptop via Ethernet and ran Wireshark. The only packets I can see coming from the GoFlex are a couple of arp requests from 10.10.10.6 asking who has 10.10.10.5. I configured the laptop's eth0.1/.2./3 with 10.10.10.5/.4/.2, respectively, and ran "nc -lup 6666", but get no response at all. I tried "nc -lup 6666 &; nc -l 10.10.10.6 6666", and still nothing.

Any ideas?

Viewing all articles
Browse latest Browse all 46958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>