[Solved] No X after disabling HotPup

Using applications, configuring, problems
Post Reply
Message
Author
2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

[Solved] No X after disabling HotPup

#1 Post by 2byte »

Please see the fourth post.


Will someone please tell me how, or point me to the info to solve this problem?

After running Dingo for several months, I tried to change the screen resolution with xorgwizard. After selecting 1024 x 768 depth 16, I clicked test. Xorgwizrd would set it to 1280 x 1024. I tried this 3 times with the same result. Then I used the Resolution Changer to set it. All looked good. On rebooting, X would not start. I tried tweaking xorg.conf , no change. I even booted to ram, mounted the save file and copied the entire contents of /etc/X11 from another save file that has the correct screen setup, no change.

Please, what files would have to be deleted or edited to force Puppy to rebuild the video configuration from scratch for this save file?

Thanks,
Vern

Dingo 4.0
Live CD
Save files on ext2 partition
Last edited by 2byte on Mon 06 Oct 2008, 16:40, edited 3 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

type:

mp /tmp/xerrs.log
mp /var/log/Xorg.0.log


These logs might indicate, what is wrong.
Also try:
mv /etc/X11/xorg.conf /etc/X11/xorg.conf-backup1
xorgwizard

So you move the old conf, so that Puppy starts with an empty one.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#3 Post by 2byte »

Thanks Mark,

Puppy rebuilt the xorg.conf file. It looks good but still no X.

Here is the xerrs.log

Code: Select all


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux puppypc 2.6.21.7 #1 Sun Feb 24 10:22:08 GMT-8 2008 i686
Build Date: 28 November 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct  3 10:49:31 2008
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module already built-in
(II) Module already built-in
(EE) intel: Failed to load module "sil164" (module does not exist, 0)
(EE) intel: Failed to load module "ch7xxx" (module does not exist, 0)
(EE) intel: Failed to load module "ivch" (module does not exist, 0)
(EE) intel: Failed to load module "tfp410" (module does not exist, 0)
(II) Module already built-in
/sbin/modprobe: line 36: sed: command not found
/sbin/modprobe: line 38: grep: command not found
/sbin/modprobe: line 43: tr: command not found
/sbin/modprobe: line 43: tr: command not found
/sbin/modprobe: line 43: sed: command not found
/sbin/modprobe: line 43: sed: command not found
/sbin/modprobe: line 43: sed: command not found
/sbin/modprobe: line 43: sed: command not found
/sbin/modprobe: line 43: sed: command not found
/sbin/modprobe: line 43: tr: command not found
/sbin/modprobe: line 43: tr: command not found
/sbin/modprobe: line 44: grep: command not found
/sbin/modprobe: line 46: grep: command not found
/sbin/modprobe: line 46: tr: command not found
/sbin/modprobe: line 47: cut: command not found
/sbin/modprobe: line 53: cat: command not found
/sbin/modprobe: line 54: uname: command not found
/sbin/modprobe: line 84: sed: command not found
/sbin/modprobe: line 85: cat: command not found
/sbin/modprobe: line 85: grep: command not found
/sbin/modprobe: line 85: head: command not found
/sbin/modprobe: line 85: tr: command not found
/sbin/modprobe: line 87: sed: command not found
/sbin/modprobe: line 88: cat: command not found
/sbin/modprobe: line 88: grep: command not found
/sbin/modprobe: line 88: head: command not found
/sbin/modprobe: line 88: tr: command not found
FATAL: Module i915 not found.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable
/root/.xinitrc: line 21: syntax error near unexpected token `fi'
/root/.xinitrc: line 21: `fi'

waiting for X server to shut down FreeFontPath: FPE "/usr/X11R7/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.

The Xorg.0.log is large and would not attach to this post so I pulled out some interesting lines.

Code: Select all

(II) Loading sub module "sil164"
(II) LoadModule: "sil164"
(WW) Warning, couldn't open module sil164
(II) UnloadModule: "sil164"
(EE) intel: Failed to load module "sil164" (module does not exist, 0)
(II) Loading sub module "ch7xxx"
(II) LoadModule: "ch7xxx"
(WW) Warning, couldn't open module ch7xxx
(II) UnloadModule: "ch7xxx"
(EE) intel: Failed to load module "ch7xxx" (module does not exist, 0)
(II) Loading sub module "ivch"
(II) LoadModule: "ivch"
(WW) Warning, couldn't open module ivch
(II) UnloadModule: "ivch"
(EE) intel: Failed to load module "ivch" (module does not exist, 0)
(II) Loading sub module "tfp410"
(II) LoadModule: "tfp410"
(WW) Warning, couldn't open module tfp410
(II) UnloadModule: "tfp410"
(EE) intel: Failed to load module "tfp410" (module does not exist, 0)
(II) intel(0): I2C bus "DVODDC_D" removed.
....
....
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
(II) intel(0): [drm] drmOpen failed
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
....
....
(WW) intel(0): Option "PreferredMode" is not used
....
....
Where to go from here?

Vern

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#4 Post by 2byte »

This problem was not caused by changing the screen resolution. During the same session as the resolution change, I had also disabled the HotPup daemon, and this caused the problem. Somehow /root/.xinitrc gets corrupted when the daemon is disabled from the HotpupSettings script.

Corrupted part of .xinitrc

Code: Select all

#v3.98 Dougal: code for running the HotPup daemon:
if [ -f #/etc/HotPup/HotPup.sh  ];then 
 PINFILE=$HOME/Choices/ROX-Filer/PuppyPin
 #PINFILE=$HOME/.config/rox.sourceforge.net/ROX-Filer/pb_Default
 # Clean pinboard file from previous mountpoints
 grep -E -v '>/mnt/[a-z]?[[:alnum:]]+<' $PINFILE >$PINFILE.tmp
 mv -f $PINFILE.tmp $PINFILE
 # Run daemon:
 #v3.99 important no leading space (see /etc/HotPup/HotPupSettings)...
 #v4.00 leading '#' is default off...
#/etc/HotPup/HotPup.sh  &
fi
It should be

Code: Select all

#v3.98 Dougal: code for running the HotPup daemon:
if [ -f /etc/HotPup/HotPup.sh ];then
 PINFILE=$HOME/Choices/ROX-Filer/PuppyPin
 #PINFILE=$HOME/.config/rox.sourceforge.net/ROX-Filer/pb_Default
 # Clean pinboard file from previous mountpoints
 grep -E -v '>/mnt/[a-z]?[[:alnum:]]+<' $PINFILE >$PINFILE.tmp
 mv -f $PINFILE.tmp $PINFILE
 # Run daemon:
 #v3.99 important no leading space (see /etc/HotPup/HotPupSettings)...
 #v4.00 leading '#' is default off...
#/etc/HotPup/HotPup.sh all &
fi
Vern

Post Reply