You are not logged in.

#1 2012-05-04 20:31:54

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

kernel panic at start

I have two big problems
1. I am trying to install a old kernel, because since the latest update it did not work, all I get is I am tossed to ramfs... (I am  sure you have had LOTS of these posts, but please be patient)
as I am speaking I am chrooted from a live cd that is booted from RAM (and I did it using this guide
whenever I am trying to downgrade from this site: http://schlunix.org/archlinux/core/os/x86_64/
and downloading the kernel named: kernel26-lts-2.2.6.32.53-1-x86_64.pkg.tar.xz and then installing it using

 Pacman -U "way kernel" 

whenever I do that, I get these errors:

==> Generating modules dependencies
install: cannot stat ´/lib/modules/2.5.32.53-1-lts/modules.builtin´ : No such file or directory
Warning: Could not open /tmp/mkinitcpio.2Quz6n/root/lib/modules/2.6.35.53-1-lts/modules.builtin: No such file or directory
==> Creating gzip initcpio image: /boot/kernel26-lts.img
bsdcpio: Failed to set default locale 

and that can counclude all errors... since I am getting alot of output, but these are where the errors are.
2.  I do not have internet on that computer since I cant use modprobe to load iwlagn? no errors while using modprobe straight from livecd, but whenever I am using iwlagn I am getting

 Error: Command not found 

should I get this error even straight from livecd even though I had just used modprobe to load iwlagn?

PS: I am not a advanced user, so if you have any commands I need to write, that are not basic, please explain so I can learn what it does, and maybe I remember it next time this happens, thank you in advance big_smile

Last edited by f4rm0r (2012-05-04 20:55:49)

Offline

#2 2012-05-04 20:56:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: kernel panic at start

It seems a lot of posts lately are seeing downgrading as a good solution to problems.  It is not.  It can be suitable as a last resort, have you been working on what the problem was with the "latest update"?  Was this latest update 3.3.4-1 or 3.3.4-2?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-05-04 21:02:10

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: kernel panic at start

Trilby wrote:

It seems a lot of posts lately are seeing downgrading as a good solution to problems.  It is not.  It can be suitable as a last resort, have you been working on what the problem was with the "latest update"?  Was this latest update 3.3.4-1 or 3.3.4-2?

I belive it was in 3.3.4-1 because it was almost 2 months I had this computer on, but I thought that  would give it a try now.
and I was using it as a last resort, since nothing I did, or read about when searching for problems on google hmm

Offline

#4 2012-05-06 14:43:30

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: kernel panic at start

UPDATE:
when I start  computer I get this output before bailing out to ramfs:

 :: Starting udevd...
/usr/lib/udev/udevd: line 2: syntax error: unexpected ";"
done.
: : Running Hook [udev]
: : Triggering uevents.../usr/bin/udevadm: line 13: syntax error: unexpected redirection
/usr/bin/udevadm: line 13: syntax error: unexpected redirection
/usr/bin/udevadm: line 13: syntax error: unexpected redirection
done.
Waiting 10 seconds for device /dev/sda4 ...
ERROR: device '/dev/sda4' not found. skipping fsck.
ERROR: Unable to find root device '/dev/sda4'.
You are being dropped to a recovery shell
       Type 'exit' to try and continue booting
sh:   Can't access tty; job controll turned off
[rootfs /]#

this error I get when I am booting computer (obviously), even though I updated both udev and mkinitcpio to latest version without errors in chroot.
I can't update kernel to latest stable kernel from the official Arch site .
when I try to update kernel to latest kernel from arch site it says this:

 pacman -U "way to kernel"
loading packages...
resolving dependencies...
looking for inte-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
: : ndiswrapper: requires linu<3.3
: : virtualbox-archlinux-modules: requires<3.3
: : virtualbox-module: requires linux<3.3

do you have any idea of what it can be that causes this?

PS: for upgrading I use

 pacman -U "way to kernel" 

since I cant modprobe for iwlagn on that computer (modprobe gives no errors, but when I try to use iwlagn it say command not found)

Offline

#5 2012-05-06 15:27:34

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,889

Re: kernel panic at start

f4rm0r wrote:

I can't update kernel to latest stable kernel from the official Arch site .
when I try to update kernel to latest kernel from arch site it says this:

 pacman -U "way to kernel"
loading packages...
resolving dependencies...
looking for inte-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
: : ndiswrapper: requires linu<3.3
: : virtualbox-archlinux-modules: requires<3.3
: : virtualbox-module: requires linux<3.3

do you have any idea of what it can be that causes this?

PS: for upgrading I use

 pacman -U "way to kernel" 

since I cant modprobe for iwlagn on that computer (modprobe gives no errors, but when I try to use iwlagn it say command not found)

Apart from the kernel you will also need to download ndiswrapper, virtualbox-arxchlinux-modules and virtualbox-module , then issue a command like this :

pacman -U path/to/kernel path/to/ndiswrapper path/to/virtualbox-archlinux-modules path/to/virtualbox-module

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2012-05-06 16:04:20

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: kernel panic at start

Lone_Wolf wrote:

Apart from the kernel you will also need to download ndiswrapper, virtualbox-arxchlinux-modules and virtualbox-module , then issue a command like this :

pacman -U path/to/kernel path/to/ndiswrapper path/to/virtualbox-archlinux-modules path/to/virtualbox-module

I did what you said,and I got  a couple of errors when I was installing, in a line to this:

 could not get file system information for /automount 

and other several places, do you need these places too? this was the first place I got up
now I did

 mkinitcpio -p linux

hoping that it could work even though I got those errors; I got no errors from running this command ( I did not saw any errors, I think)
now when I am booting, kernel can't find udev hmm

Offline

#7 2012-05-06 16:43:07

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: kernel panic at start

UPDATE:
I found a ethernet cable, so I ran dhcpcd and now I am connected to internet, so I am doing a full system update, though I am not updating pacman.
I am running pacman with:

 pacman -Syu --ignoregroup kde,xorg,gnome 

I will post results when I am done

Offline

#8 2012-05-16 09:50:35

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: kernel panic at start

sorry that it took a hile for me to answer, school came in the way...

I updated my system to latest but it is still the same error, I did a full system update, but my computer still panic at computer start.
whenever i try to chroot from a live arch cd it says this:
(I write the whole chroot process I use, and the error message)

mkdir /mnt/arch
mount /dev/sda 4    (my root partition)
mount /dev/sda2     (my boot partition)
cd /mnt/arch
mount -t proc proc proc/
mount -sysfs sys sys/
mount -o bind /dev dev/
chroot /mnt/arch /bin/bash
/bin/bash: error while loading shared libraries: libcursesw.so.5 wrong ELF class: ELFCLASS32

and then nothing more happens, no more error messages or anything like that, if you want more like debug messages, please tell me how to give you that.

Offline

#9 2012-05-16 11:02:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,889

Re: kernel panic at start

Check your mount commands, it should be like this :

mkdir /mnt/arch
mount /dev/sda4 /mnt/arch
cd /mnt/arch
mount /dev/sda2 boot/
mount -t proc proc proc/
mount -sysfs sys sys/
mount -o bind /dev dev/
chroot /mnt/arch /bin/bash


Also make sure the live arch CD uses the same architecture as your installation :
if you got 32-bit install, use a 32-bit live CD
for 64-bit install use a 64-bit live CD


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2012-05-16 12:48:18

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: kernel panic at start

Lone_Wolf wrote:

Check your mount commands, it should be like this :

mkdir /mnt/arch
mount /dev/sda4 /mnt/arch
cd /mnt/arch
mount /dev/sda2 boot/
mount -t proc proc proc/
mount -sysfs sys sys/
mount -o bind /dev dev/
chroot /mnt/arch /bin/bash


Also make sure the live arch CD uses the same architecture as your installation :
if you got 32-bit install, use a 32-bit live CD
for 64-bit install use a 64-bit live CD


and ofcourse I forget to write mount point tongue
that was why it looked like I failed, but think about it, without mounting I would not have  been able do cd into /mnt/arch tongue

I re did it again, practically copy/pasting what you were writing, and no difference.
I have arch 64-bit installed, and my disc is for 64-bit

Offline

Board footer

Powered by FluxBB