You are not logged in.

#1 2006-09-20 23:26:22

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

suspend2 fails to boot for first time

I've installed suspend2 following the wiki instructions (http://wiki.archlinux.org/index.php/Suspend_to_Disk ) but when I reboot I get an error about

root fs cannot be detected

and

can't translate /dev/sda1 into a device id

It also suggests to try setting rootfstype which I tried and it didn't make any difference.

This looks like the error is the one mentioned in the "Editing /etc/mkinitcpio.conf" section of the wiki but I have the things in the right order:

HOOKS="base udev autodetect ide scsi sata filesystems resume"

And to prove it:

mkinitcpio -g /boot/kernel26beyond.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [ide]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Parsing hook [resume]
:: Generating module dependancies
:: Generating image '/boot/kernel26beyond.img'...SUCCESS

My menu.1st looks like this:

title ArchLinux Fresh Boot/Restore
root   (hd0,7)
kernel /boot/vmlinuz26beyond root=/dev/sda8 resume2=swap:/dev/sda1
initrd /boot/kernel26beyond.img

I'm using reiserfs 3 on a sata drive.

Can anyone suggest what I could be doing wrong?

Offline

#2 2006-09-20 23:35:14

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: suspend2 fails to boot for first time

I assume that you generate the image running a different kernel than kernel26beyond. I that case, you have to specify a -k option to mkinitcpio. Reinstalling the kernel package should also regenerate the images properly.

EDIT: I updated the suspend to disk howto in the archwiki. Maybe that helps.

Offline

#3 2006-09-21 08:19:14

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: suspend2 fails to boot for first time

I've tried that and it still failed so I tried removing the resume2 line from the parameter list and I got a different error:

failed to parse block device name for /dev/sda8

Going through the wiki again I noticed that you had swapped the order of resume and filesystem in the list of HOOKS in /etc/mkinitcpio.conf. I tried swapping them and re-generating the image but that still resulted in the same error.

checking the forums I found this http://bbs.archlinux.org/viewtopic.php?t=24184 which implies that it is a driver/module issue with either ide or sata.

Booting with the fallback image works but is missing my nvidia drivers

Output from mkinitcpio -M

Modules autodetected:
cdrom
ide-cd
ide-core
generic
via82cxxx
mii
tulip
via-rhine
libata
sata_via
usbcore
ehci-hcd
uhci-hcd

Any more ideas?

Offline

#4 2006-09-21 08:37:31

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: suspend2 fails to boot for first time

dninja wrote:

Booting with the fallback image works but is missing my nvidia drivers

nvidia is not related to this. You have to install nvidia-beyond for the beyond kernel.

Output from mkinitcpio -M

Modules autodetected:
cdrom
ide-cd
ide-core
generic
via82cxxx
mii
tulip
via-rhine
libata
sata_via
usbcore
ehci-hcd
uhci-hcd

Any more ideas?

There is an sata module here, but no filesystem module. Try if removing "autodetect" from mkinitcpio.conf works. Also the beyond kernel has some libata patches in it that may break things. I have to know more about your system to be sure what is wrong.

Offline

#5 2006-09-21 09:14:51

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: suspend2 fails to boot for first time

I'll give that a try

Something I forgot to mention was I'm now getting this error when running  mkinitcpio

mkinitcpio -k /boot/vmlinuz26beyond  -g /boot/kernel26beyond.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
find: /lib/modules//boot: No such file or directory
find: /lib/modules//boot: No such file or directory
:: Parsing hook [ide]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Parsing hook [resume]
:: Generating image '/boot/kernel26beyond.img'...SUCCESS

could this affct things?

I only meant to mentioned the nvidia in passing, I'm happy to concentrate on one thing at a time.

Offline

#6 2006-09-21 09:29:27

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: suspend2 fails to boot for first time

brain0 wrote:

There is an sata module here, but no filesystem module. Try if removing "autodetect" from mkinitcpio.conf works. Also the beyond kernel has some libata patches in it that may break things. I have to know more about your system to be sure what is wrong.

I tired without the auto detect but that failed in the same way.

What more do you want to know about my system?

 lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0a.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation GeForce 6200 (rev a1)
lsmod
Module                  Size  Used by
ipv6                  243232  8 
vmnet                  28844  13 
vmmon                 185804  0 
shpchp                 36520  0 
pci_hotplug            27588  1 shpchp
joydev                  8384  0 
evdev                   8192  0 
amd64_agp              10436  1 
nvidia               4529108  12 
agpgart                26980  2 amd64_agp,nvidia
i2c_viapro              7828  0 
ehci_hcd               29576  0 
pcspkr                  2816  0 
i2c_core               17536  2 nvidia,i2c_viapro
ppdev                   7812  0 
lp                      9732  0 
ppp_generic            24852  0 
slhc                    6528  1 ppp_generic
rtc                    10676  0 
uhci_hcd               20620  0 
analog                 10144  0 
parport_pc             24484  1 
parport                33480  3 ppdev,lp,parport_pc
ns558                   4096  0 
snd_via82xx            24088  0 
gameport               11656  4 analog,ns558,snd_via82xx
snd_ac97_codec         93216  1 snd_via82xx
snd_ac97_bus            2304  1 snd_ac97_codec
snd_mpu401_uart         6656  1 snd_via82xx
snd_rawmidi            20256  1 snd_mpu401_uart
snd_seq_oss            31360  0 
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                50256  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6796  3 snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            37664  0 
snd_pcm                76292  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer              19972  2 snd_seq,snd_pcm
snd_page_alloc          8072  2 snd_via82xx,snd_pcm
snd_mixer_oss          16128  1 snd_pcm_oss
snd                    45924  11 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               7776  1 snd
tulip                  48032  0 
via_rhine              20356  0 
mii                     5248  1 via_rhine
usbcore               113536  3 ehci_hcd,uhci_hcd
reiserfs              250880  5 
ide_cd                 36256  0 
cdrom                  35616  1 ide_cd
sd_mod                 16768  7 
sata_via                6020  6 
libata                 60940  1 sata_via
via82cxxx               8708  0 [permanent]
generic                 4356  0 [permanent]
ide_core              113736  3 ide_cd,via82cxxx,generic

From running the normal kernel

Ask for it and I'll try to get it.

Offline

#7 2006-09-21 10:04:50

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: suspend2 fails to boot for first time

dninja wrote:

I'll give that a try

Something I forgot to mention was I'm now getting this error when running  mkinitcpio

mkinitcpio -k /boot/vmlinuz26beyond  -g /boot/kernel26beyond.img

the right -k option is like this:

mkinitcpio -k 2.6.17-beyond  -g /boot/kernel26beyond.img

Offline

#8 2006-09-22 07:33:05

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: suspend2 fails to boot for first time

That fixed it.

Nvidia didn't work but that was because I haven't  setup the nvidia-beyond driver yet and the network didn't come back up but I'll check around the wiki and forum to see what other answers there are out there for that.

Thanks

Offline

Board footer

Powered by FluxBB