LG N2A2DD2 won't boot Arch userland

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

LG N2A2DD2 won't boot Arch userland

Postby Mijzelf » Tue Oct 01, 2013 9:23 pm

I'm trying to run Arch on an LG N2A2DD2 (2 bays, 1GHz Kirkwood, 128MB ram, 512kB rom).

I have serial access, but I can only read. u-boot reads a /boot/uImage from partition one, and boots it with command line
$this->bbcode_second_pass_code('', 'console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) root=/dev/md0 rw lpj=4964352 nas_type=0x00000221')So I created a partiton of type 'linux raid', created a single disk raid1 array in it, put an ext3 partition in it, extracted the latest arch rootfs in it, added the stock uImage (2.6.36.2) and kernel modules.

Now the box boots the stock kernel, I can see the raid array is autodetected and -assembled as md0, but the serial log stops at 'Freeing init memory'. No kernel panic, just silence.
As far as I can see there is no activity on the network port. It doesn't request an ip address. The 2 disk leds are blinking, but of course it's possible the orginal firmware had to do some initialisation on it.

What could cause this behaviour?
Mijzelf
 
Posts: 25
Joined: Wed Feb 20, 2013 8:44 am

Re: LG N2A2DD2 won't boot Arch userland

Postby WarheadsSE » Tue Oct 01, 2013 11:17 pm

Never heard of it before, to be honest, but it is possible that there are indeed things that need to be initialized. Also, That kernel may have hard-coded uInitrd & ramfs, which could be taking over.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: LG N2A2DD2 won't boot Arch userland

Postby Mijzelf » Sun Oct 06, 2013 1:15 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'T')hat kernel may have hard-coded uInitrd & ramfs, which could be taking over.
I don't think so. There is no trace in the kernel log, and binwalk cannot find any embedded initrd

Meanwhile I'm a bit further (2 lines :) ). I added a /dev/console device node to the rootfs, and now my log says:$this->bbcode_second_pass_code('', '<snip>
[ 23.825934] md0: unknown partition table
[ 23.840967] EXT3-fs: barriers not enabled
[ 23.860255] kjournald starting. Commit interval 5 seconds
[ 23.905087] EXT3-fs (md0): using internal journal
[ 23.909830] EXT3-fs (md0): mounted filesystem with writeback data mode
[ 23.916444] VFS: Mounted root (ext3 filesystem) on device 9:0.
[ 23.922342] Freeing init memory: 128K
Failed to mount /dev: No such device
Failed to mount /dev: No such device')I guess I am lacking some filesystem support in the kernel? Which one?

Full bootlog attached.
Attachments
n2a2dd2.log.gz
(4.81 KiB) Downloaded 701 times
Mijzelf
 
Posts: 25
Joined: Wed Feb 20, 2013 8:44 am

Re: LG N2A2DD2 won't boot Arch userland

Postby WarheadsSE » Sun Oct 06, 2013 5:16 pm

devtmpfs?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: LG N2A2DD2 won't boot Arch userland

Postby Mijzelf » Sun Oct 06, 2013 7:58 pm

Indeed. That was it. Thanks.
Mijzelf
 
Posts: 25
Joined: Wed Feb 20, 2013 8:44 am

Re: LG N2A2DD2 won't boot Arch userland

Postby moonman » Mon Oct 07, 2013 12:38 am

Does it even work with that kernel? the minimum for systemd is 2.6.39
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: LG N2A2DD2 won't boot Arch userland

Postby Mijzelf » Mon Oct 07, 2013 6:49 pm

Really? As far as I can tell so far it works fine. Which part should give problems?
Mijzelf
 
Posts: 25
Joined: Wed Feb 20, 2013 8:44 am

Re: LG N2A2DD2 won't boot Arch userland

Postby WarheadsSE » Mon Oct 07, 2013 7:28 pm

The minimum mainline is 2.6.38/39 for features. Some of them may have been backported.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest