Hi,
I'm having trouble installing gentoo on my old laptop... It says it
can't find the interface eth0. I believe it has to do with the fact I
have a pcmcia card with usb ports on which a usb2eth adapter is
plugged.
On another system I use on that laptop, it usually tries to
recognize my net adapters first (doesn't find any), then recognizes
pcmcia cards which enables support for the usb adapter, then in my
rc.local I have to manually setup my ip address or tell to use dhcp.
Hmmm, from inside the gentoo system, I found lsmod was empty (which
could be normal as I wanted everything compiled in the kernel) and
lspci was not found...
I'm pretty confortable with everything exept these pcmcia cards... if
anybody could give me a hand!
Thanks, Simon
Below are extracts from my current system (slax6rc6, livelinux based
on slackware)
---(lspci)--------------
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX
Host bridge (AGP disabled) (rev 03)
00:02.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:02.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:04.0 VGA compatible controller: Trident Microsystems Cyber 9525 (rev 49)
00:05.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:05.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:05.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:05.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:07.0 Communication controller: Agere Systems 56k WinModem (rev 01)
00:0a.0 Communication controller: Toshiba America Info Systems FIR Port (rev 23)
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
05:00.0 USB Controller: NEC Corporation USB (rev 43)
05:00.1 USB Controller: NEC Corporation USB (rev 43)
05:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
On Monday 11 February 2008, Simon Turner wrote:
> Hi,
> I'm having trouble installing gentoo on my old laptop... It says it
> can't find the interface eth0. I believe it has to do with the fact I
> have a pcmcia card with usb ports on which a usb2eth adapter is
> plugged.
>
> On another system I use on that laptop, it usually tries to
> recognize my net adapters first (doesn't find any), then recognizes
> pcmcia cards which enables support for the usb adapter, then in my
> rc.local I have to manually setup my ip address or tell to use dhcp.
>
> Hmmm, from inside the gentoo system, I found lsmod was empty (which
> could be normal as I wanted everything compiled in the kernel) and
> lspci was not found...
>
> I'm pretty confortable with everything exept these pcmcia cards... if
> anybody could give me a hand!
>
> Thanks, Simon
>
> Below are extracts from my current system (slax6rc6, livelinux based
> on slackware)
# lspci -v will show you more detail. So, should lshw, when you install it.
From the listed modules these seem to deal with your cardbus:
Build the relevant USB drivers for your machine into the kernel.
HTH.
--
Regards,
Mick
02-13-2008, 12:49 AM
"Simon Turner"
eth0 = pcmcia + usb adapter
Strange it took almost a day before I could see my post! Guess I was
"moderated"...
Hi Mick,
Thanks for the reply. I've gone through about 4 kernel recompiles,
each time wondering with question marks over my head, sure I had
everything compiled in... I ended up adding pretty much anything
that would be related to "PCI", "USB", "PCMCIA", "SCSI"... with the
exception of the modules specific to some hardware I clearly dont
have.
I kept a copy of my .config each time, so, I will be able to study
what I changed between the 3rd and 4th recompiles.
I have to say, it was my first adventure playing around with the
kernel, and I reached a high level of frustration, impatience but the
level of my greed kept being at the top and I'd say it simply changed
my life! =)
I just find "make menuconfig" a bit confusing when searching for
things... a simple grep on Kconfigs is so much better sometimes:
`find /usr/src/linux/ -name "Kconfig" -exec grep {} -Hn -e "USB"`
Someone told it wasn't correct to edit the .config directly (most
probably because of depencies), but is it possible, at my own risk?
Thanks, Simon
--
gentoo-user@lists.gentoo.org mailing list
02-13-2008, 02:27 PM
"Simon Turner"
eth0 = pcmcia + usb adapter
Wow, that's a good start! I'll keep your post aside for when I go
through the kernel again (i'm not at the point of setting up all
software).
At least, now that I got it working I can relax and start
understanding what I've done!
Thanks a lot Mick!
Simon
> Not sure, because I've never done it! I keep using make menuconfig for edits.
>
> To find a particular driver in the maze of the kernel tree you can of course
> spend hours studying it line by line, enabling and disabling each branch as
> you go along (in six months you'll know it all by heart). Alternatively, you
> could get a life and decide to press / while in menuconfig and enter some
> suitable search terms. Also, I often cat .config | grep -i <search_word> to
> find whether I have enabled something or other.
>
> After you compile a good kernel that does exactly what you want it to do, then
> copy its .config into any new kernel fs that you emerge and run make
> oldconfig instead. It'll prompt you for the changes and keep all your old
> settings which you know work.
--
gentoo-user@lists.gentoo.org mailing list