WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 3.8.4 gnome-desktop-base startx error segfault hsetroot  (Read 4722 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
3.8.4 gnome-desktop-base startx error segfault hsetroot
« on: April 05, 2012, 03:59:13 PM »

so im trying get a setup with "gnome-desktop-base"
but startx seems to quit with error
Quote
hesetroot[14199]: segfault at 88 ip 08049 sp bfbdc360 eror 4 in hsetroot[804800+4000]
like the one in this (italian) thred  http://forum.tinycorelinux.net/index.php/topic,5224.msg29471.html#msg29471

this is my setup
after folowing steps from "gnome-desktop-base.tcz.info"

Code: [Select]
kernel /boot/bzImage laptop tce=sda5/tcX/3.x mydata=gnome_data lst=gnome.lst
initrd /boot/tinycore.gz
--gnome.lst
Quote
gnome-desktop-base.tcz

Code: [Select]
kernel /boot/bzImage laptop tce=sda5/tcX/3.x  mydata=gnome_data_mc lst=mc-gnome.lst
initrd /boot/microcore.gz
--mc-gnome.lst
Quote
Xprogs.tcz
Xlibs.tcz
Xorg-7.5.tcz
gnome-desktop-base.tcz

both give error
after some searching forums
 i can see im missing any thing obvious  :(



Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #1 on: April 06, 2012, 01:57:39 AM »
hsetroot segfaults if X could not start, usually at least.
The only barriers that can stop you are the ones you create yourself.

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #2 on: April 06, 2012, 11:46:46 AM »
hsetroot segfaults if X could not start, usually at least.

thanks !
it seems xorg auto config and intel gfx is the cause ,
 looks like i have some more reading to do


Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #3 on: April 06, 2012, 01:24:13 PM »
booting cleen with option lst=xorg_test.lst

xorg_test.lst contains  "Xorg-7.5.tcz"
this boots to prompt and
shows the same segfault error , log attached

however i have vbox.lst with  "virtualbox-ose.tcz"
starting with this option
 boots to desktop with vbox in wbar menu
 virtualbox-ose.tcz module depends on Xorg-7.5

any ideas
why is vbox + Xorg-7.5 working
and just Xorg-7.5
   or gnome + Xorg-7.5
failing with error ?
 ???


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #4 on: April 06, 2012, 02:09:12 PM »
"(WW) intel(0): No outputs definitely connected, trying again..." - maybe something that's fixed in 7.6.

I don't see Xorg in virtualbox-ose.tcz.tree? In that case, it's likely Xvesa that's running.
The only barriers that can stop you are the ones you create yourself.

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #5 on: April 06, 2012, 03:45:48 PM »
"(WW) intel(0): No outputs definitely connected, trying again..." - maybe something that's fixed in 7.6.

I don't see Xorg in virtualbox-ose.tcz.tree? In that case, it's likely Xvesa that's running.

just to be clear im using tc 3.8.4  ,
 it is in the tree ! at least the one im using   (from the 3.x repo)
 i cheked in the dep
and also its loaded when i look in tce.installed (or the controls panel thing)

http://distro.ibiblio.org/tinycorelinux/3.x/tcz/virtualbox-ose.tcz.dep
http://distro.ibiblio.org/tinycorelinux/3.x/tcz/virtualbox-ose.tcz.tree

it seems to work when loaded with vbox but not on its own

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #6 on: April 06, 2012, 05:36:10 PM »
Hi dubcore
Quote
(EE) open /dev/fb0: No such device
This is the first error that shows up in the failing log file but is not present in the working log file. I have that device
entry present on machines running Xorg and Xvesa.
Code: [Select]
tc@box:~/msrbcusips$ ls -l /dev/fb0
crw--w--w- 1 root root 29, 0 Mar  4  2010 /dev/fb0
After it segfaults, check if it is present, if not, try this:
Code: [Select]
sudo mknod /dev/fb0 c 29 0
sudo chmod 644 /dev/fb0
startx

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #7 on: April 07, 2012, 02:42:01 AM »
OK, I see now. Intel requires the graphics- extension, which is not required by Xorg-7.5 by itself, but is loaded by the virtualbox dep file.
The only barriers that can stop you are the ones you create yourself.

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~
Re: 3.8.4 gnome-desktop-base startx error segfault hsetroot
« Reply #8 on: April 07, 2012, 05:36:24 AM »
hi
After it segfaults, check if it is present, if not, try this:
Code: [Select]
sudo mknod /dev/fb0 c 29 0
sudo chmod 644 /dev/fb0
startx
i tryed with
Code: [Select]
if [ `ls  /dev/fb0` = "/dev/fb0" ] ;
 then
  echo "gotit" ;
 else
  echo "createfb+test" ;
   sudo mknod /dev/fb0 c 29 0 ;
   sudo chmod 664 /dev/fb0 ;
   startx ;
 fi
but i have device /dev/fb0
despite the error from the log 

...
OK, I see now. Intel requires the graphics- extension, which is not required by Xorg-7.5 by itself, but is loaded by the virtualbox dep file.

embarrassingly this is one of the first thing i try (xorg+gfx)
but i must have stayed up to early trying to get this woking !
 because im replying from gnome desktop  ! (im shore before this booted me to blank screen )

booting with xorg_gfx_test.lst = "graphics-2.6.33.3-tinycore.tcz \n Xorg-7.5 "
all though it  shows segfault error
 and boots to prompt
 running startx loads tc default background + wbar etal
 loading  gnome +setup  then runing startx
 every thing seems to work as expected 
tho
this appears in dmesg
Quote
pulseaudio[21814]: segfault at 0 ip b76e440d sp bfe7e06c error 4 in libX11-xcb.so.1.0.0[b76e4000+1000]

@* thanks !!
now i will try this setup with tc4    ;D