LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-02-2009, 04:15 PM   #1
nancymm
LQ Newbie
 
Registered: Apr 2009
Posts: 21

Rep: Reputation: Disabled
IPX not supported by kernel


Im running RHEL5 and kernel 2.6.9-42.ELsmp but it seems it dont have the support for ipx. The error i got is: "Adress family not supported by protocol". How can i make it to support it? I really need to mount netwares shares.
I've been reading and it says that i have to recompile the kernel with this support. Is that true? but it is not risky? how can i do that?

Thanks in advace.
 
Old 04-02-2009, 11:15 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
If you either:

1) look through /lib/modules/<your-kernel-name>/kernel/net/ for the IPX module

or

2) read through the .config file if it is available on your system and see whether IPX is built (as a module)

.. and it IS, then the command 'modprobe <module-name>' should fix the issue.

However, I suspect that if the module DID exist, the software asking for it would have the kernel modprobe it automatically. But maybe not, so look around for the module first.

If it doesn't exist, then yes, you need to either rebuild your kernel, OR get/download/install/upgrade to another kernel that does have IPX built in or built as a module.

I won't go into how to rebuild your kernel here; there are a bazillion other threads on that subject, and myriad other resources findable via your favourite search engine on how to do it.

Is it risky? It's more daunting than risky, for a first time kernel-compiling-person but if you read carefully, you can do it! Do some research, figure out your plan of attack, ie what you will need to do, and if you're unsure of something, then ask.

And DO NOT delete or remove your working running kernel, until/unless you are CERTAIN that your new kernel works as expected and boots properly (and even then, I wouldn't delete it-- I typically have like a dozen or so kernel images lying around, with three or four in my LILO boot menu. If your (or my) new kernel fails to work, you can always reboot your previous working one, but not if you delete it).

Sasha

PS - a question or two: Doesn't Enterprise stuff (eg RHEL) have some sort of service or customer assistance? You may want to inquire, if so. And, if this is an 'important' production machine, you will want to be really sure of what you are doing, before you do it, if you don't want to render the machine temporarily useless with a borked kernel.

Last edited by GrapefruiTgirl; 04-02-2009 at 11:19 PM. Reason: EL?
 
Old 04-02-2009, 11:16 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Deleted duplicate post for some reason.. !?

Last edited by GrapefruiTgirl; 04-02-2009 at 11:17 PM. Reason: dupe post.
 
Old 04-03-2009, 09:54 AM   #4
nancymm
LQ Newbie
 
Registered: Apr 2009
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thanks for your help. We dont have RHEL5 support anymore, it was due last year. But i will be carefull as you say.
Thanks again.

P.S. I dont know how to delete the duplicate post. As you can see i am a newbie.
 
Old 04-03-2009, 11:50 AM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Basics of kernel build

Quote:
Originally Posted by nancymm View Post
Thanks for your help. We dont have RHEL5 support anymore, it was due last year. But i will be careful as you say.
Thanks again.

P.S. I dont know how to delete the duplicate post. As you can see i am a newbie.
No worries - posts actually cannot be deleted (save for by forum admins under very extraneous circumstances perhaps) but it was a duplicate of my post-- it got posted twice for some reason, so I just emptied out the body of the post.

As a newbie, you're in the right place.

I don't use RH/EL myself, so any peculiarities of RedHat I cannot likely help much with, but another RH user can surely help if you need. But building the kernel itself I have done lots of times, and I'll check back here occasionally to see how you're making out.

Figured I'd put some help here too; I hope it helps Here goes, though if you have found a tutorial that is very specific to your RHEL system, you may do well to follow it, as again, this is generic info..

The very generic basics (for rebuilding your same kernel configuration PLUS the IPX module):

1) have your kernel sourcecode on the system.
2) in a console or Xterm, execute 'make clean' in the sourcecode.
3) execute one of 'make xconfig' or 'make menuconfig' or 'make gconfig'
4) from the menu, load your .config file if you have it (to begin with everything configged as it currently is now) or extract the .config from /proc/config.gz if it is there and then load that into the menu. If you do not have available the .config file for your current kernel, you'll pretty much need to config the whole kernel from scratch.
5) Under the 'General' area in the menu, choose 'local version - append to kernel release', and give some sort of identifying name for your new build. This will help by making all the new modules and other new build files wind up in their OWN folder with this name on it, preserving your existing kernel and modules so you can still boot it.
6) locate the menu option in networking or wherever, for the IPX module, and enable [.] it or <m> it to make it as a module.
7) save the .config file. I like to also double-save the file as a name I recognize, such as the name you named the kernel in step 5.
8) exit menu configger.
9) execute 'make'
10) execute 'make modules_install'

