LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2004, 06:52 PM   #1
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Rep: Reputation: 15
Question after recompiling the kernal, it complains that /dev/hdax do not exist!


anyway, after recompiling 2.4.26, my system refuses to mount anything because she can't recognize all the devices...it must not be the problem of /etc/fstab cuz when I switch back to the old image, everything works fine. there might be lack of a process during booting time i guess...any help would be great.

Last edited by tagigogo; 09-17-2004 at 06:59 PM.
 
Old 09-17-2004, 07:11 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
What filesysytem are you using, and is it compiled in or as a module? If its a module, then the Kernel cannot access the disk to load a module, to access the disk. If that makes sense.....

This is usually the problem in these instances.
 
Old 09-17-2004, 07:40 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
You maybe didn't config the kernel correctly and didn't compile in a fs or codepage that you need. Also if you didn't make an initrd then you need the root fs compiled into the kernel, not as a module.
 
Old 09-17-2004, 08:01 PM   #4
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Cool

i can make sure that i compiled ext3 in the kernel, but i am not familar with codepage and root fs.
i didn't make an initrd right now (could you plz tell me how to make one [without 'busybox'] and do i really need one?)
Thanks!
 
Old 09-17-2004, 08:17 PM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Don't need the initrd if you have your filesystems compiled in. If you use ext3 then make sure it's not a module. Also go to the Native Language Support and make sure they are selected as modules - do the lot to make surem, but I use 437 and 850 and ISO 8859-1 and 8859-15

If that's not it can we see the errors and the fstab thanks...
 
Old 09-17-2004, 10:51 PM   #6
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
what's the role of "native language support" here????
 
Old 09-17-2004, 11:11 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
codepages are usually used in windows filesystems ( fat32 etc. ) i.e the codepage I have installed is 850. If your not accessing windows its probably no that important.
 
Old 09-18-2004, 12:32 PM   #8
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Unhappy

thx for all the reply.
I just recompiled the kernel again, and after booting into the new system, it outputs:
"root(hd0,1)
Filesystem type is ext2fs, partition type 0x83
kernel --no-men-option /boot/bzImage root=/dev/hda2

Error 1: Filename must be either an obsolute pathname or blocklist."

how come does it report 'filesystem type is ext2fs'? i never made any linux partition as ext2 in my life! And, the filename is an obsolute pathname.

Here is my the FS part of my kernel configuration:

CONFIG_VIDEO_PROC_FS=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_CHECK=y
CONFIG_REISERFS_PROC_INFO=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_HFS_FS=m
CONFIG_HFSPLUS_FS=m
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_UMSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_EFS_FS=y
CONFIG_CRAMFS=m
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_ZISOFS=y
# CONFIG_JFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
CONFIG_DEVFS_DEBUG=y
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
CONFIG_ROMFS_FS=m
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
CONFIG_UDF_FS=y
CONFIG_UFS_FS=y
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_XFS_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_TCP=y
CONFIG_SMB_FS=y
# CONFIG_NCP_FS is not set
CONFIG_ZISOFS_FS=y
CONFIG_USB_DEVICEFS=y

(plz share some patience
 
Old 09-18-2004, 02:06 PM   #9
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
i see you use devfs. is devfsd installed and working in your old kernel?
be sure you configured right ide hardware in. try compiling with ext2 support.

i don't know about the --no-men-option thing, but afaik it it's unusual.

the other thing is that u use the bzimage - from where did you copy it to boot?

sl mritch.
 
Old 09-18-2004, 03:47 PM   #10
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
i see you use devfs. is devfsd installed and working in your old kernel? --> I don't think i have defsd installed right now...

be sure you configured right ide hardware in. try compiling with ext2 support. ---> yup, the list above showes that it compiled with ext2 support.

the other thing is that u use the bzimage - from where did you copy it to boot? --> i copied it from {linux-source-dir}/arch/i386/boot/bzImage
 
Old 09-18-2004, 04:47 PM   #11
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
are you using grub?
 
Old 09-18-2004, 07:50 PM   #12
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mritch
are you using grub?
Yes!!!!
 
Old 09-18-2004, 08:46 PM   #13
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
well, i think there's the flaw. doublecheck the config or post it.

sl mritch.
 
Old 09-19-2004, 08:33 PM   #14
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Unhappy still confused

well, I have two kernel images under /boot which is located in /dev/hda2 -- the old one and the new one. They both came from the kernel 2.4.26.

The Grub refuses to write the new kernel into the memory, but the old one still works well. The only change I did in grub's config file was replacing the name of old image with the new one.

mritch, any new idea???
 
Old 09-20-2004, 06:52 AM   #15
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
try to rename it to vmlinuz. post your configfile. post a ls -l from your boot-dir. rewrite the configfile.

this error usualy shows up if there 's something wrong there, but i'm not too sure about this since i don't use grub- you may try to switch to lilo.

sl mritch.
 
  


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
how to access /dev/hdx ngan_yine Slackware 10 10-22-2004 04:23 PM
New kernel drivers Shifting /dev/hdx order omegaworks Linux - Hardware 1 09-06-2004 06:19 AM
recompiling kernal slackware 7.1 gamji44 Slackware 5 09-07-2003 11:41 PM
Installing off Slack cd (/dev/hdx...ect) Volcom Slackware 3 05-18-2003 01:40 PM
Recompiling Your Kernal silentgeek Linux - General 2 07-27-2001 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:40 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