You are not logged in.

#1 2005-09-11 15:27:58

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Kernel panic after -Syu! Please help

Hi! i did a system update, and while it was installing, the power went down, right after it installed the new kernel (udev and all)

Now my /dev folder has NOTHING and it doesn't boot, because it can't find the partition.

Tried to reinstall using cd, but as I was using UNSTABLE AND TESTING files, it won't install because my xorg requires gcc 4.1 and it's on 3.4 on the stable.
I added the mirrors on the /etc/pacman.conf, but it seems to get overwritten by the install app, and it only checks the stable.

Please help, i'm almost giving up.

Offline

#2 2005-09-11 15:30:07

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Kernel panic after -Syu! Please help

Ok - you have said what has happened but not what the problem is...

Offline

#3 2005-09-11 15:35:21

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Kernel panic after -Syu! Please help

uh, dibble... it sounds like he can't boot into his system. That's a problem, isn't it? :-D

nbcjr: Do you use lilo or grub? I can't tell if this is a bootloader problem or a kernel problem. If you can grab the kernel package using ftp (ie: wget) from a live CD, you can install it by chrooting into your broken Arch and reinstalling.

Dusty

Offline

#4 2005-09-11 15:40:30

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Kernel panic after -Syu! Please help

Er, nbcjr, said he/she has already reinstalled - so...what?  Is the empty dev an issue?  The not being able to add unstable mirrors to pacman.conf?  You know, what the heck is going on?

Offline

#5 2005-09-11 15:43:06

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Kernel panic after -Syu! Please help

And you are using udev, right? (what's your grub config and fstab?)
Newest kernels don't have devfs support.
You can also try to boot using install cd, mount the partitions, check pacman logs (what was installed before power down), download packages manually and unpack them to the filesystem.

Offline

#6 2005-09-11 15:49:43

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Kernel panic after -Syu! Please help

dibblethewrecker wrote:

Er, nbcjr, said he/she has already reinstalled -

ah... I read that as tried to reinstall the package from the install CD, not tried to reinstall the distro.  Now we obviously need clarification.  nbcjr?

Dusty

Offline

#7 2005-09-11 15:50:28

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Kernel panic after -Syu! Please help

Indeed. I am v confused.

Offline

#8 2005-09-11 16:11:27

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

i did changed my grub conf file to udev (and kept the old one)

when the system boots it says it can't find the partition /dev/hda2
that's because my /dev directory got fucked up (don't know how) and now it only has console null and zero

i need to be able to acess my old system, but i can't, because of this problem


when i tried to reinstall thru the cd, in the install packages section, i had a instalation problem (xorg conflict because it won't install unless version4.1 is used -- UNSTABLE , and the normal instalation uses 3.4)

thanks!

ask anything

Offline

#9 2005-09-11 16:15:16

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

nbcjr wrote:

i did changed my grub conf file to udev (and kept the old one)

when the system boots it says it can't find the partition /dev/hda2
that's because my /dev directory got fucked up (don't know how) and now it only has console null and zero

i need to be able to acess my old system, but i can't, because of this problem


when i tried to reinstall thru the cd, in the install packages section, i had a instalation problem (xorg conflict because it won't install unless version4.1 is used -- UNSTABLE , and the normal instalation uses 3.4)


did you also edit fstab......
otherwise it wont find anything
thanks!

ask anything

Offline

#10 2005-09-11 16:16:20

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

to clarify, i changed grub conf to udev and kept the old one just in case

Offline

#11 2005-09-11 16:19:35

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

nbcjr wrote:

to clarify, i changed grub conf to udev and kept the old one just in case

NOT GRUB...... /ETC/FSTAB

grub menu.lst tells frub where to find the kernel.......

etc/fstab hold you details, if you were previuosly using devfs you would have followed the /dev/discs/disc0/partx scheme....

as of 2.6.13 devfs is extinct

fstab now need to read /dev/hdaX instead

Offline

#12 2005-09-11 16:21:49

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

mpie wrote:
nbcjr wrote:

to clarify, i changed grub conf to udev and kept the old one just in case

NOT GRUB...... /ETC/FSTAB

grub menu.lst tells frub where to find the kernel.......

etc/fstab hold you details, if you were previuosly using devfs you would have followed the /dev/discs/disc0/partx scheme....

as of 2.6.13 devfs is extinct

fstab now need to read /dev/hdaX instead

ohhh thanks a lot, i will see if that works (using windows because of that sad  )

Offline

#13 2005-09-11 16:26:11

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

:shock:  theres nothing quite like paying attention is there...... :shock:

its not like you get any kind of warning or something and uit hsa not been covered about  a gazillion times already.....


Hope it works out for you

Offline

#14 2005-09-11 16:38:05

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

mpie wrote:

:shock:  theres nothing quite like paying attention is there...... :shock:

its not like you get any kind of warning or something and uit hsa not been covered about  a gazillion times already.....


Hope it works out for you

well, i did read the wiki post, but i've forgot to do that.


but the problem continues. i think it's because, as i said the /dev folder is empty

i wrote down the message:

VFS: cannot open root device "hda2" or uknown block 0,0
Please append a correct root= option
Kernel Panic - not syncing : VFS ........


hangs there

Offline

#15 2005-09-11 16:50:05

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

Can you still boot from the cd?

eg vmlinuz root=/dev/discs/** your arch instaLL**

i
boot it with this kernel then -Syu again, just re read you post and sounds as though it rebooted before the upgrade finished, therefore the kernel may not actually be installed..

Offline

#16 2005-09-11 16:56:36

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

mpie wrote:

Can you still boot from the cd?

eg vmlinuz root=/dev/discs/** your arch instaLL**

i
boot it with this kernel then -Syu again, just re read you post and sounds as though it rebooted before the upgrade finished, therefore the kernel may not actually be installed..

that's what i'm trying to do, but i'm just can't do it.

in which point i do that command??

i tried to reinstall the system using the cd but i had the conflict problems i've told on the other posts.

if i type root=/dev/*myinstall* in the first screen that is shown when the cd boots, i'll get the usual install terminal... (and pacman is not a valid command there)

your're saying to me to enter this command on the install terminal or on the cd boot screen??

Offline

#17 2005-09-11 17:00:21

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

cd boot screen it will boot your normal install complete with X

but if you changed /etc/fstab to /dev/hda* naming you should edit it back first (or use try using ,this is untested,
vmlinuz /root=/dev/**youre install** devfs=nomount

Offline

#18 2005-09-11 17:10:20

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

if i type arch root= /dev/discs/disc0/part2 (my install) into that screen

arch0dd.png

it will boot the normal install procedure not my previous install

arch25et.png

just to remember my /dev/ folder has ONLY console, zero and null inside it.

I copied the cd /dev/ folder to my install (/mnt/dev/) everything is the same

Offline

#19 2005-09-11 17:14:05

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

mpie wrote:

cd boot screen it will boot your normal install complete with X

but if you changed /etc/fstab to /dev/hda* naming you should edit it back first (or use try using ,this is untested,
vmlinuz /root=/dev/**youre install** devfs=nomount

look use vmlinuz not arch ...

I'm trying to help dude but your missing what i say

Offline

#20 2005-09-11 17:19:51

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

mpie wrote:
mpie wrote:

cd boot screen it will boot your normal install complete with X

but if you changed /etc/fstab to /dev/hda* naming you should edit it back first (or use try using ,this is untested,
vmlinuz /root=/dev/**youre install** devfs=nomount

look use vmlinuz not arch ...

I'm trying to help dude but your missing what i say

i appreciate very much your patience with me, problem is, english is not my mother language so some times i don't express myself in a proper way.

i'll try that. sorry for anything

Offline

#21 2005-09-11 17:20:55

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

i typed arch instead of vmlinuz because the screen said so, i'll try vmlinuz

Offline

#22 2005-09-11 17:22:16

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

ah its cool.... sorry for being blunt

I should use code brackets anyways that may make what i type clearer :idea:

Offline

#23 2005-09-11 17:50:44

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

mpie, it did boot on my install (thanks!) but it seems that it doesn't load any modules, because my network doesn't works, and when i startx , it says that nvidia module is not loaded.

i use hwd, tried to use hotplug,same results.


my network card is a realtek rtl-8139

Offline

#24 2005-09-11 17:58:45

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Kernel panic after -Syu! Please help

was hwd loading the module before? do you know the name of the module?

as for X you alwats need to rebuild  nvidia after a kernel upgrade

what does " ls /boot" return....

try re-installing the kernel from cache

"pacman -Ukernel**yourversion**  /var/cache/pacman/pkg/kernel-name.pkg.tar.gz"
that will then allow it to finish installing properly

then edit BOTH grub menu.lst and etc fstab as needed.

Offline

#25 2005-09-11 18:04:13

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Kernel panic after -Syu! Please help

kurumin@kurumin:/mnt/hdb2$ ls boot/
boot.0300  diag1.img  grub  kconfig26  map  System.map26  vmlinuz26


hwd loaded the module perfectly, and the install cd also autodetects network


kurumin@kurumin:/mnt/hdb2/var/cache/pacman/pkg$ ls kernel26-2.6.1*
kernel26-2.6.11.10-1.pkg.tar.gz  kernel26-2.6.13-2.pkg.tar.gz
kernel26-2.6.12.3-1.pkg.tar.gz

Offline

Board footer

Powered by FluxBB