Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] eth0 has no-carrier
@ 2023-03-31 21:48 dkwo
  2023-03-31 22:03 ` dkwo
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: dkwo @ 2023-03-31 21:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2776 bytes --]

New issue by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148

Description:
### Is this a new report?

Yes

### System Info

Void 6.2.8_1 x86_64-musl GenuineIntel uptodate rrnFFFFFFFFF

### Package(s) Affected

I wish I knew

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

eth0 is up

### Actual behaviour

eth0 has no-carrier


### Steps to reproduce

the ethernet cable is attached to monitor, which is connected via usb cable to lenovo dock, to which laptop is connected.

with void installer: eth0 is up
with my system: eth0 has no-carrier

relevant dmesg:
```
[    2.811695] usb 2-4.2.1.2: new SuperSpeed USB device number 5 using xhci_hcd
[    2.825807] usb 2-4.2.1.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=33.00
[    2.825823] usb 2-4.2.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    2.825830] usb 2-4.2.1.2: Product: USB 10/100/1000 LAN
[    2.825835] usb 2-4.2.1.2: Manufacturer: Realtek
[    2.825839] usb 2-4.2.1.2: SerialNumber: 0033000001
[   25.821484] usbcore: registered new interface driver cdc_ether
[   26.220409] cdc_ncm 2-4.2.1.2:2.0: MAC-Address: XXX
[   26.220422] cdc_ncm 2-4.2.1.2:2.0: setting rx_max = 16384
[   26.220657] cdc_ncm 2-4.2.1.2:2.0: setting tx_max = 16384
[   26.221487] cdc_ncm 2-4.2.1.2:2.0 eth0: register 'cdc_ncm' at usb-0000:00:14.0-4.2.1.2, CDC NCM (NO ZLP), XXX
[   26.221651] usbcore: registered new interface driver cdc_ncm
[   26.228984] usbcore: registered new interface driver cdc_wdm
[   26.230680] usbcore: registered new interface driver cdc_mbim
```
with XXX being the actual mac
```
$ ip link
4: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether XXX brd ff:ff:ff:ff:ff:ff
```
i tried downgrading the kernel, linux-firmware, using dracut: same issue.

compared to installer, i'm using booster initramfs, booting from efistub
```
$ ls /var/service
acpid	    agetty-tty2  agetty-tty4  agetty-tty6  cronie  nanoklogd  runsvdir-dkwo	socklog-unix  udevd
agetty-tty1  agetty-tty3  agetty-tty5  chronyd	   dhcpcd  pipewire   seatd		tlp	     wpa_supplicant
$ cat /etc/xbps.d/ignore.conf 
ignorepkg=sudo
ignorepkg=dracut
ignorepkg=dbus
$ cat /etc/booster.yaml 
busybox: true
enable_lvm: true
modules: i915
modules_force_load: usbkbd
$ cat /etc/default/efibootmgr-kernel-hook 
# Options for the kernel hook script installed by the efibootmgr package.
MODIFY_EFI_ENTRIES=1
OPTIONS="loglevel=4 rd.luks.name=(actual uuid)=cryptroot root=/dev/cryptroot/root rd.luks.options=discard"
DISK="/dev/nvme0n1"
PART=1
```

Any ideas?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0 has no-carrier
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
@ 2023-03-31 22:03 ` dkwo
  2023-04-01 15:43 ` eth0 does not become ready dkwo
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-03-31 22:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1492663755

Comment:
the installer is void-live-x86_64-musl-20221001-base.iso

relevant difference
```
dmesg | grep eth0
...(some renaming)
[   27.661631] cdc_ncm 2-4.2.1.2:2.0 eth0: register 'cdc_ncm' at usb-0000:00:14.0-4.2.1.2, CDC NCM (NO ZLP), XXX
```
vs
```
dmesg | grep eth0 
...(same renaming)
[   11.346163] cdc_ncm 2-4.2.1.2:2.0 eth0: register 'cdc_ncm' at usb-0000:00:14.0-4.2.1.2, CDC NCM, XXX
[   17.590876] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
```

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0 does not become ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
  2023-03-31 22:03 ` dkwo
@ 2023-04-01 15:43 ` dkwo
  2023-04-03 19:02 ` dkwo
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-01 15:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1493013222

Comment:
I'll try downgrading to 5.19.10 kernel.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0 does not become ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
  2023-03-31 22:03 ` dkwo
  2023-04-01 15:43 ` eth0 does not become ready dkwo
@ 2023-04-03 19:02 ` dkwo
  2023-04-03 19:51 ` dkwo
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 19:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 208 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494826469

Comment:
downgrading kernel, musl, removing hardened-malloc does not fix it.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0 does not become ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (2 preceding siblings ...)
  2023-04-03 19:02 ` dkwo
@ 2023-04-03 19:51 ` dkwo
  2023-04-03 19:51 ` dkwo
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 19:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494888020

Comment:
nor does it downgrading pciutils, usbutils, ethtool

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0 does not become ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (3 preceding siblings ...)
  2023-04-03 19:51 ` dkwo
@ 2023-04-03 19:51 ` dkwo
  2023-04-03 20:12 ` eth0: link not ready dkwo
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 19:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494888020

Comment:
nor does it downgrading pciutils, usbutils, iputils, ethtool

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0: link not ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (4 preceding siblings ...)
  2023-04-03 19:51 ` dkwo
@ 2023-04-03 20:12 ` dkwo
  2023-04-03 20:13 ` dkwo
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 20:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 241 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494918911

Comment:
also useless: only enable services present in live-usb; reinstall -ff eudev with no changes in /etc.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0: link not ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (5 preceding siblings ...)
  2023-04-03 20:12 ` eth0: link not ready dkwo
@ 2023-04-03 20:13 ` dkwo
  2023-04-03 20:14 ` dkwo
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 20:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494920248

Comment:
```
$ doas ethtool eth0 
Settings for eth0:
	Supported ports: [  ]
	Supported link modes:   Not reported
	Supported pause frame use: No
	Supports auto-negotiation: No
	Supported FEC modes: Not reported
	Advertised link modes:  Not reported
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Advertised FEC modes: Not reported
	Speed: Unknown!
	Duplex: Half
	Auto-negotiation: off
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: no
```
only differences being speed and link detection

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0: link not ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (6 preceding siblings ...)
  2023-04-03 20:13 ` dkwo
@ 2023-04-03 20:14 ` dkwo
  2023-04-03 20:33 ` dkwo
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 20:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494921273

Comment:
short of wiping luks/lvm, or installing grub (which both seem absurd), not sure what else to try :)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0: link not ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (7 preceding siblings ...)
  2023-04-03 20:14 ` dkwo
@ 2023-04-03 20:33 ` dkwo
  2023-04-03 23:03 ` eth0: link not detected/ready dkwo
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 20:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1494945591

Comment:
a new live image from today (linux 6.1) also works, so I exclude any other downgradings.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0: link not detected/ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (8 preceding siblings ...)
  2023-04-03 20:33 ` dkwo
@ 2023-04-03 23:03 ` dkwo
  2023-04-12 16:04 ` [ISSUE] [CLOSED] " dkwo
  2023-04-12 16:04 ` dkwo
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-03 23:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1495099238

Comment:
finally, the culprit is `tlp`

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: eth0: link not detected/ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (10 preceding siblings ...)
  2023-04-12 16:04 ` [ISSUE] [CLOSED] " dkwo
@ 2023-04-12 16:04 ` dkwo
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-12 16:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148#issuecomment-1505544166

Comment:
add `USB_DENYLIST="0bda:8153"` to tlp.conf

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [ISSUE] [CLOSED] eth0: link not detected/ready
  2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
                   ` (9 preceding siblings ...)
  2023-04-03 23:03 ` eth0: link not detected/ready dkwo
@ 2023-04-12 16:04 ` dkwo
  2023-04-12 16:04 ` dkwo
  11 siblings, 0 replies; 13+ messages in thread
From: dkwo @ 2023-04-12 16:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2779 bytes --]

Closed issue by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/43148

Description:
### Is this a new report?

Yes

### System Info

Void 6.2.8_1 x86_64-musl GenuineIntel uptodate rrnFFFFFFFFF

### Package(s) Affected

I wish I knew

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

eth0 is up

### Actual behaviour

eth0 has no-carrier


### Steps to reproduce

the ethernet cable is attached to monitor, which is connected via usb cable to lenovo dock, to which laptop is connected.

with void installer: eth0 is up
with my system: eth0 has no-carrier

relevant dmesg:
```
[    2.811695] usb 2-4.2.1.2: new SuperSpeed USB device number 5 using xhci_hcd
[    2.825807] usb 2-4.2.1.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=33.00
[    2.825823] usb 2-4.2.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    2.825830] usb 2-4.2.1.2: Product: USB 10/100/1000 LAN
[    2.825835] usb 2-4.2.1.2: Manufacturer: Realtek
[    2.825839] usb 2-4.2.1.2: SerialNumber: 0033000001
[   25.821484] usbcore: registered new interface driver cdc_ether
[   26.220409] cdc_ncm 2-4.2.1.2:2.0: MAC-Address: XXX
[   26.220422] cdc_ncm 2-4.2.1.2:2.0: setting rx_max = 16384
[   26.220657] cdc_ncm 2-4.2.1.2:2.0: setting tx_max = 16384
[   26.221487] cdc_ncm 2-4.2.1.2:2.0 eth0: register 'cdc_ncm' at usb-0000:00:14.0-4.2.1.2, CDC NCM (NO ZLP), XXX
[   26.221651] usbcore: registered new interface driver cdc_ncm
[   26.228984] usbcore: registered new interface driver cdc_wdm
[   26.230680] usbcore: registered new interface driver cdc_mbim
```
with XXX being the actual mac
```
$ ip link
4: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether XXX brd ff:ff:ff:ff:ff:ff
```
i tried downgrading the kernel, linux-firmware, using dracut: same issue.

compared to installer, i'm using booster initramfs, booting from efistub
```
$ ls /var/service
acpid	    agetty-tty2  agetty-tty4  agetty-tty6  cronie  nanoklogd  runsvdir-dkwo	socklog-unix  udevd
agetty-tty1  agetty-tty3  agetty-tty5  chronyd	   dhcpcd  pipewire   seatd		tlp	     wpa_supplicant
$ cat /etc/xbps.d/ignore.conf 
ignorepkg=sudo
ignorepkg=dracut
ignorepkg=dbus
$ cat /etc/booster.yaml 
busybox: true
enable_lvm: true
modules: i915
modules_force_load: usbkbd
$ cat /etc/default/efibootmgr-kernel-hook 
# Options for the kernel hook script installed by the efibootmgr package.
MODIFY_EFI_ENTRIES=1
OPTIONS="loglevel=4 rd.luks.name=(actual uuid)=cryptroot root=/dev/cryptroot/root rd.luks.options=discard"
DISK="/dev/nvme0n1"
PART=1
```

Any ideas?

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-04-12 16:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-31 21:48 [ISSUE] eth0 has no-carrier dkwo
2023-03-31 22:03 ` dkwo
2023-04-01 15:43 ` eth0 does not become ready dkwo
2023-04-03 19:02 ` dkwo
2023-04-03 19:51 ` dkwo
2023-04-03 19:51 ` dkwo
2023-04-03 20:12 ` eth0: link not ready dkwo
2023-04-03 20:13 ` dkwo
2023-04-03 20:14 ` dkwo
2023-04-03 20:33 ` dkwo
2023-04-03 23:03 ` eth0: link not detected/ready dkwo
2023-04-12 16:04 ` [ISSUE] [CLOSED] " dkwo
2023-04-12 16:04 ` dkwo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).