You are not logged in.

#1 2004-02-23 13:41:56

Kitgo
Member
From: Germany
Registered: 2004-02-17
Posts: 18

Kernel Panic with 2.6.3 [Resolved]

I have both Kernels 2.4.25 and 2.6.3 installed. The 2.4.25 Kernel boots very good. I also have copied the vmlinuz26 into the bootlader directory.

I have 3 OS installed. WinXP, Suse Linux and Arch. I use the Suse grub boot manager to load the Arch System. And it works fine but loading the 2.6.3 Kernel ends up in : Kernel Panic unable to mount fs

here is my menu.lst entries for linux.

title Arch Linux 0.6 (Widget) 2.4.25
#title  Arch Linux
root   (hd3,2)
kernel (hd1,0)/arch/boot/vmlinuz root=/dev/discs/disc3/part3 ro agp_try_unsuppo
rted=1


title Arch Linux 0.6 (Widget) 2.6.3
#title  Arch Linux
root   (hd3,2)
kernel (hd1,0)/arch/boot/vmlinuz26 root=/dev/discs/disc3/part3 ro acpi=off  agp_try_unsuppo
rted=1

following files are in /arch/boot/
System.map, kconfig, vmlinuz, System.map26, kconfig26, vmlinuz26


Perhaps somebody can help me.
Thx

PLZ see also 2. POST

Offline

#2 2004-02-23 15:06:10

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: Kernel Panic with 2.6.3 [Resolved]

title Arch Linux 0.6 (Widget) 2.4.25
#title Arch Linux
root (hd3,2)
kernel (hd1,0)/arch/boot/vmlinuz root=/dev/discs/disc3/part3 ro agp_try_unsupported=1


title Arch Linux 0.6 (Widget) 2.6.3
#title Arch Linux
root (hd3,2)
kernel (hd1,0)/arch/boot/vmlinuz26 root=/dev/discs/disc3/part3 ro acpi=off agp_try_unsupported=1

From you configuration seem you have arch linux  on ide4 (secondary slave)
Your root partition is on the third one, and boot is on ide2 part 1??

Please explain better your hard disks partitioning
ie.  archlinux is on hd3 and has  the following partition part1 /boot, part2 swap, part3 / (root)
This is the default if you used autoprepare from archlinux setup on your hd3. If this is the case try the following:

root   (hd3,0)
kernel (hd3,0)/vmlinuz26 root=/dev/discs/disc0/part3 ro vga=0x305 acpi=off agp_try_unsupported=1

Offline

#3 2004-02-23 16:33:20

Kitgo
Member
From: Germany
Registered: 2004-02-17
Posts: 18

Re: Kernel Panic with 2.6.3 [Resolved]

I have 4 disks.

hda is my windows primary (ide1 Master)
hdb is Suse primary (ide1 Slave)(where the bootloader is located in hdb1)
i use not the arch loader grub but the suse loader grub

hde is a third device hde is on ide3 Master
hdg is the Arch Linux device (ide4 Master)
but i use the MBR of ide1 (and therefore i locally copied the boot partition from Arch to hdb1 into /arch/boot; i want to start from the suse boot partition; and as i said works fine with the old kernel) and try to start the Arch Linux kernel from there with root at hdg3. Yes i used standard (auto) partitioning from Arch Linux.

The above quote is a copy of the menu.lst from the suse boot loader grub
here is the whole code

# Modified by YaST2. Last modification on Mon Feb  9 18:05:16 2004
# Modified by Kitgo. Last Modification on Wed Feb 19 16:03 2004

color white/blue black/light-gray
default 0
gfxmenu (hd1,0)/message
timeout 15


title Arch Linux 0.6 (Widget) 2.4.25
#title  Arch Linux
root   (hd3,2)
kernel (hd1,0)/arch/boot/vmlinuz root=/dev/discs/disc3/part3 ro agp_try_unsuppo
rted=1


title Arch Linux 0.6 (Widget) 2.6.3
#title  Arch Linux
root   (hd3,2)
kernel (hd1,0)/arch/boot/vmlinuz26 root=/dev/discs/disc3/part3 ro acpi=off agp_
try_unsupported=1


title windows
    root (hd0,0)
    chainloader +1

title SuSE 8.2 Linux
    kernel (hd1,0)/vmlinuz root=/dev/hdf2 vga=0x317  acpi=off hdh=ide-scsi hdhl
un=0 splash=silent showopts
    initrd (hd1,0)/initrd


title floppy
    root (fd0)
    chainloader +1


title SuSE 8.2 failsafe
    kernel (hd1,0)/vmlinuz.shipped root=/dev/hdf2 showopts ide=nodma apm=off ac
pi=off vga=normal nosmp noapic maxcpus=0 3
    initrd (hd1,0)/initrd.shipped

the error message is the following

UDF - No partition found
XFS: bad  magic number
XFS SB validate failed
VFS: unable to mount root fs on unknown block (0,0)

but why? is it just because the ArchDisk is on ide4 ?


hope this helps

Offline

#4 2004-02-25 11:59:26

Kitgo
Member
From: Germany
Registered: 2004-02-17
Posts: 18

Re: Kernel Panic with 2.6.3 [Resolved]

so i got a step closer:

i've changed

 kernel (hd1,0)/arch/boot/vmlinuz26 root=/dev/discs/disc3/part3 ro acpi=off agp_
try_unsupported=1 

to

kernel (hd1,0)/arch/boot/vmlinuz26 root=/dev/hdg3 ro acpi=off agp_
try_unsupported=1 

now it comes up the following:

fsck.ext3 Bad magic number in Superblock
trying to open /dev/disks/disc3/part3
Superblock could not be read

correct ext2 fs on  /dev/disks/disc3/part3 (or something similar)

and so on....


and then it comes up with a console and i should repair the ext2 fs on this disc but there is ext3 i think (used arch auto partitioning and fs).

i guess it has something to do with the name of the disc...how can i change "/dev/discs/disc3/part1" into "/dev/hdg3"?

looks to me that 2.6.3 doesn't support the naming of the discs anymore Arch used to use...

Offline

#5 2004-02-26 21:48:35

Kitgo
Member
From: Germany
Registered: 2004-02-17
Posts: 18

Re: Kernel Panic with 2.6.3 [Resolved]

Now i got it resolved...finally!


I changed fstab so he doesn't try to open

/dev/discs/disc3/part3

i have changed the following whole 3 lines in the fstab:

/dev/discs/disc3/part3 / ext3 default 0 1
/dev/discs/disc3/part2 swap swap default 0 0
/dev/discs/disc3/part1 /boot /ext2 default 0 0

into

/dev/hdg3 / ext3 default 0 1
/dev/hdg2 swap swap default 0 0
/dev/hdg1 /boot /ext2 default 0 0

now it works....i don't know why the fsck had problems...because
"/dev/discs/disc3/part3" should be equal to "/dev/hdg3"

okay now i need just to get all my modules working    :twisted:

Kitgo

Offline

Board footer

Powered by FluxBB