Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 04:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
[Solved] No X after disabling HotPup
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Fri 03 Oct 2008, 09:03    Post subject:  [Solved] No X after disabling HotPup
Subject description: Was: No X after resolution change
 

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, 12:40; edited 3 times in total
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 03 Oct 2008, 09:54    Post subject:  

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

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Fri 03 Oct 2008, 11:38    Post subject:  

Thanks Mark,

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

Here is the xerrs.log
Code:


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:

(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
Back to top
View user's profile Send private message 
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Mon 06 Oct 2008, 12:39    Post subject:  

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:
#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:
#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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0660s ][ Queries: 11 (0.0043s) ][ GZIP on ]