WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core 16.0 Alpha 1 Testing  (Read 4021 times)

Offline Knoppix1337

  • Newbie
  • *
  • Posts: 11
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #30 on: February 18, 2025, 03:00:10 AM »
I ordered a serial null modem cable, the Wyse V Series (Vx0) has onboard serial, as well as my desktop machine. I used the kernel parameter
Code: [Select]
console=ttyS0,115200n8 for all 3 of these.

The printk is from the debug kernel you sent.

The failsafe is the cheatcodes from the Knoppix failsafe boot option containing:
Code: [Select]
APPEND lang=en vga=normal atapicd nosound noapic nolapic noacpi pnpbios=off acpi=off nofstab noscsi nodma noapm nousb nopcmcia nofirewire noagp nomce libata.force=noncq hpsa.hpsa_allow_any=1 nonetwork nodhcp xmodule=vesa initrd=/boot/rootfs.gz,/boot/modules.gz ignore_loglevel no3d nofb console=ttyS0,115200n8

Obviously some parameters are ignored by TC.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11931
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #31 on: February 18, 2025, 11:14:55 AM »
Hi Knoppix1337
What happens with this boot code:
Code: [Select]
via-rhine.avoid_D3or this one:
Code: [Select]
module_blacklist=via-rhine

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11931
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #32 on: February 18, 2025, 11:36:31 AM »
Hi Knoppix1337
One more thing. What happens if you boot without the
Lexar 8 GB USB Flash Drive plugged in?

Offline Knoppix1337

  • Newbie
  • *
  • Posts: 11
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #33 on: February 19, 2025, 03:58:26 AM »
After a few tries I realized it should be:
Code: [Select]
via_rhine.avoid_D3 or
Code: [Select]
module_blacklist=via_rhine but the system still hung.

As far as the USB Lexar flash drive, I booted from the internal IDE flash DOM with no change.
I even used a PS/2 keyboard and both disabled USB in the BIOS as well as the kernel with the cheatcode:
Code: [Select]
usbcore.nousb again with no change.



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15015
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #34 on: February 19, 2025, 09:35:53 AM »
I tested labwc-config with tc-16.x x86_64 and the fltk gui applets seem to work as expected.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11931
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #35 on: February 19, 2025, 12:46:34 PM »
Hi Knoppix1337
The version which hangs (ser-con-Vx0-tc16-x86.txt) ends here:
Code: [Select]
Booting Core 16.0alpha1
Running Linux Kernel 6.12.11-tinycore.
Checking boot options... Done.
Starting udev daemon for hotplug support... Done.
loop: module loaded
usb-storage 3-2:1.0: USB Mass Storage device detected
scsi host2: usb-storage 3-2:1.0
The "Checking boot ..." and "Starting udev ..." messages come /etc/init.d/tc-config.
"loop: module loaded" is due to tc-config executing "modprobe loop".
The last 2 messages are from the kernel.

The version which completes (ser-con-Vx0-tc16-x86-printk.txt) ends here:
Code: [Select]
Booting Core 16.0alpha1
Running Linux Kernel 6.12.11-tinycore.
Checking boot options... Done.
Starting udev daemon for hotplug support... Done.
usb-storage 3-2:1.0: USB Mass Storage device detected
scsi host2: usb-storage 3-2:1.0
loop: module loaded
via-rhine 0000:00:0b.0 eth0: VIA Rhine III at (ptrval), 00:80:64:84:0d:8f, IRQ 19
via-rhine 0000:00:0b.0 eth0: MII PHY found at address 1, status 0x7849 advertising 01e1 Link 0000
input: PC Speaker as /devices/platform/pcspkr/input/input4
cpufreq: CPU0: Fast frequency switching not enabled
cpufreq: Registered transition notifiers:
cpufreq: 0xc01257d0
scsi 2:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 4
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.03 GB/7.48 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 2:0:0:0: [sdb] No Caching mode page found
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI removable disk
random: crng init done
Adding 227132k swap on /dev/zram0.  Priority:-2 extents:1 across:227132k SS
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Setting Timezone to America/Chicago Done.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Possible swap partition(s) enabled.
Loading extensions...parport_pc 00:05: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
ppdev: user-space parallel port driver
 Done.
Setting keymap to us Done.
Restoring backup files from /mnt/sda1/tce/mydata.tgz Done.
longhaul: Option "enable" not set - Aborting
Setting hostname to box Done.
login[604]: root login on 'tty1'
Maybe the cpufreq module is hanging the CPU.
Try:
Code: [Select]
initcall_blacklist=cpufreq
You could also try this to reduce udev activity:
Code: [Select]
udev.children-max=1
... The failsafe is the cheatcodes from the Knoppix failsafe boot option containing:
Code: [Select]
APPEND lang=en vga=normal atapicd nosound noapic nolapic noacpi pnpbios=off acpi=off nofstab noscsi nodma noapm nousb nopcmcia nofirewire noagp nomce libata.force=noncq hpsa.hpsa_allow_any=1 nonetwork nodhcp xmodule=vesa initrd=/boot/rootfs.gz,/boot/modules.gz ignore_loglevel no3d nofb console=ttyS0,115200n8
Obviously some parameters are ignored by TC.
Parameters that the kernel does not recognize wind up in /proc/cmdline
for use by system scripts. TC uses this mechanism too.
The  noacpi  code is valid, but not by itself. It should be:
Code: [Select]
pci=noacpi
... I was previously looking through the boot sequence code, and although I used the waitusb=13 cheatcode, the message from the bootcode never showed up showing that it was actually waiting. ...
The  waitusb=N  only executes a  sleep N  instruction with no message.
It will always wait N seconds.

The  waitusb=N:UUID="UUID of device to wait for"  will echo a countdown while waiting.
It will wait up to N seconds.
It will continue when the device is ready or N seconds has elapsed, whichever comes first.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15015
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #36 on: February 22, 2025, 10:05:44 AM »
Problems with re-drawing window borders using flwm/flwm_topside in x86_64 seem to have been fixed, updated extensions uploaded.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15015
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #37 on: February 22, 2025, 10:15:42 AM »
@polikuo - when using labwc-config in x86_64, things seem to work OK, but when I exit to the console I cannot "startx" (Xorg-7.7 flwm aterm wbar), the gui begins to start and then hangs.

I don't see an error in the xorg log - any ideas?

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 551
  • Good software needn't be big!
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #38 on: February 22, 2025, 10:19:21 AM »
Quote
Problems with re-drawing window borders using flwm/flwm_topside in x86_64 seem to have been fixed, updated extensions uploaded.

Juanito: That is great news!  Thanks for helping me get back up to working on FLTK aps and FLWM... looks like I'm getting here too late to help much.  I would like to get 16 RC up and running though.  The RC files at http://repo.tinycorelinux.net/16.x/x86_64/release_candidates/distribution_files/ don't seem to show today's date.  Is that the right place to grab them?

Juanito or anyone...  I'm currently booting TC15 on a ThinkPad laptop form a USB stick, I think in "legacy" mode (non UEFI).  It modded the boot config to use different boot parameters to use my internal SSD storage as my tce/ home  (deleted "cde" from the boot parmeters and added "tce=sda2 restore=sda2")

I'd like to keep the 15 kernel as an option, and setup my USB boot stick to have a new TC 16 RC menu entry.

I think I can do this by copying over the RC vmlinuz64 with a new name to sit next to the TC 15 vmlinuz kernel, then making sure the RC boot menu entry refers to the correct name of the kernel I want.

However, I'm not sure how to set up the modules.gz and rootfs64.gz.   is the RC rootfs64 the same as the corepure64.gz that is on my USB boot stick?  So I can set up my boot entry like this...

LABEL tc_rc                                                                     
MENU LABEL Boot TinyCore 16 RC                                                 
TEXT HELP                                                                     
Boot TinyCore version 16 Release Candidate                           
Boot media is removable. Use TAB to edit options for specific needs.           
ENDTEXT                                                                       
KERNEL /boot/vmlinuz64_16rc                               
INITRD /boot/rootfs64.gz                                                     
APPEND loglevel=3 tce=sda2/tce16 restore=sda2/tce16 vga=791 

What do I do with the modules.gz in the release candidates URL?  Thanks for any suggestions! -Mike

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15015
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #39 on: February 22, 2025, 10:32:46 AM »
The RC files at http://repo.tinycorelinux.net/16.x/x86_64/release_candidates/distribution_files/ don't seem to show today's date.  Is that the right place to grab them?
Yes

Quote
I think I can do this by copying over the RC vmlinuz64 with a new name to sit next to the TC 15 vmlinuz kernel, then making sure the RC boot menu entry refers to the correct name of the kernel I want.
Yes, you can rename them, for example, modules64_16.gz, rootfs_16.gz and vmlinuz64_16

Quote
However, I'm not sure how to set up the modules.gz and rootfs64.gz.   is the RC rootfs64 the same as the corepure64.gz that is on my USB boot stick?
corepure64.gz = rootfs64.gz + modules64.gz

Quote
So I can set up my boot entry like this...
Using grub you can specify "initrd /boot/rootfs64.gz /boot/modules64.gz"

I'm not sure if your boot loader can do this or not (you can try :) ), otherwise you'd have to concatenate them

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11931
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #40 on: February 22, 2025, 10:40:53 AM »
Hi MikeLockmoore
... corepure64.gz = rootfs64.gz + modules64.gz ...
You can create corepure64.gz like this:
Code: [Select]
cat rootfs64.gz modules64.gz > corepure64.gz

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 551
  • Good software needn't be big!
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #41 on: February 22, 2025, 11:00:33 AM »
Thanks Rich and Juanito.  I did get it to boot!  I'm having networking issues and I notice that screen & window repainting is much slower than normal.  A big window takes about 1 to 2 seconds... you can see the repaint flow down the window.  :o

I have to take a break now for some family activities, but I'll probably work on this later today.  Thanks again!

Offline andyj

  • Hero Member
  • *****
  • Posts: 1037
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #42 on: February 22, 2025, 04:01:38 PM »
Bind 9.20 needs liburcu-dev, which is available for 64 bit but not 32 bit. I'm also building against Tcl/Tk 9.0 which is not ABI compatible with 8.6. Other updates will include MariaDB 11.4, PHP 8.4, and Postgresql 17.

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 551
  • Good software needn't be big!
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #43 on: February 22, 2025, 08:47:00 PM »
Minor update: I did a boot with 16 RC with a "base" boot parameter to avoid any release 15 extensions being loaded or anything from my version 15 home.  The graphic repaint is working much better.  Maybe not as snappy as regular version 15, but you can't see redrawing flow.  If you quickly move a GUI window like the text editor, there is more graphical tearing than version 15, but nowhere near as bad as I was seeing with a bunch of extensions loading, including thinkpad_acpi.tcz which I think includes some graphics drivers for DRM mode, etc.  Maybe some of the version 15 extensions don't play nice with v.1.4.1 FLTK built into the new version of FLWM? 

I do need to build back up a developer's set of extensions for the version 16 RC boot mode to maybe do some refinement of FLWM or apps.  I'm not sure if I am supposed to be able to do this, but I thought the GUI apps (e.g. Control Panel and Editor) should be scalable now with Ctrl Plus or Ctrl Minus key combos, but I didn't see it work so far.

As far as running extensions in this 16 RC environment, can I just use the normal Apps tool and pull in the regular extensions and have them run "on boot" as normal, or will I need special extensions?  I think there's a wireless library that wants kernel 6.12-specific stuff that won't work with the wiresless kernel modules extension for release version 15.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11931
Re: Tiny Core 16.0 Alpha 1 Testing
« Reply #44 on: February 23, 2025, 12:22:07 AM »
Hi MikeLockmoore
I would avoid mixing extensions from different versions. Kernel
modules shouldn't be an issue. Dependency files don't include
kernel versions. They include entries like wiresless-KERNEL.tcz.
Then, tce-load uses uname -r to determine the running kernel
and uses that to replace KERNEL with the kernel version and
load the matching kernel module extension.

Problems can occur when extensions and or dependencies are
updated to different versions across releases.

What I do is set up separate partitions for different versions. I
make them between 2 and 4 Gigabytes. That's plenty of space
for extensions as well as a persistent home and opt directories.