OXNAS Kernel Modules (beyond 2011.06 rootfs)

This forum is for all other ARMv5 devices

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby bramm » Wed Aug 03, 2011 11:53 am

Hi,

I've been trying to get iptables to work myself aswell.

I've compiled the modules, however I get a few dmesg errors

[ 91.820000] nf_conntrack: Unknown symbol nf_conntrack_destroy
[ 91.830000] nf_conntrack: Unknown symbol nf_ct_destroy
[ 91.850000] nf_conntrack: Unknown symbol ip_ct_attach

When I tried the oxnas zip file, I got the same error.

My question:

* Is the new kernel from archlinux compatible with these modules ? I'm not too fond of flashing, but if it fixes this I think I will give it a try.

Thanks

Bram
bramm
 
Posts: 4
Joined: Wed Aug 03, 2011 11:40 am

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby WarheadsSE » Wed Aug 03, 2011 12:26 pm

When we specifically say : UPDATE YOUR OXNAS WITH THIS SCRIPT.
Absolutely, but until then unless you know what you are doing, and how to deal with the ramifications, DO NOT flash to NAND.

The mainline 2.6.39 kernel is not compatible with the OXNAS line.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby term » Wed Aug 17, 2011 6:33 pm

I'm running a 1-wire network on a usb-to-serial-to-1-wire adapter that's using the ch341 usb serial driver. Is it possible to add to the list of supported drivers? How do I go about to compile it myself? I would really appreciate a hint or two.
term
 
Posts: 2
Joined: Wed Aug 17, 2011 6:30 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby kmihelich » Thu Aug 18, 2011 6:58 pm

This forum's sticky must still be getting missed. Please read it.

viewtopic.php?f=29&t=1410
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

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby mysteri » Sat Aug 20, 2011 2:43 pm

CAUTIONARY NOTE!!!!

I applied these modules to my pogoplug pro and it failed to boot up to a state where i could SSH to it!! I spent some time re-installing over and over and the problem seems to be with one of the drivers. Might take me sometime to work out which one(s) are failing, so for now beware :D



Just for reference:
I re-formatted my usb stick, mounted it and extracted ArchLinuxARM-oxnas-2011.06.tar.gz on to the drive. Added hostname and static IP to /etc/rc.conf, updated /etc/hosts and added the /usr/local/mac_addr. Unmounted and ran fsck on it. Put stick in to pogoplug and powered on. Everything works fine and i can SSH in. Now I then extract oxnas-kernel-modules.tar.gz to / and run depmod -a. Box still work until I restart, when it just doesn't respond.

I spent a bit of time looking to where the boot is failing and from what I can see it on /etc/rc.sysint. It processes:
/bin/findmnt / --options ro &>/dev/null || \
However fails to pass the next line of code
status "Mounting Root Read-Only" /bin/mount -n -o remount,ro /


Both the above packages are from http://archlinuxarm.org/os/index.php?d=oxnas/


######## additional notes ##########


I have worked my way through the modules in oxnas.kernel.modules.tar.gz and have installed them all with the exception of the below. If you exclude the 3 below the system boots as expected



/lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/mii.ko
/lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/gmac/gmac.ko
/lib/modules/2.6.31.6_SMP_820/kernel/drivers/scsi/scsi_wait_scan.ko

The orignial files (ArchLinuxARM-oxnas-2011.06.tar.gz) are .gz'd, however in the oxnas.kernel.modules.tar.gz there are not .gz'd.

So as a test I gunziped the orginals and didnt run "depmod -a" and guess what the system failed to booted ok.


Also I have only just noticed hwclock doesnt work either.

Will take another look in the week to see if i can work out what going on
mysteri
 
Posts: 18
Joined: Sat Aug 20, 2011 2:37 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby WarheadsSE » Sun Aug 21, 2011 7:20 pm

Alright:

hwclock - THERE IS NO RTC on the Pogoplug Oxnas implementation. Hence FAIL.

try doubling the network entry in DAEMONS=(), this seems to have solved some peoples issues. Try it, I didn't say it was a fix.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby mysteri » Mon Aug 22, 2011 6:40 pm

Cheers i just put a start up and shutdown script in for now to keep a reasonable track on time (party like its not 1969 lol)

Adding network in twice didnt work. Got a bit of time tonight so will look in to this more
mysteri
 
Posts: 18
Joined: Sat Aug 20, 2011 2:37 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby WarheadsSE » Mon Aug 22, 2011 7:09 pm

If network work working, openntpd should have fixed it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby fnu » Fri Sep 02, 2011 3:00 pm

@mysteri

I can confirm the behaviour you'd describe with the kernel modules. I ran into the same problem, a bit worse, the tiny box did crash my router due to heavy DHCP request ... thanks for the hint!

[solved] There are also other things strange, different behaviour of the box after converting with oxnas-install or due manually unpack onto the disk. [/solved]

Why does rc.conf look so different to the huge Arch Linux Wiki, ..., but on an other day, maybe I'm to used to Debian/Ubuntu world ...

Cheers
fnu
[*] Pogoplug Pro, Hitachi Travelstar 7K320 160GB 2,5" S-ATA, archlinux | ARM
fnu
 
Posts: 12
Joined: Fri Sep 02, 2011 12:06 pm

Re: OXNAS Kernel Modules (beyond 2011.06 rootfs)

Postby bharath » Sun Sep 11, 2011 5:10 pm

After reading the thread, I am not sure if it is prudent to upgrade to these modules. It seems there are some issues. Any suggestions if it is worth while to upgrade to these kernel. All I really need is wireless support.
bharath
 
Posts: 44
Joined: Sun Sep 04, 2011 3:35 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 4 guests