Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: rhermsen on February 24, 2022, 04:19:08 AM

Title: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: rhermsen on February 24, 2022, 04:19:08 AM
I’m trying CoreLinux 13.0 (x86 image) in a virtual setup.
With CoreLinux 12.0 it works in the same setup.

After installing X-org and a reboot I get the error:
Code: [Select]
failed in waitforX
The extension I’m loading on top of CoreLinux-13.0:
Code: [Select]
Xorg-7.7.tcz
flwm_topside.tcz
wbar.tcz
aterm.tcz

Are there for CL-13.0 other extensions needed in addition?

/var/log/Xorg.0.log gives the following error at the end:
Code: [Select]
9.456 EE Screen(s) found, but none have a usable configuration.
9.456 EE
Fatal server error:
9.456 EE no screens found EE
9.456 EE
9.456 EE Please also check the log file at "/var/log/Xorg.0.log" for additional information.
9.456 EE
9.467 EE Server terminated with error (1). Closing log file.

Full log: https://pastebin.com/xkTeNv4i (https://pastebin.com/xkTeNv4i)

Also tried:
Code: [Select]
sudo Xorg -configure
Code: [Select]
X -config /root/xorg.conf.newWith the same error messages.

Comparing /usr/local/tce.installed of CL-12 and CL-13 give only small differences:
Code: [Select]
CL-13 added xf86-video-fbdev
CL-13 added libxcvt
in CL-13 libwacom became a simlink to a startup script

Extensions that are started on bootup:
Code: [Select]
cat /mnt/vda1/tce/onboot.lst
libXmu.tcz
openssh.tcz
Xorg-7.7.tcz
flwm_topside.tcz
wbar.tcz
aterm.tcz
Xfbdev.tcz

Link to dmesg: https://pastebin.com/iQ0NzJfD (https://pastebin.com/iQ0NzJfD)
all vga related lines are the same as with CL-12

Any other things I can check?
Title: Re: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: Juanito on February 24, 2022, 05:14:49 AM
Using qemu to boot Core-13.0.iso, I had to load graphics-KERNEL before Xorg-7.7 would start (using the modesetting driver).
Title: Re: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: rhermsen on February 24, 2022, 06:54:07 AM
Thanks for the quick reply.
Is Xvesa.tcz also required (looks like..)?

On CorePlus-13.0.iso with tce-load -wi graphics-KERNEL.tcz before
tce-load -wi Xorg-7.7.tcz
(with flwm_topside.tcz, wbar.tcz and aterm.tcz already installed)
it works.

But with Core-13.0.iso, and:
Code: [Select]
$ cat /mnt/vda1/tce/onboot.lst
libXmu.tcz
openssh.tcz
graphics-5.15.10-tinycore.tcz
Xorg-7.7.tcz
flwm_topside.tcz
wbar.tcz
aterm.tcz

I see a black screen, and a crash in dmesg:
Code: [Select]
hsetroot[2192]: segfault at 88 ip 08049cb4 sp bfccb440 error 4 in hsetroot[8048000+4000]
Code: 49 04 89 85 a4 fb ff ff 89 8d a0 fb ff ff c7 04 24 00 00 00 00 e8 6c f7 ff ff c7 05 b8 c6 04 08 00 00 00 00 89 85 a8 fb ff ff <8b> 80 88 00 00 00 85 c0 0f 8e a6 04 00 00 c7 04 24 00 00 00 00 e8

Adding tce-load -wi Xvesa.tcz (to match onboot.lst of CorePlus-13.0.iso) looks to solve this.



Title: Re: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: Juanito on February 24, 2022, 07:07:49 AM
You can use either Xvesa or Xorg-7.7:

either
"tce-load -i Xvesa flwm aterm wbar"
or
"tce-load -i graphics-KERNEL Xorg-7.7 flwm aterm wbar"
Title: Re: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: jazzbiker on February 24, 2022, 07:50:43 AM
Hi rhermsen,

Aren't You using 64-bit virtual machine? If yes You can try Core64 mode (vmlinuz64 + modules64.gz + rootfs.gz).
Title: Re: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: rhermsen on February 24, 2022, 08:26:45 AM
@Juanito,
With a quick test on CorePlus-13.0.iso it indeed works with just Xorg-7.7.
I have to find some time to see why it fails with Core-13.0.iso...

@Jazzbiker,
No, using 32-bit.
I compiled most of the extensions for 32-bit only when I started with TCL, so a bit stuck to 32-bit.
Title: Re: CoreLinux-13.0 (x86), Xorg, failed in waitforX
Post by: rhermsen on February 24, 2022, 11:54:00 AM
I found the issue of the crash.
I forgot to generate a new xorg.conf file

Code: [Select]
sudo Xorg -configure