LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-28-2005, 03:27 PM   #1
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Question Slackware 10.2; Adaptec 2410SA; WD2500JS X3; Linux 2.6.14.2; Kernel (and user) Panic!


Good day Linux Community.
I have read a lot of posts regarding this install, and have tried many things, but nothing so far has seemed to help. Hopefully you guys(gals) will be able to point me in the right direction. Lets start with the specifics of my compile;

Distro: Slackware 10.2
Kernel: 2.6.14.2

CPU: 2X Xeon 2.8Mhz FSB 1MB
Mem: 1GB
RAID: Adaptec 2410SA (aacraid)
Drives: 3X WD2500JS (SATAII)
MB: Asus NCCH-DL

Error Message: Kernel panic - not synching: VFS: Unable to mount root fs on unknown-block(8,5)

Config Options: aacraid as module, ramdisk as module, reiserfs (root fs) and ext3 compiled in, SMP SMT compiled in.

Steps Taken:
Make mrproper, I set (what I think is appropriate) the config settings for the kernel (I can post specific lines from my .config if you like, but the whole thing is too large to post and I cannot upload an attachment.) make clean, make bzImage, make modules, make modules_install, copy my bzImage to /boot/bzImage-2.6.14.2, copy my System.map to /boot/System.map-2.6.14.2, ln -s vmlinuz and System.map to those files, respectively.
I then mkinitrd -c -k 2.6.14.2 -m rd:aacraid (seems fine, no output)
I then ensure my lilo.conf looks ok:
Code:
boot = /dev/sda
message = /boot/boot_message.txt
#prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Linux bootable partition config begins
image=/boot/vmlinuz
  initrd=/boot/initrd.gz
  root=/dev/sda5
  label=Linux
  read-only
# Linux bootable partition config ends
I then run lilo, seems fine (Added *Linux)

When I reboot, right after;
Code:
md: Autodetecting RAID Arrays
md: autorun ...
md: ... autorun DONE.
I get;
Code:
VFS: Cannot open root device "805" or unknown-block(8,5)
Please append a correct "root=" boot option
Kernel panic - not synching: VFS: Unable to mount root fs on unknown-block(8,5)
notes:
From the slackware install cd, I am able to start a 2.4 kernel with;
adaptec.s root=/dev/sda5 noinitrd ro

Is there any way I can see a log if anything is erring before this point? (syslog hasn't started yet), or do you know what my problem is here?
Any help you guys could give me would be spectacular.

Thanks,
Dylan

Last edited by Killer Bassist; 11-28-2005 at 03:31 PM.
 
Old 11-28-2005, 03:48 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
I have a server with a 2610, same chipset.
I had to use the test2.6 kernel on the slack 10.2 CD2.
worked perfect.

If your /boot partition is on a sata drive then you need to compile the aacraid into the kernel, not as a module.
but like i said, the test26 kernel should work.
 
Old 11-28-2005, 03:52 PM   #3
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you for your prompt reply,
If you compile the aacraid into the kernel, how is it you that you get your initial ramdisk? mkinitrd: the -m tag requires a module in /lib/modules/[-k kernel version]. Would you just mkinitrd without the -m option?
Chicken/egg problem.
 
Old 11-28-2005, 04:12 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
i didn't make an initrd, this is what i did:
1. booted with slackware cd, told it to use the test26 kernel
2. installed slack
3. told it to install the test26 kernel from the CD during the configure process
4. rebooted, got a bunch of errors because no modules are installed.
5. uninstalled the linux 2.4 kernel source (cause i did a full install, and that is part of it)
6. uninstalled the 2.4 kernel modules
7. installed the 2.6 kernel source
8. installed the 2.6 kernel modules
9. copied the /boot/config file to /usr/src/linux/.config
10. ran /usr/src/linux/makeoldconfig (do make sure the kernel source is configured for my kernel in case i need to make future changes)
11. rebooted and all was good.
 
Old 11-28-2005, 04:29 PM   #5
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Ok,
Once again thank you for your reply.
Recompiled the kernel with aacraid built in, removed initrd from lilo. Guess what? Same error. Does this mean that I have been barking up the wrong tree with the initrd? Is there any way to see the output before syslog starts?
Going to try your test26 idea right now...

Thanks, Dylan
 
Old 11-28-2005, 04:36 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
check this part of your .config file:
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

that is what i have
 
Old 11-28-2005, 04:42 PM   #7
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Code:
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
# CONFIG_RELAYFS_FS is not set
 
Old 11-28-2005, 04:54 PM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
the 2.6 kernel on the slack CD is for 2.6.13, here is the config file for it:
http://slackware.osuosl.org/slackwar.../config-2.6.13
perhaps you can do a make oldconfig using that file on the 2.6.14.x kernel
 
Old 11-28-2005, 05:49 PM   #9
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Good news Finlay;
Using the packages for 2.6.13, and the config from test26, I was able to compile a kernel that booted, no initrd which I think is bizzare, because everywhere I have checked really stresses the initrd.
Only problem is it makes for a very large kernel, so I will have to go through and disable what I am sure I dont need. As for the other stuff; I will remove it one by one until I get the same message, this way I will find out what exactly it is that I am missing.
Owell, so much for 2.6.14.2. Maybe next time.

Dylan
 
Old 11-28-2005, 05:54 PM   #10
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
yeah it is a large kernel, but from what i understand about memory set aside for the kernel, that it doesn't really matter. (hope i don't start a kernel memory flame war)
but i do understand wanting to weed it down.
 
Old 11-28-2005, 06:04 PM   #11
den15
Member
 
Registered: Oct 2005
Distribution: zenwalk
Posts: 88

Rep: Reputation: 15
Finaly, you have mentioned that zou have uninstalled the linux 2.4 kernel sources and modulles. Can you tell how can i do the same?
 
Old 11-28-2005, 06:08 PM   #12
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
well i used webmin to do it
but you can type
pkgtool
at the console
and choose the 'remove' option
then scroll through and find the kernel* stuff.
 
Old 11-28-2005, 06:09 PM   #13
den15
Member
 
Registered: Oct 2005
Distribution: zenwalk
Posts: 88

Rep: Reputation: 15
ok, thank you Finaly.
 
Old 11-29-2005, 10:55 AM   #14
Killer Bassist
LQ Newbie
 
Registered: Mar 2005
Location: Vancouver, BC
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Ok just letting you know Finlay,
All is working fine now, no ram disk aacraid is compiled in. Must have something to do with all the SCSI/SATA support that is in there, ie pretty much everything. I stripped out the stuff I am never going to use and got it going with the multiprocessor and hyper threading stuff.

And some new questions to all,
Is there a module guide out there? Something you could read to say, if you have the 2410SA, use this module compiled in, if you have these western digital drives, use this module as a module... Does it exist?

And lastly does anyone know a way for me to check if my RAID 5 is working properly?

Thanks again for all your help,
Dylan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"kernel panic : no init found " error with user-mode-linux tuxfood Linux - Software 2 05-06-2005 03:29 PM
adaptec.s kernel upgrade for slackware? cybrjackle Slackware 2 12-09-2003 07:58 PM
Slackware Kernel Panic! Heretic1 Linux - Newbie 0 10-27-2003 09:35 PM
Fast user switching and USB Kernel Panic daphantom Mandriva 2 10-20-2003 01:19 PM
kernel compile, user PANIC! antken Linux - General 4 01-26-2001 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration