You are not logged in.

#1 2007-01-04 00:05:49

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Kernel Panic After Installing kernel26suspend2

Hi!

I followed the wiki instructions and booted up to a kernel panic.

When hook has filesystems in it,

Running Hook [filesystems]
Loading root filesystem module ... -e
Attempting to create root device '/dev/hda2'
Error:Failed to parase block device name for '/dev/hda2'
unknown
Error: root fs cannot be detected . Try using rootfstype= kernel parameter
Initramfs completed - control passing to kinit
IP-config: no devices to configure 
kinit: Unable to mount root fs on device dev(0,0)
kinit: init not found!
kernel panic - not syncing: Attempted to kill init!

When i switch the filesystems hook to ide,

.
.
kinit: unable to mount root fs on device dev (0,0)
kinit: init not found...

Any ideas?


Thanks in advance!

Offline

#2 2007-01-04 06:26:57

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,045

Re: Kernel Panic After Installing kernel26suspend2

What wiki instructions?
Contents of your /etc/mkinitcpio.conf (without comments)?
What's your bootloader and how about the contents of it's config file (menu.lst/lilo.conf)?


1000

Offline

#3 2007-01-04 10:38:54

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Kernel Panic After Installing kernel26suspend2

http://wiki.archlinux.org/index.php/Suspend_to_Disk

/etc/mkinitcpio.conf

HOOKS="base udev autodetect ide resume ide filesystems"
The rest nothing i.e XYZ=""

I'm on grub

title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/hda2 ro resume2=swap:/dev/hda1
initrd /boot/kernel26suspend2.img

Thanks in advance!

Offline

#4 2007-01-04 11:53:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel Panic After Installing kernel26suspend2

You need

kernel /boot/vmlinuz26suspend2 ..

as it says in the wiki.

Offline

#5 2007-01-04 12:19:44

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Kernel Panic After Installing kernel26suspend2

my bad...

Thanks!

ps. Is there any problem with installing multiple kernels and nvidia drivers side by side?


Thanks in advance!

Offline

#6 2007-01-04 15:19:07

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Kernel Panic After Installing kernel26suspend2

a couple of feedback regarding hibernate;

1) I have to /etc/rc.d/network restart else there's no internet.

2) I can't seem to hibernate with opera running. Firefox gives no problem though.


Thanks in advance!

Offline

#7 2007-01-04 15:48:15

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Kernel Panic After Installing kernel26suspend2

Did you have more luck with suspend2 using the -suspend2 kernel than with the -beyond kernel? For some reason, suspend2 completely ignores the memory dump on my swap partition when I turn on the computer after a hibernate. It just boots normally, except that there is no swap partition anymore because it was overwritten by the hibernate script.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#8 2007-01-04 19:38:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel Panic After Installing kernel26suspend2

islamguide.com wrote:

Is there any problem with installing multiple kernels and nvidia drivers side by side?

None at all, as long as you make sure you have the matching nvidia package for each kernel package e.g. nvidia-suspend2 in this case.

islamguide.com wrote:

1) I have to /etc/rc.d/network restart else there's no internet.

Read hibernate -h carefully, and edit /etc/hibernate/hibernate.conf accordingly. You can incorporate any daemon restarts of that sort into the overall suspend/resume process - look for the StopServices/StartServices directives.

FUBAR wrote:

Did you have more luck with suspend2 using the -suspend2 kernel than with the -beyond kernel?

You're saying that it works fine with beyond, but not with suspend2? Using the same config?

Offline

#9 2007-01-05 13:39:13

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Kernel Panic After Installing kernel26suspend2

Nonono, hibernate doesn't work on -beyond: the hibernate script seems to complete well, but when I turn the laptop back on it completely ignores the stored image on my swap partition. I've passed the correct kernel option though.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#10 2007-01-05 16:46:30

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Kernel Panic After Installing kernel26suspend2

Anyone can shed some light on how to get internet back on after suspend?

When I uncomment the Upinterfaces eth0 in common.conf, the system fails to resume to desktop. I get a black screen with a cursor occasionally.

The same think happens when I uncomment both upinterfaces and downinterfaces line. Changing from auto to eth0 also doesn't help.

Any ideas?


Thanks in advance!

Offline

#11 2007-01-05 18:11:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel Panic After Installing kernel26suspend2

Read my post above again - the solution is there.

FUBAR - have you reported it?

Offline

#12 2007-01-05 19:33:52

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Kernel Panic After Installing kernel26suspend2

i tink i get what u're referring to.....

In man hibernate.conf,

       RestartServices <service> [...]
                 The services listed are stopped before suspending and started
                 after  resuming. The service name must correspond to the name
                 of an init.d script that is active in the current runlevel.


However, I can't figure out the bold part. I can't find the init.d script. Is it /etc/rc.d/ in arch?

If so is the appropriate line

RestartServices network

Also, suspend2 seems to work on and off(unreliable). Sometimes it works, most of the time it hangs while resuming giving a black screen occasionally with a cursor.

Any suggestions greatly appreciated...


Thanks in advance!

Offline

Board footer

Powered by FluxBB