Click to See Complete Forum and Search --> : Mandrake 10 Lockup


t04jas
06-10-2004, 10:39 AM
Hi Everybody,

I'm using Mandrake 10 Official, and everything works fine except (even got the 3D working with my ATI card & nforce2 chipset) but I'm getting system lockups frequently, and in the syslog this is the last entry before lockup:

Jun 10 12:01:00 localhost CROND[4314]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)

Anybody know how to remedy this?

UPDATE: Just happened again and this time the message was:

Jun 10 12:43:53 localhost kernel: eth0: no IPv6 routers present

I checked back through the logs and this has also appeared before previous lockups

Thanks,
Josh

hysterical
06-10-2004, 11:35 AM
http://www.fbunet.de/ipv6.shtml

t04jas
06-10-2004, 12:29 PM
Thanks for the reply, I just removed the module for ipv6, does anyone know why

Jun 10 12:01:00 localhost CROND[4314]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)

might cause a lockup?

Thanks,
Josh

hysterical
06-10-2004, 12:41 PM
I'm not sure what that is, it looks like a 'scheduled task' to me. Maybe someone else knows. Try emptying the /etc/cron.hourly folder? maybe.

mdwatts
06-10-2004, 02:12 PM
Originally posted by t04jas
Does anyone know why

Jun 10 12:01:00 localhost CROND[4314]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)

might cause a lockup?


It might not be the cause as the next time it happened, you found 'localhost kernel: eth0: no IPv6 routers present' as the likely culprit.

What is in /etc/cron.hourly? Mine is empty.

t04jas
06-10-2004, 03:13 PM
How do I keep the IPv6 module from loading on startup?

Thanks,
Josh

mdwatts
06-10-2004, 03:16 PM
Originally posted by t04jas
How do I keep the IPv6 module from loading on startup?


See if you have a

alias net-pf-10 ipv6

in /etc/modules.conf and change it to

alias net-pf-10 off

and then run

depmod -ae

(both as root)

So what is in /etc/cron.hourly ???

t04jas
06-10-2004, 03:37 PM
My modules.conf file looks like this:


probeall usb-interface usb-ohci ehci-hcd
alias eth0 forcedeth
above snd-intel8x0 snd-pcm-oss
alias sound-slot-0 snd-intel8x0

and the only thing in my cron.hourly is a file called msec, which is apparently an "entry script to run hardness script of change the security level" (quote from the file). Thanks for your help.

Josh

t04jas
06-10-2004, 04:05 PM
If I add "alias net-pf-10 off" to my modules.conf, will that prevent the module from loading?

--edit-- after trying that it does not prevent it from loading, any idea what I can do to prevent this module from loading as I think that it may be causing the problem.

Thanks,
Josh

DMR
06-10-2004, 04:19 PM
Could you post the contents of your /etc/sysconfig/network file and the output of the "lsmod" command please? (the "l" in "lsmod" is a lowercase"L")

hysterical
06-10-2004, 04:19 PM
Did you run the:

depmod -ae

after trying that? My cron.hourly file is empty aswell, im guessing this isnt a coinsidence. Did you try to delete the file in there? Or move it to another temp location incase its something you do need.

t04jas
06-10-2004, 04:38 PM
I ran depmod -ae after editing modules.conf, but the module still loads. The contents of my /etc/sysconfig/network are:

NETWORKING=yes

lsmod gives me:

Module Size Used by
md5 3872 1
ipv6 232352 6
sg 38044 0
st 38616 0
sr_mod 17028 0
sd_mod 16832 0
scsi_mod 114648 4 sg,st,sr_mod,sd_mod
parport_pc 32832 1
lp 12200 0
parport 38952 2 parport_pc,lp
snd-seq-oss 31232 0
snd-seq-midi-event 7552 1 snd-seq-oss
snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 51812 0
snd-mixer-oss 17952 2 snd-pcm-oss
snd-intel8x0 32776 2
snd-ac97-codec 58148 1 snd-intel8x0
snd-pcm 93156 2 snd-pcm-oss,snd-intel8x0
snd-timer 24484 2 snd-seq,snd-pcm
gameport 4480 1 snd-intel8x0
snd-page-alloc 11972 2 snd-intel8x0,snd-pcm
snd-mpu401-uart 7072 1 snd-intel8x0
snd-rawmidi 23616 1 snd-mpu401-uart
snd-seq-device 8008 3 snd-seq-oss,snd-seq,snd-rawmidi
snd 52484 14 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 2 snd
af_packet 20520 2
raw 7616 1
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
forcedeth 14304 0
tsdev 7168 0
joydev 10240 0
evdev 9504 0
usbkbd 6912 0
hid 53312 0
supermount 37876 1
nvidia-agp 7388 1
agpgart 31016 2 nvidia-agp
fglrx 209444 139
usblp 12288 0
ehci-hcd 24196 0
ohci-hcd 18692 0
usbcore 99132 7 usbkbd,hid,usblp,ehci-hcd,ohci-hcd
rtc 11576 0
ext3 110408 3
jbd 54328 1 ext3

DMR
06-10-2004, 04:52 PM
Originally posted by mdwatts
alias net-pf-10 off
Have you tried adding that line to /etc/modules.conf and rebooting?

t04jas
06-10-2004, 05:00 PM
Have you tried adding that line to /etc/modules.conf and rebooting?

Yup, tried that, didn't work.

Josh

DMR
06-10-2004, 05:08 PM
Ahhh...

It seems as though /etc/modules.conf has been superceded by a new /etc/modprobe.conf file in the kernel version Mandy 10 uses. Watcha got in that file?

t04jas
06-10-2004, 05:28 PM
/etc/modprobe.conf contains

alias eth0 forcedeth
alias sound-slot-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe usb-ohci; /sbin/modprobe ehci-hcd; /bin/true
remove snd-intel8x0 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0
install fglrx /sbin/modprobe --ignore-install fglrx && { /sbin/modprobe nvidia_agp; /bin/true; }

Thanks,
Josh

DMR
06-10-2004, 05:38 PM
Hmm,

Have you tried putting the alias line in the modprobe.conf file instead ? Might work; not sure though.

t04jas
06-10-2004, 05:49 PM
Seems to have worked! Thanks!

Josh

DMR
06-10-2004, 06:02 PM
Very cool; let's hope that did the trick. :)

Let us know if didn't.

mdwatts
06-11-2004, 12:07 PM
Originally posted by t04jas
Seems to have worked! Thanks!

Josh

Guess it depends on the distro as adding 'alias net-pf-10 off' to /etc/modules.conf in SuSE 9.0 works for me as ipv6 is no longer loaded while I also have '/etc/modprobe.conf' and '/etc/modprobe.conf.local'.