| View previous topic :: View next topic |
| Author |
Message |
rutherford n00b

Joined: 13 Dec 2011 Posts: 29
|
Posted: Mon Dec 19, 2011 9:58 pm Post subject: |
|
|
Ok so net_pci=n directed me to Ethernet (10 or 100Mbit) and the line 'EISA, VLB, PCI and on board controllers' - As you said starring this then made the appropriate realtek drivers appear, one each for 8139cp & 8139too. I put an 'M' beside both, exited and "make && make modules_install" seemed to go ok.
When I tried modprobe for either of these drivers neither were found though. I tried a reboot too for good measure.
Any idea what's up? |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 27783 Location: 56N 3W
|
Posted: Mon Dec 19, 2011 10:30 pm Post subject: |
|
|
rutherford,
Its quite possible to run one kernel while you configure and build another one. That OK if its what you intended to do and know you are doing it.
Its not what was needed here. So lets do a few tests.
Your running kernel is shown by the command. The date and time shown are the date and time of the kernel build.
The kernel pointed to by the /usr/src/linux symbolic link is shown by | Code: | | readlink /usr/src/linux | the two should show the same kernel version.
If thats the problem, cd /usr/src/<your running kernel> and do the exercise again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 27783 Location: 56N 3W
|
Posted: Mon Dec 19, 2011 10:31 pm Post subject: |
|
|
rutherford,
Its quite possible to run one kernel while you configure and build another one. That OK if its what you intended to do and know you are doing it.
Its not what was needed here. So lets do a few tests.
Your running kernel is shown by the command. The date and time shown are the date and time of the kernel build.
The kernel pointed to by the /usr/src/linux symbolic link is shown by | Code: | | readlink /usr/src/linux | the two should show the same kernel version.
If thats the problem, cd /usr/src/<your running kernel> and do the exercise again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
rutherford n00b

Joined: 13 Dec 2011 Posts: 29
|
Posted: Mon Dec 19, 2011 10:40 pm Post subject: |
|
|
they do, as in linux is a symlink to my linux-3.0.6-gentoo directory. But the build date & time is my original one from earlier today and not the ones since enabling support for my ethernet driver. I'm confused!
To make sure I'm on the right wavelength here I booted linux up as normal, seen the failure to start eth0 device, got the command line and logged in as root.
Then I cd'ed to /usr/src/linux which points to the only linux directory that I can see and ran make menuconfig as described.
Once done I ran 'make && make modules_install' then tried modprobe but no luck.
What am I missing? |
|
| Back to top |
|
 |
rutherford n00b

Joined: 13 Dec 2011 Posts: 29
|
Posted: Mon Dec 19, 2011 10:52 pm Post subject: |
|
|
| Code: | | Clock skew detected. Your build may be incomplete |
Just tried building again and seen this warning. My system time was out of date by two days so I guess this is why a) it didn't rebuild the linux dir b) it was so fast
I've changed the time and am building once more, thanks guys for your time. |
|
| Back to top |
|
 |
rutherford n00b

Joined: 13 Dec 2011 Posts: 29
|
Posted: Mon Dec 19, 2011 11:03 pm Post subject: |
|
|
The cli has returned to prompt, the last update from make && make modules_install prior to exiting was 'depmod linux-3.0.6-gentoo'
that correct? if so where is my updated kernel built to and how do I start running off it? |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3404 Location: Saint Amant, Acadiana
|
|
| Back to top |
|
 |
rutherford n00b

Joined: 13 Dec 2011 Posts: 29
|
Posted: Tue Dec 20, 2011 12:29 am Post subject: |
|
|
hmm, I didn't chroot for those steps above - did I need to do that like in the handbook?
also in the handbook the next step is run a find command to check what modules you have available - I don't see either of the 8139 variants there?
btw I tried modprobe again to no avail.
| Code: | | # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less |
| Code: | /lib/modules/3.0.6-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/3.0.6-gentoo/kernel/fs/fuse/fuse.ko
/lib/modules/3.0.6-gentoo/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/3.0.6-gentoo/kernel/drivers/firmware/dmi-sysfs.ko
/lib/modules/3.0.6-gentoo/kernel/lib/libcrc32c.ko
/lib/modules/3.0.6-gentoo/kernel/lib/crc16.ko
/lib/modules/3.0.6-gentoo/kernel/lib/crc7.ko
/lib/modules/3.0.6-gentoo/kernel/lib/crc-ccitt.ko |
|
|
| Back to top |
|
 |
rutherford n00b

Joined: 13 Dec 2011 Posts: 29
|
Posted: Wed Dec 21, 2011 2:29 am Post subject: |
|
|
| did a rebuild and compiled in all required drivers. This time it worked, thanks everyone for the pointers. |
|
| Back to top |
|
 |
|