Tiny Core Linux

Tiny Core Base => TCB News => Alpha Releases => Topic started by: roberts on June 13, 2010, 10:08:28 PM

Title: Tiny Core 3.0 Alpha 7 Testing
Post by: roberts on June 13, 2010, 10:08:28 PM
Tiny Core v3.0 Alpha7 is now posted at http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/release_candidates

Change log for Alpha 7

* Fixed flwm* ownership of .wmx files when alternate user is specified.
* Updated .filetool.lst & .xfiletool.lst to support alternate user(s).
* Updated tce-setdrive to suport alternate user.
* Updated shutdown.sh. Added .xfiletool.lst processing when home not in backup for persistent home.
* Updated cpanel. Dropped relic code referencing HOME.
* Updated tc-functions getMirror and getbasefile.
* Updated tce-load. Added for -i option, a fall through check of standard .tce_dir
* Updated tce-load. Fixed bug. Local loading was not processing all dependencies.
* Updated filetool.sh to explicitly call busybox tar.

Note. Files likely in your backup that have changed and need to be updated:

opt/.filetool.lst
opt/.xfiletool.lst
opt/shutdown.sh

Note: Major changes to /opt/.filetool.lst /opt/.xfiletool.lst /opt/shutdown.sh to accommodate alternate users. Please test carefully. We  are still in Alpha code and nobody is using Alpha Code in production. Still make an extra backup of home directory. Test carefully.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: SvOlli on June 13, 2010, 10:34:14 PM
I just verified that all problems I reported are solved. Thanks!

Please don't forget to update cpanel.fl on the mirrors.

What compile options are you using to compile the fltk applications?
I tried
Code: [Select]
-march=i486 -mtune=i686 -Os -pipe -Wall -pedantic -fno-exceptions -fno-rttibut my executables were significantly larger, even after stripping them with "-R .note -R.comment".
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 14, 2010, 03:13:49 AM
Did you use sstrip after that?
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: bmarkus on June 14, 2010, 05:27:23 AM
Quote
Quote
Quote from: bmarkus on June 10, 2010, 08:15:56 AM
Just a small cosmetics. During boot there is a message:

Loading Tiny Core Applications Extensions

This would be better:


Loading Tiny Core Extensions

OK. Done.

Alpha 7 still displays 'Loading Tiny Core Applications Extensions'
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: batnas on June 14, 2010, 06:35:18 AM
I would like to (again) ask for an update of libc to v 2.11.2

\\Batnas
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 14, 2010, 06:36:52 AM
I would like to (again) ask for an update of libc to v 2.11.2

\\Batnas

Have you read Juanito's post from the alpha 6 thread?
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: batnas on June 14, 2010, 06:45:09 AM
Yes, and because i was unable to answer him in the alpha6 thread, I asked here.
I am pretty sure it is not the xtdesk-binary. I can copy a working binary from DSL, and it does not work in TC.
Either way, we run with an old version, and if the new version have bugfixes or or new functions it should be updated.

\\Batnas
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: bmarkus on June 14, 2010, 08:39:01 AM
I can copy a working binary from DSL, and it does not work in TC.
\\Batnas

If a binary from another system doesn't work, this is your problem. Do not ask to fine tune a distribution for an alien program. Instead compile it on TC.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: batnas on June 14, 2010, 08:43:20 AM
Either way, we run with an old version, and if the new version have bugfixes or or new functions it should be updated.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: bmarkus on June 14, 2010, 08:53:19 AM
1) It has nothing to do with 3.0 Alpha 7 testing.

2) Nobody offered binary compatibility with other systems.

3) If you want to fix your issue, find root cause and fix it. Compile source. Simple.

Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: batnas on June 14, 2010, 09:10:22 AM
I think you misunderstand me.
I can see, that we have libc.2.11.1 and the new version is 2.11.2
I request an update.
I am sorry i have mixed xtdesk into this conversation.

1) It has nothing to do with 3.0 Alpha 7 testing.

If I should not request updates at an alphe release, when else?

\\Batnas

EDIT: Just to explain my earlier posts
In the beginning I had problems with getting xtdesk to work. I traced the problem back to libc-2.11.1 (I am not finished debugging).
When i searched a little, I saw, that a new version of libc is available.
When I now request this new version, it is simply because it is a newer version, and i tought it might contain bugfixes etc.

I really hope you understand me correct now ???
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: MikeLockmoore on June 14, 2010, 10:01:50 AM
curaga, Arslan S.: Thanks for your help!  With your guidance, I was able to set up my kernel module build environment and successfully build the TI-ACX WiFi module in Alpha 6!  I also needed a set of patches (found in the Arch Linux repos) to get the TI-ACX source code to compile properly with the new TC 2.6.33.3 kernel.

Now I need to rebuild and test in Alpha 7.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: gerald_clark on June 14, 2010, 10:19:56 AM
Alpha 6 and Alpha7 use the same kernel.
If you made an extension out of your module, and it works with the stock Alpha 6 kernel, you are done.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 14, 2010, 11:02:49 AM
Unless something big comes up, this is the kernel for 3.x.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: SvOlli on June 14, 2010, 11:17:35 AM
Did you use sstrip after that?
No, that did the trick. Thanks. It seems to strip about 1k from the binary. I'm not sure if I should include it in my build environ for extensions, mainly the qt stuff. Any suggestions? A quick test showed that running sstrip on executables and shared libraries did not break them.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 14, 2010, 11:22:36 AM
On binaries it's fine, but the readme says it breaks linking against shared libs.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: bigpcman on June 14, 2010, 03:53:32 PM
Just tried opera10 on tc3alpha7 and received the following:

Code: [Select]
tc@tstbox:~$ opera  
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/local/lib/opera/10.10/opera: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory


Edit: removed opera10 using panel apps audit tool and reinstalled it. Same results as above.
Edit2: removed all extensions in "optional" and reinstalled them still same results as above. See attached file for extension list.
Edit3: booting base norestore followed by local opera10  install still get above errors.

Note: the wbar icon and menu entry fail as well.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: taxus on June 14, 2010, 04:00:40 PM
testing microcore 3.0 alpha 7:
I have to create a symlink /usr/lib/libao.so.2 which links to /usr/local/lib/libao.so.4
to make mpd work....???

Oh and by the way, first post here, so hello to everyone! :)
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: MikeLockmoore on June 14, 2010, 07:28:41 PM
gerald_clark, curaga: Yes, I did not really expect any problems with the new acx.ko module in Alpha7.  I just tested it with Alpha7 and (of course) it works fine.

Another observation: on recent booting of Alpha6 and Alpha7 on this Dell Inspiron 5100, I see a set of "Bus error" messages on the console, but I can't find a corresponding set of messages in the dmesg output.  This seems benign... I don't notice any problem once TC starts.  Anyone else see messages like this?  EDIT: I rebooted a few few times with just a bare "base norestore" boot option list, and did not see the bus error messages.  I did again with my normal:

    TCE=hdc4/tclinux_3_0 RESTORE=hdc4/tclinux_3_0 laptop

boot options and saw the bus errors again.  Just before this, there is something about a udev rule .  I'll try again with the pause boot option and make another edit.

EDIT2: Ok, there is first some "text file busy" errors for /etc/init.d/rc.5 on line 459, then a message that /etc/udev/rules.d/75-cd-dvd.rules "cannot be read", then the multiple "Bus errors", then a message about "intel_rng: FWH not detected" (which I've always seen on this laptop).

Again, this stuff seems benign, but looks like something is wrong.  I don't have a CD drive installed on this laptop, if it makes any difference to udevd.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: ^thehatsrule^ on June 14, 2010, 08:31:50 PM
bigpcman: I think that lib is available in Xorg-7.5

taxus: posted in http://forum.tinycorelinux.net/index.php?topic=6462.msg34237#msg34237
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 15, 2010, 03:43:24 AM
Hmm, looks like qt-4.x now depends on Xorg itself (and doesn't mention that in the dep file). Added for now.

@Mike: do you by any chance store tinycore.gz/microcore.gz in your tce dir?
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: robc on June 15, 2010, 09:10:23 AM
the libEGL in the Xorg extension seems to be critical to many applications to run, should it be included within the base rather then in the Xorg extension, or in the Xorg-libs extension instead?
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: MikeLockmoore on June 15, 2010, 09:34:27 AM
@ curaga: Yes, for testing Alpha6 and Alpha7, I made my boot kernel directory, TCE directory, and restore directory all the same, and specify each one explicitly in the GRUB boot stanza.  Is it better to keep them separate?
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: SvOlli on June 15, 2010, 10:42:56 AM
the libEGL in the Xorg extension seems to be critical to many applications to run, should it be included within the base rather then in the Xorg extension, or in the Xorg-libs extension instead?
I'd vote for the second option, moving libEGL from Xorg-7.5.tcz to Xorg-7.5-libs.tcz.

libEGL.so is about 50kb in size, Xorg-7.5.tcz takes about 10MB, Xorg-7.5-libs.tcz 180kB. Moving it would drop the need for "the fat thing" Xorg-7.5.tcz for any application that uses libEGL.so, like in my case qt-4.x-base.tcz, and the result of 200kB to 230kB would be a quick load, especially compared to the 10MB of Xorg-7.5.tcz.

Xorg-7.5.tcz itself has a dependency on Xorg-7.5-libs.tcz, so there's no case where libEGL.so would not be loaded when installing Xorg-7.5.tcz.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 15, 2010, 01:49:15 PM
@EGL: since it's a Khronos lib for interfacing with OpenGL and OpenVG, any actual functions of it would likely fail without Xorg. Doesn't seem to depend directly on libGL though. I'll sleep on it.

@Mike: I believe storing the main gz in the tce dir is what causes that (or any other files ending in .gz). If you can confirm that, then we should probably document that somewhere.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: SvOlli on June 15, 2010, 01:59:10 PM
@Mike: I believe storing the main gz in the tce dir is what causes that (or any other files ending in .gz). If you can confirm that, then we should probably document that somewhere.
I ran into that kind of problem by booting TCL in that configuration with "user=xxx". Here's what happens: the boot process creates the new account and modifies /etc/passwd. Shortly after that /usr/bin/tce-setup overwrites /etc/passwd, removing the user again -> the boot fails very mysteriously. Took me the about an hour to figure that out. Moving .../tce/tinycore.gz to .../tce/boot/tinycore.gz fixed that problem.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: MikeLockmoore on June 15, 2010, 08:28:30 PM
@curaga: Isolating my tce and personal data files in subdirectories cleared up the boot messages!  Thanks for the suggestion.  Here's what I have now:

/mnt/hdc4
    /tclinux_3_0
        bzImage
        tinycore.gz
        /data
            mydata.gz
        /tce
            onboot.lst
            /optional
                 (my set of extensions)

My GRUB configuration spells this out for booting.

Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: MikeLockmoore on June 16, 2010, 09:44:47 PM
Testing Alpha7 on my ASUS eeePC 1000.  Works well overall and pretty similar to the older version 2.10 (most recent I had on here), but the trackpad in TC 3.0 Alpha 7 has the following issues compared to the 2.x series:

1) Very "jumpy" mouse movement at the default mouse speed, like the mouse pointer can be at locations X= 0, 7, 15... but not in-between.  Fortunately, setting the mouse speed in the control panel applet to very low values (1 or 2) makes the movement finer-grained, without loosing too much speed

2) No two-finger swipe for scrolling (2.x allowed use of 2-finger swipe gestures for scrolling on this ASUS eeePC ... works like a mouse scroll wheel).  Boy, I miss this!

Another minor issue: The wireless rt2860sta.ko module available in the repo sets up the wireless device as "wlan0", not "ra0" as in the module built from RALINK's source code for the TC 2.x series.  Use of "wlan0" is fine, and perhaps more standard across various drivers and distributions, but be aware of it if you have scripts or other tools configured for a "ra0" device.
--
Mike L.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: jur on June 16, 2010, 10:13:32 PM

2) No two-finger swipe for scrolling (2.x allowed use of 2-finger swipe gestures for scrolling on this ASUS eeePC ... works like a mouse scroll wheel).  Boy, I miss this!

I got this going by using a mouse boot code, IMPS. I don't have it here with me but it was discussed about 2 alpha releases ago.

edit: psmouse.proto=imps
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: curaga on June 17, 2010, 02:43:30 AM
The touchpad thing was discussed on lkml: apparently, some pads have better mouse emulation than native touchpad mode. So forcing it to emulate a mouse (with the psmouse param above), it'll work as before.

Note that the native mode works better with the synaptics driver of Xorg. More configurability, more gestures supported etc.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: MikeLockmoore on June 17, 2010, 06:08:20 AM
@ jur, curaga: That works great! I didn't recall the trackpad discussion in the earlier Alpha releases. For the first few releases, I only skimmed the comments, as I did not have a good chance to those releases.  I now see that the psmouse.proto=imps comment is in the Alpha3 thread.

Regardless, thanks very much! The eeePC is much more friendly now.  I did not want to go to the full XOrg X-Server.
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: SvOlli on June 17, 2010, 12:16:48 PM
I just encountered another problem booting with user=xxx:

/opt/tcemirror is still owned by "tc" (problem 1), causing appbrowser to quit silently (problem 2) when selecting another mirror. It writes to stderr, but this is dropped when run via wbar. Maybe "popup" should be called instead with this message.

Edit: This experience led me to running
Code: [Select]
find / -xdev -user tc on a bare TCL 3.0 alpha 7. There were quite a lot. I think these could trigger errors:
/opt/.filetool.lst
/opt/tcemirror

But I think most of the others shouldn't be also owned by tc, since they could be a security breach:
/etc/skel/* (these change the owner during copy)
/lib/modules/2.6.33.3-tinycore/*
/usr/bin/imlib2_conv
/usr/bin/imlib2_grab
/usr/bin/flwm_topside_initmenu
/usr/bin/flwm_topside_restart
/usr/lib/libstdc++.so.6.0.9
/usr/lib/libgcc_s.so.1
/usr/lib/imlib2/filters/testfilter.so
/usr/lib/imlib2/filters/bumpmap.so
/usr/lib/imlib2/filters/colormod.so
/usr/lib/imlib2/loaders/argb.so
/usr/lib/imlib2/loaders/bmp.so
/usr/lib/imlib2/loaders/jpeg.so
/usr/lib/imlib2/loaders/lbm.so
/usr/lib/imlib2/loaders/png.so
/usr/lib/imlib2/loaders/pnm.so
/usr/lib/imlib2/loaders/tga.so
/usr/lib/imlib2/loaders/xpm.so
/usr/lib/imlib2/loaders/zlib.so
/usr/lib/libfreetype.so.6.4.0
/usr/lib/libpng.so.3.43.0
/usr/lib/libpng12.so.0.43.0
/usr/lib/libImlib2.so.1.4.4

And this one owned by tc is just "odd":
/etc/motd

Yes I know, that in standard configuration sudo has no password, but changing the owner away from is "good manner" and prevents accidents cause for faulty scripts, for example, you know, the ones just hack together in a hurry. ;)
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: roberts on June 17, 2010, 02:31:07 PM
Agreed and updated for both 3.0 and 2.11
Title: Re: Tiny Core 3.0 Alpha 7 Testing
Post by: jur on June 17, 2010, 04:01:20 PM
@ jur, curaga: That works great! I didn't recall the trackpad discussion in the earlier Alpha releases. For the first few releases, I only skimmed the comments, as I did not have a good chance to those releases.  I now see that the psmouse.proto=imps comment is in the Alpha3 thread.

Regardless, thanks very much! The eeePC is much more friendly now.  I did not want to go to the full XOrg X-Server.
I just remembered there are more issues surrounding the eeepc - I forget the thread, but for eeepc modules to be loaded, some extensions are required. This affects stuff like extra eeepc hotkeys.