Welcome! Log In Create A New Profile

Advanced

Linux 3.3.2 kernel for Dockstar, GoFlex and many others

Posted by davygravy 
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
September 01, 2012 11:10PM
Update:

I did the upgrade again but this time with a memory stick image of the Squeeze install, and it was successful.

So, all is good.

Ben
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
September 02, 2012 04:06PM
I try 3.3.2 on Dockstar. It works generally... But if i do halt i get this via serial console:

...
[  229.013458] CPU: 0    Not tainted  (3.3.2-kirkwood-dg #1)
[  229.018885] PC is at machine_halt+0x0/0x4
[  229.022914] LR is at sys_reboot+0x10c/0x1dc
[  229.027117] pc : [<c000ef5c>]    lr : [<c002cd6c>]    psr: 60000013
[  229.027122] sp : c714fe90  ip : 00000002  fp : 00000001
[  229.038659] r10: 00000000  r9 : c714e000  r8 : c000dee8
[  229.043909] r7 : 00000001  r6 : cdef0123  r5 : 28121969  r4 : c041396c
[  229.050467] r3 : cdef0123  r2 : c714fe7c  r1 : c036c1c0  r0 : c045fc70
[  229.057024] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  229.064192] Control: 0005397f  Table: 01540000  DAC: 00000015
[  229.069974] [<c0013658>] (unwind_backtrace+0x0/0xe0) from [<c00686d4>] (watchdog_timer_fn+0xd4/0x124)
[  229.079242] [<c00686d4>] (watchdog_timer_fn+0xd4/0x124) from [<c0038ca8>] (__run_hrtimer+0xf8/0x1b8)
[  229.088423] [<c0038ca8>] (__run_hrtimer+0xf8/0x1b8) from [<c0039454>] (hrtimer_interrupt+0xec/0x210)
[  229.097608] [<c0039454>] (hrtimer_interrupt+0xec/0x210) from [<c0018078>] (orion_timer_interrupt+0x1c/0x2c)
[  229.107399] [<c0018078>] (orion_timer_interrupt+0x1c/0x2c) from [<c0068ebc>] (handle_irq_event_percpu+0x68/0x20c)
[  229.117713] [<c0068ebc>] (handle_irq_event_percpu+0x68/0x20c) from [<c0069088>] (handle_irq_event+0x28/0x38)
[  229.127593] [<c0069088>] (handle_irq_event+0x28/0x38) from [<c006b240>] (handle_level_irq+0xb0/0xc0)
[  229.136774] [<c006b240>] (handle_level_irq+0xb0/0xc0) from [<c0068990>] (generic_handle_irq+0x20/0x30)
[  229.146132] [<c0068990>] (generic_handle_irq+0x20/0x30) from [<c000ec34>] (handle_IRQ+0x60/0x84)
[  229.154966] [<c000ec34>] (handle_IRQ+0x60/0x84) from [<c000d974>] (__irq_svc+0x34/0x80)
[  229.163014] [<c000d974>] (__irq_svc+0x34/0x80) from [<c000ef5c>] (machine_halt+0x0/0x4)
[  229.171064] [<c000ef5c>] (machine_halt+0x0/0x4) from [<c002cd6c>] (sys_reboot+0x10c/0x1dc)
[  229.179374] [<c002cd6c>] (sys_reboot+0x10c/0x1dc) from [<c000dd40>] (ret_fast_syscall+0x0/0x2c)
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
September 02, 2012 10:07PM
I've never seen that with this kernel... what distro are you running? What arcNumber?

=====================================================
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
September 03, 2012 02:25AM
davygravy Wrote:
-------------------------------------------------------
> I've never seen that with this kernel... what
> distro are you running? What arcNumber?

My debian from stratch with 2.6.32-5 kernel and then updated to 3.3.2... arc Number the normal dockstar one.
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
September 04, 2012 08:27PM
No idea... my guess is that it may be something in the install that you did... I've literally never seen anything like that on the 2 dockstars that I have running Squeeze...

Or are you running Wheezy?

=====================================================
Can we have a new kernel with 'CONFIG_MV643XX_ETH=y' ?
Now is 'CONFIG_MV643XX_ETH=m', so I cannot log kernel messages via netconsole.

