Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Initramfs not created by genkernel
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rutherford
n00b
n00b


Joined: 13 Dec 2011
Posts: 29

PostPosted: Mon Dec 19, 2011 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27783
Location: 56N 3W

PostPosted: Mon Dec 19, 2011 10:30 pm    Post subject: Reply with quote

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
Code:
uname -a
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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27783
Location: 56N 3W

PostPosted: Mon Dec 19, 2011 10:31 pm    Post subject: Reply with quote

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
Code:
uname -a
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
View user's profile Send private message
rutherford
n00b
n00b


Joined: 13 Dec 2011
Posts: 29

PostPosted: Mon Dec 19, 2011 10:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
rutherford
n00b
n00b


Joined: 13 Dec 2011
Posts: 29

PostPosted: Mon Dec 19, 2011 10:52 pm    Post subject: Reply with quote

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 :oops:

I've changed the time and am building once more, thanks guys for your time.
Back to top
View user's profile Send private message
rutherford
n00b
n00b


Joined: 13 Dec 2011
Posts: 29

PostPosted: Mon Dec 19, 2011 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3404
Location: Saint Amant, Acadiana

PostPosted: Tue Dec 20, 2011 12:19 am    Post subject: Reply with quote

Sounds like a successful build, proceed as per Handbook.

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7#doc_chap3
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rutherford
n00b
n00b


Joined: 13 Dec 2011
Posts: 29

PostPosted: Tue Dec 20, 2011 12:29 am    Post subject: Reply with quote

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
View user's profile Send private message
rutherford
n00b
n00b


Joined: 13 Dec 2011
Posts: 29

PostPosted: Wed Dec 21, 2011 2:29 am    Post subject: Reply with quote

did a rebuild and compiled in all required drivers. This time it worked, thanks everyone for the pointers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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