Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ethernet installation problem with 2011.0

8 views
Skip to first unread message

Grimble

unread,
Nov 28, 2011, 5:17:39 PM11/28/11
to
As you can see, installed 32-bit 2011.0 on this laptop. Installation
went very smoothly except for the wired interface, a Broadcom BCM57780
Gigabit Ethernet PCIe. When I try to create it, I get the message
Unable to find network interface for selected device (using tg3 driver).
# lsmod|grep tg3
tg3 114771 0
libphy 19589 1 tg3
Fortunately, the wireless device installed correctly as eth0.
Help, please, to correct this problem
--
Grimble
Registered Linux User #450547
Running 4.6.5 on 2.6.38.7-desktop-1mnb2 kernel.
Mandriva Linux release 2011.0 (Official) for i586

David W. Hodgins

unread,
Nov 28, 2011, 7:27:52 PM11/28/11
to
On Mon, 28 Nov 2011 17:17:39 -0500, Grimble <gri...@nospamthanx.net> wrote:

> As you can see, installed 32-bit 2011.0 on this laptop. Installation
> went very smoothly except for the wired interface, a Broadcom BCM57780
> Gigabit Ethernet PCIe. When I try to create it, I get the message
> Unable to find network interface for selected device (using tg3 driver).

See https://bugzilla.redhat.com/show_bug.cgi?id=525966#c26

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

Grimble

unread,
Nov 29, 2011, 6:08:27 AM11/29/11
to
On 29/11/11 00:27, David W. Hodgins wrote:
> On Mon, 28 Nov 2011 17:17:39 -0500, Grimble <gri...@nospamthanx.net>
> wrote:
>
>> As you can see, installed 32-bit 2011.0 on this laptop. Installation
>> went very smoothly except for the wired interface, a Broadcom BCM57780
>> Gigabit Ethernet PCIe. When I try to create it, I get the message
>> Unable to find network interface for selected device (using tg3 driver).
>
> See https://bugzilla.redhat.com/show_bug.cgi?id=525966#c26
>
> Regards, Dave Hodgins
>
Thanks Dave. Followed the instruction:
[graeme@haydn modprobe.d]$ ls -l
total 24
-rw-r--r-- 1 root root 20 Apr 11 2011 blacklist-brcm80211.conf
-rw-r--r-- 1 root root 833 May 2 2011 blacklist-compat
-rw-r--r-- 1 root root 704 May 2 2011 blacklist-mdv
-rw-r--r-- 1 root root 84 May 2 2011 ipw-no-associate.conf
-rw-r--r-- 1 root root 74 Nov 29 10:08 local.conf
-rw-r--r-- 1 root root 105 Nov 12 09:39 snd-oss
[graeme@haydn modprobe.d]$ cat local.conf
install tg3 /sbin/modprobe broadcom; /sbin/modprobe --ignore-install tg3

[graeme@haydn modprobe.d]$
Unfortunately, this did not work
Noticed afterwards that a previous comment put the correction into
/etc/modprobe.conf, so tried that:
[graeme@haydn etc]$ cat modprobe.conf
alias pci:v000014E4d00004357sv0000105Bsd0000E021bc02sc80i00 wl
alias eth0 wl
install tg3 /sbin/modprobe broadcom; /sbin/modprobe --ignore-install tg3

That also did not work, and lsmod tells me that tg3 is still loaded.
Now what?

David W. Hodgins

unread,
Nov 29, 2011, 8:32:29 PM11/29/11
to
On Tue, 29 Nov 2011 06:08:27 -0500, Grimble <gri...@nospamthanx.net> wrote:

> Unfortunately, this did not work
> Noticed afterwards that a previous comment put the correction into
> /etc/modprobe.conf, so tried that:
> [graeme@haydn etc]$ cat modprobe.conf
> alias pci:v000014E4d00004357sv0000105Bsd0000E021bc02sc80i00 wl
> alias eth0 wl
> install tg3 /sbin/modprobe broadcom; /sbin/modprobe --ignore-install tg3
> That also did not work, and lsmod tells me that tg3 is still loaded.
> Now what?

It's probably getting loaded by the initramfs. Mandriva 2011 now uses
dracut. With the change in place (either modprobe.conf or
modprobe.d/local.conf should work), run the command (as root)

dracut -f /boot/initrd.img 2.6.38.7-desktop-1mnb2

Change the kernel version, if appropriate.

Grimble

unread,
Nov 30, 2011, 6:12:40 AM11/30/11
to
On 30/11/11 01:32, David W. Hodgins wrote:
> On Tue, 29 Nov 2011 06:08:27 -0500, Grimble <gri...@nospamthanx.net>
> wrote:
>
>> Unfortunately, this did not work
>> Noticed afterwards that a previous comment put the correction into
>> /etc/modprobe.conf, so tried that:
>> [graeme@haydn etc]$ cat modprobe.conf
>> alias pci:v000014E4d00004357sv0000105Bsd0000E021bc02sc80i00 wl
>> alias eth0 wl
>> install tg3 /sbin/modprobe broadcom; /sbin/modprobe --ignore-install tg3
>> That also did not work, and lsmod tells me that tg3 is still loaded.
>> Now what?
>
> It's probably getting loaded by the initramfs. Mandriva 2011 now uses
> dracut. With the change in place (either modprobe.conf or
> modprobe.d/local.conf should work), run the command (as root)
>
> dracut -f /boot/initrd.img 2.6.38.7-desktop-1mnb2
>
> Change the kernel version, if appropriate.
>
> Regards, Dave Hodgins
>
Thanks for your help.
Did the dracut thing and rebooted - no effect. However, read through the
earlier comments in the Bugzilla reference, and noted the actions in
Comment 21 and did the following with great trepidation:
[root@haydn ~]# modprobe -r tg3
[root@haydn ~]# modprobe broadcom
[root@haydn ~]# modprobe tg3
This worked, so my wired connection is now eth1. Can I assume that if I
make the alterations to /etc/rc.local it will run after every boot?
Do I need to back out the previous additions to
/etc/modprobe.d/local.conf and /etc/modprobe.conf?

Bit Twister

unread,
Nov 30, 2011, 8:11:29 AM11/30/11
to
On Wed, 30 Nov 2011 11:12:40 +0000, Grimble wrote:

> This worked, so my wired connection is now eth1. Can I assume that if I
> make the alterations to /etc/rc.local it will run after every boot?

If me, I would try to get it working way before then. :)

> Do I need to back out the previous additions to
> /etc/modprobe.d/local.conf and /etc/modprobe.conf?

In my opinion, you should work at getting a working .conf file in
/etc/modeprobe.d/.

If you were to look though logs like /var/log/messages,
/var/log/boot.log, and do a dmesg just after boot, you might find
entries complaining about deprecated /etc/modprobe.conf usage.

Any modprobe work needed, should be in /etc/modprobe.d/some_fn.conf
file with these newer system releases.

Grimble

unread,
Nov 30, 2011, 10:39:19 AM11/30/11
to
On 30/11/11 13:11, Bit Twister wrote:
> On Wed, 30 Nov 2011 11:12:40 +0000, Grimble wrote:
>
>> This worked, so my wired connection is now eth1. Can I assume that if I
>> make the alterations to /etc/rc.local it will run after every boot?
>
> If me, I would try to get it working way before then. :)
By which you mean earlier in the Boot process?


>> Do I need to back out the previous additions to
>> /etc/modprobe.d/local.conf and /etc/modprobe.conf?
>
> In my opinion, you should work at getting a working .conf file in
> /etc/modeprobe.d/.
Well, I put the recommended command in modprobe.d/local.conf, which now
looks like this:

alias pci:v000014E4d00004357sv0000105Bsd0000E021bc02sc80i00 wl
alias eth0 wl
install tg3 /sbin/modprobe broadcom; /sbin/modprobe --ignore-install tg3

alias pci:v000014E4d00001692sv00001025sd0000036Ebc02sc00i00 tg3
alias eth1 tg3
(the last two lines were added by my command-line modprobe commands).
As I said, this didn't work. Should I replace that "install" command
with the three commands:
remove tg3
install broadcom
install tg3
?

>
> If you were to look though logs like /var/log/messages,
> /var/log/boot.log, and do a dmesg just after boot, you might find
> entries complaining about deprecated /etc/modprobe.conf usage.
No such messages were found, although there were four messages of the form:
Nov 30 08:15:42 haydn kernel: <29>modprobe[507]: FATAL: Module sunrpc
already in kernel.
I also notice that smbd still cant find its child; I think Social
services should be informed.

Bit Twister

unread,
Nov 30, 2011, 11:07:03 AM11/30/11
to
On Wed, 30 Nov 2011 15:39:19 +0000, Grimble wrote:
> On 30/11/11 13:11, Bit Twister wrote:
>>
>> If me, I would try to get it working way before then. :)
> By which you mean earlier in the Boot process?

Yes. You want those modules loaded before the network, dhcp, httpd,
postfix, .... and others try to connect outside the system.

>>
>> In my opinion, you should work at getting a working .conf file in
>> /etc/modeprobe.d/.
> Well, I put the recommended command in modprobe.d/local.conf, which now
> looks like this:

Sorry, I cannot help you with broadcom problems. My wifi hardware works.

As for modprobe commands, I know very little since I only played
around trying to fix ehci_hcd loading before ohci_hcd a few releases back.

For your remove/install commands, I would check files in /etc/modeprobe.d/
to get some ideas. Example snippet:
$ cat snd-oss
install snd /sbin/modprobe --first-time --ignore-install --all snd snd_pcm_oss snd_seq_oss snd_mixer_oss

I would also move all the alias commands below the modprobe commands.

I knew about the /etc/modprobe.conf deprecation from seeing messages
during alpha, beta, RC testing. Seeing the same messages in Mageia Cauldron.
0 new messages