Goflex Home won't boot with external USB drive plugged in.

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Goflex Home won't boot with external USB drive plugged i

Postby sambul13 » Wed Aug 29, 2012 3:55 pm

Thanks. I wanted to mount mtdblock0 to look at Uboot config file. What command lists filesystem type for each mtdblock in the system?

Its strange to hear about 10.10.10.?, because Jeff set IPs to 192.168.??? in Uboot for Netconsole.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Goflex Home won't boot with external USB drive plugged i

Postby moonman » Wed Aug 29, 2012 4:14 pm

I guess the idea was to be able to listen on specific ip addresses without having to mess with your existing ip assignments.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home won't boot with external USB drive plugged i

Postby sambul13 » Wed Aug 29, 2012 5:32 pm

And GoFlex Home Advanced section suggests to setup Uboot specific IP via ifconfig to send to a remote PC the Uboot log after the kernel started? Just to verify the boot process, but not recover... :?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Goflex Home won't boot with external USB drive plugged i

Postby moonman » Wed Aug 29, 2012 5:51 pm

U-Boot sends messages before the kernel starts. You can interact with U-Boot netconsole if you use linux. For some reason in windows and mac it only sends messages one way.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home won't boot with external USB drive plugged i

Postby sambul13 » Wed Aug 29, 2012 6:13 pm

Actually ASUC allows to interact with Uboot from Windows too. But I was asking about ifconfig, since this congfig file seems to become accessible only after boot is completed. So what would be the purpose to configure Uboot IP via that file, as suggested in GoFlex Home Advanced section, instead of using fw_setenv ?

Also, save env command doesn't seem to be required, just running fw_setenv saves the changes to Uboot config - right?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Goflex Home won't boot with external USB drive plugged i

Postby moonman » Wed Aug 29, 2012 6:32 pm

I am not sure what file you are referring to. You only need to use ifconfig on the receiving machine (pogoplug being the sending one) using ifconfig you set alias name/ip for the same physical controller (which, by the way, is only available on mac and linux, not windows (unless the driver supports it and most consumer level adapters don't)). Doing so lets your machine receive UDP packets sent to those ip addresses.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home won't boot with external USB drive plugged i

Postby sambul13 » Wed Aug 29, 2012 6:55 pm

Thanks, I got it. That page doesn't say clearly WHERE to configure ifconfig settings. And ifconfig seems to be deprecated in ArchLinux anyway. So it looks like netconsole IP is preset in ArchLinux - interesting in what config file?

Nonetheless, I am able to get Uboot messages in Windows via ASUC using 192.158.0.?? address without using eth0:0 alias despite it seems to be preset to default eth0:0 10.10.10.5 in ArchLinux (or Uboot?). It may be because eth0:0 is equivalent to eth0 in Windows. Though the same might be possible for kernel output...

Interesting if netconsole will post kernel messages in Windows by running a Ubuntu Distro CD in WMvare with the VM LAN adapter configured as a bridge...
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Goflex Home won't boot with external USB drive plugged i

Postby sambul13 » Sat Sep 01, 2012 12:40 am

In this post Uboot reports "file not found /boot/uinitrd", but then boots OS normally from USB drive. The file is indeed absent in my install. How significant this error is, why it happens, and why it boots normally despite that? What this file is for, and how to add it?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Goflex Home won't boot with external USB drive plugged i

Postby moonman » Sat Sep 01, 2012 12:57 am

I don't see a uboot log after following your link. Probably there are 2 storage devices and only one has rootfs?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home won't boot with external USB drive plugged i

Postby sambul13 » Sat Sep 01, 2012 2:21 am

Uboot log is inside the picture - can you see the pic? If not, you should see the link to that pic. Uboot found uImage in the same device's boot folder, but no uInitrd. Yet it boots ALARM OK. What this file is for? Can it boot without it?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests

cron