Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] linux-2.6.10-morph25 kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Fri Mar 04, 2005 5:04 pm    Post subject: [SOLVED] linux-2.6.10-morph25 kernel panic Reply with quote

yup i am trying to build my new reiser4 partitions system with morph-sources, i followed the gentoo handbook for the x86 arch system installation(trying my 2nd gentoo installation). i emerged everything except the X window manager, i try it to emerge kde but got an error i cant remember right now. anyway, i try to boot gentoo with out the lxnay RR4 livecd inside the cdrom. boot manager is lilo, lilo shows red if something is not right, right? my lilo was showing red but i fixed it, now is showing blue, everything i guess is fine for lilo to boot my system except for kernel-2.6.10-morph25, here's what i am receiving for error,

Code:
UDF-fs: No partition found(1)
XFS: bad magic number
XFS: SB validate_failed
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(3,6)


i installed/compiled everything with my second disk being connected as disk number 1 (hda), installation on disk 2 (hdb)
so after finally done the installation i edited /etc/fstab to be /dev/hda* in all partitions, shut down my pc, unplugged disk 1, made disk 2 master and rebooted. i am not sure if this explain why i am getting this error to anyone so i'll add my conf files,

fstab,
Code:
/dev/hda3               /boot           reiserfs        noauto,noatime,notail   1 2
/dev/hda6               /               reiser4         noatime,notail          0 1
/dev/hda4               none            swap            sw                      0 0
/dev/hda7               /usr            reiser4         noatime,notail          0 3
/dev/hda8               /home           reiser4         noatime,notail          0 4
/dev/hda9               /livecd         reiser4         noatime,notail          0 5
/dev/hda10              /var            reiser4         noatime,notail          0 6
/dev/hda11              /tmp            reiser4         noatime,notail          0 7
/dev/cdroms/cdrom0      /mnt/cdrw       iso9660         noauto,ro               0 0
/dev/cdroms/cdrom1      /mnt/dvd        iso9660         noauto,ro               0 0
#/dev/fd0               /mnt/floppy     auto            noauto                  0 0
none                    /proc           proc            defaults                0 0
none                    /dev/shm        tmpfs           defaults                0 0


lilo.conf,
Code:
lba32
boot="/dev/hda"
menu-scheme=Wb
prompt
delay=50
compact
lock
password="password-notshown"
#restricted
image="/boot/kernel-2.6.10-morph25"
        initrd="/boot/initrd-2.6.10-morph25"
        root="/dev/hda6"
        #append="video=vesafb-tng:ywrap,mtrr,1280x1024-24@80 splash=verbose"
        label="Linux-Reiser.v4"
        read-only # read-only for checking


fdisk -l
ntfs partitions are the last partitions but shoing first because i created them before linux partitions.
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1            5223       10444    41945715    7  HPFS/NTFS
/dev/hda2             149       20023   159645937+   5  Extended
/dev/hda3   *           1          16      128488+  83  Linux
/dev/hda4              17         148     1060290   83  Linux
/dev/hda5           10445       20023    76943286    7  HPFS/NTFS
/dev/hda6             149         647     4008186   83  Linux
/dev/hda7             648        1893    10008463+  83  Linux
/dev/hda8            1894        2516     5004216   83  Linux
/dev/hda9            2517        3139     5004216   83  Linux

/dev/hda10           3140        4385    10008463+  83  Linux
/dev/hda11           4386        5222     6723171   83  Linux

Partition table entries are not in disk order


using NPTL with USE flags,
i did,
Code:
nano -w /etc/conf.d/rc
RC_NET_SCRIPT_CHECKING="no"
RC_DEVICES="udev"
RC_DEVICE_TARBALL="no"


there, i dont know what i should do/add more to get help, any ideas how i can fix my problem?
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)


Last edited by _mikec_ on Sat Mar 05, 2005 9:27 pm; edited 3 times in total
Back to top
View user's profile Send private message
thecrazyperson_ws
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 89

PostPosted: Fri Mar 04, 2005 5:09 pm    Post subject: Reply with quote

I ran into something like this with the vanilla kernel on my slackware box, and it turned out that I had forgotten to compile in support for my IDE controllers. You might double check that to make sure you have them IN the kernel, NOT as modules.

EDIT: you fixed it before i hit the post button. good job.
_________________
Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5

Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo

Besaid: p-150, 80M ram, win2k pro
Back to top
View user's profile Send private message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Fri Mar 04, 2005 5:14 pm    Post subject: Reply with quote

are these options availalbe in Device Drivers ---> ATA/ATAPI/MFM/RLL support section?
if so everything in that section are compiled into the kernel

btw i am using genkernel --menuconfig all to compile the kernel
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Back to top
View user's profile Send private message
thecrazyperson_ws
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 89

PostPosted: Fri Mar 04, 2005 5:20 pm    Post subject: Reply with quote

from that little snippet you posted, looks to me that the kernel is trying to mount reiser4 as XFS. You might try another kernel that supports reiser4, such as -cko or -nitro and see if you run into the same problem. I can't tell you much about lilo, as lilo is evil. I use grub exclusively. My Slackware box defaulted to lilo, but i uninstalled it and put grub in there. works much better.

EDIT: also, you might try asking this question in the appropriate morph-sources thread. You might get a little more help :)
_________________
Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5

Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo

Besaid: p-150, 80M ram, win2k pro
Back to top
View user's profile Send private message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Fri Mar 04, 2005 5:30 pm    Post subject: Reply with quote

please be more specific, i dont know where to get cko nor nitro, they aren't in portage. of course to try them about i need to follow the installation howto kernels respective guides.
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)


Last edited by _mikec_ on Fri Mar 04, 2005 5:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
thecrazyperson_ws
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 89

PostPosted: Fri Mar 04, 2005 5:37 pm    Post subject: Reply with quote

Nitro-sources 2.6.11-nitro0 can be found here:

https://forums.gentoo.org/viewtopic-t-302767.html

I can't seem to find an ebuild for -cko, so go here:

http://kem.p.lodz.pl/~peter/cko/

and see what they have to say :)

for nitro, you can either use the install instructions in the first post, or you can follow mine near the bottom of page 6. both methods work.

The appropriate morph-sources (2.6.10-morph25) thread is found here:

https://forums.gentoo.org/viewtopic-t-255721-highlight-cko.html
_________________
Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5

Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo

Besaid: p-150, 80M ram, win2k pro
Back to top
View user's profile Send private message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Fri Mar 04, 2005 5:43 pm    Post subject: Reply with quote

btw when i chroot to the new environment i want it to see what partitions are mounted and here's what i received.

Code:
lxnaycd / # mount -l
/dev/hdb6 on / type reiser4 (rw,noatime,notail)


should be /dev/hda6 for root partition and because there's no other disk connected.
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Back to top
View user's profile Send private message
thecrazyperson_ws
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 89

PostPosted: Fri Mar 04, 2005 5:49 pm    Post subject: Reply with quote

that part looks right, but you gotta remember, lxnay's livecd uses the nitro-sources kernel (or at least, he used to) :). judging on what that little dmesg snippet that you pasted said, 2.6.10-morph25 is trying to mount reiser4 as XFS. that's not correct, if i remember right.

edit, didn't see the /hdb and /hda. if the drive you unhooked is the master, then yes, it's going to show it as hdb. if you unhooked the slave, then hda would be right.
_________________
Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5

Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo

Besaid: p-150, 80M ram, win2k pro
Back to top
View user's profile Send private message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Fri Mar 04, 2005 5:56 pm    Post subject: Reply with quote

right, but i should change this no? it's not suppose to show as hdb there's no second disk
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Back to top
View user's profile Send private message
thecrazyperson_ws
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 89

PostPosted: Fri Mar 04, 2005 6:01 pm    Post subject: Reply with quote

/dev/hda, /dev/hdb, /dev/hd<whatever> doesn't matter. it's determined by the order in which the bios detects the drives. Here's how it does it:

Primary Master: /dev/hda
Primary Slave: /dev/hdb
Secondary Master: /dev/hdc
Secondary Slave: /dev/hdd

and you'd keep going if you had another add on card.

my slackware box detects the drive that the system boots from as the primary slave, hence having a /dev/hdb but no hda. the 120G HD in that machine is hooked to an add-in card, and it's the primary master on the add in card, so that 120G is /dev/hde. I don't know if i'm confusing you any more or not, but look at your dmesg snippet in the first post. it can't mount root because it's trying to mount /dev/hda6 (which is reiser4) using the xfs mounter. That doesn't work.

try an fdisk -l /dev/hda and see if partitions show up. if they don't, then change your bootloader config to point to /dev/hdb and change your fstab to match.
_________________
Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5

Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo

Besaid: p-150, 80M ram, win2k pro
Back to top
View user's profile Send private message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Fri Mar 04, 2005 6:51 pm    Post subject: Reply with quote

i am compiling nitro-sources rigth now, i really hope this will solve the problem... if not i will change my root partition in /etc/fstab to be /dev/hdb6, but, i guess i will have to change all the other partitions aswell. if my second choise works, i'll leave nitro-sources as my kernel and later download lxnay-sources.

i hope it work this time, i am getting tired to mount ALL my partitions lol
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Sat Mar 05, 2005 8:16 pm    Post subject: Reply with quote

Hi,

it looks like you should set your hard disk's jumper as "master". Otherwise it will stay as /dev/hdb. The "name" of an hard disk is determined by how you set it up (i.e., on primary or secondary IDE, and as "master" or "slave").
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
_mikec_
Guru
Guru


Joined: 22 May 2004
Posts: 386

PostPosted: Sat Mar 05, 2005 9:26 pm    Post subject: Reply with quote

thanks, solved that problem by installing the lxnay-sources, my hard drive was set for cable select master. in the boot process the bios is showing my disk as primary.

anyway i'm installing the new morph-sources right :D, meaning finishing the installation,..installaging xorg..fvwm...all the rest. thanks for this kernel dude! i hope it will work for me.
_________________
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum