Installing Dreamplug with kirkwood-latest

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

Re: Installing Dreamplug with kirkwood-latest

Postby moonman » Thu Jun 19, 2014 8:05 am

You can, if you want. I don't know if it will help. With the new u-boot you can just load dtb and zimage separately so you can drop those manual steps of appending dtb and making uimage. I really don't know what changed. I've looked through configs and patches upstream and really could not see anything related.

Here's all the past kernels that we've used. If you want to pinpoint which exact version stopped booting.
http://rollback.archlinuxarm.org/packag ... -kirkwood/
Though I don't know if it will help.
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: Installing Dreamplug with kirkwood-latest

Postby ineiti » Thu Jun 19, 2014 8:46 pm

Thanks for the link - I nailed it down to:

    linux-kirkwood-3.13.7-1-arm.pkg.tar.xz - OK
    linux-kirkwood-3.13.9-2-arm.pkg.tar.xz - FAIL

The only differences I find are when starting up
3.13.7:
$this->bbcode_second_pass_code('', '
[ 15.208663] Security Framework initialized
[ 15.208689] AppArmor: AppArmor disabled by boot time parameter
[ 15.208752] Mount-cache hash table entries: 512
[ 15.209340] Initializing cgroup subsys devices
')

versus 3.13.9:
$this->bbcode_second_pass_code('', '
[ 14.642405] Security Framework initialized
[ 14.642431] AppArmor: AppArmor disabled by boot time parameter
[ 14.642497] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 14.642514] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 14.643094] Initializing cgroup subsys devices
')

And then of course the device-detection:
3.13.7
$this->bbcode_second_pass_code('', '
[ 18.314812] Key type dns_resolver registered
[ 18.319663] registered taskstats version 1
[ 18.341041] mmc0: new high speed SDIO card at address 0001
[ 18.514039] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 18.685289] hub 1-1:1.0: USB hub found
[ 18.694028] hub 1-1:1.0: 4 ports detected
[ 18.984266] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 19.116817] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 19.134121] scsi1 : usb-storage 1-1.1:1.0
[...]
[ 20.664046] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 21.864857] UKSM: relative memcmp_cost = 2600 hash=234621611 cmp_ret=0.
[ 21.878677] console [netcon0] enabled
[ 21.882355] netconsole: network logging started
[ 21.887033] rtc-mv rtc-mv: setting system clock to 2014-06-19 08:21:05 UTC (1403166065)
[ 21.936682] EXT3-fs (sdc5): error: couldn't mount because of unsupported optional features (240)
[ 21.946412] EXT2-fs (sdc5): error: couldn't mount because of unsupported optional features (240)
[ 22.010616] EXT4-fs (sdc5): mounted filesystem with ordered data mode. Opts: (null)
[ 22.018361] VFS: Mounted root (ext4 filesystem) on device 8:37.
[ 22.059576] devtmpfs: mounted
')

3.13.9
$this->bbcode_second_pass_code('', '
[ 17.758570] Key type dns_resolver registered
[ 17.763422] registered taskstats version 1
[ 17.768605] console [netcon0] enabled
[ 17.772322] netconsole: network logging started
[ 17.776965] rtc-mv rtc-mv: setting system clock to 2014-06-19 08:27:10 UTC (1403166430)
[ 17.785533] VFS: Cannot open root device "sdc5" or unknown-block(0,0): error -6
[ 17.792969] Please append a correct "root=" boot option; here are the available partitions:
[ 17.801424] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 17.809726] CPU: 0 PID: 1 Comm: swapper Not tainted 3.13.9-2-ARCH #1
')

Now I'm off trying to build a 3.13.7-kernel, hoping it'll work, then try the 3.13.9 and see what's wrong... Could take a couple of days, so if somebody else has any idea in the meantime.
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Thu Jun 19, 2014 9:15 pm

Well, the config is the same in both revisions - seems the kernel is the only change. Now what could've changed in between 3.13.7 and 3.13.9? Is there a compilation of kernel 3.13.8 somewhere?

I tried to <ctrl-f> through the changelogs

https://www.kernel.org/pub/linux/kernel ... Log-3.13.8
https://www.kernel.org/pub/linux/kernel ... Log-3.13.9

but nothing important "usb", "sdio", "storage" - perhaps it's the build-environment?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby moonman » Thu Jun 19, 2014 11:29 pm

Might have skipped the 8. I am on the phone atm, but here's an easy to read changelog https://git.kernel.org/cgit/linux/kerne ... gs/v3.13.9
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: Installing Dreamplug with kirkwood-latest

Postby moonman » Fri Jun 20, 2014 12:18 am

The only related thing to mmc i found was this commit in 3.13.8:
https://git.kernel.org/cgit/linux/kerne ... 7edd9898c8
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: Installing Dreamplug with kirkwood-latest

Postby ineiti » Fri Jun 20, 2014 9:21 am

I don't think it's only MMC, as the USB-attached harddisk is not recognized neither. My hunch is more with USB, or is that illogical?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby ineiti » Tue Jun 24, 2014 2:48 pm

Now I tried re-compiling 3.13.7 and it won't boot, neither :( I also tried compiling 3.15.1, which won't boot. Worst is, there seems to be a patch for the wireless-problems I had, but without a running kernel I can't even try that.

Somebody has an idea what I could test?
ineiti
 
Posts: 39
Joined: Fri Aug 23, 2013 9:03 pm

Re: Installing Dreamplug with kirkwood-latest

Postby WarheadsSE » Tue Jun 24, 2014 2:52 pm

I do wish I could help, but without the hardware, it is very hard.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Installing Dreamplug with kirkwood-latest

Postby moonman » Wed Jun 25, 2014 12:44 am

1 thing you could try is to use rollback machine and use all the packages from around 3.13.7 time. You can add rollback machine as a repo in pacman. Then try to compile the new 3.15 using older base devel.
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: Installing Dreamplug with kirkwood-latest

Postby kmihelich » Wed Jun 25, 2014 12:46 am

I've seen people noting on mailing lists that the Dreamplug has been mysteriously broken in newer kernels. Not sure what is going on with it.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests