Sie sind nicht angemeldet.

1

09.05.2014, 17:32

Autoload tg3 / broadcom Module

Halli, mein Netz wird mit Modul tg3 und broadcom erfolgreich aktiviert. Allerdings muss ich das jedesmal manuell durchführen. Ich verwende den genkernel. Theoretisch sollten die Module da ja automatisch geladen werden (?)
Anbei die #dmesg - mit Ausführung

Quellcode

1
#rmmod broadcom rmmod tg3modprobe broadcommodprobe tg3



und #lsmod

Wie kann ich den Vorgang "automatisieren"?
»michi-monster« hat folgende Dateien angehängt:
  • dmesg.txt (25,85 kB - 2 mal heruntergeladen - zuletzt: 12.05.2014, 09:53)
  • lsmod.txt (7,41 kB - 2 mal heruntergeladen - zuletzt: 12.05.2014, 09:51)

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »michi-monster« (12.05.2014, 15:12)


2

09.05.2014, 19:33

Für openrc benutze

Quellcode

1
/etc/conf.d/modules


Für systemd benutze

Quellcode

1
 /etc/modules-load.d/ 
http://www.freedesktop.org/software/syst…les-load.d.html

lg
boospy
Gentoo Can Do!

Wiki auf: http://deepdoc.at

3

11.05.2014, 13:51

Habe noch einen Fehler drin. Wird nicht geladen. Ich habe absichtlich beide Dateien erstellt um zu testen, ob es funktioniert.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
localhost michi # less /etc/conf.d/modules # a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="tg3 broadcom"


Quellcode

1
2
localhost modules-load.d # less \*.conf broadcom
tg3

4

12.05.2014, 09:56

Dein echtes Problem ist hier:

Quellcode

1
2
3
4
[    3.455418] tg3.c:v3.133 (Jul 29, 2013)
[    3.477282] libphy: tg3 mdio bus: probed
[    3.477287] tg3 0000:02:00.0: No PHY devices
[    3.477463] tg3 0000:02:00.0: Problem fetching invariants of chip, aborting


Und in http://lkml.iu.edu/hypermail/linux/kernel/1204.2/01162.html steht was dazu:

Zitat

The 57788 uses the broadcom phylib module. For some reason, it isn't
available the first module load attempt. A while ago, code was added to
phylib to request modules from userspace if the particular phy support
code wasn't already loaded. It looks like this mechanism isn't working
too well the first time through.


Scheint also am Kernel/Treiber zu liegen.

So kannst du je nachdem ob du systemd oder OpenRC verwendest den Treiber automatisch über ein eigenes Script laden.
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

5

12.05.2014, 15:11

ok. Danke. Dann werd ich das nach dem Booten mit Modulen machen. - ich überlebe es ;-) ....