1 |
On 10/16/11 06:43, Mick wrote: |
2 |
> On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: |
3 |
>> Hi everyone, |
4 |
>> |
5 |
>> |
6 |
>> However, now I have a networking issue. |
7 |
>> |
8 |
>> In past, when I booted to the install CD and my ethernet connection was |
9 |
>> not active, I typed net-setup eth0 and was able to set it up. This |
10 |
>> time, when I booted to the install CD and typed net-setup eth0, the |
11 |
>> network card was not recognized. |
12 |
> This means that your kernel is not configured with the corresponding modules |
13 |
> for your network card, or that there is some other configuration problem with |
14 |
> e.g. firmware loading (if such a thing is necessary for your card). |
15 |
|
16 |
I use genkernel. Granted, rather than just running genkernel all, I run |
17 |
genkernel --menuconfig all because I remove stuff that I know I won't |
18 |
need. However, in the network section, everything related to broadcom |
19 |
and tg3 is built as a module. I even tried building tg3 directly into |
20 |
the kernel and it didn't help. I had to do the 'modprobe -r broadcom' |
21 |
and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' |
22 |
prior to running net-setup even when booted to the install CD. |
23 |
>> I googled and found a post where |
24 |
>> someone said that they had to 'modprobe -r broadcom' and 'modprobe -r |
25 |
>> tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run |
26 |
>> net-setup. I did this and then ifconfig returned my eth0 connection. |
27 |
>> |
28 |
>> Of course, later you have to do the cp -L /etc/resolv.conf |
29 |
>> /mnt/gentoo/etc/ .... which I did and dhcpcd has been added to my |
30 |
>> default runlevel. |
31 |
>> |
32 |
>> However, when I boot, eth0 does not start. |
33 |
> What does dmesg show? |
34 |
On line states: |
35 |
tg3 0000:03:00.0: Problem fetching invariants of chip, aborting |
36 |
|
37 |
> |
38 |
> |
39 |
> What does cat /var/log/syslog | grep -i tg3 show |
40 |
|
41 |
Don't have a syslog file .... however, |
42 |
|
43 |
'cat /var/log/rc.log | grep -i tg3' shows: |
44 |
*Loading modul tg3 ... |
45 |
|
46 |
The line is repeated a total of 7 times. |
47 |
>> I can start it manually by |
48 |
>> doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe |
49 |
>> broadcom' and 'modprobe tg3' |
50 |
> So the question is why when you remove and install the module manually your |
51 |
> NIC driver loads, but at boot time it does not ... |
52 |
> |
53 |
Good question and I have no idea! :-) |
54 |
>> However, I would like to have my network started automatically. |
55 |
>> |
56 |
>> I do have config_eth0="dhcp" in my /etc/conf.d/net file |
57 |
> Please show: |
58 |
> |
59 |
> grep ^[^#] /etc/conf.d/net |
60 |
Prior to loading: |
61 |
config_eth0="dhcp" |
62 |
|
63 |
Note, that this is the format listed in the Handbook. Previously, in |
64 |
the Handbook, the format was config_eth0=( "dhcp" ). I've tried it both |
65 |
ways |
66 |
|
67 |
|
68 |
> ifconfig and ifconfig -a (before and after you modprobe the driver) |
69 |
Before loading: |
70 |
|
71 |
ifconfig just lists: |
72 |
lo Link encap:Local Loopback |
73 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
74 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
75 |
RX packets:11 errors:0 dropped:0 overruns:0 frame:0 |
76 |
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 |
77 |
collisions:0 txqueuelen:0 |
78 |
RX bytes:198 (198.0 B) TX bytes:198 (198.0 B) |
79 |
|
80 |
ifconfig -a lists: |
81 |
lo Link encap:Local Loopback |
82 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
83 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
84 |
RX packets:18 errors:0 dropped:0 overruns:0 frame:0 |
85 |
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 |
86 |
collisions:0 txqueuelen:0 |
87 |
RX bytes:324 (324.0 B) TX bytes:324 (324.0 B) |
88 |
|
89 |
After doing ''modprobe -r broadcom' and 'modprobe -r tg3' and then, |
90 |
'modprobe broadcom' and 'modprobe tg3' |
91 |
|
92 |
ifconfig lists: |
93 |
|
94 |
eth0 Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 |
95 |
inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 |
96 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
97 |
RX packets:1727 errors:0 dropped:0 overruns:0 frame:0 |
98 |
TX packets:908 errors:0 dropped:0 overruns:0 carrier:0 |
99 |
collisions:0 txqueuelen:1000 |
100 |
RX bytes:1826702 (1.7 MiB) TX bytes:67525 (65.9 KiB) |
101 |
|
102 |
|
103 |
lo Link encap:Local Loopback |
104 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
105 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
106 |
RX packets:46 errors:0 dropped:0 overruns:0 frame:0 |
107 |
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 |
108 |
collisions:0 txqueuelen:0 |
109 |
RX bytes:828 (828.0 B) TX bytes:828 (828.0 B) |
110 |
|
111 |
ifconfig -a lists |
112 |
|
113 |
eth0 Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 |
114 |
inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 |
115 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
116 |
RX packets:2024 errors:0 dropped:0 overruns:0 frame:0 |
117 |
TX packets:958 errors:0 dropped:0 overruns:0 carrier:0 |
118 |
collisions:0 txqueuelen:1000 |
119 |
RX bytes:1846649 (1.7 MiB) TX bytes:70725 (69.0 KiB) |
120 |
|
121 |
|
122 |
lo Link encap:Local Loopback |
123 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
124 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
125 |
RX packets:50 errors:0 dropped:0 overruns:0 frame:0 |
126 |
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 |
127 |
collisions:0 txqueuelen:0 |
128 |
RX bytes:1062 (1.0 KiB) TX bytes:1062 (1.0 KiB) |
129 |
|
130 |
> It may also help to know what is your card (lshw and lspci -v). |
131 |
|
132 |
Okay, I had to install pciutils before I could get the output so, |
133 |
obviously, this was done after the drivers loaded. |
134 |
|
135 |
lspci -v shows: |
136 |
|
137 |
03:00.0 Ethernet controller: Broadcom Corporation Netlink BCM57788 |
138 |
Gigabit Ethernet PCIe (rev 01) |
139 |
Subsystem: Dell Device 04aa |
140 |
Flags: bus master, fast devsel, latency 0, IRQ 47 |
141 |
Memory at fe500000 (64-bit, non-prefetchable) [size=64K] |
142 |
Capabilities: [48] Power Management version 3 |
143 |
Capabilities: [60] Vendor Specific Information: Len=6c <?> |
144 |
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ |
145 |
Capabilities: [cc] Express Endpoint, MSI 00 |
146 |
Capabilities: [100] Advanced Error Reporting |
147 |
Capabilities: [13c] Virtual Channel |
148 |
Capabilities: [160] Device Serial Number |
149 |
78-2b-cb-ff-fe-ad-9e-47 |
150 |
Capabilities: [16c] Power Budgeting <?> |
151 |
Kernel driver in use: tg3 |
152 |
Kernel modules: tg3 |
153 |
|
154 |
I couldn't do lshw because I had to install it and there was an error |
155 |
during the build. Something about a "gui" and I don't have x installed yet. |
156 |
|
157 |
HTH |
158 |
|
159 |
Colleen |
160 |
|
161 |
|
162 |
-- |
163 |
|
164 |
Registered Linux User #411143 with the Linux Counter, http://counter.li.org |