WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Knoppix1337

  • Newbie
  • *
  • Posts: 7
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: 11860
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: 11860
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: 7
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: 14958
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: 11860
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.