Tnx
Pongo
I mean for:
root@Pogoplug:~# uname -a
Linux Pogoplug 3.3.2-kirkwood-dg #1 Mon Apr 23 17:09:27 CDT 2012 armv5tel GNU/Linux
root@Pogoplug:~# fw_printenv arcNumber
arcNumber=2097
root@Pogoplug:~# cat /etc/debian_version
6.0.6

Tnx
Pongo
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
October 11, 2012 07:29PM
Hmmm... what if you load that module at boot time or just after?

modprobe _your_desired_module_name

=====================================================
The kernel module is already loaded automatically.

root@Pogoplug:~# lsmod | grep mv643xx_eth
mv643xx_eth            23215  0
libphy                 14410  1 mv643xx_eth
inet_lro                4266  1 mv643xx_eth

How you can see, netconsole starts before eth0 module is loaded
root@Pogoplug:/var/log# dmesg
...
[   19.949375] netconsole: local port 6665
[   19.949388] netconsole: local IP 192.168.2.12
[   19.949395] netconsole: interface 'eth0'
[   19.949402] netconsole: remote port 6666
[   19.949409] netconsole: remote IP 192.168.2.11
[   19.949418] netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[   19.949428] netconsole: eth0 doesn't exist, aborting.
[   19.954499] netconsole: cleaning up
[   19.989639] udev[48]: starting version 164
[   20.086913] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
...
However I can log U-Boot messages via netconsole
I will try to change conf/modules in initrd to load first eth0 module and then netconsole

root@Pogoplug:~/initrd-3.3.2/conf# cat modules
unix
mv643xx_eth
netconsole

and I will see what happen
I've modified initrd and created /boot/uInitrd, but I have same result: U-Boot log, no kernel log.

Can someone help me?

Tnx
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
October 18, 2012 04:49PM
No, I will try.

Tnx
Success!

I have also modified my previous uboot config
/usr/sbin/fw_setenv usb_custom_params loglevel=6 netconsole=6666@192.168.2.12/eth0,6666@192.168.2.21/
clearing usb_custom_params
/usr/sbin/fw_setenv usb_custom_params
otherwise I had only last 2 log rows.

Tnx
Hi, I'm trying to compile compat-wireless but it requires build directory in /lib/modules/`uname -r` and it's not there. Where can I get linux-headers for kirkwood 3.3.2 , please ?
WzL
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
November 03, 2012 03:46PM
Hi, yesterday i used this kernel and the newest uBoot to let my brand new goflex net boot into debian wheezy using a deagate SATA 1TB disk! It works like a charm, so davygravy keep up the good work! This evening I was going to enable nfs-kernel-server to let the GoFlexnet act as a file server. But as the config file states: CONFIG_NFSD=m I would also like to have the modules as Benjamin states ....

Or is it a possibility that i can compile my own modules from source if no modules can be provided? Am i going to have an issue since i do not exactly know what patches are applied for the GoFlex Net, anyway .... thnx in advance!

PogoPlug e02 specs



Edited 1 time(s). Last edit at 11/03/2012 03:53PM by WzL.
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
November 03, 2012 07:15PM
Hi davygravy,

I have your 3.3.2 kernel on one of mine dockstars:
root@MERCURY:~# uname -a
Linux MERCURY 3.3.2-kirkwood-dg #1 Mon Apr 23 17:09:27 CDT 2012 armv5tel GNU/Linux
and after installing wifi dongle (Realtek TL-WLN725N, chip RTL8192CU) and running:
ifup wlan0

I got following messages in the syslog:
Nov  3 19:59:01 MERCURY kernel: [12418.266333] ------------[ cut here ]------------
Nov  3 19:59:01 MERCURY kernel: [12418.270980] kernel BUG at /home/davygravy/NSA320kernel/linux-3.3.2/arch/arm/include/asm/dma-mapping.h:321!
Nov  3 19:59:01 MERCURY kernel: [12418.285139] Modules linked in: arc4 rtl8192cu rtl8192c_common rtlwifi mac80211 cfg80211 rfkill snd_usb_audio evdev snd_pcm snd_timer snd_page_alloc snd_hwdep snd_usbmidi_lib snd_rawmidi usbhid hid power_supply snd_seq_device snd soundcore des_generic ecb md4 nls_utf8 cifs fscache ipv6 hmac sha1_generic mv_cesa aes_generic ext2 mbcache sd_mod crc_t10dif usb_storage uas scsi_mod ehci_hcd usbcore usb_common mv643xx_eth libphy inet_lro
Nov  3 19:59:01 MERCURY kernel: [12418.323919] CPU: 0    Not tainted  (3.3.2-kirkwood-dg #1)
Nov  3 19:59:01 MERCURY kernel: [12418.329417] PC is at usb_hcd_map_urb_for_dma+0x22c/0x344 [usbcore]
Nov  3 19:59:01 MERCURY kernel: [12418.335632] LR is at 0x40000013
Nov  3 19:59:01 MERCURY kernel: [12418.338788] pc : [<bf023330>]    lr : [<40000013>]    psr: 20000013
Nov  3 19:59:01 MERCURY kernel: [12418.338794] sp : c6545c98  ip : 00000000  fp : 80000800
Nov  3 19:59:01 MERCURY kernel: [12418.350330] r10: ffdf0000  r9 : 00000010  r8 : 00f5a000
Nov  3 19:59:01 MERCURY kernel: [12418.355580] r7 : 00000000  r6 : c0497550  r5 : c67f1400  r4 : c646f7e0
Nov  3 19:59:01 MERCURY kernel: [12418.362138] r3 : 00000001  r2 : 000000ea  r1 : c8000000  r0 : 00000000
Nov  3 19:59:01 MERCURY kernel: [12418.368695] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Nov  3 19:59:01 MERCURY kernel: [12418.375862] Control: 0005397f  Table: 0064c000  DAC: 00000015
Nov  3 19:59:01 MERCURY kernel: [12418.622552] [<bf023330>] (usb_hcd_map_urb_for_dma+0x22c/0x344 [usbcore]) from [<bf023994>] (usb_hcd_submit_urb+0x54c/0x684 [usbcore])
Nov  3 19:59:01 MERCURY kernel: [12418.634684] [<bf023994>] (usb_hcd_submit_urb+0x54c/0x684 [usbcore]) from [<bf025438>] (usb_start_wait_urb+0x40/0xb0 [usbcore])
Nov  3 19:59:01 MERCURY kernel: [12418.646212] [<bf025438>] (usb_start_wait_urb+0x40/0xb0 [usbcore]) from [<bf025658>] (usb_control_msg+0xb8/0xd8 [usbcore])
Nov  3 19:59:01 MERCURY kernel: [12418.657312] [<bf025658>] (usb_control_msg+0xb8/0xd8 [usbcore]) from [<bf326d50>] (_usb_writeN_sync+0x80/0x9c [rtlwifi])
Nov  3 19:59:01 MERCURY kernel: [12418.668207] [<bf326d50>] (_usb_writeN_sync+0x80/0x9c [rtlwifi]) from [<bf33cc18>] (_rtl92c_fw_block_write+0x64/0x134 [rtl8192c_common])
Nov  3 19:59:01 MERCURY kernel: [12418.680461] [<bf33cc18>] (_rtl92c_fw_block_write+0x64/0x134 [rtl8192c_common]) from [<bf33e0c8>] (rtl92c_download_fw+0x22c/0x614 [rtl8192c_common])
Nov  3 19:59:01 MERCURY kernel: [12418.693778] [<bf33e0c8>] (rtl92c_download_fw+0x22c/0x614 [rtl8192c_common]) from [<bf351164>] (rtl92cu_hw_init+0xbd8/0x14f0 [rtl8192cu])
Nov  3 19:59:01 MERCURY kernel: [12418.706148] [<bf351164>] (rtl92cu_hw_init+0xbd8/0x14f0 [rtl8192cu]) from [<bf326ed8>] (rtl_usb_start+0x20/0x1f4 [rtlwifi])
Nov  3 19:59:01 MERCURY kernel: [12418.717290] [<bf326ed8>] (rtl_usb_start+0x20/0x1f4 [rtlwifi]) from [<bf31fcc4>] (rtl_op_start+0x50/0x74 [rtlwifi])
Nov  3 19:59:01 MERCURY kernel: [12418.727847] [<bf31fcc4>] (rtl_op_start+0x50/0x74 [rtlwifi]) from [<bf2be2e0>] (ieee80211_do_open+0x154/0x9a4 [mac80211])
Nov  3 19:59:01 MERCURY kernel: [12418.738865] [<bf2be2e0>] (ieee80211_do_open+0x154/0x9a4 [mac80211]) from [<c0240ecc>] (__dev_open+0xa0/0x100)
Nov  3 19:59:01 MERCURY kernel: [12418.748838] [<c0240ecc>] (__dev_open+0xa0/0x100) from [<c02410f0>] (__dev_change_flags+0x8c/0x120)
Nov  3 19:59:01 MERCURY kernel: [12418.757843] [<c02410f0>] (__dev_change_flags+0x8c/0x120) from [<c02411f0>] (dev_change_flags+0x10/0x44)
Nov  3 19:59:01 MERCURY kernel: [12418.767287] [<c02411f0>] (dev_change_flags+0x10/0x44) from [<c029145c>] (devinet_ioctl+0x2b0/0x674)
Nov  3 19:59:01 MERCURY kernel: [12418.776381] [<c029145c>] (devinet_ioctl+0x2b0/0x674) from [<c022d000>] (sock_ioctl+0x1f4/0x24c)
Nov  3 19:59:01 MERCURY kernel: [12418.785129] [<c022d000>] (sock_ioctl+0x1f4/0x24c) from [<c00d3014>] (vfs_ioctl+0x24/0x40)
Nov  3 19:59:01 MERCURY kernel: [12418.793350] [<c00d3014>] (vfs_ioctl+0x24/0x40) from [<c00d39f4>] (do_vfs_ioctl+0x490/0x4e4)
Nov  3 19:59:01 MERCURY kernel: [12418.801745] [<c00d39f4>] (do_vfs_ioctl+0x490/0x4e4) from [<c00d3a94>] (sys_ioctl+0x4c/0x6c)
Nov  3 19:59:01 MERCURY kernel: [12418.810147] [<c00d3a94>] (sys_ioctl+0x4c/0x6c) from [<c000dd40>] (ret_fast_syscall+0x0/0x2c)
Nov  3 19:59:01 MERCURY kernel: [12418.824774] delay: estimated 0, actual 144
Nov  3 19:59:01 MERCURY kernel: [12418.828923] delay: estimated 528, actual 144
Nov  3 19:59:01 MERCURY kernel: [12418.833347] ---[ end trace ebe936de78fd6901 ]---


Any idea?

Thanks,
Roman
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
November 10, 2012 08:14AM
@Davygravy

First, thank you for new kernel ;)

Now, I use it on my Goflex Net but seems that heartbeat trigger is no more available for Leds control :(
Any chance to add it ?

Thanks.
Regards
HellG Wrote:
-------------------------------------------------------
> Hi davygravy,
> thanks for the kernel, it works great on my
> Dockstar@1.5GHz (overclocking info at
> http://gsg-elektronik.de/index.php?id=96). Could
> you please upload the kernel-headers somewhere? I
> am trying to compile some DVB applications and for
> that I need the header files. Thank you.
>
> Best regards,
> HellG

Same here, need to compile ath9k drivers, but kernel-headers needed... Where to grab them from?
WzL
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
November 21, 2012 08:52AM
I did compile the kernel myself using kernel source from kernel.org. Extract and compile using the following procudure. ALERT!! not included are the specific kernel patches so kernel wil probably not run on target but modules and headers are available:

apt-get install build-essential
cd /usr/src/
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.3.2.tar.bz2
tar -xjvf linux-3.3.2.tar.bz2
cd linux-3.3.2

Download config file from initial davygravy post and rename to .config.

wget http://dl.dropbox.com/u/28285248/config-3.3.2-kirkwood-dg-wide
cp config-3.3.2-kirkwood-dg-wide .config
make oldconfig
make uImage
make modules
make modules-install
cd /lib/modules/
ln -s 3.3.2 3.3.2-kirkwood-dg
depmod -a

PogoPlug e02 specs



Edited 4 time(s). Last edit at 11/21/2012 10:22AM by WzL.
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
January 06, 2013 06:07AM
Hey davygravy!

Thank you for your work! Some years ago I used a linkstation pro duo and benefit from your great work - now I "meet" you again and can benefit again from your great work!

Thank you! ;-)

Now, my "problem" (i'm not sure it's right here):
I "pimped" my pogoplug pinkg (E02) with debian and used the first time the debian stock kernel. Because of many errors (failure reports if i call dmesg) i decide to upgrade to your 3.3.2 kernel. So far no problems - boot and work.
But now I see again the same errors:
[54731.032108] swapper: page allocation failure: order:1, mode:0x20
[54731.038167] [<c0013658>] (unwind_backtrace+0x0/0xe0) from [<c009082c>] (warn_alloc_failed+0xf0/0x11c)
[54731.047438] [<c009082c>] (warn_alloc_failed+0xf0/0x11c) from [<c0092c1c>] (__alloc_pages_nodemask+0x670/0x740)
[54731.057496] [<c0092c1c>] (__alloc_pages_nodemask+0x670/0x740) from [<c02c64d4>] (cache_alloc_refill+0x240/0x4fc)
[54731.067732] [<c02c64d4>] (cache_alloc_refill+0x240/0x4fc) from [<c00bc344>] (__kmalloc_track_caller+0xb0/0x158)
[54731.077879] [<c00bc344>] (__kmalloc_track_caller+0xb0/0x158) from [<c0235400>] (__alloc_skb+0x50/0xf0)
[54731.087233] [<c0235400>] (__alloc_skb+0x50/0xf0) from [<c02354b8>] (dev_alloc_skb+0x18/0x3c)
[54731.095743] [<c02354b8>] (dev_alloc_skb+0x18/0x3c) from [<bf020cfc>] (rxq_refill+0x68/0x1e4 [mv643xx_eth])
[54731.105471] [<bf020cfc>] (rxq_refill+0x68/0x1e4 [mv643xx_eth]) from [<bf02149c>] (mv643xx_eth_poll+0x580/0x60c [mv643xx_eth])
[54731.116856] [<bf02149c>] (mv643xx_eth_poll+0x580/0x60c [mv643xx_eth]) from [<c023f920>] (net_rx_action+0x7c/0x22c)
[54731.127265] [<c023f920>] (net_rx_action+0x7c/0x22c) from [<c0020f64>] (__do_softirq+0xc4/0x1b0)
[54731.136014] [<c0020f64>] (__do_softirq+0xc4/0x1b0) from [<c00213a8>] (irq_exit+0x40/0x8c)
[54731.144241] [<c00213a8>] (irq_exit+0x40/0x8c) from [<c000ec38>] (handle_IRQ+0x64/0x84)
[54731.152198] [<c000ec38>] (handle_IRQ+0x64/0x84) from [<c000d974>] (__irq_svc+0x34/0x80)
[54731.160252] [<c000d974>] (__irq_svc+0x34/0x80) from [<c0017c74>] (kirkwood_enter_idle+0x5c/0x90)
[54731.169097] [<c0017c74>] (kirkwood_enter_idle+0x5c/0x90) from [<c022a6e4>] (cpuidle_idle_call+0x134/0x258)
[54731.178805] [<c022a6e4>] (cpuidle_idle_call+0x134/0x258) from [<c000eeec>] (cpu_idle+0x4c/0xb8)
[54731.187550] [<c000eeec>] (cpu_idle+0x4c/0xb8) from [<c03e1728>] (start_kernel+0x2b8/0x310)
[54731.195848] Mem-info:
[54731.198126] Normal per-cpu:
[54731.200926] CPU    0: hi:   90, btch:  15 usd:  12
[54731.205750] active_anon:911 inactive_anon:1727 isolated_anon:0
[54731.205755]  active_file:11327 inactive_file:36326 isolated_file:0
[54731.205761]  unevictable:0 dirty:69 writeback:0 unstable:0
[54731.205766]  free:662 slab_reclaimable:10932 slab_unreclaimable:908
[54731.205772]  mapped:1379 shmem:9 pagetables:109 bounce:0
[54731.234960] Normal free:2648kB min:2036kB low:2544kB high:3052kB active_anon:3644kB inactive_anon:6908kB active_file:45308kB inactive_file:145304kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:260096kB mlocked:0kB dirty:276kB writeback:0kB mapped:5516kB shmem:36kB slab_reclaimable:43728kB slab_unreclaimable:3632kB kernel_stack:408kB pagetables:436kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no                                                                                         
[54731.274503] lowmem_reserve[]: 0 0                                                                                                                                                
[54731.277852] Normal: 662*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2648kB                                                               
[54731.288342] 47670 total pagecache pages                                                                                                                                          
[54731.292188] 0 pages in swap cache                                                                                                                                                
[54731.295512] Swap cache stats: add 0, delete 0, find 0/0                                                                                                                          
[54731.300759] Free swap  = 257036kB                                                                                                                                                
[54731.304082] Total swap = 257036kB                                                                                                                                                
[54731.314362] 65536 pages of RAM                                                                                                                                                   
[54731.317423] 785 free pages                                                                                                                                                       
[54731.320135] 1854 reserved pages                                                                                                                                                  
[54731.323283] 11840 slab pages                                                                                                                                                     
[54731.326169] 46444 pages shared                                                                                                                                                   
[54731.329230] 0 pages swap cached                                                                                                                                                  
[54761.021543] swapper: page allocation failure: order:1, mode:0x20                                                                                                                 
[54761.027608] [<c0013658>] (unwind_backtrace+0x0/0xe0) from [<c009082c>] (warn_alloc_failed+0xf0/0x11c)                                                                            
[54761.036879] [<c009082c>] (warn_alloc_failed+0xf0/0x11c) from [<c0092c1c>] (__alloc_pages_nodemask+0x670/0x740)                                                                   
[54761.046938] [<c0092c1c>] (__alloc_pages_nodemask+0x670/0x740) from [<c02c64d4>] (cache_alloc_refill+0x240/0x4fc)                                                                 
[54761.057174] [<c02c64d4>] (cache_alloc_refill+0x240/0x4fc) from [<c00bc344>] (__kmalloc_track_caller+0xb0/0x158)                                                                  
[54761.067319] [<c00bc344>] (__kmalloc_track_caller+0xb0/0x158) from [<c0235400>] (__alloc_skb+0x50/0xf0)                                                                           
[54761.076673] [<c0235400>] (__alloc_skb+0x50/0xf0) from [<c02354b8>] (dev_alloc_skb+0x18/0x3c)                                                                                     
[54761.085183] [<c02354b8>] (dev_alloc_skb+0x18/0x3c) from [<bf020cfc>] (rxq_refill+0x68/0x1e4 [mv643xx_eth])                                                                       
[54761.094911] [<bf020cfc>] (rxq_refill+0x68/0x1e4 [mv643xx_eth]) from [<bf02149c>] (mv643xx_eth_poll+0x580/0x60c [mv643xx_eth])                                                    
[54761.106296] [<bf02149c>] (mv643xx_eth_poll+0x580/0x60c [mv643xx_eth]) from [<c023f920>] (net_rx_action+0x7c/0x22c)                                                               
[54761.116706] [<c023f920>] (net_rx_action+0x7c/0x22c) from [<c0020f64>] (__do_softirq+0xc4/0x1b0)                                                                                  
[54761.125455] [<c0020f64>] (__do_softirq+0xc4/0x1b0) from [<c00213a8>] (irq_exit+0x40/0x8c)
[54761.133682] [<c00213a8>] (irq_exit+0x40/0x8c) from [<c000ec38>] (handle_IRQ+0x64/0x84)
[54761.141638] [<c000ec38>] (handle_IRQ+0x64/0x84) from [<c000d974>] (__irq_svc+0x34/0x80)
[54761.149693] [<c000d974>] (__irq_svc+0x34/0x80) from [<c0017c74>] (kirkwood_enter_idle+0x5c/0x90)
[54761.158538] [<c0017c74>] (kirkwood_enter_idle+0x5c/0x90) from [<c022a6e4>] (cpuidle_idle_call+0x134/0x258)
[54761.168247] [<c022a6e4>] (cpuidle_idle_call+0x134/0x258) from [<c000eeec>] (cpu_idle+0x4c/0xb8)
[54761.176990] [<c000eeec>] (cpu_idle+0x4c/0xb8) from [<c03e1728>] (start_kernel+0x2b8/0x310)
[54761.185289] Mem-info:
[54761.187566] Normal per-cpu:
[54761.190366] CPU    0: hi:   90, btch:  15 usd:  86
[54761.195190] active_anon:911 inactive_anon:1727 isolated_anon:0
[54761.195195]  active_file:11329 inactive_file:36206 isolated_file:0
[54761.195201]  unevictable:0 dirty:922 writeback:0 unstable:0
[54761.195207]  free:737 slab_reclaimable:10909 slab_unreclaimable:900
[54761.195212]  mapped:1379 shmem:9 pagetables:109 bounce:0
[54761.224488] Normal free:2948kB min:2036kB low:2544kB high:3052kB active_anon:3644kB inactive_anon:6908kB active_file:45316kB inactive_file:144824kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:260096kB mlocked:0kB dirty:3688kB writeback:0kB mapped:5516kB shmem:36kB slab_reclaimable:43636kB slab_unreclaimable:3600kB kernel_stack:408kB pagetables:436kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[54761.264118] lowmem_reserve[]: 0 0
[54761.267466] Normal: 737*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2948kB
[54761.277956] 47552 total pagecache pages
[54761.281802] 0 pages in swap cache
[54761.285126] Swap cache stats: add 0, delete 0, find 0/0
[54761.290374] Free swap  = 257036kB
[54761.293696] Total swap = 257036kB
[54761.303986] 65536 pages of RAM
[54761.307047] 934 free pages
[54761.309759] 1854 reserved pages
[54761.312906] 11809 slab pages
[54761.315792] 46331 pages shared
[54761.318854] 0 pages swap cached
My first idea was, that's something wrong with the swap partition. So I unmounted it with swapoff, recreate the swap with mkswap and mount it again with swapon. The errors you see are the result of 24 hours after I'd done this.

Any idea what could be wrong here? I can't find any hint with google.

Maybe as background: Since 3 days i sync with rsync my data over internet with another server. Could the continuous transfer maybe the problem? The affacted parts in the backtrace could be a indicator.

Loaded modules:
Module                  Size  Used by
ipv6                  262516  14 
ext4                  372953  1 
jbd2                   63214  1 ext4
hmac                    2444  0 
sha1_generic            1744  0 
mv_cesa                 9336  0 
aes_generic            27593  1 mv_cesa
ext2                   55275  1 
mbcache                 4471  2 ext4,ext2
sd_mod                 31158  4 
crc_t10dif              1110  1 sd_mod
usb_storage            35045  3 
uas                     6506  0 
scsi_mod              150263  3 sd_mod,usb_storage,uas
ehci_hcd               36694  0 
usbcore               122921  4 usb_storage,uas,ehci_hcd
mvsdio                  5138  0 
usb_common               648  1 usbcore
mmc_core               78808  1 mvsdio
mv643xx_eth            23215  0 
libphy                 14410  1 mv643xx_eth
inet_lro                4266  1 mv643xx_eth
configfs               20031  0

The arcNumber is hasn't changed since flashing new uboot. But so far I understand, it is only related for led stuff, or?
arcNumber=2097
Kernel:
3.3.2-kirkwood-dg #1 Mon Apr 23 17:09:27 CDT 2012

Best regards
p7



Edited 2 time(s). Last edit at 01/06/2013 06:11AM by prodigy7.
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
January 22, 2013 08:32AM
Hi,

I've just updated to new uboot on my goflex home by following the manual direction given by vlad
my uboot envirroment was reseted at default

before upgrade i was using a custom kernel 2.6.38 with several modules and iscsi

so first i put by fw_setenv some vars in order boot for ide /dev/sda1

but i cannot from:
my custom kernel 2.6.38, it freeze just after 'starting kernel'
kernel 3.3 installed from this thread
in this case i do a 'kernel panic unable to mount root'
the only solution i found to boot is to use a kernel (with no initrd) from archlinux (3.1)

So is there anyone that have boot a goflex home with linux installed like this: ?
part 1 for /
part 2 for swap
part 3 for data

And could i have a 'fw_printenv' from this working goflex home ?

Where can i find the old bootloader, in order to have my original kernel and system working ?
(i havent make a copy of my original uboot because i made i manually from vlad thread)

Last question could anyone explain me the <> between uboot and ubit ?
I have not found a simple explication from the forum

Thanks a lot
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
January 22, 2013 10:26AM
Hi pemmafr,

first of all: what kind of HDD do you have? Like myself, you might have a problem with the MBR if the drive has 3TB. If so, try to start from this post.

My own uBoot-environment might not help you, because I am using a separate boot partition, but if you want to know, you can also find my environment in the GFH 3TB post I linked above (and the necessary changes should be pretty obvious to make it work with a standard root/boot partition).

Good luck,

chessplayer

---
Standart ist der Standardfehler
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
January 23, 2013 07:22PM
Hi,

@chessplayer thanks for your response

I've found that my arcNumber was not to 3338 (goflex home)
so i modify it with my serial console and then i can boot my 'old custom' 2.6.38 kernel !
so the arcNumber play in my boot problem.

My drive is 1tb not 3tb

Then i tried to install from this thread (from davygravy ) "Linux 3.3.2 kernel for Dockstar, GoFlex and many others and it won't boot" on my goflex home

In your post you said you use the kernel in this thread http://forum.doozan.com/read.php?2,7806
so "Zyxel NSA320 : basic support for Debian installation"
not the one in this thread
Am i wright ?

I will retry to download the package of this thread and install it but i thinhk this kernel+initrd don't work for
goflex boot on sata (perhaps for usb)

@davygravy could you tell me if your kernel can boot on sata ?

Thanks for your help

I will make other tests (boot on usb key with this kernel+initrd)
and then try to make my own kernel (very interested by iscsi that works perfectly on my 2.6.38)

Thanks for your help
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
January 24, 2013 02:16AM
Hi pemmafr,

a) yes, you are right, I am using the kernel from the Zyxel et. post.

b) Yes, it can boot from SATA and you can have your pick as to whether you want SATA or USB to be tested for bootable images first. For this, you have to fiddle a bit with the uBoot environment and be absoultely sure to work with labelled partitions. If you are interested in what uBoot environment I use which works on both GoFlex flavours, have a look at my post in the thread about the 3TB GFH, where all my environment variables are printed.

Seemingly, it not only works for me but also for another poster, whom I have been in private contact with.

Good luck!

Chessplayer

---
Standart ist der Standardfehler
shv
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
March 03, 2013 02:36AM
The 3.3.2 kernel which is linked in the first post doesn't contain support for Pogoplug devices (arcNumber 3542). But the rescue system contains a 3.3.2 kernel with support for pogoplug devices. Is a 3.3.2 kernel with support for Pogoplug devices (arcNumbers 3542 and 3960) available for download?
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
March 03, 2013 10:37AM
shv Wrote:
-------------------------------------------------------
> The 3.3.2 kernel which is linked in the first post
> doesn't contain support for Pogoplug devices
> (arcNumber 3542). But the rescue system contains a
> 3.3.2 kernel with support for pogoplug devices. Is
> a 3.3.2 kernel with support for Pogoplug devices
> (arcNumbers 3542 and 3960) available for download?

Shv, what do you mean by that? The only thing which is not supported (as far as I can tell) is the LED. Everything else is just fine. I can actually use the same USB-Stick for Dockstar, GoFlex Net, GoFlex Home and POGO-E02 (don't know about V4 series, as I don't (yet ...) have one of those).

---
Standart ist der Standardfehler
shv
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
March 03, 2013 01:14PM
I tried the kernel on Pogoplug E02 with arcNumber set to 3542 which was done by the script dockstar.debian-squeeze.sh or kirkwood.debian-wheezy.sh. It seams that this arcNumber ist not supported with this kernel and the boot procedure is stopped. It only works if I set the arcNumber to 2097.

But I am wondering that the rescue system contains a 3.3.2 kernel with support for the arcNumber 3542. I don't know why there is a difference even the kernel version is the same.

@chessplayer: Did you set the arcNumber to 2097 or 3542 or something else?



Edited 2 time(s). Last edit at 03/03/2013 01:18PM by shv.
Re: Linux 3.3.2 kernel for Dockstar, GoFlex and many others
March 03, 2013 04:33PM
shv Wrote:
-------------------------------------------------------
>
> @chessplayer: Did you set the arcNumber to 2097 or
> 3542 or something else?

I just booted it up to check (currently, I am collecting and I hope to put all these to use at some point ...): arcNumber is 3542. I am using a separate boot partition. As I said, LED support is sub-optimal: during boot, nothing at all happens and when the POGO is up, the LED is solid orange. But I can live with that, to tell you the truth.

As you know, you can also contact me in our mother tongue via your own forum. I can send you a tarball of the stick I made, if you want.

---
Standart ist der Standardfehler
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: