You are not logged in.

1

Saturday, January 27th 2007, 2:08am

Computer Powering Off

My computer powers off constantly. I've tried different kernels, but I'm not able to use the kernel people tell me to use which is the k8, because it's not in repos. Can anyone tell me why this is happening? It just powers off! I don't believe the problem is hardware, because when using my windows hard drive it never turns off like this.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Saturday, January 27th 2007, 12:36pm

RE: Computer Powering Off

This is not KDE related so I suggest to post this at a more general Linux forum. Probably you'll have more luck there.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Saturday, January 27th 2007, 11:13pm

I'm really sick of being told that, because the other forums, nobody ever replies.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

4

Sunday, January 28th 2007, 12:14am

Then you should try to supply them with more info. It's just off topic for this forum, so your chances here are even lower compared to others.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

5

Sunday, January 28th 2007, 12:22pm

only hint i can give is to turn off acpi during the boot of linux.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

6

Monday, January 29th 2007, 2:08am

I've added acpi=off to the kernel line and when entering the kde after about 5 seconds, everything locks up and freezes. Anyways I've upgraded to the 64bit system in attempts that the k8 kernel will solve the shutdown problem, but I'm worried because on bootup the k8 kernel is not listed in grub!

7

Monday, January 29th 2007, 9:07am

U can add the kernel manually to grub.

You can do that with the bootloader configuration tool of your distribution, or by editing the file /boot/grub/menu.lst by hand as root with your favorite editor.

In that file, look for the section that starts your current kernel, copy that and adjust it to te information about the new kernel.

Example from my system:

this is the section about my default kernel:

Source code

1
2
3
4
title SUSE Linux 10.1
    root (hd0,4)
    kernel /vmlinuz root=/dev/hda7 vga=0x317    resume=/dev/hda4  splash=silent showopts
    initrd /initrd


Then you only need to change the lines for the title, kernelname and initrd.

First look in the directory /boot for the new kernelfile and the initrd-file that contains the same name postfix.
For example:
vmlinuz-2.6.16.21-0.13
initrd-2.6.16.21-0.13

now copy those names to the corresponding places in menu.lst:

Source code

1
2
3
4
title SUSE Linux K8
    root (hd0,4)
    kernel /vmlinuz-2.6.16.21-0.13 root=/dev/hda7 vga=0x317    resume=/dev/hda4  splash=silent showopts
    initrd /initrd-2.6.16.21-0.13


And reboot linux.

NOTE: always add a new section to menu.lst first to boot the new kernel as alternative. Never delete the original section.
This is to avoid the chance that either the new kernel does not start or that the new section contains errors. If that would happen, your system cannot start normally.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

8

Tuesday, January 30th 2007, 7:51am

Wow, thanks for that tutorial! I'm happy now because I haven't had any shutdowns with the amd64 distro of Etch! As soon as I do I will try your tutorial, odd that it didn't list in grub when I installed it. Thanks for the help. I'll post back soon.