View previous topic :: View next topic |
Author |
Message |
sderaadt n00b
Joined: 26 Apr 2003 Posts: 13 Location: Wellington, New Zealand
|
Posted: Sat Apr 26, 2003 11:31 am Post subject: mount problems |
|
|
Hi
I've just installed Gentoo using the (excellent) installation instructions. I got to the bottom, and rebooted.
It booted fine, but my network card (8139too) wasn't picked up (although it worked fine during the install). Running 'lsmod' turns up empty, and when I ran 'modprobe 8139too', it says 'modprobe: Can't locate module 8139too'! Indeed, when I did 'ls /lib/modules/*/kernel/drivers/net/*', only 'dummy.o' is returned. It appears the actual driver wasn't copied during the installation - or was deleted after installation.
So, I thought I would just copy the driver from another machine with Linux. I put it onto a floppy, but was unable to mount the floppy in Gentoo. Running 'mount -t dos /dev/fd0 /mnt/floppy' returned the error message 'mount: fs type dos not supported by kernel'. The same if I tried msdos, vfat or auto as the fs types. The floppy worked fine during the install, but not after the reboot.
So, after trawling this forum and finding that recompiling the kernel with this option was the solution, I ran 'cd /usr/src/linux' then 'make menuconfig'. In the filesystem category, I selected the dos, msdos and vfat options, then ran 'make dep && make clean bzImage modules modules_install'.
But after rebooting, I still got the same error when trying to mount the floppy. I tried several times. I tried with the menuconfig dos, msdos and vfat options both compiled into the kernel ('*') and as modules ('M'), but that didn't seem to help.
Is it possible that since these modules weren't selected during the install, the source code wasn't copied across (or was deleted during cleanup)?
I'm hoping that once the 8139too driver is in place it will all just work, since it is looking for it at boot-time (and failing to find it).
Thanks for your help
Sebastian |
|
Back to top |
|
|
keenan n00b
Joined: 30 Oct 2002 Posts: 33
|
Posted: Sat Apr 26, 2003 11:37 am Post subject: |
|
|
Not too sure about the floppy, I thought it was a seperate module...anyways I haven't used mine in years. Check over your config settings again..
As for the RTL8139, the module is in Code: |
Network Device Support -> Ethernet (10 or 100mbit) -> EISA, VLB, PCI and on board controllers -> RealTek RTL-8139 PCI Fast Ethernet Adapter support
|
Enable this module, make modules modules_install, and modprobe 8139too, and you should be up and running, provided the other requisite kernel options are enabled. |
|
Back to top |
|
|
sderaadt n00b
Joined: 26 Apr 2003 Posts: 13 Location: Wellington, New Zealand
|
Posted: Sat Apr 26, 2003 10:13 pm Post subject: Thanks! |
|
|
Thanks keenan!
That fixed it
Now I just have to get the floppy working... |
|
Back to top |
|
|
sderaadt n00b
Joined: 26 Apr 2003 Posts: 13 Location: Wellington, New Zealand
|
Posted: Mon Apr 28, 2003 10:10 pm Post subject: |
|
|
In case anyone is wondering, I got vfat support for the floppy drive and windows partitions. If I just recompiled the kernel, it had no effect. I had to wipe my gentoo partitions clean and start fresh. I ensured the dos, msdos and vfat options were selected in menuconfig, and it worked. |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Tue Apr 29, 2003 12:23 am Post subject: |
|
|
You shouldn't have to wipe the drives and start over! If you have problems with kernel compiles, doing a make mrproper will clean out & reset the kernel source, failing that try re-emerging the kernel source.
Brian |
|
Back to top |
|
|
sderaadt n00b
Joined: 26 Apr 2003 Posts: 13 Location: Wellington, New Zealand
|
Posted: Tue Apr 29, 2003 9:19 am Post subject: |
|
|
I tried that, but both times make mrproper failed - it couldn't find the sources or something.
Thanks for the susggestion tho!
I am about to begin my third reinstall, 'cos I forgot devfs support the second time. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|