Welcome! Log In Create A New Profile

Advanced

Linux Kernel 4.17.2 Kirkwood package and Debian rootfs

Posted by bodhi 
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
December 19, 2017 10:13PM
Olivier Wrote:
-------------------------------------------------------
> Hi.
> Can we get usbip support as a module for the next
> kernel release if it ever happens please?
> From the kernel config file, it is unset, meaning
> it is probably not available.
> I am too lazy to recompile on the dockstar
> itself.
>
> Thanks for the great work on the rootfs/kernel.
> Olivier.

Sure. I'll add it to the next release.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 08, 2018 10:19PM
Last post moved here:
https://forum.doozan.com/read.php?2,47309,47309#msg-47309

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 09, 2018 01:23AM
bodhi,

by extracting the file linux-4.14.1-kirkwood-tld-1-bodhi.tar.bz2 it does only contain the items below

root@image-pc:/media/sdb1# ls
config-4.14.1-kirkwood-tld-1
linux-4.14.1-kirkwood-tld-1-bodhi.tar.bz2
linux-4.14.1-kirkwood-tld-1.patch
linux-dtb-4.14.1-kirkwood-tld-1.tar
linux-headers-4.14.1-kirkwood-tld-1_1.0_armel.deb
linux-image-4.14.1-kirkwood-tld-1_1.0_armel.deb
lost+found
zImage-4.14.1-kirkwood-tld-1

your installation instructions states

3. Adjust fstab (optional).

Edit /media/sdb1/etc/fstab entry for root device

where is the rootfs?

by extracting the file linux-4.14.1-kirkwood-tld-1-bodhi.tar.bz2 there will be no root file system extracted, only the files above

thanks
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 09, 2018 01:48AM
lille Wrote:
-------------------------------------------------------
> bodhi,
>
> by extracting the file
> linux-4.14.1-kirkwood-tld-1-bodhi.tar.bz2 it does
> only contain the items below
>
>
> root@image-pc:/media/sdb1# ls
> config-4.14.1-kirkwood-tld-1
> linux-4.14.1-kirkwood-tld-1-bodhi.tar.bz2
> linux-4.14.1-kirkwood-tld-1.patch
> linux-dtb-4.14.1-kirkwood-tld-1.tar
> linux-headers-4.14.1-kirkwood-tld-1_1.0_armel.deb
> linux-image-4.14.1-kirkwood-tld-1_1.0_armel.deb
> lost+found
> zImage-4.14.1-kirkwood-tld-1
> 
>
>
> your installation instructions states
>
> 3. Adjust fstab (optional).
>
> Edit /media/sdb1/etc/fstab entry for root device
>
> where is the rootfs?
>
> by extracting the file
> linux-4.14.1-kirkwood-tld-1-bodhi.tar.bz2 there
> will be no root file system extracted, only the
> files above
>
> thanks

You’ve extracted the wrong tarball. This is the correct one:

Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (24 Jul 2017).

Scroll down to the section with date 24 Jul 2017.

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



Edited 1 time(s). Last edit at 01/09/2018 01:54AM by bodhi.
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 09, 2018 01:57AM
thank you, bodhi. sometimes I am just plain old stupid. ;)
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 14, 2018 04:01AM
Last post moved here:
https://forum.doozan.com/read.php?2,47824

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 18, 2018 03:40PM
Good that you updated the kernel, there was a bug in 4.11.1 (and previous ones probably) with raid, it makes the kernel crash. It is fixed in 4.11.2 (0c9d5b127f695818c2c5a3868c1f28ca2969e905), made my RAID crash but not any more after upgrade! Thanks!
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 19, 2018 02:53AM
Last post moved here:
https://forum.doozan.com/read.php?2,48114

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

I am trying to compile the cryptodev module for my pogoplug's kernel. However, it's complaining about a non-existing /lib/modules/4.12.1-kirkwood[...]/build directory. And idea where I can get it?
I already installed the kernel header .deb file, but there is no such directory. Is there a way to get this directory or do I have to build the whole kernel to get the build directory in order to compile that kernel module?
Re: Linux Kernel 4.14.1 Kirkwood package and Debian rootfs
January 24, 2018 10:57AM
Last post moved here:

Compile cryptodev module on Linux Kernel 4.14.1 Kirkwood

https://forum.doozan.com/read.php?2,48489

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



Edited 1 time(s). Last edit at 01/24/2018 11:00AM by bodhi.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
February 11, 2018 11:52PM
Kernel linux-4.15.2-kirkwood-tld-1 package has been uploaded. Please 1st post for download link.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
February 12, 2018 01:31PM
Hi bodhi,

thanks again for your awesome work.

This was the first time i got an error while excecuting
dpkg -i linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb

Selecting previously unselected package linux-image-4.15.2-kirkwood-tld-1.
(Reading database ... 39031 files and directories currently installed.)
Preparing to unpack linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb ...
Examining /etc/kernel/preinst.d/
Done.
Unpacking linux-image-4.15.2-kirkwood-tld-1 (1.0) ...
Setting up linux-image-4.15.2-kirkwood-tld-1 (1.0) ...

 Hmm. There is a symbolic link /lib/modules/4.15.2-kirkwood-tld-1/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.15.2-kirkwood-tld-1/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.15.2-kirkwood-tld-1/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.15.2-kirkwood-tld-1/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.2-kirkwood-tld-1 /boot/vmlinuz-4.15.2-kirkwood-tld-1
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.2-kirkwood-tld-1 /boot/vmlinuz-4.15.2-kirkwood-tld-1
update-initramfs: Generating /boot/initrd.img-4.15.2-kirkwood-tld-1
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.15.2-kirkwood-tld-1 /boot/vmlinuz-4.15.2-kirkwood-tld-1

Is this something i have to worry about?

Bye
Addy75
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
February 12, 2018 05:14PM
addy75 Wrote:
-------------------------------------------------------
> Hi bodhi,
>
> thanks again for your awesome work.
>
> This was the first time i got an error while
> excecuting
> dpkg -i
> linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb
>
>
> Selecting previously unselected package
> linux-image-4.15.2-kirkwood-tld-1.
> (Reading database ... 39031 files and directories
> currently installed.)
> Preparing to unpack
> linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb
> ...
> Examining /etc/kernel/preinst.d/
> Done.
> Unpacking linux-image-4.15.2-kirkwood-tld-1 (1.0)
> ...
> Setting up linux-image-4.15.2-kirkwood-tld-1 (1.0)
> ...
> 
>  Hmm. There is a symbolic link
> /lib/modules/4.15.2-kirkwood-tld-1/build
>  However, I can not read it: No such file or
> directory
>  Therefore, I am deleting
> /lib/modules/4.15.2-kirkwood-tld-1/build
> 
> 
>  Hmm. The package shipped with a symbolic link
> /lib/modules/4.15.2-kirkwood-tld-1/source
>  However, I can not read the target: No such file
> or directory
>  Therefore, I am deleting
> /lib/modules/4.15.2-kirkwood-tld-1/source
> 
> Running depmod.
> Examining /etc/kernel/postinst.d.
> run-parts: executing
> /etc/kernel/postinst.d/apt-auto-removal
> 4.15.2-kirkwood-tld-1
> /boot/vmlinuz-4.15.2-kirkwood-tld-1
> run-parts: executing
> /etc/kernel/postinst.d/initramfs-tools
> 4.15.2-kirkwood-tld-1
> /boot/vmlinuz-4.15.2-kirkwood-tld-1
> update-initramfs: Generating
> /boot/initrd.img-4.15.2-kirkwood-tld-1
> run-parts: executing
> /etc/kernel/postinst.d/zz-flash-kernel
> 4.15.2-kirkwood-tld-1
> /boot/vmlinuz-4.15.2-kirkwood-tld-1
>
>
> Is this something i have to worry about?
>
> Bye
> Addy75

Addy, that’s only a warning (artifacts of the build). It can be safely ignored.

-bodhi
===========================
Forum Wiki
bodhi's corner
usbip works on the latest kernel. I can clearly see the shared usb device. However, since im trying on a FDA amp (smsl q5 pro), the device is apparently sending a reset before starting to play and instantly get disconnected which usbip stack does not seem to like.
Was worth trying anyhow.
Thanks.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
February 19, 2018 12:56PM
Thx bodhi :-)
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
March 03, 2018 02:56PM
mariadb installation help moved here:
https://forum.doozan.com/read.php?2,52154

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
March 04, 2018 09:33PM
bodhi Wrote:
-------------------------------------------------------
> Download at Dropbox:
>
> linux-4.15.2-kirkwood-tld-1-bodhi.tar.bz2
>
Hello Bodhi,

I downloaded the above file. When extracted in a sub directory, the list of its content is shown below and matches what you said in your OP. However, it looks like the included *.deb files are meant to upgrade an existing ARM debian system. Looking at the linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb using ar utility, i.e. ar x linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb, I noticed the file contains no /bin, /sbin, /usr/bin, /usr/sbin, etc. Since I am trying to install a fresh debian on my Seagate Dockstar, I guessed it is safe to say I am stuck, am I not?

[root@linux:/run/media/suse/rootfs/boot 439%] # ls -la ../debian/
total 32524
drwxr-xr-x 2 root root     4096 Mar  3 18:30 .
drwxr-xr-x 7 root root     4096 Mar  4 22:56 ..
-rw-r--r-- 1 root root   156179 Feb  9 04:50 config-4.15.2-kirkwood-tld-1
-rw-r--r-- 1 root root   143687 Feb 11 00:48 linux-4.15.2-kirkwood-tld-1.patch
-rw-r--r-- 1 root root  1239040 Feb  9 18:39 linux-dtb-4.15.2-kirkwood-tld-1.tar
-rw-r--r-- 1 root root  8883380 Feb  9 12:08 linux-headers-4.15.2-kirkwood-tld-1_1.0_armel.deb
-rw-r--r-- 1 root root 18877458 Feb  9 11:52 linux-image-4.15.2-kirkwood-tld-1_1.0_armel.deb
-rwxr-xr-x 1 root root  3925976 Feb  9 06:45 zImage-4.15.2-kirkwood-tld-1
[root@linux:/run/media/suse/rootfs/boot 440%] #
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
March 04, 2018 10:54PM
habibie

> linux-4.15.2-kirkwood-tld-1-bodhi.tar.bz2

That is the wrong dowload. It is a kernel release tarball. You would use this to upgrade the kernel inside the rootfs.

Here is the latest rootfs release tarball (which has kernel 14.12.1 in it):

Quote

Latest released rootfs: Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (24 Jul 2017)

Quote

Updated 24 Jul 2017:

Basic Debian stretch Kirkwood rootfs for most Kirwood plugs:

- tarball size: 188M
- install size: 488M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, and sysvinit-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2

md5:
bf3d29569943875df348fb5ca03b348c
sha256:
4ed5714fdb123cdb40e973f3d0754e91cd199b75a9874018f2b5dc9cfa8ae8bb

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
March 14, 2018 05:25PM
Bodhi,

Thank you. Now, my dockstar is running debian ARM.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 01, 2018 10:15AM
how to read the current fanspeed and temperature(s) on NSA325?
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 01, 2018 03:09PM
sebr,

I have this in my login .profile.

MACHINE=`dmesg | grep -i machine | cut -c40-120`

if [ "$MACHINE" == "ZyXEL NSA325" ]; then
	echo "CPU Temperature" $(($(/usr/sbin/i2cget -y 0x0 0x0a 0x07))) "C"
	echo "Fanspeed" $[60000/$(($(/usr/sbin/i2cget -y 0x0 0x0a 0x08)))] "RPM"
fi

I also made a slight adjustement to this running without the fan (to handle the fanspeed 0 RPM).

if [ "$MACHINE" == "Zyxel NSA310S" ]; then
        echo "CPU Temperature" $(($(/usr/sbin/i2cget -y 0x0 0x0a 0x07))) "C"
	if [ $(($(/usr/sbin/i2cget -y 0x0 0x0a 0x08))) == 0 ]; then
		echo "Fanspeed 0 RPM";
	else
		echo "Fanspeed" $[60000/$(($(/usr/sbin/i2cget -y 0x0 0x0a 0x08)))] "RPM"
	fi
fi

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



Edited 1 time(s). Last edit at 04/01/2018 03:14PM by bodhi.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 02, 2018 05:33AM
Thanks very much bodhi, I remember now that is also the way the stock OS gets these values. :)

I highly appreciate your work to provide a recent software for this hardware platform. Zyxel has never put any effort to keep things updated and now appear to have totally abandoned the NAS section.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 03, 2018 03:39AM
Hi sebr,

> now appear to have totally abandoned the NAS
> section.

Really! that's bad news and also good news in a way. Less competition so other NAS manufacturers will have less incentive to reduce price. OTOH, we'll see Zyxel NAS prices coming down on fire sale.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 11, 2018 10:06AM
bodhi Wrote:
-------------------------------------------------------
> Linux Kernel 4.15.2 Kirkwood package and rootfs
> for GoFlex Home/Net, Pogoplug E02/Mobile/V4,
> iConnect, Dockstar, Sheevaplug, NSA320, NSA320S,
> NSA325, NSA310S, NSA310, Topkick, Netgear Stora,
> ASUS-M25, Iomega ix4-200d, QiZhiTong 501mv2, HP
> Thin Client T5325, LG N1T1, Linksys EA4500,
> Lenovo/Iomega ix2-ng, Toshiba Canvio Home NAS,
> Lenovo Iomega EZ (under Beta testing) and all
> other Kirkwood plugs that are already in the
> mainline.
>
Bodhi, can you provide the link to download the source package for this? I would like to build my own.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 11, 2018 02:17PM
Hi Bodhi
I always get an memory access error with fw_printenv / fw_setenv command with kernel linux-4.15.2-kirkwood-tld-1-bodhi.tar.bz2 (11 Feb 2018).
checked with older kernels and everthing was ok.
i did all my checks on a POGO E02....
please can you conform.

--joerg_999



Edited 1 time(s). Last edit at 04/11/2018 02:20PM by joerg_999.
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 11, 2018 04:30PM
habibie,

> Bodhi, can you provide the link to download the
> source package for this? I would like to build my
> own.

Everything you need to build the kernel inside the tarball: config file and patches.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 11, 2018 04:32PM
joerg,

I've been runing this kernel with Pogo E02, too. No memory access error. Please post your bootlog and dmesg in a new thread for troubleshooting.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 13, 2018 09:26PM
Last post moved here:

https://forum.doozan.com/read.php?2,56989

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 4.15.2 Kirkwood package and Debian rootfs
April 14, 2018 07:00PM
Kernel linux-4.16.1-kirkwood-tld-1 package has been uploaded. Please see 1st post for download link.

From this kernel and future releases, to check CPU vulnerabilities:

grep . /sys/devices/system/cpu/vulnerabilities/*

/sys/devices/system/cpu/vulnerabilities/meltdown:Not affected
/sys/devices/system/cpu/vulnerabilities/spectre_v1:Not affected
/sys/devices/system/cpu/vulnerabilities/spectre_v2:Not affected

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



Edited 1 time(s). Last edit at 04/14/2018 07:10PM by bodhi.
Re: Linux Kernel 4.16.1 Kirkwood package and Debian rootfs
April 17, 2018 07:02AM
Thanks for your hard work on these kernels Bodhi. Upgraded both my NSA310B (stock uboot and own rootfs) and NSA310S (your uboot and rootfs) to the latest 4.16.

The upgrade on the S went fine, no problem.

On the B however, it was a little harder as there was no "initrd.img-4.16.1-kirkwood-tld-1" included to the tars so couldn't generate the uinitrd. Thankfully I was able to copy it over from the S & it booted up fine!

Thanks :)
Sorry, you can't reply to this topic. It has been closed.