You are not logged in.

#1 2006-10-21 20:19:11

jupiter
Member
From: Bulgaria
Registered: 2006-10-16
Posts: 23

KERNEL PANIC [solved]

After pacman -Syu (I already install some things before that)I get a:

Kernel panic -not syncing:VFS:Unable to mount root fs on unnown -block(0,0)

here is the fstab of my working mandriva;the root for arch is hda9


# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda1 / ext3 defaults 1 1
/dev/hda7 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,users,iocharset=iso8859-1,codepage=850,ro 0 0
/dev/hda9 /mnt/lin2 ext3 defaults 1 2
/dev/hda8 /mnt/win ext3 defaults 1 2
none /proc proc defaults 0 0
/dev/hda6 /usr ext3 defaults 1 2
/dev/hda5 swap swap defaults 0 0

this is arch's fstab:


# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/hda10 swap swap defaults 0 0
/dev/hda9 / ext3 defaults 0 1

I also want to ask -how to mount my hda7 under arch without any problems?


don't get me wrong wink

Offline

#2 2006-10-21 20:44:47

PavelZh
Member
From: Russia
Registered: 2006-08-04
Posts: 31

Re: KERNEL PANIC [solved]

Kernel version to which you upgraded?

What is your bootloader? LILO or GRUB?

Can you post complete boot log with kernel panic?

Offline

#3 2006-10-21 21:19:01

jupiter
Member
From: Bulgaria
Registered: 2006-10-16
Posts: 23

Re: KERNEL PANIC [solved]

well,it's hadr to say

Kernel version to which you upgraded?

in /usr/src/   I have only 2.6.18-ARCH
I can't paste the whole output of the panic!

PS: I'm using GRUB


don't get me wrong wink

Offline

#4 2006-10-21 21:51:03

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: KERNEL PANIC [solved]

Do you have "root=/dev/hda9" in your kernel parameters?


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#5 2006-10-21 21:58:24

jupiter
Member
From: Bulgaria
Registered: 2006-10-16
Posts: 23

Re: KERNEL PANIC [solved]

As I was saying " I'm a beginer"
I haven't deal with kernel parameters;where to look for them?


don't get me wrong wink

Offline

#6 2006-10-21 21:58:50

davidwillis
Member
Registered: 2006-09-19
Posts: 51

Re: KERNEL PANIC [solved]

you need to change your initrd line in grub to something like this

initrd /kernel26.img

instead of

initrd /initrd26.img

Offline

#7 2006-10-21 22:06:21

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: KERNEL PANIC [solved]

jupiter wrote:

As I was saying " I'm a beginer"
I haven't deal with kernel parameters;where to look for them?

/boot/grub/menu.lst

You should have something like this:

title  Arch Linux
root   (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/kernel26.img


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#8 2006-10-21 22:31:03

jupiter
Member
From: Bulgaria
Registered: 2006-10-16
Posts: 23

Re: KERNEL PANIC [solved]

You should have something like this:

title Arch Linux
root (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/kernel26.img

that's wright I have it just that way:

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/initrd26.img

don't get me wrong wink

Offline

#9 2006-10-21 22:41:56

zack
Member
From: Portsmouth, UK
Registered: 2006-09-11
Posts: 32

Re: KERNEL PANIC [solved]

# (0) Arch Linux
title  Arch Linux
root   (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/initrd26.img

2.6.18 got rid of initrd in favour of initcpio, you need to change initrd26.img to kernel26.img As the output from pacman -Syu would have warned on the install of mkinitcpio, its also been said a few times in this topic, although it would have been easy to miss a small change wink

change to:

# (0) Arch Linux
title  Arch Linux
root   (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/kernel26.img

Offline

#10 2006-10-21 22:47:46

detto
Member
Registered: 2006-01-23
Posts: 510

Re: KERNEL PANIC [solved]

zack, do the following
change

# (0) Arch Linux
title  Arch Linux
root   (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/initrd26.img

to

# (0) Arch Linux
title  Arch Linux
root   (hd0,8)
kernel /boot/vmlinuz26 root=/dev/hda9 ro
initrd /boot/kernel26.img

and you should be set. if it still doenst work try it with

initrd /kernel26.img

cheers,
deTTo

Offline

#11 2006-10-22 08:13:55

jupiter
Member
From: Bulgaria
Registered: 2006-10-16
Posts: 23

Re: KERNEL PANIC [solved]

is this the right code to mount my hda7 is fstab:
/dev/hda7 /mnt/mandy ext3 ro,user,auto 1 2


the whole thing:
#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/hda10 swap swap defaults 0 0
/dev/hda9 / ext3 defaults 0 1
/dev/hda7 /mnt/mandy ext3 ro,user,auto 1 2

this is what I get :
Feature only available with HAL


don't get me wrong wink

Offline

#12 2006-10-22 10:52:10

zack
Member
From: Portsmouth, UK
Registered: 2006-09-11
Posts: 32

Re: KERNEL PANIC [solved]

jupiter wrote:

is this the right code to mount my hda7 is fstab:
/dev/hda7 /mnt/mandy ext3 ro,user,auto 1 2


the whole thing:
#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/hda10 swap swap defaults 0 0
/dev/hda9 / ext3 defaults 0 1
/dev/hda7 /mnt/mandy ext3 ro,user,auto 1 2

this is what I get :
Feature only available with HAL

pacman -Sy hal

then add hal to your DAEMONS array in /etc/rc.conf

Offline

#13 2006-10-22 19:00:39

jupiter
Member
From: Bulgaria
Registered: 2006-10-16
Posts: 23

Re: KERNEL PANIC [solved]

thanks, many thanks
its allright now  big_smile   big_smile


don't get me wrong wink

Offline

#14 2006-10-25 12:57:02

bodhi.zazen
Member
Registered: 2006-07-09
Posts: 16

Re: KERNEL PANIC [solved]

LIKE OMG THANK YOU !!! tongue

I upgraeded (pacman -Syu) 2 days ago and ran into the same problem.

output from pacman -Syu would have warned on the install of mkinitcpio, its also been said a few times in this topic, although it would have been easy to miss a small change

was overshadowed by the output regarding the nVidia driver I was using. sad

I am now stuck in vesa mode and will look elsewhere for that problem but at least I can BOOT !


If is not broken ... tweak it

Offline

Board footer

Powered by FluxBB