Gentoo Archives: gentoo-user

From: Nick Rout <nick@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I add pcnet_cs to my installation?
Date: Mon, 06 Dec 2004 08:41:33
Message-Id: 1102322554.16037.1.camel@sf.rout.dyndns.org
In Reply to: Re: [gentoo-user] How can I add pcnet_cs to my installation? by michael shiloh
1 On Sun, 2004-12-05 at 20:42 -0800, michael shiloh wrote:
2 > Sorry. I should have pointed that out. I am in fact using 2.6.
3 >
4 > I actually got it all running, but I'm not sure exactly how.
5 > I tried a kernel with no PCMCIA support, but when I emerged
6 > pcmcia-cs it failed due to needing PCMCIA support in the kernel.
7 > So I compiled the kernel again, this time turning on every
8 > single PCMCIA related item I could find. This time pcmcia-cs
9 > worked.
10 >
11 > Some day I might redo this just to figure out what the critical
12 > steps were, but I need to finish this installation so I can actually
13 > use my laptop.
14 >
15 > Still, I can see from the different answers, that there is a bit
16 > of confusion about this issue. I appreciate all of your help as
17 > I'll be installing Gentoo on many other computers, I'm sure.
18 >
19 > Michael
20 There is no confusion, we were jsut at odds over which kernel you were
21 reason - his answer was right for 2.4, mine for 2.6. The ebuild is the
22 final arbiter :-)
23
24
25
26 >
27 >
28 > On Mon, 6 Dec 2004, Alessandro D.M. Semeria wrote:
29 >
30 > > Micheal not say nothing about the kernel, then I supposed he had used
31 > > a stable gentoo-sources (2.4) and not the devel one (2.6).
32 > >
33 > > Best regards.
34 > > A.S.
35 > >
36 > >
37 > > On Mon, 06 Dec 2004 11:46:36 +1300
38 > > Nick Rout <nick@×××××××.nz> wrote:
39 > >
40 > > > What doc are you referring to?
41 > > >
42 > > > AFAIK if you are on 2.6 emerge pcmcia-cs does not emerge any kernel
43 > > > modules, but only the support programs for pcmcia.
44 > > >
45 > > > Thats certainly seems to be what has happenned on my laptop, which has
46 > > > just been reinstalled with 2004.3 as of last week.
47 > > >
48 > > >
49 > > > invertigating further, this is from the ebuild:
50 > > >
51 > > > "For 2.5/2.6 kernels, the PCMCIA support from the kernel should"
52 > > > "be used. Enable PCMCIA and any further drivers you need there,"
53 > > > "and then use this package to install the PCMCIA tools."
54 > > >
55 > > > It is otherwise for 2.4 , the ebuild says this:
56 > > >
57 > > > "To avail yourself of the pcmcia-cs drivers, you have to disable the"
58 > > > "PCMCIA support in the kernel. (Otherwise, you might experience"
59 > > > "CardServices version mismatch errors)"
60 > > > "Proper kernel config for this package is that PCMCIA/Card Bus under"
61 > > > "General Setup is off and Wireless LAN (non-ham radio) is on but"
62 > > > "no modules or drivers turned on under Network Device Support"
63 > > > "if you have wireless."
64 > > > "Also note it now appears that you need CONFIG_CRC32 turned on"
65 > > > "These are the CRC32 Library functions in the config"
66 > > >
67 > > > (sorry about the formatting)
68 > > >
69 > > >
70 > > > On Sun, 5 Dec 2004 20:26:32 +0100
71 > > > "Alessandro D.M. Semeria" <goloiat@××××××.it> wrote:
72 > > >
73 > > > > In my personal opinion is better to emerge pcmcia modules:
74 > > > > "emerge pcmcia-cs" (as is recommended on doc).
75 > > > >
76 > > > > Best regards
77 > > > >
78 > > > > A.S.
79 > > > >
80 > > > > On Sun, 05 Dec 2004 10:52:34 +1300
81 > > > > Nick Rout <nick@×××××××.nz> wrote:
82 > > > >
83 > > > > > On Sun, 2004-12-05 at 10:49 +1300, Nick Rout wrote:
84 > > > > > > you do not need to recompile the whole kernel, just the modules
85 > > > > > > you need.
86 > > > > > >
87 > > > > > > in your menuconfig go into "Bus Options" and choose pcmcia
88 > > > > > > support, with whatever options you need for your hardware.
89 > > > > > >
90 > > > > > > Then and only then will the right things appear under Device
91 > > > > > > drivers/Networking Support, there will be a section for pcmcia
92 > > > > > > drivers. Choose the NE2000 compatible one, and it will build
93 > > > > > > pcnet_cs (according to what you read under Help anyway)
94 > > > > >
95 > > > > > Sorry I didn't finish :-)
96 > > > > >
97 > > > > > after putting the right config options in place, as modules, exit
98 > > > > > menuconfig and execute the following
99 > > > > >
100 > > > > > make modules && make modules_install
101 > > > > >
102 > > > > > and for good measure:
103 > > > > >
104 > > > > > depmod -a
105 > > > > >
106 > > > > > it should then work without even a reboot.
107 > > > > >
108 > > > > > >
109 > > > > > > On Sat, 2004-12-04 at 00:36 -0800, michael shiloh wrote:
110 > > > > > > > Hello all,
111 > > > > > > >
112 > > > > > > > I'm installing Gentoo on an old laptop. After installing and
113 > > > > > > > booting, I find that I forgot to add pcnet_cs, which I need
114 > > > > > > > for my PCMCIA network card, so modprobe of that fails.
115 > > > > > > >
116 > > > > > > > Looking through the archives, I gather that this normally gets
117 > > > > > > > built with the kernel, but I don't want to rebuild the kernel.
118 > > > > > > > Is there a package I can emerge that will provide this?
119 > > > > > > >
120 > > > > > > > (I can get onto the net by booting from the live CD)
121 > > > > > > >
122 > > > > > > > Thanks,
123 > > > > > > > Michael
124 > > > > > > >
125 > > > > > > >
126 > > > > > > >
127 > > > > > > > --
128 > > > > > > > gentoo-user@g.o mailing list
129 > > > > > > >
130 > > > > > --
131 > > > > > Nick Rout <nick@×××××××.nz>
132 > > > > >
133 > > > > >
134 > > > > > --
135 > > > > > gentoo-user@g.o mailing list
136 > > > > >
137 > > > >
138 > > > > --
139 > > > > gentoo-user@g.o mailing list
140 > > >
141 > > > --
142 > > > Nick Rout <nick@×××××××.nz>
143 > > >
144 > > >
145 > > > --
146 > > > gentoo-user@g.o mailing list
147 > > >
148 > >
149 > > --
150 > > gentoo-user@g.o mailing list
151 > >
152 >
153 >
154 > --
155 > gentoo-user@g.o mailing list
156 >
157 --
158 Nick Rout <nick@×××××××.nz>
159
160
161 --
162 gentoo-user@g.o mailing list