At this point, the kernel is built, and the modules are in place. The exact procedure you use now to actually INSTALL the kernel BzImage into position and set up your bootloader depends on your system, and I would rather not guess how that might be exactly on a RHEL system; I probably might guess wrongly.

Best of success!

Sasha
 
Old 04-06-2009, 10:58 AM   #6
nancymm
LQ Newbie
 
Registered: Apr 2009
Posts: 21

Original Poster
Rep: Reputation: Disabled
Im really thankful for your help and patience really..
Well, i did what you say, but when i tried to buid it I get this error:

[root@ctb 2.6.9-42.EL-smp-i686]# make
CHK include/linux/version.h
UPD include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/asm-i386/asm_offsets.h
/bin/sh: arch/i386/kernel/asm-offsets.s: No existe el fichero o el directorio
UPD include/asm-i386/asm_offsets.h
mv: no se puede efectuar `stat' sobre «include/asm-i386/asm_offsets.h.tmp»: No existe el fichero o el directorio
make: *** [include/asm-i386/asm_offsets.h] Error 1

Do u know what it means??
 
Old 04-06-2009, 05:45 PM   #7
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
LOL, my spanish is a tad rusty, but the first error reads 'no such file or directory..' and the second one seems to read 'cannot STAT <something-or-other>: no such file or directory.'

If I had to guess, I would say that the kernel-headers are missing. There is definitely *something* missing.

Check in your package manager and see if there is a kernel-headers package installed, and if not, install it, and try again.

(and if anyone else has further input on this, please do advise us, especially if I got that spanish wrong)
 
Old 04-07-2009, 08:24 AM   #8
nancymm
LQ Newbie
 
Registered: Apr 2009
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GrapefruiTgirl View Post
LOL, my spanish is a tad rusty, but the first error reads 'no such file or directory..' and the second one seems to read 'cannot STAT <something-or-other>: no such file or directory.'

If I had to guess, I would say that the kernel-headers are missing. There is definitely *something* missing.

Check in your package manager and see if there is a kernel-headers package installed, and if not, install it, and try again.

(and if anyone else has further input on this, please do advise us, especially if I got that spanish wrong)
I downloaded a new kernel source, compile and build it again and I got it working now. I boot now with this new kernel and got IPX working. Im not erasing yet the old kernel, just in case.
Thank you very much for your help.
 
Old 04-07-2009, 10:37 AM   #9
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Excellent, glad you got it sorted out

Sasha
 
  


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
IPX not supported (RH 5) nancymm Linux - Kernel 2 04-02-2009 09:33 AM
Recompile CentOS 4.4 Kernel for IPX Support jabobadilla Linux - Newbie 5 05-27-2007 04:25 AM
usbdevfs not supported by kernel (2.6.11) scm86 Linux - Newbie 3 03-15-2005 06:35 PM
Ntfs not supported by kernel puneetloiya Linux - Newbie 5 01-25-2005 09:51 PM
IPX kernel modules missing SuSE 9.1 "professional" peterthesing Suse/Novell 1 10-15-2004 05:03 PM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration