Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mandrake 9.0 NIC install. Module problems. 1

Status
Not open for further replies.

dentarthurdent

Technical User
Jul 2, 2002
95
GB
I recently downloaded Mandrake 9.0 to install on my system. When I finished the install it successfully detected and set up all my hardware except my network card (Myson MTD-80x).
I went through the documentation for this card and found that it is supported by linux (module fealnx.o). The documentation also said that native kernel support for this card could be added if desired by running 'make menuconfig' and enabling it under fast ethernet cards.
So I ran 'make menuconfig', followed by 'make dep'. I was then told to run 'make clean', followed by 'make bzImage'.
I then copied the image to the boot directory-
'#cp /usr/src/linux-2.4.X/arch/i386/boot/bzImage /boot'
edited the lilo.conf to replace 'vmlinuz' with 'bzImage' and run /sbin/lilo to update.
This all seemed to go very smoothly. I rebooted the new image and found that the card was now auto-detected. Problem was that I no longer had any CDROM drives detected and my sound card was non-functional !
Where have I gone wrong ?? Please help.

Will.
 
The steps to recompiling the kernel are as follows...

make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-x.x.x
<configure your bootloader, LILO or GRUB>

You forgot to include support for your CDROM and sound card, and you also forgot to run the make modules and make modules_install commands. Recompile again, and make sure to install your sound drivers as a module. Your CDROM drivers can be statically built into the kernel, or loaded as a module, its up to you.


ChrisP
 
Thanks Chris, I may not get the chance to try this for a couple of days but I have a couple of queries.
When you say:
'You forgot to include support for your CDROM and sound card,'
Do you mean that I should use menuconfig to enable these ?
If so, to clarify, under menuconfig's menu I should tick the boxes for my particular sound and cdrom drivers to be loaded as modules ?

Cheers,
Will.
 
Yes, use menuconfig. Your sound card should definitely be loaded as a module, and the CDROM can be statically compiled in or loaded as a module, it doesn't matter. I don't remember the options off hand. I think the main sound module you want is 'soundcore.o', or something like that. Load the top most option under Sound as a module, and also include any drivers that you need.

I can't look up the exact options for you right now, but if you can't get it, I'll check later on.


ChrisP
 
Well I eventually got round to playing with menuconfig and everything seemed to go OK. I got my stuff to load OK but continued to have problems with the nic.
The basic problem is that it was autodetected OK by mandrake control centre but when I was setting it up it asked which module it should use ?!
2 things confuse me:
[1] Why, if it is auto-detected, does it ask which module it should use ? Surely it knows.
[2] When I scan the list of modules it offers me, my card isn't on the list !

Anyway I decided to get rid of the nic and replace it with standard 3com. Problem solved, even if I have taken the coward's way out !

Thanks for all the help.

Will.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top