Tiny Core Linux

Tiny Core Base => TCB News => Final Releases => Topic started by: Juanito on April 09, 2017, 01:41:26 AM

Title: Tiny Core v8.0
Post by: Juanito on April 09, 2017, 01:41:26 AM
Team Tiny Core is proud to announce the release of Core v8.0
http://www.tinycorelinux.net/8.x/x86/release
http://www.tinycorelinux.net/8.x/x86_64/release

Changelog for 8.0:
* busybox updated to 1.25.1 and cpio patched for uid/gid error
* kernel updated to 4.8.17
* glibc updated to 2.24
* gcc updated to 6.2.0
* e2fsprogs base libs/apps updated to 1.43.3
* util-linux base libs/apps updated to 2.28.2

Note:

Most extensions have been copied over from the 7.x repo - note that the Xorg-7.7 extensions have been updated, the ncurses and readline extensions have changed major versions and the openssl extension has been factored out into openssl and ca-certficates.
Title: Re: Tiny Core v8.0
Post by: thane on April 09, 2017, 03:53:15 AM
I'm not sure this is the right place to report/request this, but I'm having the same video resolution issues with TC 8.0 that I had when I first upgraded to 7.0. It turned out that I needed an updated version of xf86-video-nv.tcz. Could this be added to the 8.0 repo?
Title: Re: Tiny Core v8.0
Post by: Juanito on April 09, 2017, 04:23:28 AM
posted
Title: Re: Tiny Core v8.0
Post by: chattrhand on April 09, 2017, 07:36:49 AM
Hi TinyCore Team,

I've just downloaded / burned to CD / bootified a TC-8.0 pendrive (usb3.0/16GB)

- DE-keyboard with äöüß can be set; ok on the editor, on the Aterm ???? instead
- alsa sound remains silent
- oss sound is not available (was a help for tc-7.2)
- firefox-ESR refuses to start
- firefox-getLatest.sh installs firefox-43.0.4 but does not even start
- icecat browser does start and works fine.
- Now I tried again to run firefox-getLatest.sh, installs the same old firefox-43.0.4; the actual is 52.0.2
- The hole to the net that had been punched with icecat now helps firefox too.

That's what I found for now, I will continue testing and reporting.

Many thanks for this tiny fine system!

greetings
chattrhand
Title: Re: Tiny Core v8.0
Post by: pcr20 on April 09, 2017, 08:25:27 AM
v8.0 does not appear to work within Hyper-V as a VM:

hv_storvsc is not loaded and when I try to load it manually I get the following:

tc@box:~$ sudo modprobe hv_storvsc
modprobe: can't load module hv_storvsc (kernel/drivers/scsi/hv_storvsc.ko.gz): unknown symbol in module, or unknown parameter

Any suggestions what to try?
Title: Re: Tiny Core v8.0
Post by: Juanito on April 09, 2017, 08:33:22 AM
it looks like it depends on a module that is not loaded - does "modinfo hv_storvsc" show any dependent modules?
Title: Re: Tiny Core v8.0
Post by: pcr20 on April 09, 2017, 08:52:33 AM
Thanks - good suggestion.

root@box:/home/tc# modinfo hv_storvsc
filename:       /lib/modules/4.8.17-tinycore/kernel/drivers/scsi/hv_storvsc.ko.gz
description:    Microsoft Hyper-V virtual storage driver
license:        GPL
parm:           storvsc_vcpus_per_sub_channel:Ratio of VCPUs to subchannels
parm:           storvsc_ringbuffer_size:Ring buffer size (bytes)
parm:           logging_level:Logging level, 0 - None, 1 - Error (default), 2 - Warning.
alias:          vmbus:4acc9b2f6900f34ab76b6fd0be528cda
alias:          vmbus:32264132cb86a2449b5c50d1417354f5
alias:          vmbus:d96361baa104294db60572e2ffb1dc7f
depends:        hv_vmbus,scsi_transport_fc
intree:         Y
vermagic:       4.8.17-tinycore SMP mod_unload 486
root@box:/home/tc#

oot@box:/home/tc# lsmod
Module                  Size  Used by    Not tainted
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
squashfs               24576 60
loop                   20480 120
hv_netvsc              24576  0
hv_utils               16384  0
cn                     12288  1 hv_utils
hyperv_keyboard        12288  0
hid_hyperv             12288  0
floppy                 45056  0
fjes                   20480  0
hyperv_fb              12288  1
acpi_cpufreq           12288  0
pcspkr                 12288  0
hv_vmbus               24576  5 hv_netvsc,hv_utils,hyperv_keyboard,hid_hyperv,hyperv_fb
root@box:/home/tc# modprobe scsi_transport_fc
modprobe: module scsi_transport_fc not found in modules.dep


Looks like it's missing scsi_transport_fc

I tried to rebuild the kernel drives, but running:
tc@box:~$ /usr/local/bin/linux-kernel-sources-env.sh

gave:

checking repo for linux-4.8.17-patched.tar.xz
Connecting to www.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
checking repo for linux-4.8.17-patched.txz
Connecting to www.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
source not found


Title: Re: Tiny Core v8.0
Post by: curaga on April 09, 2017, 10:23:15 AM
Looks like we need to add that module to base. It doesn't have any deps itself. For an instant fix, install the scsi-KERNEL extension.
Title: Re: Tiny Core v8.0
Post by: thane on April 09, 2017, 10:57:07 AM
Thanks Juanito for posting the updated xf86-video-nv.tcz. Video issue resolved.
Title: Re: Tiny Core v8.0
Post by: thane on April 09, 2017, 11:46:22 AM
To chattrhand, a shot in the dark but did you update all your .dep files and extensions? I did an install to the existing partition (USB) and there were a lot of updates needed when I checked against the 8.0 repo.
Title: Re: Tiny Core v8.0
Post by: pcr20 on April 09, 2017, 01:46:09 PM
curaga: thanks for the tip. tce-load -wi scsi-KERNEL does indeed get hv_storvsc loaded

However, I now get the same hanging behaviour which I get with tinycore 7.0, 7.1 and 7.2.

The symptom is that when I write a certain amount of data (I guess an amount large enough so that the journal then flushes to disk - I'm using ext4), the process which is requesting the write hangs. The kernel is still running, and new processes can be started, but kill -9 does not kill the process which is hanging.

It appears that the problem is known for 7.2 (http://forum.tinycorelinux.net/index.php?topic=20449.0), and as you pointed out the problem reported in this post is not just due to a missing module - it's a HyperV/Kernel/both bug.

6.4.1 works fine, FYI.

I tried recompiling the 7.2 kernel, and got similar results.

Any suggestions on what the root cause might be / how to fix?
Title: Re: Tiny Core v8.0
Post by: Juanito on April 09, 2017, 10:40:53 PM
I tried to rebuild the kernel drives, but running:
Code: [Select]
$ /usr/local/bin/linux-kernel-sources-env.sh
gave:

Code: [Select]
checking repo for linux-4.8.17-patched.tar.xz
Connecting to www.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
checking repo for linux-4.8.17-patched.txz
Connecting to www.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
source not found

This should be OK now
Title: Re: Tiny Core v8.0
Post by: Juanito on April 09, 2017, 10:48:20 PM
Note that tc-install has been factored out into tc-install and tc-install-GUI and has been modified so that it works for both x86 and x86_64.

See here for details:

https://github.com/tinycorelinux/fltk_projects/tree/master/tc-install

Note that the changes have not yet been included in the CorePlus iso.

Thanks to polikuo for the work on this.
Title: Re: Tiny Core v8.0
Post by: curaga on April 15, 2017, 10:36:06 AM
The TC iso is missing the libSM and libICE extensions.
Title: Re: Tiny Core v8.0
Post by: Juanito on April 15, 2017, 10:46:17 PM
Hmm - that's because there is no dep file for aterm in tc-x.x x86...

aterm dep file added and TinyCore iso reposted.

Also tc-install-GUI added to CorePlus iso and reposted.
Title: Re: Tiny Core v8.0
Post by: gwalther on April 22, 2017, 02:11:48 PM
Just tried to install Xorg-7.7-3d.tcz and could not get Xorg to load required modules.  Turns out ....when I compared to an earlier version where Xorg-3d was working correctly, graphics-KERNEL-tinycore.tcz was not being loaded.  When I manually added graphics-4.8.17.tcz to onboot.lst, everything worked fine.  I think in earlier versions, the graphics-KERNEL-tinycore.tcz extension was listed in the Xorg-3d dep file and got downloaded and installed automatically.  Now it seems you have to know it has to be added independantly.  Was this an intentional change?
Title: Re: Tiny Core v8.0
Post by: Juanito on April 22, 2017, 09:50:53 PM
Yes, it was an intentional change - for the last two or three tc versions/kernel versions, loading the graphics-KERNEL extension fills dmesg with a whole bunch of error messages on my hardware..

...so I only load it when really needed.
Title: Re: Tiny Core v8.0
Post by: curaga on April 23, 2017, 07:33:02 AM
Would it be better to keep the dep, but blacklist the module on your system?
Title: Re: Tiny Core v8.0
Post by: gwalther on April 23, 2017, 02:04:50 PM
The extension xf86-video-intel.tcz includes graphics-KERNEL-tinycore.tcz as a dependency.  I use xf86-video-ati.tcz, but graphics-KERNEL-tinycore.tcz is not listed as a dependency, nor is it as far as I can see, listed as a dependence of the other xf86-video-*.tcz's.
(In some earlier versions I believe graphics-KERNEL-tinycore.tcz was listed as a dependency for xf86-video-ati.tcz.)

 In any case, I think a note in either Xorg-7.7.tcz, Xorg-7-7-3d.tcz, or in the individual xf86-video-*.tcz's , INFO file regarding the possible need to load graphics-KERNEL-tinycore.tcz, would be most helpful.
Title: Re: Tiny Core v8.0
Post by: Juanito on April 24, 2017, 03:26:18 AM
note added to Xorg-7.7-3d info file
Title: Re: Tiny Core v8.0
Post by: nowhinjing on April 24, 2017, 08:52:12 AM
/8.x/armv7/releases/RPi/src/kernel/ seems to contain modules for 4.4, not for 4.8 (or even 4.9?)

or am I missing something ?
Title: Re: Tiny Core v8.0
Post by: Juanito on April 24, 2017, 09:52:07 AM
This is the thread for tc-8.x x86 and x86_64, not piCore...
Title: Re: Tiny Core v8.0
Post by: akelio on April 30, 2017, 04:09:39 AM
Broken scp in dropbear extension.
It requires links for scp and dbclient in /usr/bin to work properly.
Title: Re: Tiny Core v8.0
Post by: Juanito on April 30, 2017, 04:16:02 AM
how did you generate the error and what was the error message?

[note that this thread is for tc-8.x x86/x86_64 base issues, dropbear is not part of the base]
Title: Re: Tiny Core v8.0
Post by: akelio on May 02, 2017, 01:01:52 AM
how did you generate the error and what was the error message?

[note that this thread is for tc-8.x x86/x86_64 base issues, dropbear is not part of the base]

Oh, sorry for that...
To generate the error just try to copy something from different host to tinycore:
Code: (bash) [Select]
scp test_file tc@172.16.1.69:/tmp
sh: scp: not found
lost connection
And another one, while coping from tinycore to host:
Code: (bash) [Select]
tc@box:~$ scp /tmp/test_file user@host:/tmp
/usr/bin/dbclient: No such file or directory
lost connection
tc@box:~$