WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Core v7.0beta2  (Read 24620 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Core v7.0beta2
« on: January 19, 2016, 10:43:19 PM »
Team Tiny Core is pleased to announce that Tiny Core 7.0 Beta2 is available for public testing:

http://repo.tinycorelinux.net/7.x/x86/release_candidates/
http://repo.tinycorelinux.net/7.x/x86_64/release_candidates/

This is an beta level cut. If you decide to help test, then please test carefully. We don't want anyone to lose data.

Most extensions have been copied over from the 6.x repo - note that the alsa extensions have been refactored and updated and the Xorg-7.7 extensions have been updated.

We appreciate testing and feedback.

If you use distribution files note that you need a new vmlinuz and core.gz (or rootfs.gz + modules.gz)

Changelog for 7.0 beta2:
* busybox patched to fix "crontab -e" error
* kernel updated to 4.2.9 with the latest stable patch, with these config changes:
  - minstrel enabled for some wireless cards
  - vmmouse disabled for VMWare + Xvesa
  - the cpu limit on the 64-bit kernel raised to 64

Changelog for 7.0 beta1:
* busybox updated to 1.24.1
* kernel updated to 4.2.7
* glibc updated to 2.22
* gcc updated to 5.2.0
* e2fsprogs base libs/apps updated to 1.42.13
* util-linux base libs/apps updated to 2.27

Note that the drm/i915 kernel driver error is still not fixed.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Core v7.0beta2
« Reply #1 on: January 20, 2016, 02:05:02 AM »
reposted CorePlus iso with corrected ndiswrapper, wireless and wl modules

Offline vt1431

  • Newbie
  • *
  • Posts: 5
Re: Core v7.0beta2
« Reply #2 on: January 20, 2016, 02:39:32 AM »
Not sure if it is right thread to report -- gcc refuses to compile any c programs.
Code: [Select]
$ gcc -v -save-temps hello.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/lto-wrapper
Target: i486-pc-linux-gnu
Configured with: ../gcc-5.2.0/configure --prefix=/usr/local --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --libexecdir=/usr/local/lib --enable-frame-pointer --enable-gold
Thread model: posix
gcc version 5.2.0 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mtune=i486' '-march=i486'
 /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/cc1 -E -quiet -v -iprefix /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/ hello.c -mtune=i486 -march=i486 -fpch-preprocess -o hello.i
cc1: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 6
model name  : Mobile Pentium II
stepping    : 10
microcode   : 0xa
cpu MHz     : 399.934
cache size  : 256 KB
physical id : 0
siblings    : 1
core id     : 0
cpu cores   : 1
apicid      : 0
initial apicid  : 0
fdiv_bug    : no
f00f_bug    : no
coma_bug    : no
fpu     : yes
fpu_exception   : yes
cpuid level : 2
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr
bugs        :
bogomips    : 800.19
clflush size    : 32
cache_alignment : 32
address sizes   : 36 bits physical, 32 bits virtual
power management:

$ free -m
             total       used       free     shared    buffers     cached
Mem:           246        101        145         40          4         71
-/+ buffers/cache:         24        222
Swap:            0          0          0

$ cat /opt/tcemirror
http://repo.tinycorelinux.net/

$ ls
hello.c

$ cat hello.c
main(){}
No preprocessed code is generated, dmesg contains nothing unusual, locale is "C".
Pentium I/256M system w/ Core 7.0beta1 fails too.

P.S. rt61pci support is now ok, thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Core v7.0beta2
« Reply #3 on: January 20, 2016, 04:37:06 AM »
'seems to work for me:
Code: [Select]
$ gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe hello.c
hello.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){}
 ^
..and I just compiled busybox with it.

Did you load compiletc or just gcc?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Core v7.0beta2
« Reply #4 on: January 20, 2016, 04:49:48 AM »
Always nasty when gcc uses over-486 instructions when told to use 486 ones. I wonder which it was, just out of curiosity.

Can you try that in gdb? gdb --args gcc hello.c
run
disas
« Last Edit: January 20, 2016, 04:52:14 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Core v7.0beta2
« Reply #5 on: January 20, 2016, 04:59:10 AM »
i'm unable to reproduce:
Code: [Select]
$ gcc -v -save-temps hello.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/lto-wrapper
Target: i486-pc-linux-gnu
Configured with: ../gcc-5.2.0/configure --prefix=/usr/local --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --libexecdir=/usr/local/lib --enable-frame-pointer --enable-gold
Thread model: posix
gcc version 5.2.0 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mtune=i486' '-march=i486'
 /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/cc1 -E -quiet -v -iprefix /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/ hello.c -mtune=i486 -march=i486 -fpch-preprocess -o hello.i
ignoring nonexistent directory "/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/../../../../i486-pc-linux-gnu/include"
ignoring duplicate directory "/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/../../lib/gcc/i486-pc-linux-gnu/5.2.0/include"
ignoring duplicate directory "/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/../../lib/gcc/i486-pc-linux-gnu/5.2.0/include-fixed"
ignoring nonexistent directory "/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/../../lib/gcc/i486-pc-linux-gnu/5.2.0/../../../../i486-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/include
 /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/include-fixed
 /usr/local/include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mtune=i486' '-march=i486'
 /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/cc1 -fpreprocessed hello.i -quiet -dumpbase hello.c -mtune=i486 -march=i486 -auxbase hello -version -o hello.s
GNU C11 (GCC) version 5.2.0 (i486-pc-linux-gnu)
        compiled by GNU C version 5.2.0, GMP version 6.0.0, MPFR version 3.1.3-p4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C11 (GCC) version 5.2.0 (i486-pc-linux-gnu)
        compiled by GNU C version 5.2.0, GMP version 6.0.0, MPFR version 3.1.3-p4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 393e434426a3ade6d8fe652a70a6aa66
hello.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){}
 ^
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mtune=i486' '-march=i486'
 as -v --32 -o hello.o hello.s
GNU assembler version 2.25.1 (i486-pc-linux-gnu) using BFD version (GNU Binutils) 2.25.1
COMPILER_PATH=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/:/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/
LIBRARY_PATH=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/:/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/:/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mtune=i486' '-march=i486'
 /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/collect2 -plugin /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/liblto_plugin.so -plugin-opt=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/lto-wrapper -plugin-opt=-fresolution=hello.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/crtbegin.o -L/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0 -L/tmp/tcloop/gcc/usr/local/bin/../lib/gcc -L/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/../../.. hello.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-linux-gnu/5.2.0/crtend.o /usr/lib/crtn.o

..though this isn't an actual i486...
« Last Edit: January 20, 2016, 05:00:50 AM by Juanito »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Core v7.0beta2
« Reply #6 on: January 20, 2016, 05:00:33 AM »
You're on too new a cpu ;)
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core v7.0beta2
« Reply #7 on: January 20, 2016, 06:22:24 AM »
Good, b43 module working again.
wl-modules-4.2.9-tinycore is missing on repo.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Core v7.0beta2
« Reply #8 on: January 20, 2016, 07:15:12 AM »
The cursor works with Xvesa and VMware now so thanks. Autograb doesn't work but it didn't in TC 6 either and if it's important then open-vm-tools will need to be loaded. I can submit it once the following issue is resolved.

I have determined that the problem with /dev/fuse is that the permissions change when glib2.tcz is loaded. To reproduce, start with TC installed but no extensions loaded. Check /dev/fuse permissions, they should be 1666. Load dependencies libffi.tcz and gamin.tcz and check /dev/fuse. Should be no change. Load glib2.tce and check permissions. They are now 1600. I ran strace, it looks like some devices are being worked on but I can't tell for sure what's happening. I found some suspicious activity where "sudo /sbin/udevadm trigger" is doing this:

open("/sys/devices/virtual/misc/fuse/uevent", O_WRONLY|O_LARGEFILE) = 3
write(3, "change", 6)                   = 6
close(3)                                = 0

Maybe something is changing it back later when all the other extensions get loaded for open-vm-tools, but there over 90 more to load. Testing that will take a while.

Two other comments about the installed beta:

1. Both fltk-1.1.10 and fltk-1.3 extentions are loaded. Are they both necessary?
2. If another window manager like openbox is booted, then both it and flwm_topside extensions are loaded. Shouldn't flwm_topside not be in onboot.lst? Or is this a feature?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Core v7.0beta2
« Reply #9 on: January 20, 2016, 07:37:12 AM »
wl-modules-4.2.9* looks to be there to me?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Core v7.0beta2
« Reply #10 on: January 20, 2016, 08:08:51 AM »
Two other comments about the installed beta:

1. Both fltk-1.1.10 and fltk-1.3 extentions are loaded. Are they both necessary?
2. If another window manager like openbox is booted, then both it and flwm_topside extensions are loaded. Shouldn't flwm_topside not be in onboot.lst? Or is this a feature?

I'm guessing that you're using CorePlus?

As I recall, all of the extensions are loaded onboot - booting another window manager is a managed by changing the "desktop=" boot code in the syslinux menu.

If you're going to use tinycore for any length of time, I'd recommend a usb stick or hd install where you can customise things to load exactly what you need and nothing more.

I'd guess (without checking) that one of the window managers uses fltk-1.1.10, but you can easily check.

Offline vt1431

  • Newbie
  • *
  • Posts: 5
Re: Core v7.0beta2
« Reply #11 on: January 20, 2016, 08:18:50 AM »
Always nasty when gcc uses over-486 instructions when told to use 486 ones. I wonder which it was, just out of curiosity.

Can you try that in gdb? gdb --args gcc hello.c
run
disas
Pentium I system faults even running gcc, not cc1 ;)
No symbols so disas w/ 2 arg:
Code: [Select]
Starting program: /usr/local/bin/gcc hello.c
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?

Program received signal SIGILL, Illegal instruction.
0x0805fe3a in ?? ()
Dump of assembler code from 0x805fe3a to 0x805fe50:
=> 0x0805fe3a: 0f 44 da cmove  %edx,%ebx
   0x0805fe3d: 85 c0 test   %eax,%eax
   0x0805fe3f: 75 0b jne    0x805fe4c
   0x0805fe41: 83 ec 0c sub    $0xc,%esp
   0x0805fe44: 53 push   %ebx
   0x0805fe45: e8 36 9c fe ff call   0x8049a80 <malloc@plt>
   0x0805fe4a: eb 09 jmp    0x805fe55
   0x0805fe4c: 52 push   %edx
   0x0805fe4d: 52 push   %edx
   0x0805fe4e: 53 push   %ebx
   0x0805fe4f: 50 push   %eax
End of assembler dump.
Code: [Select]
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 5
model           : 2
model name      : Pentium 75 - 200
stepping        : 12
cpu MHz         : 167.059
cache size      : 0 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
f00f_bug        : yes
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8
bugs            : f00f
bogomips        : 334.03
clflush size    : 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual
power management:

$ uname -a
Linux box 4.2.9-tinycore #1999 SMP Mon Jan 18 19:42:12 UTC 2016 i586 GNU/Linux

...
Did you load compiletc or just gcc?
tce-load -i compiletc

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Core v7.0beta2
« Reply #12 on: January 20, 2016, 08:31:06 AM »
My "two other comments" were about a HD installation. There isn't a dependency for fltk-1.1.10 in any of the .dep files in optional, but it is in tc-install.sh so I'm suggesting that script needs to be updated. As you say, if someone wants to use a different window manager shouldn't that be the only one loaded?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core v7.0beta2
« Reply #13 on: January 20, 2016, 08:58:27 AM »
wl-modules-4.2.9* looks to be there to me?
Search does not find them.  It seems to be an indexing problem.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Core v7.0beta2
« Reply #14 on: January 20, 2016, 11:59:13 AM »
@vt1431

Oh ok, lots of cmov. The build steps are all correct, so it might be a bug in upstream gcc. We may not be able to do anything, is it possible for you to build on a newer machine and just copy to the 586?
The only barriers that can stop you are the ones you create yourself.