LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-26-2004, 01:02 AM   #1
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
A small kernel error


Hi

ok Ive almost got this right , I have compiled the kernel and all went well, the problem is when I try to boot the new kernel I get the following error messages.

kmod failed to exec /sbin/modprobe -S -K block-major-3, errno=2
VFS:Cannot open root device "342" or 03:42
Please append a correct "root=" boot option
Kernel panic: VFS : Unable to mount root fs on 03:42

ok ive done a little searching across the board and havent come up with anything usefull.

My layout so far is

hda - CDRom
hdb1 - Windoze unfortunately (used for solidworks)
hdb2 - / Slack
hdb3 - home
hdb4 - user

I have tried to pass options to the kernel at boot like

root=/dev/hdb2
"root=/dev/hdb2"
root="/dev/hdb2"

All of these options dont help me at all I still get the same error.
The kernel im using is 2.4.22
I think its obvious that the filesystem cant be mounted but i have compiled the filesystem into the kernel (reiserfs)
Im also trying to set up my cdrom using scsi although i have an ATAPI cdwriter so i can use sg0 as my device for my cdwriter
also I do not have any raid devices.

So Im wondering what I have left out in the kernel that could be causing this problem or is it just a bad compile ??

Also 1 other thing, there is a System.map, vmlinuz, .configure, 0342, and a map file in the /boot directory what is the map file for, I know what the other files do but is the map file necessary ??

To anyone who can help me thanx

cheers

Current system

Pentium 4 2.8 GHz Hyperthreaded
512 Megs ram
All perhenials are built into mb
 
Old 05-26-2004, 04:01 PM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Are you running lilo or grub? Or do you boot from a floppy or ....

Enjoy!
--- Cerbere
 
Old 05-27-2004, 09:17 AM   #3
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Original Poster
Rep: Reputation: 30
Hi well it looks like im on my own with this one

I boot with hdb1(ntfs) via windoze bootloader into slackwares lilo boot loader(hdb2 reiserfs) and can switch between either of the bootloaders to start either os.

Last edited by synapse; 05-27-2004 at 09:18 AM.
 
Old 05-27-2004, 09:31 AM   #4
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,261

Rep: Reputation: 54
and when you boot, the windows boot loader is successfully bring up the lilo prompt?

if the failure occurs after you get to lilo, show us your /etc/lilo.conf
also ls -l /boot want to see the full symlinks
by the way, why are you compiling kernel 2.4.22. The stock one does not work or one of the provided variants. If you are going to compile your own it should be 2.4.26 or 2.6.6 as 2.4.22 had security issues. So we need more info to help.
 
Old 05-27-2004, 03:10 PM   #5
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Original Poster
Rep: Reputation: 30
Hi ringwraith
Thanx for that info, I will patch the kernel and try again to see what happens, my lilo boots fine and i managed to get the kernel working, I had left out some ata option (Dont know which option though) that it obviously needed to acess the hd

The whole reason that i am recompiling is that im trying to get my scanner working (Mustek Bearpaw CU Plus)

On my old pc before this one it worked fine with the standard kernel now all of a sudden i am getting a I/O error when trying to communicate with the device (on my new pc). Seems the only difference is that this new pc has 4 usb slots and i dunno what the problem is.

Ive check the proc usb and the device is there the filesystems are loaded everything seems just fine , in fact exactly like my old pc just i cant use the device. Kooka picks up that the scanner is there when it autoprobes , but as soon as it loads the main frontend there is a sane error

Xsane also has problems with this it seems

BTW ive tried as root as well same problem also reinstalled and got the same error.

I have a camera which i plug in and can access fine.
Ive checked the scanner on a windoze system and it works fine so its not busted.

My new system is

P4 2.8Ghz
512mb mem
Chaintech VIA PM800/PT800 + VT8235 u-ATX Motherboard

Thanx for your help
cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
small error Ryan450 Linux - Software 3 08-16-2005 09:34 AM
small help for kernel 2.6.7 salahuddin_66 Slackware 7 09-23-2004 01:25 AM
old pc, new kernel; small problem b0uncer Linux - General 3 04-24-2004 12:19 PM
can't get a small kernel muyo76 Linux - General 21 03-14-2003 09:46 AM
small error in init script islandkid Linux - General 3 03-21-2002 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration