Welcome! Log In Create A New Profile

Advanced

Linux Kernel 5.14.9 Kirkwood package and Debian rootfs

Posted by bodhi 
Hi,
thanks for your fast reply.
Here is my dmesg from my Pogoplug V1:

dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.3.2-kirkwood-dg (davygravy@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Mon Apr 23 17:09:27 CDT 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c043cd24, node_mem_map c04a4000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] allocated 262144 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 117152k/117152k available, 13920k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03e07fc   (3938 kB)
[    0.000000]       .init : 0xc03e1000 - 0xc0404000   ( 140 kB)
[    0.000000]       .data : 0xc0404000 - 0xc043f1a0   ( 237 kB)
[    0.000000]        .bss : 0xc043f1c4 - 0xc04a3228   ( 401 kB)
[    0.000000] NR_IRQS:114
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    5.905218] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    5.995105] pid_max: default: 32768 minimum: 301
[    5.995233] Security Framework initialized
[    5.995311] Mount-cache hash table entries: 512
[    5.995660] Initializing cgroup subsys cpuacct
[    5.995676] Initializing cgroup subsys memory
[    5.995712] Initializing cgroup subsys devices
[    5.995725] Initializing cgroup subsys freezer
[    5.995734] Initializing cgroup subsys net_cls
[    5.995743] Initializing cgroup subsys blkio
[    5.995768] Initializing cgroup subsys perf_event
[    5.995857] CPU: Testing write buffer coherency: ok
[    5.996137] Setting up static identity map for 0x2c9590 - 0x2c95cc
[    5.997267] devtmpfs: initialized
[    5.999054] print_constraints: dummy:
[    5.999304] NET: Registered protocol family 16
[    5.999970] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    5.999985] Feroceon L2: Enabling L2
[    6.000021] Feroceon L2: Cache support initialised.
[    6.000550] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[    6.000572]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[    6.002543] bio: create slab <bio-0> at 0
[    6.002912] vgaarb: loaded
[    6.003397] Switching to clocksource orion_clocksource
[    6.017427] NET: Registered protocol family 2
[    6.017656] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    6.018333] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    6.018433] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    6.018492] TCP: Hash tables configured (established 4096 bind 4096)
[    6.018501] TCP reno registered
[    6.018511] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    6.018533] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    6.018751] NET: Registered protocol family 1
[    6.018784] PCI: CLS 0 bytes, default 32
[    6.018942] Unpacking initramfs...
[    6.645424] Freeing initrd memory: 7744K
[    6.645439] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.646129] audit: initializing netlink socket (disabled)
[    6.646172] type=2000 audit(0.730:1): initialized
[    6.647582] VFS: Disk quotas dquot_6.5.2
[    6.647682] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    6.647788] JFFS2 version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    6.648129] msgmni has been set to 243
[    6.649694] alg: No test for stdrng (krng)
[    6.649799] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    6.649813] io scheduler noop registered
[    6.649821] io scheduler deadline registered
[    6.649872] io scheduler cfq registered (default)
[    6.649956] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    6.649991] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    6.683468] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    6.723464] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    6.763463] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    6.803462] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    6.803823] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.824324] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    7.289370] console [ttyS0] enabled
[    7.293781] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
[    7.302266] Scanning device for bad blocks
[    7.353738] Bad eraseblock 637 at 0x000004fa0000
[    7.577526] Bad eraseblock 3589 at 0x00001c0a0000
[    7.619845] 4 cmdlinepart partitions found on MTD device orion_nand
[    7.626149] Creating 4 MTD partitions on "orion_nand":
[    7.631318] 0x000000000000-0x000000100000 : "u-boot"
[    7.637106] 0x000000100000-0x000000500000 : "uImage"
[    7.642862] 0x000000500000-0x000002500000 : "rootfs"
[    7.648667] 0x000002500000-0x000020000000 : "data"
[    7.655319] mousedev: PS/2 mouse device common for all mice
[    7.661301] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[    7.667250] i2c /dev entries driver
[    7.670875] cpuidle: using governor ladder
[    7.675076] cpuidle: using governor menu
[    7.679155] Registered led device: dockstar:green:health
[    7.679252] Registered led device: dockstar:orange:misc
[    7.680139] TCP cubic registered
[    7.683387] NET: Registered protocol family 17
[    7.687881] Registering the dns_resolver key type
[    7.692631] Gating clock of unused units
[    7.692640] before: 0x00dfc3fd
[    7.692647]  after: 0x00c701c9
[    7.693058] registered taskstats version 1
[    7.697641] rtc-mv rtc-mv: setting system clock to 2001-09-16 23:12:16 UTC (1000681936)
[    7.705739] Initializing network drop monitor service
[    7.711396] Freeing init memory: 140K
[    7.793784] udev[47]: starting version 164
[    7.851021] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.947429] usbcore: registered new interface driver usbfs
[    7.953024] usbcore: registered new interface driver hub
[    7.985474] mv643xx_eth smi: probed
[    8.017150] usbcore: registered new device driver usb
[    8.030166] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.038548] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address ##
[    8.047724] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    8.053035] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    8.093474] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    8.113438] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    8.119464] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    8.126301] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.133567] usb usb1: Product: Marvell Orion EHCI
[    8.138298] usb usb1: Manufacturer: Linux 3.3.2-kirkwood-dg ehci_hcd
[    8.144693] usb usb1: SerialNumber: orion-ehci.0
[    8.150611] hub 1-0:1.0: USB hub found
[    8.154414] hub 1-0:1.0: 1 port detected
[    8.473445] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.624261] usb 1-1: New USB device found, idVendor=0781, idProduct=5571
[    8.630999] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.638177] usb 1-1: Product: Cruzer Fit
[    8.642115] usb 1-1: Manufacturer: SanDisk
[    8.646245] usb 1-1: SerialNumber: ###
[    8.673127] SCSI subsystem initialized
[    8.679601] usbcore: registered new interface driver uas
[    8.689514] Initializing USB Mass Storage driver...
[    8.694731] scsi0 : usb-storage 1-1:1.0
[    8.699942] usbcore: registered new interface driver usb-storage
[    8.706006] USB Mass Storage support registered.
[    9.694355] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.26 PQ: 0 ANSI: 5
[    9.715941] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    9.725291] sd 0:0:0:0: [sda] Write Protect is off
[    9.730104] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    9.730784] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.747417]  sda: sda1 sda2
[    9.753661] sd 0:0:0:0: [sda] Attached SCSI removable disk



Edited 1 time(s). Last edit at 05/23/2014 04:28PM by theliquid.
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
May 23, 2014 04:38PM
theliquid,

Yes, it should work fine. Your arcNumber is 2998 which is the Dockstar's. And that what's Jeff's script set to during installation. But as always, pls backup your kernel files or the rootfs before installing the kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner
Ok, thank you.
I'll try it tomorrow. I need to be more careful with this device, because it is very important in my LAN. I'll report back if it worked then.



Edited 1 time(s). Last edit at 05/24/2014 01:08PM by theliquid.
[...]

Nvm, I started with flashing the kernel and it works like a charm.
Linux 3.14.0-kirkwood-tld-2 #1 PREEMPT Sat Apr 19 02:02:09 PDT 2014 armv5tel GNU/Linux



Edited 3 time(s). Last edit at 05/25/2014 06:15AM by theliquid.
Hello,

i have the NSA325 and with your help i can run debian on it. Nice work. But i miss the acpi-featured, because i want to use pm-suspend. It is possible that the current kernel doesn't support it?
What i have todo to get acpi working?

gabor
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
May 25, 2014 04:06PM
gabor ,

Yes. That was intentional. I did not include the PM option because most people running these plugs as NAS (where only the HDD sleeps), and some running RAIDs (where PM would potentially causes big problem).

I'm not sure how many modules you will need to do this. But you could try to compile them using the kernel headers.

I would compile new kernel to include this feature, if I can figure out how not to include pm directly in the kernel, so that it will not be activated automatically. Can you research this info?

-bodhi
===========================
Forum Wiki
bodhi's corner
Hello Bodhi,

thanks for your answer. I would try to compile the kernel for myself, but this would be the first time for me. I think i will need some help. Did i need some patches?
Can i clone the config from the current kernel?
Did i have to write a new uboot?
Can you gibe me an short summary, what i need to do.

thanks a lot

gabor
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
May 26, 2014 02:13PM
gabor Wrote:
-------------------------------------------------------

> Can i clone the config from the current kernel?
> Did i have to write a new uboot?

I'll try to summarize how I do it

0. Ensure you have a cross-compiling system (I use CodeSourcery, but any will do)
1. Download and extract kernel sources (3.14.3 works fine)
2. download Bodhi's patches (http://forum.doozan.com/read.php?2,12096)
3. apply patches (inside kernel tree: patch -p1 < path-to/linux-3.14.0-tld-2-kirkwood.patch )
4. patch should already contain a working .config, but in case you can use config-3.14-kirkwood-tld-2
5. make menuconfig - ensure CONFIG_MACH_NSA325=y (IIRC it wasn't, but I could be wrong!)
6. make -j8 uImage (adjust 8 to number of cpu/cores you have on building machine)
7. copy resulting uImage (arch/arm/boot/uImage in kernel tree) to your boot partition (usb ?)
8. adjust u-boot (stock works) bootargs if needed.

HTH!

--
DavideDG
My NAS userspace configs
My Zyxel NSA325 mod
My D-Link DNS325 mod
My Lacie NS2MAX mod



Edited 1 time(s). Last edit at 05/26/2014 05:44PM by davidedg.
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
May 26, 2014 07:35PM
FYI

I've removed kernel linux-3.14.0-kirkwood-tld-2 temporarily. If you have the NSAxxx then please use kernel linux-3.14.0-kirkwood-tld-1. If you're running kernel linux-3.14.0-kirkwood-tld-2 on other boxes then there is no need to downgrade.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 05/29/2014 03:28PM by bodhi.
Hello bodhi,

each kernel i have tried to compile, i get the same error message:

arch/arm/mach-kirkwood/built-in.o: In function `kirkwood_init':
netgear_ms2110-setup.c:(.init.text+0x9b4): undefined reference to `kirkwood_pm_init'
make: *** [vmlinux] Error 1
make: Target `uImage' not remade because of errors.

did you have an idea wahts wrong here?
How can I solve this compile-error?

thanks gabor
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
May 29, 2014 01:57PM
gabor,

add CONFIG_PM
obj-$(CONFIG_PM)    += pm.o
to
/usr/src/linux-3.14/arch/arm/mach-kirkwood/Makefile

Then do make oldconfig to select it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Hi Bodhi.

I would thanks for Your continuous work for GoFlex Net ! :)

May I use your Debian zip for an open-source project?
This project is a voip Asterisk (kind of soft PBX)

It would be used as a chroot Debian base.

Your image fresh and size is small. Would be excellent as Debian base for us.

Regards, Robert
robert1968 Wrote:
-------------------------------------------------------
> Hi Bodhi.
>
> I would thanks for Your continuous work for GoFlex
> Net ! :)
>
> May I use your Debian zip for an open-source
> project?
> This project is a voip Asterisk (kind of soft PBX)
>
>
> It would be used as a chroot Debian base.
>
> Your image fresh and size is small. Would be
> excellent as Debian base for us.
>
> Regards, Robert

I would be interested in this project as well for my NSA325.If Bodhi doesnt mind you using his debian build as a base. :)

~SOL
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 02, 2014 11:44PM
Hi Robert,

> May I use your Debian zip for an open-source
> project?
> This project is a voip Asterisk (kind of soft PBX)
>
>

By all means! please use it as you wish :) If you need any help regarding updating the rootfs to newer version or something like that, pls let me know.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/02/2014 11:45PM by bodhi.
Thank you very much Bodhi.

Youre so great. :)

Regards,
Robert
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 07, 2014 07:38AM
robert1968 Wrote:
-------------------------------------------------------
> Thank you very much Bodhi.
>
> Youre so great. :)
>
> Regards,
> Robert

Hi Robert,

Please do come back and post the link to your Asterisk project. I am sure lot of people are interested in it!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 11, 2014 03:14PM
Hi Bodhi,
you work is really great. I want to extend the functionality of the rtc within the nsa325 in order to enable wake up alarm of the rtc.
But i'mfailing to install the compiled kernel module with the dmesg "rtc_pcf8563: disagrees about version of symbol module_layout".
I installed the kernel "Linux version 3.14.0-kirkwood-tld-1". How can i rebuild the kernel ?. Where are the sources?.
Could you please provide a step by step instruction. I read already kernel-mach.txt and kernel-dt.txt - but i failed.
Thanks
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 11, 2014 11:48PM
Stefnas,

The tarball has everything you need. Get the source from kernel.org, apply the patch. Or you can use the headers to compile new module.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 13, 2014 03:10PM
Thanks bodhi,
I succeeded to compile and to bootthe kernel (with 3.14.5).
The original uInitrd (from your tarbal 3.14.0 succeed to load but it fails to load the rootfs on the same usb-stick. With the 3.14.0-kirkwood-tld-1 kernel it succeeded).
I made also a new uInitrd file with the modules from the compiled 3.14.5 kernel but loading always fails with
## Booting image at 02000000 ...
Bad Magic Number

I tried a lof things ..... but finally i do not how to go on.....
I attached the modified script to make the uInitrd....
Attachments:
open | download - initramfs.txt.sh (3.6 KB)
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 13, 2014 05:53PM
Stefnas Wrote:
-------------------------------------------------------
> Thanks bodhi,
> I succeeded to compile and to bootthe kernel (with
> 3.14.5).
> The original uInitrd (from your tarbal 3.14.0
> succeed to load but it fails to load the rootfs on
> the same usb-stick. With the 3.14.0-kirkwood-tld-1
> kernel it succeeded).
> I made also a new uInitrd file with the modules
> from the compiled 3.14.5 kernel but loading always
> fails with
> ## Booting image at 02000000 ...
> Bad Magic Number

> I tried a lof things ..... but finally i do not
> how to go on.....
> I attached the modified script to make the
> uInitrd....

Stef, I think you're doing some confusion. You're trying to mix initramfs from my guide with initrd from bodhi's ?
I suggest you just take kernel sources from kernel.org, apply Bodhi's patch and then use his .config as a start.
From there, use make menuconfig and insert all the modules you need, and compile the kernel.
Then you can use his initrd image and rootfs.

PS: my instructions are to build an initramfs, not an initrd.
About 1st problem: I tested Bodhi's kernel, initrd and rootfs and they do work on same usb key, maybe you're doing smth wrong with partitions?

Speaking about init images, did anyone tried to integrate better-initramfs from https://bitbucket.org/piotrkarbowski/better-initramfs ? I was tempted, but first tests with aboriginal cross compilers got me crazy :(

--
DavideDG
My NAS userspace configs
My Zyxel NSA325 mod
My D-Link DNS325 mod
My Lacie NS2MAX mod



Edited 1 time(s). Last edit at 06/13/2014 05:57PM by davidedg.
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 14, 2014 01:37PM
You are right, i synced tpo github nsa325-mod found a lot of hints and after build a 3.14.5 kernel with bodhi's patches und bodhi's initrd the system failed to mount the root fs and i got a prompt within the rd.I thought i had to rebuild uinitrd - but did not find any scripts or descriptions. Therfore i was happy to find initramfs....
With the original kernel and initrd and rootfs from bodhi' booting from usb (left port at the back) and anything else is o.k. just replacing the kernel with 3.4.15 and the patches fails to mount the root fs. What might go wrong? Could you give a hint.
Thanks for your patience.
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 15, 2014 10:40AM
Stefnas,

Try regenerating the /boot/initrd-xxx.img with update-initramfs -u command, and then generate new uInitrd with mkimage command. Watch serial console if you have one connected, for any abnormal activities during rootfs mounting.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 15, 2014 07:23PM
@ bodhi : I'm very grateful for your continuation and new efforts ... I'm going to install your Debian roots on my GoFlexHome so I can cobble together an OwnCloud server here at home. I'm in the process of selling our house and moving to Madison WI, but will report back on how it goes.

Again, thank you!

+++++++++++++++++

Followup: Chugging along nicely!

=====================================================



Edited 1 time(s). Last edit at 06/15/2014 10:48PM by davygravy.
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 16, 2014 12:51AM
@davygravy,

Good to see you stopping by! interesting to hear you're using OwnCloud, but not a customized setup with LAMP?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 17, 2014 02:50PM
NSA320, Linux mynas 3.13.1-kirkwood-tld-2 #1 PREEMPT Tue Feb 4 03:19:07 PST 2014 armv5tel GNU/Linux
Tuner: Bus 001 Device 014: ID 07ca:850a AVerMedia Technologies, Inc. AverTV Volar Black HD (A850)

I am not able to make my new USB tuner initialise properly, I have proper firmware files and on a standard ubuntu server with kernel 3.13 the tuner inits fine.
I wonder if it's a kernel issue:

Jun 17 21:40:55 mynas kernel: [11259.864488] usb 1-1.4: new high-speed USB device number 12 using orion-ehci
Jun 17 21:40:55 mynas kernel: [11259.978968] usb 1-1.4: New USB device found, idVendor=07ca, idProduct=3835
Jun 17 21:40:55 mynas kernel: [11259.987021] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 17 21:40:55 mynas kernel: [11259.995361] usb 1-1.4: Product: A835B
Jun 17 21:40:55 mynas kernel: [11259.999627] usb 1-1.4: Manufacturer: AVerMedia TECHNOLOGIES, Inc.
Jun 17 21:40:55 mynas kernel: [11260.006856] usb 1-1.4: SerialNumber: 306901200281
Jun 17 21:40:55 mynas kernel: [11260.019475] it913x: Chip Version=02 Chip Type=9135
Jun 17 21:40:55 mynas kernel: [11260.029960] it913x: Remote propriety (raw) modeit913x: Dual mode=0 Tuner Type=38
Jun 17 21:40:55 mynas kernel: [11260.041328] it913x: Unknown tuner ID applying default 0x60<6>[11260.049966] usb 1-1.4: dvb_usb_v2: found a 'Avermedia A835B(3835)' in cold state
Jun 17 21:40:55 mynas kernel: [11260.058860] usb 1-1.4: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
Jun 17 21:40:55 mynas kernel: [11260.068446] it913x: FRM Starting Firmware Download
Jun 17 21:40:55 mynas kernel: [11260.313454] it913x: FRM Firmware Download Completed - Resetting Deviceit913x: Chip Version=02 Chip Type=9135
Jun 17 21:40:55 mynas kernel: [11260.359460] it913x: Firmware Version 52887808<6>[11260.434614] usb 1-1.4: dvb_usb_v2: found a 'Avermedia A835B(3835)' in warm state
Jun 17 21:40:55 mynas kernel: [11260.446736] usb 1-1.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
Jun 17 21:40:55 mynas kernel: [11260.460084] dvb_usb_it913x: probe of 1-1.4:1.0 failed with error -12
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 18, 2014 04:14AM
gaogao,

Compare the output of
lsmod
lsusb
between 3.13.1-kirkwood-tld-2 and your current installtion.

-bodhi
===========================
Forum Wiki
bodhi's corner
bodhi Wrote:
-------------------------------------------------------
> This is my continuing effort to provide the latest
> Non-FDT kernel package for GoFlex Home/Net,
> Pogoplug E02/Mobile/V4, iConnect, Dockstar,
> Sheevaplug, NSA320, NSA325, Topkick, and other
> Kirkwood plugs that are already in the mainline.

> Latest kernel:
> linux-3.14.0-kirkwood-tld-1-bodhi.tar.bz2 (04
> April 2014)
> Latest rootfs:
> Debian-3.14.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
> (15 April 2014)
>
> Updated 29 May 2014:
>
> I've removed kernel linux-3.14.0-kirkwood-tld-2
> temporarily, to investigate possible
> missconfiguration regarding the NSAxxx boxes
> sensors. Since then it was tested to be working
> OK, if you're already running kernel
> linux-3.14.0-kirkwood-tld-2 there is no need to do
> anything.
>
> Updated 21 April 2014:
>
> Kernel linux-3.14.0-kirkwood-tld-2 package was
> uploaded. This is an update to kernel
> linux-3.14.0-kirkwood-tld-1:
> - Supports Netgear Stora (still under testing).
> Please post feedback if you try this kernel on the
> Stora.
> -
> [url=http://forum.doozan.com/read.php?2,12096,1587
> 4#msg-15874]pbg4's patch[/url] for
> dvb-usb-dw2102, tt-s2-4600 and some other dvb-usb
> S2 devices.
>
> Temporarily removed (see reason above).
>
> --------------------------------------------------
> -----
> [b]Updated 15 April 2014:[/b]
>
> Rootfs Debian-3.14.0-kirkwood-tld-1 was uploaded.
> This rootfs is to keep in sync with kernel
> Linux-3.14.0-kirkwood-tld-1 (and its new
> features).
[...]
> [b]Download at Dropbox:[/b]
> [url=https://bitly.com/1kOqoKw]Debian-3.14.0-kirkw
> ood-tld-1-rootfs-bodhi.tar.bz2[/url]

Thanks for your efforts, and also again for your help over on the Oxnas thread.

I understand the rootfs also already contains the kernel (which Arch's uboot loaded just fine).

The only minor hurdle was that the original CloudEngines system's wget can't handle https and hence Dropbox, so I populated the stick on another machine.

Some things I noticed that others might find useful to read at some point.

While updating, the package manager repeatedly reports:
[code]perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_ADDRESS = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LANG = "C"
are supported and installed on your system.[/code]

For setting the time zone, not sure if there was supposed to be an easier way than
echo "Europe/Berlin" >/etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata
...and where the time server (NTP host) is to be configured (to be updated frequently as there's no hwclock on these systems, or is it?).

The syslog no longer goes into a file (e.g. messages) in /var/log but can be made visible by invoking logread.

Apparently there is no ~/.bash_history anymore either.

Also, the following package does not seem to be there by default: apt-get install less

Does /etc/crontab (there's none by default) require special permissions or additional services installed?
Can't seem to get anything executed from it even after chmod 755 like the daily etc. directories/scripts.

LIRC's irsend not working via mcusb (HP Media Center Transceiver) at first made me wonder if you have CONFIG_USB_EHCI_TT_NEWSCHED & CONFIG_USB_EHCI_ROOT_HUB enabled in this kernel as per cf. [url]http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/67492/focus=67616[/url]) - however transmitting fails silently only until the USB module is replugged from the front to the top rear port (and service lirc stopped and started again of course) - then it even seems to be more reliable than on my (also Debian) Dockstar that's just celebrated a year of uptime.
Re: Linux Kernel 3.14.0 Kirkwood & rootfs: After Arch...
June 18, 2014 01:08PM
TEN,

All these behavior you've observed were intentional! I've setup this Debian rootfs as a basic Debian system. The rest are up to users who must install needed packages as they wish. Just like the debootstrap system installed by Jeff's script, and a few more tools to make it a little more convenient, but not too many extras, so that experienced users have to uninstall them, and beginners will have a chance to learn how Linux works. So you might find certain USB devices modules will not be available. The kernel only includes commonly used devices.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/18/2014 01:09PM by bodhi.
Re: Linux Kernel 3.14.0 Kirkwood & rootfs: After Arch...
June 18, 2014 03:42PM
Hi,

@Gaogao

in your kernel log there is something like

it913x: Unknown tuner ID applying default 0x60<6>[11260.049966]

maybe the tuner of your dvb device is not identified correctly, and than
as a first guess the driver uses a default i2c adress e.g. 0x60, but can not get the tuner initialised???

and than the probing of the device fails, after the firmware is loaded,.. please have a look if
the frontend is attached, i.e. /dev/dvb/adapter0/frontend0 exists??

and: there are timing issues with arm devices booting and initialising usb devices, I have already seen
the same driver source code of a dvb-usb device working correctly on my iConnect and NSA320 say for e.g.
kernel 3.11 or 3.13 but with 3.14 only on the iConnect everything is working and the NSA320 has difficulties
to attach the frontend, than inserting some msleep commands in the driver source code can help to get the
register settings settle before the next i2c commands are issued by the driver,

best wishes pbg4



Edited 3 time(s). Last edit at 06/18/2014 03:47PM by pbg4.
Re: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree)
June 19, 2014 12:38AM
bodhi Wrote:
-------------------------------------------------------

> Compare the output of
>
> lsmod
> lsusb
>

here they are attached
Attachments:
open | download - nsa.txt (4.4 KB)
open | download - openelec.txt (4.4 KB)
Sorry, you can't reply to this topic. It has been closed.