Jump to content

Mandriva 2007 freezes! [Solved]


chris-tux
 Share

Recommended Posts

Hello,

I am installing mandriva 2007 pwp. I had problems with the display (geforce fx 5600xt) and I think it was because I installed leaving my /home directory intact. Now, it looks great :D

 

Unfortunately, I have strange freezes (I need to hard reset, ctrl+alt+bckspace is doing nothing).

I looked at the memory, tried to load linux with noapic, no plugandplay in the bios... but with no results.

The worse situation is then I try to load KDE: I can't even go to the desktop. Gnome and IceWM are a little better, I can work a little but after a while .... :wall:

Note that when it freezes, the mouse is moving ok but everything else is out.

 

Any Help Appreciated, I will open a new thread for that problem.

 

Chris

Edited by arctic
Link to comment
Share on other sites

Try this. Boot the system, then before you log into the system, press CTRL-ALT-F1. This will give you a console prompt. Login as "root" with the password you supplied during install.

 

Once logged in, do:

 

service dm stop

 

this will stop the current X session. Now, hopefully, we have a bit of time using the console to check out the log files, and see if there is anything in there that looks like is causing the problem. Try:

 

less /var/log/messages

 

you'll have to scroll towards the bottom of the file, and then work your way back up and see if anything looks bad in there. We can also look at disabling some services as well. Post a list of this command:

 

chkconfig --list | grep :on

 

and then I can tell you what to disable.

Link to comment
Share on other sites

Thanks for your help,

I am not near my pc now and will post back asap. I looked already to /var/log/messages and didn't notice anything strange; I also tried to stop some unnecessary service but without any success.

Anyway, I will post all this to bee looked by an expert eye!

TIA

Chris

Link to comment
Share on other sites

HI,

Using tail -f /var/log/messages to monitor what could freeze my pc: I found that just before freezing I often had

Nov 22 21:14:17 localhost mdkapplet[5807]: ### Program is starting ###

Nov 22 21:14:17 localhost net_applet[5820]: ### Program is starting ###

Nov 22 21:14:22 localhost mdkapplet[5807]: Vérification du fichier de configuration : absent

Nov 22 21:18:43 localhost gconfd (chris-tux-6133): démarrage (version 2.14.0), pid 6133 utilisateur « chris-tux »

Nov 22 21:18:43 localhost gconfd (chris-tux-6133): Adresse « xml:readonly:/etc/gconf/gconf.xml.mandatory » résolue vers une source

de configuration en lecture seule à la position 0

Nov 22 21:18:43 localhost gconfd (chris-tux-6133): Adresse « xml:readonly:/etc/gconf/gconf.xml.local-mandatory » résolue vers une s

ource de configuration en lecture seule à la position 1

Nov 22 21:18:43 localhost gconfd (chris-tux-6133): Adresse « xml:readwrite:/home/chris-tux/.gconf » résolue vers une source de conf

iguration accessible en écriture à la position 2

Nov 22 21:18:43 localhost gconfd (chris-tux-6133): Adresse « xml:readonly:/etc/gconf/gconf.xml.local-defaults » résolue vers une so

urce de configuration en lecture seule à la position 3

Nov 22 21:18:43 localhost gconfd (chris-tux-6133): Adresse « xml:readonly:/etc/gconf/gconf.xml.defaults » résolue vers une source d

e configuration en lecture seule à la position 4

 

especially the complain about mdkapplet. I needed I can post a longer part of /var/log/messages...

 

conserning the services activated:

[root@localhost chris-tux]# chkconfig --list|grep on

avahi-daemon 0:arrêt 1:arrêt 2:arrêt 3:marche 4:arrêt 5:marche 6:arrêt

crond 0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt

haldaemon 0:arrêt 1:arrêt 2:arrêt 3:marche 4:marche 5:marche 6:arrêt

oki4daemon 0:arrêt 1:arrêt 2:arrêt 3:arrêt 4:arrêt 5:arrêt 6:arrêt

partmon 0:arrêt 1:arrêt 2:arrêt 3:marche 4:marche 5:marche 6:arrêt

 

thanks for your advices

Link to comment
Share on other sites

Just close and don't use mdkapplet, it's broken anyway. The rest I'm not sure about, it's in French, perhaps gowator here can help out, he speaks French so hope he sees this.

 

You seem to have very few services on your system, which surprises me. Anyway, avahi-daemon can be safely disabled.

 

I'm just wondering why you have so many services disabled. Especially the "dm" service, as this is what controls the X server.

 

Here is an idea of what you should have enabled on your system if it was a good install of Mandriva 2007:

 

[root@europa ian]# chkconfig --list | grep :on
acpi			0:off   1:off   2:on	3:on	4:on	5:on	6:off
acpid		   0:off   1:off   2:off   3:on	4:on	5:on	6:off
alsa			0:off   1:off   2:on	3:on	4:on	5:on	6:off
apmd			0:off   1:off   2:on	3:on	4:on	5:on	6:off
atd			 0:off   1:off   2:off   3:on	4:on	5:on	6:off
clamd		   0:off   1:off   2:on	3:on	4:on	5:on	6:off
crond		   0:off   1:off   2:on	3:on	4:on	5:on	6:off
cups			0:off   1:off   2:on	3:on	4:on	5:on	6:off
dm			  0:off   1:off   2:off   3:off   4:off   5:on	6:off
freshclam	   0:off   1:off   2:on	3:on	4:on	5:on	6:off
haldaemon	   0:off   1:off   2:off   3:on	4:on	5:on	6:off
harddrake	   0:off   1:off   2:off   3:on	4:on	5:on	6:off
keytable		0:off   1:off   2:on	3:on	4:on	5:on	6:off
kheader		 0:off   1:off   2:on	3:on	4:off   5:on	6:off
laptop-mode	 0:off   1:off   2:on	3:on	4:on	5:on	6:off
messagebus	  0:off   1:off   2:off   3:on	4:on	5:on	6:off
network		 0:off   1:off   2:on	3:on	4:on	5:on	6:off
network-up	  0:off   1:off   2:on	3:on	4:on	5:on	6:off
partmon		 0:off   1:off   2:off   3:on	4:on	5:on	6:off
sound		   0:off   1:off   2:on	3:on	4:on	5:on	6:off
syslog		  0:off   1:off   2:on	3:on	4:on	5:on	6:off
xfs			 0:off   1:off   2:on	3:on	4:on	5:on	6:off
xinetd		  0:off   1:off   2:off   3:on	4:on	5:on	6:off

 

if you've hardly got any of this, then I'm wondering if your install is corrupt and why you're experiencing so many problems. You might not have laptop-mode if you're not using a laptop, but the rest is normally there by default. Of course, you could have disabled a lot of services, and probably a lot of very important ones causing your problems.

Link to comment
Share on other sites

:lol2: sorry ian, I should have adapted the command to the french system

[root@localhost chris-tux]# chkconfig --list|grep marche
acpi			0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
acpid		   0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
alsa			0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
atd			 0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
avahi-daemon	0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:arrêt		 5:marche		6:arrêt 
clamd		   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
crond		   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
dkms			0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
dm			  0:arrêt		 1:arrêt		 2:arrêt		 3:arrêt		 4:arrêt		 5:marche		6:arrêt 
freshclam	   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
haldaemon	   0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
harddrake	   0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
iptables		0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
keytable		0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
kheader		 0:arrêt		 1:arrêt		 2:marche		3:marche		4:arrêt		 5:marche		6:arrêt 
lisa			0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
mandi		   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
mdadm		   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
messagebus	  0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
netfs		   0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
network		 0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
network-up	  0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
nfslock		 0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
numlock		 0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
partmon		 0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
portmap		 0:arrêt		 1:arrêt		 2:arrêt		 3:marche		4:marche		5:marche		6:arrêt 
shorewall	   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
sound		   0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
syslog		  0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
wltool		  0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt 
xfs			 0:arrêt		 1:arrêt		 2:marche		3:marche		4:marche		5:marche		6:arrêt

 

How do I stop in a safe manner mdkapplet ?

I just desinstalled mdkonline

 

but I still have freezing:

I can log via kdm with icewm, kde never opens...

the last lines of /var/log/messages before freezing are:

Nov 23 16:43:51 corti net_applet[5770]: ### Program is starting ###
Nov 23 16:46:57 corti kdm_greet[6042]: Can't open default user face
Nov 23 16:47:13 corti net_applet[6303]: ### Program is starting ###
Nov 23 16:47:13 corti gconfd (chris-tux-6317): démarrage (version 2.14.0), pid 6317 utilisateur « chris-tux »
Nov 23 16:47:13 corti gconfd (chris-tux-6317): Adresse « xml:readonly:/etc/gconf/gconf.xml.mandatory » résolue vers une source de configuration en lecture seule à la position 0
Nov 23 16:47:13 corti gconfd (chris-tux-6317): Adresse « xml:readonly:/etc/gconf/gconf.xml.local-mandatory » résolue vers une source de configuration en lecture seule à la position 1
Nov 23 16:47:13 corti gconfd (chris-tux-6317): Adresse « xml:readwrite:/home/chris-tux/.gconf » résolue vers une source de configuration accessible en écriture à la position 2
Nov 23 16:47:13 corti gconfd (chris-tux-6317): Adresse « xml:readonly:/etc/gconf/gconf.xml.local-defaults » résolue vers une source de configuration en lecture seule à la position 3
Nov 23 16:47:13 corti gconfd (chris-tux-6317): Adresse « xml:readonly:/etc/gconf/gconf.xml.defaults » résolue vers une source de configuration en lecture seule à la position 4
Nov 23 16:47:18 corti gconfd (chris-tux-6317): Adresse « xml:readwrite:/home/chris-tux/.gconf » résolue vers une source de configuration accessible en écriture à la position 0
Nov 23 16:48:38 corti kernel: Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.1.5 DST=192.168.1.255 LEN=44 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32771 DPT=7741 LEN=24 
Nov 23 16:49:53 corti gconfd (chris-tux-6317): Sortie
Nov 23 16:49:55 corti kdm_greet[6407]: Can't open default user face
Nov 23 16:50:13 corti kernel: NVRM: Xid (0001:00): 6, PE0000 0040 02d24040 0000fdf8 02d24040 00000000
Nov 23 16:52:00 corti syslogd 1.4.1: restart.
Nov 23 16:52:00 corti INIT: Loading ACPI module processor: successfull
Nov 23 16:52:01 corti kernel: klogd 1.4.1, log source = /proc/kmsg started.
Nov 23 16:52:01 corti kernel: Inspecting /boot/System.map-2.6.17-5mdv
Nov 23 16:52:01 corti INIT: Loading ACPI module thermal: successfull
Nov 23 16:52:01 corti INIT: Loading ACPI module video: successfull
Nov 23 16:52:01 corti crond[2373]: (CRON) STARTUP (V5.0)
Nov 23 16:52:01 corti kernel: Loaded 21427 symbols from /boot/System.map-2.6.17-5mdv.
Nov 23 16:52:01 corti kernel: Symbols match kernel version 2.6.17.
Nov 23 16:52:01 corti kernel: No module symbols loaded - kernel modules not enabled.

 

I also noticed that

[root@corti chris-tux]# tail /var/log/gdm/\:0.log.4
AUDIT: Thu Nov 23 16:03:32 2006: 4111 Xorg: client 2 rejected from local host
 Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Nov 23 16:03:32 2006: 4111 Xorg: client 2 rejected from local host
 Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Nov 23 16:03:32 2006: 4111 Xorg: client 2 rejected from local host
 Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Nov 23 16:03:32 2006: 4111 Xorg: client 2 rejected from local host
 Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Nov 23 16:03:33 2006: 4111 Xorg: client 2 rejected from local host
 Auth name: XDM-AUTHORIZATION-1 ID: -1

 

But perhaps the worse thing is that

Nov 23 18:46:45 corti kernel: NVRM: Xid (0001:00): 6, PE0000 13f4 ffeff3f7 0000f9b4 ffeff3f7 00000000

 

I noticed that the use of mozilla crashes the system after a while but epiphany looks to work normally...

Edited by chris-tux
Link to comment
Share on other sites

I might be tempted to upgrade your kernel. Boot your system normally, then do ctrl-alt-f1 to get a console.

 

Login as root, then do:

 

service dm stop

 

then do:

 

urpmi kernel-2.6.17.6mdv

 

as there is a new kernel out now. Might help solve it perhaps.

Link to comment
Share on other sites

Thank you for your help Ian,

In fact, the problem came from my nvidia driver and my geforce fx 5600xt. I have installed the more recent one (9629) (from a plf nonfree backport source). It was more stable but I was stuck in 800x600 (I have an iiyama prolite e430t with a max resolution of 1024x768@75Hz). The problem is that there is not a good communication with my monitor (it's what I suppose...) -> the EDID (Extended Dysplay Identification) is not correct. Then , the resolution is set to the minimum. To change that:

1. configure correctly your screen (via mcc)

2. add : Option "UseEDID" "false" in /etc/X11/xorg.conf

3. reboot

The resolution is correct now ;)

 

ps: I just can't get rid of nvidia-kernel-2.6.17-5mdv-8774-1mdk

[root@corti Desktop]# rpm -qa|grep nvidia

nvidia-kernel-2.6.17-5mdv-8774-1mdk

nvidia-9629-1plf2007.0

dkms-nvidia-9629-1plf2007.0

nvidia-devel-9629-1plf2007.0

[root@corti Desktop]# rpm -e --force --nodeps nvidia-kernel-2.6.17-5mdv-8774-1mdk

rpm: seuls l'installation, la mise à jour, rmsource et rmspec peuvent être forcés

[root@corti Desktop]# urpme nvidia-kernel-2.6.17-5mdv-8774-1mdk

désinstallation de nvidia-kernel-2.6.17-5mdv-8774-1mdk.i586

 

Error! There are no instances of module: nvidia

8774 located in the DKMS tree.

error: %preun(nvidia-kernel-2.6.17-5mdv-8774-1mdk.i586) scriptlet failed, exit status 3

 

If anybody knows how to desinstall that package !

Link to comment
Share on other sites

I think the problem is that you downloaded the new kernel but did not also download and install its matching ...kernel-source.

 

Do that and then reinstall your nvidia video driver and you should have no problems.

 

 

 

Cheers. John.

Link to comment
Share on other sites

Thank you John for your help,

As the kernel-source stripped was already installed, I installed also the corresponding kernel-source; reinstall the nvidia driver but it's just as before :wall:

 

[root@corti Desktop]# urpme nvidia-kernel-2.6.17-5mdv-8774-1mdkdésinstallation de nvidia-kernel-2.6.17-5mdv-8774-1mdk.i586

Error! There are no instances of module: nvidia
8774 located in the DKMS tree.
error: %preun(nvidia-kernel-2.6.17-5mdv-8774-1mdk.i586) scriptlet failed, exit status 3
[root@corti Desktop]# rpm -qa |grep kernel
kernel-2.6.17.5mdv-1-1mdv2007.0
nvidia-kernel-2.6.17-5mdv-8774-1mdk
kernel-source-stripped-2.6.17.5mdv-1-1mdv2007.0
kernel-source-2.6.17.5mdv-1-1mdv2007.0
[root@corti Desktop]#  rpm -qa |grep nvidia
nvidia-kernel-2.6.17-5mdv-8774-1mdk
nvidia-9629-1plf2007.0
nvidia-devel-9629-1plf2007.0
dkms-nvidia-9629-1plf2007.0

Link to comment
Share on other sites

You can remove it using the noscript function with urpme.

 

urpme --noscripts packagename

 

replace packagename with the nvidia stuff you're trying to remove that is old and unrequired. I did this, and works fine for me :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...