Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: attid on May 09, 2011, 02:04:24 PM

Title: instal TC as normal system
Post by: attid on May 09, 2011, 02:04:24 PM
Hello
how i can install TC like normal system ?

i have a small computer (128RAM 128HDD-Flash) and TC very good work here, when started, but it load 30 min

1 syslinux or grub show menu
2. i see black screen with cursor on top screen ~30min.  i think that at that time unpacked rootfs
3. i see messages from kernel and then start X


i want try unpack TC and use with out unpack
Title: Re: instal TC as normal system
Post by: curaga on May 09, 2011, 02:14:49 PM
30 min - seriously? The unpacking should not take longer than a couple seconds, even on 586-class computers. Perhaps there's something waiting for a timeout, boot with "debug" to see the kernel messages.
Title: Re: instal TC as normal system
Post by: tinypoodle on May 09, 2011, 08:41:43 PM
What CPU? What boot medium and bus?
Title: Re: instal TC as normal system
Post by: attid on May 10, 2011, 05:22:45 AM
i add debug options
now i try with syslinux? after options i see text
loading bzImage  . . . . . . .
loading tinycore.gz  . . .. . . . . ready
and then black screen with cursor.

when it will boot where i can see debug message ?
Title: Re: instal TC as normal system
Post by: attid on May 10, 2011, 06:04:47 AM
and normal boot will not help me =( i get boot dir from instaled puppy, and try boot. but i get black screen on 30min too.
but i get TC with out autologin and modules.


What CPU?
AMD Geode LX 800    chipset  CS5536

What boot medium and bus?
i try boot from integreted 512MB DOM
from usb flash

default system has kernel 2.4
Title: Re: instal TC as normal system
Post by: attid on May 10, 2011, 06:23:07 AM
here dmesg http://pastebin.com/8VCvXHqS
Title: Re: instal TC as normal system
Post by: curaga on May 10, 2011, 07:52:00 AM
Quote
i add debug options
now i try with syslinux? after options i see text
loading bzImage  . . . . . . .
loading tinycore.gz  . . .. . . . . ready
and then black screen with cursor.

when it will boot where i can see debug message ?

Should be seen right there. Are you sure the option got there right? Is it shown in "showbootcodes" after boot?
Title: Re: instal TC as normal system
Post by: attid on May 11, 2011, 07:19:01 AM
yes am sure
Code: [Select]
$showbootcodes
initrd=/boot/tinycore.gz debug BOOT_IMAGE=/boot/bzImage
Title: Re: instal TC as normal system
Post by: gutmensch on May 11, 2011, 08:00:33 AM
I once had a (somewhat) similar wyse S30 thin client running with tinycore 2.x (also Geode, CS5536 chipset), there are special ATA, clock and sound driver modules for these devices, which may not be integrated into tinycore (I didn't use the builtin flash but PXE because it wasn't writable). PXE booting was in normal speed, but e.g. CONFIG_PATA_CS5536 is not set in tc kernel, it might be timeout related?
Title: Re: instal TC as normal system
Post by: attid on May 28, 2011, 09:46:02 AM
what can i try also ?
Title: Re: instal TC as normal system
Post by: Rich on May 28, 2011, 12:22:51 PM
Hi attid
In addition to  debug  add  the boot code  printk.time=1  and  pastebin the resulting dmesg. This
may help to identify which part of the boot process is slowing things down.
Title: Re: instal TC as normal system
Post by: attid on May 30, 2011, 02:12:49 PM
done. i attach file
Title: Re: instal TC as normal system
Post by: gutmensch on May 30, 2011, 02:53:17 PM
Alright, it seems to be a big (32GB) Kingston DataTraveler - one with an emulated CD drive (as usual on Kingston usb keys). I now remember that I played around with kernel options in tc 2.x to get those emulated drives to work, just to have the full feature. It might be that I also experienced this timeout, but I can't remember exactly - do you have another usb key to test? Just a plain one without this special Kingston stuff?
Title: Re: instal TC as normal system
Post by: attid on June 01, 2011, 07:17:11 AM
dmesg.txt  TC installed to integreted flash.

dmesg1.txt  unpacked TC installed to integreted flash with kernel from puppy
Title: Re: instal TC as normal system
Post by: curaga on June 01, 2011, 11:33:13 AM
Well, at least we can see that unpacking the initramfs takes 1.5s on that hardware. It's something after the kernel that's taking so long.
Title: Re: Delay to finalize boot
Post by: tinypoodle on June 01, 2011, 02:59:43 PM
What happens when leaving any USB devices (incl. related bootcodes) out of the equation?
Title: Re: instal TC as normal system
Post by: Rich on June 01, 2011, 09:01:57 PM
Hi attid
Since you can boot from the integrated disk, let's try booting with just what's needed to get a display.
Add the boot code  nousb  and unplug all USB devices for good measure. In the BIOS, disable any
integrated devices not required for booting (network, sound, etc.). The intent is to try to get the system
to boot at a normal speed. If we achieve that, then we can start adding devices back in to try to identify
the source of the problem.