Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lspci returns nothing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
digitalhippie
n00b
n00b


Joined: 12 Nov 2006
Posts: 11
Location: Victoria, BC, Canada

PostPosted: Mon Jun 11, 2007 7:52 pm    Post subject: lspci returns nothing Reply with quote

Hi!

I'm trying to switch from manually compiled kernels to genkernel, so that it's easier to move the hard drive between different hardware and still have gentoo boot and work. When I boot into the genkernel created kernel, my network cards don't work, don't even show up in /sys/classes/net, and lspci returns absolutely no output, even with -v. I don't know if it is a genkernel problem, because the same thing seems to happen without genkernel. I keep having to boot back in to the old kernel to make the machine run. Due to bad setups from the previous maintainer of the computer, I can't menuconfig the old kernel to see how it was set up. Anyone know what might cause lspci to see nothing?

Thanks!
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Mon Jun 11, 2007 7:58 pm    Post subject: Re: lspci returns nothing Reply with quote

digitalhippie wrote:
Hi!

I'm trying to switch from manually compiled kernels to genkernel, so that it's easier to move the hard drive between different hardware and still have gentoo boot and work. When I boot into the genkernel created kernel, my network cards don't work, don't even show up in /sys/classes/net, and lspci returns absolutely no output, even with -v. I don't know if it is a genkernel problem, because the same thing seems to happen without genkernel. I keep having to boot back in to the old kernel to make the machine run. Due to bad setups from the previous maintainer of the computer, I can't menuconfig the old kernel to see how it was set up. Anyone know what might cause lspci to see nothing?

Thanks!

Have you checked that "sysfs support" and "procfs support" are enabled in your configuration?
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
digitalhippie
n00b
n00b


Joined: 12 Nov 2006
Posts: 11
Location: Victoria, BC, Canada

PostPosted: Mon Jun 11, 2007 8:09 pm    Post subject: Reply with quote

sysfs and procfs are enabled, and mounted in fstab.
Back to top
View user's profile Send private message
digitalhippie
n00b
n00b


Joined: 12 Nov 2006
Posts: 11
Location: Victoria, BC, Canada

PostPosted: Mon Jun 11, 2007 8:20 pm    Post subject: Reply with quote

Okay, instead of seeing how things were done, I took the config from the old kernel and used make oldconfig on it to use it on the new kernel. That made things work, but I don't know why. I still hope to switch to genkernel, but I'll be in hell if this machine goes down again.

For when I do decide to switch, does anyone know of a good "switching to genkernel" guide? (Yes, I know the normal genkernel guide, but it doesn't say if there are any issues in switching to it from the manual way.)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jun 11, 2007 8:26 pm    Post subject: Reply with quote

digitalhippie,

That has to be a step backwards - moving to genkernel.

genkernel, left to its own devices does not provide support of all the hardware you might like, so you still need to use menuconfig.
Also, it makes everything modular, including network interfaces which are not always automatically loaded (even if your one is made) so you have to add it to /etc/modules.autoload.d/kernel-2.6

I reccommend your learn to add modules to the running kernel. That way you can avoid the bloat and move your hdd around
_________________
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
digitalhippie
n00b
n00b


Joined: 12 Nov 2006
Posts: 11
Location: Victoria, BC, Canada

PostPosted: Mon Jun 11, 2007 9:18 pm    Post subject: Reply with quote

NeddySeagoon wrote:

I reccommend your learn to add modules to the running kernel. That way you can avoid the bloat and move your hdd around


I know how to add modules to a running kernel. Unfortunately, I am the only one here (at my job) who knows that. They would prefer things to be easier. But you know, I think you're right, genkernel isn't going to help this. They'll just have to keep some linux admin on (hopefully me). Thanks for waking me up to the fact that my solution was snake oil. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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