Re: Tarja de xarxa intel I219-LM

2024-05-23 Conversa Alex Muntada
Seguint el que deia l'Àlex:

> /I had a similar problem with Ubuntu 22.04 and a Lenovo Thinkpad. I found
> out that in my BIOS setup there is an option set that prevents new
> Thunderbolt devices from connecting to the computer. (Screens worked, but
> neither ethernet nor any USB device on the dock worked.)/
> 
> ...
> 
> /Don't know if you could accept the device also from the BIOS setup, I don't
> think it is possible from within Linux./
> 
> /Another alternative would be that you allow any Thunderbolt devices from
> within your BIOS setup./

Jo tinc un portàtil Lenovo amb un dock de Dell. El portàtil no té
tarja ethernet i el dock sí. Quan connecto el portàtil amb el
port USB-C veig des del portàtil el port ethernet perfectament.

No coneixia el boltctl i he provat algunes ordres: em diu que no
tinc cap dispositiu (igual que la configuració de Thunderbolt del
GNOME) però tinc 2 dominis actius, en verd i amb accés d'usuari
(«sudo boltctl domains»).

Per altra banda, a la BIOS he trobat poca cosa:

- Tinc activat el PCIe Tunneling a la configuració de Thunderbolt
- Tinc activat el Thunderbolt a la configuració de Security » I/O
  Port Access

L'únic que se m'acut que pugui ser rellevant és que calgui tenir
UEFI Boot per poder veure aquests dispositius.

Finalment, jo provaria a actualitzar el firmware dels dispositius
connectats amb «sudo fwupdmgr get-updates».

Salut,
Alex

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁   Alex Muntada 
  ⢿⡄⠘⠷⠚⠋   Debian Developer  log.alexm.org
  ⠈⠳⣄



signature.asc
Description: PGP signature


Re: Tarja de xarxa intel I219-LM

2024-05-22 Conversa Laura Mora i Aubert
Si, el problema no és de la tarja de xarxa. Sembla que això està bé.
La màquina aquesta té un connector especial de thinkpad per
connectar-hi una interfície de xarxa. No hi havia caigut, la
interfície està disponible i està funcionant, però si no tens el
connector, res de res, és com si el cable estigués desconnectat.

La investigació ara va per thunderbolt, que caldrà trobar la forma de
validar la dockstation. Vull provar amb una live d'ubuntu a veure si
ho aconsegueixo, sinó hauré d'investigar d'utilitzar una livecd de
windows 11: 
https://www.softzone.es/noticias/windows/puedes-ejecutar-windows-11-live-usb/

Jo donaria aquest fil per tancat i possiblement seria oportú obrir-ne
un altre amb un altre assumpte. Igualment, tot i que el mòdul e1000e
suporta sense problemes la tarja I219-LM, mostro altres dos mòduls
existents per tarjes intel que poden donar problemes, el ice i el igb,
tot i que al carregar-los no la detectaven.

>>>EOF (debugging d'ànec)

- Laura Mora i Aubert
http://blackhold.nusepas.com
@blackhold_
~> cal lluitar contra el fort per deixar de ser febles, i contra
nosaltres mateixos quan siguem forts (Xirinacs)
<°((( ><

Missatge de Narcis Garcia  del dia dc., 22 de
maig 2024 a les 19:26:
>
> Bones;
> En un servidor de centre de dades comercial, he trobat això:
>
> $ lspci -s :00:1f.6 -k
> 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2)
> I219-LM (rev 31)
> Subsystem: Fujitsu Technology Solutions Ethernet Connection (2) 
> I219-LM
> Kernel driver in use: e1000e
> Kernel modules: e1000e
>
> $ lsb_release -sd
> Debian GNU/Linux 12 (bookworm)
>
>
> El 21/5/24 a les 18:27, Laura Mora i Aubert ha escrit:
> > Bona tarda,
> > Per fi tinc portàtil nou i aquest cop entre mans tinc un flamant
> > thinkpad x390 amb la seva dockstation pija.
> >
> > Tot funciona correctament excepte la xarxa (que està a la dock). A la
> > dock que tenia abans amb l'altre portàtil no havia aconseguit fer
> > funcionar mai el displayport, però en aquesta si que funciona, tot i
> > que quan connecto la pantalla a través de la dockstation la qualitat
> > no és la mateixa que connectant el cable hdmi directament a la
> > màquina. La dockstation té port display port i hdmi i la qualitat és
> > la mateixa. Algú més s'hi ha trobat? quin pot ser el motiu? En fi,
> > això no és realment important, opto per connectar la pantalla per HDMI
> > i llestos.
> >
> > Vaig al motiu de la consulta, que he vist que fa uns 6 anys ja es
> > parlava d'aquesta tarja de xarxa a aquesta mateixa llista. Cal dir que
> > el portàtil és un portàtil "vell" tot i que sigui nou (sempre opto per
> > comprar màquines més antigues tot i que noves per a una qüestió de
> > preu).
> >
> > Porto una estona investigant i el què em trobo
> >
> > - Amb el mòdul e1000e es detecta la tarja però no puc fer link
> > - He provat amb el mòdul ice (https://sourceforge.net/projects/e1000/) i res
> > - He provat amb el mòdul igb
> > (https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html)
> > i tampoc res
> >
> > Tan ice com igb diuen que suporten aquesta tarja de xarxa, però al
> > descarregar el mòdul e1000e i intentar carregar tan ice com igb, cri
> > cri cri (els carrega i no diu res més l'antipàtic)
> >
> > Us mostro alguna informació per a veure si algú em pot donar alguna
> > pista de cap a on he d'anar o què estic fent malament:
> >
> > # inxi -Fxxz
> > [...]
> > Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: N/A port: N/A
> > bus-ID: 00:1f.6
> >  chip-ID: 8086:15bd
> > [...]
> >
> > # modprobe e1000e (fent això apareix la tarja de xarxa)
> > # dmesg
> > [  438.407628] e1000e: Intel(R) PRO/1000 Network Driver
> > [  438.407632] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> > [  438.408002] e1000e :00:1f.6: Interrupt Throttling Rate
> > (ints/sec) set to dynamic conservative mode
> > [  438.604465] e1000e :00:1f.6 :00:1f.6 (uninitialized):
> > registered PHC clock
> > [  438.671411] e1000e :00:1f.6 eth0: (PCI Express:2.5GT/s:Width
> > x1) f8:75:a4:64:cd:17
> > [  438.671426] e1000e :00:1f.6 eth0: Intel(R) PRO/1000 Network 
> > Connection
> > [  438.671556] e1000e :00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: 
> > 1000FF-0FF
> > [  438.717328] e1000e :00:1f.6 enp0s31f6: renamed from eth0
> > [  486.886744] e1000e :00:1f.6 enp0s31f6: removed PHC
> > [  486.964136] e1000e :00:1f.6 enp0s31f6: NIC Link is Down
> > [  492.112675] gnss: GNSS driver registered with major 237
> > [  492.188571] ice: Intel(R) Ethernet Connection E800 Series Linux
> > Driver - version 1.14.9
> > [  492.188573] ice: Copyright (C) 2018-2024 Intel Corporation
> > [ 1018.819711] e1000e: Intel(R) PRO/1000 Network Driver
> > [ 1018.819715] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> > [ 1018.820103] e1000e :00:1f.6: Interrupt Throttling Rate
> > (ints/sec) set to dynamic conservative mode
> > [ 1018.897639] e1000e :00:1f.6 

Re: Tarja de xarxa intel I219-LM

2024-05-22 Conversa Narcis Garcia

Bones;
En un servidor de centre de dades comercial, he trobat això:

$ lspci -s :00:1f.6 -k
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) 
I219-LM (rev 31)

Subsystem: Fujitsu Technology Solutions Ethernet Connection (2) I219-LM
Kernel driver in use: e1000e
Kernel modules: e1000e

$ lsb_release -sd
Debian GNU/Linux 12 (bookworm)


El 21/5/24 a les 18:27, Laura Mora i Aubert ha escrit:

Bona tarda,
Per fi tinc portàtil nou i aquest cop entre mans tinc un flamant
thinkpad x390 amb la seva dockstation pija.

Tot funciona correctament excepte la xarxa (que està a la dock). A la
dock que tenia abans amb l'altre portàtil no havia aconseguit fer
funcionar mai el displayport, però en aquesta si que funciona, tot i
que quan connecto la pantalla a través de la dockstation la qualitat
no és la mateixa que connectant el cable hdmi directament a la
màquina. La dockstation té port display port i hdmi i la qualitat és
la mateixa. Algú més s'hi ha trobat? quin pot ser el motiu? En fi,
això no és realment important, opto per connectar la pantalla per HDMI
i llestos.

Vaig al motiu de la consulta, que he vist que fa uns 6 anys ja es
parlava d'aquesta tarja de xarxa a aquesta mateixa llista. Cal dir que
el portàtil és un portàtil "vell" tot i que sigui nou (sempre opto per
comprar màquines més antigues tot i que noves per a una qüestió de
preu).

Porto una estona investigant i el què em trobo

- Amb el mòdul e1000e es detecta la tarja però no puc fer link
- He provat amb el mòdul ice (https://sourceforge.net/projects/e1000/) i res
- He provat amb el mòdul igb
(https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html)
i tampoc res

Tan ice com igb diuen que suporten aquesta tarja de xarxa, però al
descarregar el mòdul e1000e i intentar carregar tan ice com igb, cri
cri cri (els carrega i no diu res més l'antipàtic)

Us mostro alguna informació per a veure si algú em pot donar alguna
pista de cap a on he d'anar o què estic fent malament:

# inxi -Fxxz
[...]
Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: N/A port: N/A
bus-ID: 00:1f.6
 chip-ID: 8086:15bd
[...]

# modprobe e1000e (fent això apareix la tarja de xarxa)
# dmesg
[  438.407628] e1000e: Intel(R) PRO/1000 Network Driver
[  438.407632] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[  438.408002] e1000e :00:1f.6: Interrupt Throttling Rate
(ints/sec) set to dynamic conservative mode
[  438.604465] e1000e :00:1f.6 :00:1f.6 (uninitialized):
registered PHC clock
[  438.671411] e1000e :00:1f.6 eth0: (PCI Express:2.5GT/s:Width
x1) f8:75:a4:64:cd:17
[  438.671426] e1000e :00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[  438.671556] e1000e :00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: 1000FF-0FF
[  438.717328] e1000e :00:1f.6 enp0s31f6: renamed from eth0
[  486.886744] e1000e :00:1f.6 enp0s31f6: removed PHC
[  486.964136] e1000e :00:1f.6 enp0s31f6: NIC Link is Down
[  492.112675] gnss: GNSS driver registered with major 237
[  492.188571] ice: Intel(R) Ethernet Connection E800 Series Linux
Driver - version 1.14.9
[  492.188573] ice: Copyright (C) 2018-2024 Intel Corporation
[ 1018.819711] e1000e: Intel(R) PRO/1000 Network Driver
[ 1018.819715] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1018.820103] e1000e :00:1f.6: Interrupt Throttling Rate
(ints/sec) set to dynamic conservative mode
[ 1018.897639] e1000e :00:1f.6 :00:1f.6 (uninitialized):
registered PHC clock
[ 1018.964620] e1000e :00:1f.6 eth0: (PCI Express:2.5GT/s:Width
x1) f8:75:a4:64:cd:17
[ 1018.964634] e1000e :00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[ 1018.964766] e1000e :00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: 1000FF-0FF
[ 1019.006490] e1000e :00:1f.6 enp0s31f6: renamed from eth0
# ethtool enp0s31f6
Settings for enp0s31f6:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
 100baseT/Half 100baseT/Full
 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full
 100baseT/Half 100baseT/Full
 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 2
Transceiver: internal
MDI-X: Unknown (auto)
Supports Wake-on: pumbg
Wake-on: g
 Current message level: 0x0007 (7)
drv probe link
Link detected: no

# ifconfig enp0s31f6 up
# ifconfig enp0s31f6
enp0s31f6: flags=4099  mtu 1500
 ether f8:75:a4:64:cd:17  txqueuelen 1000  (Ethernet)
 RX packets 0  bytes 0 (0.0 B)
 RX errors 0  dropped 0  overruns 0  frame 0
 TX packets 0  bytes 0 (0.0 B)
 TX errors 0  dropped 0 overruns 0  carrier 0  

Re: Tarja de xarxa intel I219-LM

2024-05-22 Conversa Laura Mora i Aubert
Bon dia Àlex (a veure si ens veiem algun dia! :P)
Si, quan vaig veure que el tema era cosa de thunderbolt (una
tecnologia totalment nova per a mi), vaig veure que a la BIOS hi havia
nosequè de security i vaig posar-ho a disabled tal com vaig llegir a
algun fòrum.

Al no funcionar la tarja de xarxa de la dock, vaig agafar una tarja de
xarxa per USB i la vaig connectar primer al portàtil per USB (tot ok)
i després a un usb del dock i cricricri. Ni la detecta, ni apareix res
al dmesg.

He vist que a ubuntu ténen en compte la gestió de thunderbolt per
entorn gràfic, però apareix quan hi ha dispositius thunderbolt, amb
debian ho he estat buscant i no veig gaire res (faig servir cinnamon,
per tant he buscat coses referents a gnome, sense massa èxit), si que
he vist que hi ha la comanda boltctl per a la detecció i gestió de
dispositius. Lu de posar windows la màquina... com que... de moment no
xD

M'ho aniré mirant amb calma.

Moltes gràcies a tots!

- Blackhold

Missatge de Àlex  del dia dc., 22 de maig 2024 a les 7:02:
>
> Bon dia BlackHold,
>
> He llegit que el problema pot tenir a veure amb una opció de la BIOS:
>
>
> I had a similar problem with Ubuntu 22.04 and a Lenovo Thinkpad. I found out 
> that in my BIOS setup there is an option set that prevents new Thunderbolt 
> devices from connecting to the computer. (Screens worked, but neither 
> ethernet nor any USB device on the dock worked.)
>
> I solved it by booting once into a parallel Windows installation, there I was 
> asked by the Thunderbolt software if I want to accept that new device. I 
> answered with something like "yes, permanently", and after reboot to Linux 
> the dock also worked there (ethernet as well as USB).
>
> Don't know if you could accept the device also from the BIOS setup, I don't 
> think it is possible from within Linux.
>
> Another alternative would be that you allow any Thunderbolt devices from 
> within your BIOS setup.
>
>



Re: Tarja de xarxa intel I219-LM

2024-05-21 Conversa Àlex

Bon dia BlackHold,

He llegit que el problema pot tenir a veure amb una opció de la BIOS:


/I had a similar problem with Ubuntu 22.04 and a Lenovo Thinkpad. I 
found out that in my BIOS setup there is an option set that prevents new 
Thunderbolt devices from connecting to the computer. (Screens worked, 
but neither ethernet nor any USB device on the dock worked.)/


/I solved it by booting once into a parallel Windows installation, there 
I was asked by the Thunderbolt software if I want to accept that new 
device. I answered with something like "yes, permanently", and after 
reboot to Linux the dock also worked there (ethernet as well as USB)./


/Don't know if you could accept the device also from the BIOS setup, I 
don't think it is possible from within Linux./


/Another alternative would be that you allow any Thunderbolt devices 
from within your BIOS setup./




Re: Tarja de xarxa intel I219-LM

2024-05-21 Conversa Laura Mora i Aubert
Val! #etfelicitofill se m'ha ocorregut desconnectar el cable
thunderbold de la dock "Lenovo ThinkPad Thunderbolt 3 Dock Gen2
40AN0135EU" i la interfície que faig referència segueix apareguent,
així que entenc que la interfície de xarxa que detecta és la que està
físicament a la màquina i directament no troba la interfície de xarxa
de la dock station.

Vaig a seguir investigant. Si ho trobo ho informo per a què quedi
documentat. Sinò vindré a plorar de nou.

Gràcies i disculpes per a l'enrenou

- Laura Mora i Aubert
http://blackhold.nusepas.com
@blackhold_
~> cal lluitar contra el fort per deixar de ser febles, i contra
nosaltres mateixos quan siguem forts (Xirinacs)
<°((( ><

Missatge de Laura Mora i Aubert  del dia
dt., 21 de maig 2024 a les 18:27:
>
> Bona tarda,
> Per fi tinc portàtil nou i aquest cop entre mans tinc un flamant
> thinkpad x390 amb la seva dockstation pija.
>
> Tot funciona correctament excepte la xarxa (que està a la dock). A la
> dock que tenia abans amb l'altre portàtil no havia aconseguit fer
> funcionar mai el displayport, però en aquesta si que funciona, tot i
> que quan connecto la pantalla a través de la dockstation la qualitat
> no és la mateixa que connectant el cable hdmi directament a la
> màquina. La dockstation té port display port i hdmi i la qualitat és
> la mateixa. Algú més s'hi ha trobat? quin pot ser el motiu? En fi,
> això no és realment important, opto per connectar la pantalla per HDMI
> i llestos.
>
> Vaig al motiu de la consulta, que he vist que fa uns 6 anys ja es
> parlava d'aquesta tarja de xarxa a aquesta mateixa llista. Cal dir que
> el portàtil és un portàtil "vell" tot i que sigui nou (sempre opto per
> comprar màquines més antigues tot i que noves per a una qüestió de
> preu).
>
> Porto una estona investigant i el què em trobo
>
> - Amb el mòdul e1000e es detecta la tarja però no puc fer link
> - He provat amb el mòdul ice (https://sourceforge.net/projects/e1000/) i res
> - He provat amb el mòdul igb
> (https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html)
> i tampoc res
>
> Tan ice com igb diuen que suporten aquesta tarja de xarxa, però al
> descarregar el mòdul e1000e i intentar carregar tan ice com igb, cri
> cri cri (els carrega i no diu res més l'antipàtic)
>
> Us mostro alguna informació per a veure si algú em pot donar alguna
> pista de cap a on he d'anar o què estic fent malament:
>
> # inxi -Fxxz
> [...]
> Device-2: Intel Ethernet I219-LM vendor: Lenovo driver: N/A port: N/A
> bus-ID: 00:1f.6
> chip-ID: 8086:15bd
> [...]
>
> # modprobe e1000e (fent això apareix la tarja de xarxa)
> # dmesg
> [  438.407628] e1000e: Intel(R) PRO/1000 Network Driver
> [  438.407632] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> [  438.408002] e1000e :00:1f.6: Interrupt Throttling Rate
> (ints/sec) set to dynamic conservative mode
> [  438.604465] e1000e :00:1f.6 :00:1f.6 (uninitialized):
> registered PHC clock
> [  438.671411] e1000e :00:1f.6 eth0: (PCI Express:2.5GT/s:Width
> x1) f8:75:a4:64:cd:17
> [  438.671426] e1000e :00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
> [  438.671556] e1000e :00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: 1000FF-0FF
> [  438.717328] e1000e :00:1f.6 enp0s31f6: renamed from eth0
> [  486.886744] e1000e :00:1f.6 enp0s31f6: removed PHC
> [  486.964136] e1000e :00:1f.6 enp0s31f6: NIC Link is Down
> [  492.112675] gnss: GNSS driver registered with major 237
> [  492.188571] ice: Intel(R) Ethernet Connection E800 Series Linux
> Driver - version 1.14.9
> [  492.188573] ice: Copyright (C) 2018-2024 Intel Corporation
> [ 1018.819711] e1000e: Intel(R) PRO/1000 Network Driver
> [ 1018.819715] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> [ 1018.820103] e1000e :00:1f.6: Interrupt Throttling Rate
> (ints/sec) set to dynamic conservative mode
> [ 1018.897639] e1000e :00:1f.6 :00:1f.6 (uninitialized):
> registered PHC clock
> [ 1018.964620] e1000e :00:1f.6 eth0: (PCI Express:2.5GT/s:Width
> x1) f8:75:a4:64:cd:17
> [ 1018.964634] e1000e :00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
> [ 1018.964766] e1000e :00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: 1000FF-0FF
> [ 1019.006490] e1000e :00:1f.6 enp0s31f6: renamed from eth0
> # ethtool enp0s31f6
> Settings for enp0s31f6:
> Supported ports: [ TP ]
> Supported link modes:   10baseT/Half 10baseT/Full
> 100baseT/Half 100baseT/Full
> 1000baseT/Full
> Supported pause frame use: No
> Supports auto-negotiation: Yes
> Supported FEC modes: Not reported
> Advertised link modes:  10baseT/Half 10baseT/Full
> 100baseT/Half 100baseT/Full
> 1000baseT/Full
> Advertised pause frame use: No
> Advertised auto-negotiation: Yes
> Advertised FEC modes: Not reported
> Speed: Unknown!
> Duplex: Unknown! (255)
> Auto-negotiation: on
> Port: Twisted Pair
> PHYAD: 2
> Transceiver: internal
> MDI-X: