Hi umtauscher - LE11 nightlife’s are now all built with 5.15.5
Posts by heitbaum
-
-
Stepping back a bit: the udevil service on LE mounts the hard drives under /var/media
Any disk that does not meet the following conditions is automatically mounted - https://github.com/LibreELEC/Libr…vil-mount.rules if you do not want something automounted by udevil - then it must be excluded by one of these criteria.
Going to your question - using the docker argument: -v /var/media/data:/data would be like typing the following command in the Docker container: # mount /dev/sda1 /data
So it’s not really an nvme / sata question. More as saying - I am mounting a directory from my host operating system as a mount point in my container.
Code
Display More# journalctl -f ***** I disconnected my USB drive with a disk label of ZZ4 Nov 28 12:54:33 nuc11 kernel: usb 4-4.2.2: USB disconnect, device number 6 Nov 28 12:54:33 nuc11 systemd[1]: Stopping Udevil mount service... Nov 28 12:54:33 nuc11 systemd[1]: var-media-ZZ4.mount: Deactivated successfully. Nov 28 12:54:33 nuc11 systemd[1]: [email protected]: Deactivated successfully. Nov 28 12:54:33 nuc11 systemd[1]: Stopped Udevil mount service. ***** I connected my USB drive with a disk label of ZZ4 Nov 28 12:54:37 nuc11 kernel: usb 4-4.2.2: new SuperSpeed USB device number 7 using xhci_hcd Nov 28 12:54:37 nuc11 kernel: usb-storage 4-4.2.2:1.0: USB Mass Storage device detected Nov 28 12:54:37 nuc11 kernel: scsi host4: usb-storage 4-4.2.2:1.0 Nov 28 12:54:38 nuc11 kernel: scsi 4:0:0:0: Direct-Access WD Elements 25A1 1005 PQ: 0 ANSI: 6 Nov 28 12:54:38 nuc11 kernel: scsi 4:0:0:0: Attached scsi generic sg2 type 0 Nov 28 12:54:38 nuc11 kernel: sd 4:0:0:0: [sdc] Spinning up disk... Nov 28 12:54:44 nuc11 kernel: ......ready Nov 28 12:54:44 nuc11 kernel: sd 4:0:0:0: [sdc] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB) Nov 28 12:54:44 nuc11 kernel: sd 4:0:0:0: [sdc] Write Protect is off Nov 28 12:54:44 nuc11 kernel: sd 4:0:0:0: [sdc] Mode Sense: 53 00 10 08 Nov 28 12:54:44 nuc11 kernel: sd 4:0:0:0: [sdc] No Caching mode page found Nov 28 12:54:44 nuc11 kernel: sd 4:0:0:0: [sdc] Assuming drive cache: write through Nov 28 12:54:44 nuc11 kernel: sdc: sdc1 sdc2 Nov 28 12:54:44 nuc11 kernel: sd 4:0:0:0: [sdc] Attached SCSI disk Nov 28 12:54:45 nuc11 systemd[1]: Starting Udevil mount service... Nov 28 12:54:45 nuc11 udevil[3486724]: Mounted /dev/sdc2 at /media/ZZ4 Nov 28 12:54:45 nuc11 systemd[1]: Finished Udevil mount service. # mount | grep ZZ4 /dev/sdc2 on /var/media/ZZ4 type exfat (rw,nosuid,nodev,noexec,noatime,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro)
-
-
Hi Grasshopper - https://github.com/LibreELEC/LibreELEC.tv/pull/5878 is still in the Queue for LE10, which is why you are not seeing it updated yet.
-
A bit of googling and it seemed these are the details of the chip (potentially). Next is getting a dts/dtsi… test …
- WiFi/Bluetooth - unnamed dual-band IEEE 802.11 a/b/g/n Wi-Fi/Bluetooth 4.0 marked HK5230;
- This is a 2011 IEEE 802.11 a/b/g/n Wi-Fi/Bluetooth 4.0 module - Ampak AP6330 on the BCM4330 chip.
-
If you install network-tools on LE. I’m going to guess it in upnp / mdns
-
Yes. Is the quick answer. Something similar is how I do things at the bottom.
Things to consider: overlays, symbolic links (ln) docker configuration, if it breaks it all goes bad. I have grabbed a section my autostart.sh. Please don’t use it as-is. As I use my nvme0n1p6 drive as DATA but also store my docker setups.
For running a docker container - I use
Codedocker run --workdir /var/media/DATA/home-rudi/LibreELEC.tv --privileged -v /storage:/storage -v /var/media/DATA:/var/media/DATA -it le-focal:latest bash
There is no reason if you wanted /var/media/DATA as DATA - use
-v /var/media/DATA:/DATA
My autostart changes - don’t use as-is
Code
Display Moremore .config/autostart.sh ( # mount the overlays mkdir -p /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2 mkdir -p /var/media/DATA mount -o rw,suid,dev,exec,atime /dev/nvme0n1p6 /var/media/DATA mount -o rw,suid,dev,exec,atime /var/media/DATA/.docker/overlay2 /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2 mkdir /var/media/ramdisk mount -t tmpfs -o size=32g tmpfs /var/media/ramdisk # docker pull oznu/homebridge:ubuntu # docker container prune # docker run --net=host --name=homebridge -v /storage/homebridge:/homebridge oznu/homebridge:ubuntu docker restart homebridge ) &
-
At a quick scan I can’t see hci, Bluetooth, or bt in the kernel dmesg. Is the DTB file enabled to support a Bluetooth device?
-
Thank you for testing. The update librespot version has been added to both LE10 and the LE11 branch. It should be available over the next few days.
-
Anybody to test this update?
-
Hi itisljar - mc has been compiled without wchar support (wide character) thus why it is only displaying the standard ascii table. Of recent times when wchar was introduced, I patched it out. It has been subsequently patched in the upstream version to allow compile with/without wchar support. Technically it can be enabled - but would require some work on the Unicode support.
-
Based on https://github.com/torvalds/linux/search?q=RPCSVC_MAXPAYLOAD the kernel is set to 1MB for TCP
So what are the tcp window sizes? And the latency?
nuc11:~ # cat /proc/sys/net/ipv4/tcp_wmem
4096 16384 4194304
nuc11:~ # cat /proc/sys/net/ipv4/tcp_rmem
4096 131072 6291456
nuc11:~ # cat /proc/sys/net/ipv4/tcp_window_scaling
1
-
the Ethernet interface is not the issue
using Samba everything works fine
Hi JurKub - agree - I don't think it is the ethernet card / cabling / ... itself either. Just trying to isolate the Kernel Settings / Drivers / ....
Given the number of changes all happening - think that "a regression" may be a possibility. I just don't know where to look as such. E.G is it sending / receiving / window size / UDP / TCP / ....
what does
``time cp /nfs/abc /ramdisk/
take ... etc -
Hi grinser - zip file here. Let me know how you get on. https://github.com/heitbaum/Libre…-10.0.0.129.zip
-
Does iftop / nmon show anything useful?
-
PRs raised for the update to 0.3.1 of librespot
But I would request some testers. Thanks
librespot: update to 0.3.1 and addon (130) by heitbaum · Pull Request #5891 · LibreELEC/LibreELEC.tvupdate 0.1.6 (2021-02-22) to 0.3.1 (2021-10-25) release notes: https://github.com/librespot-org/librespot/releases/tag/v0.2.0…github.comlibrespot: update to 0.3.1 and addon (129) by heitbaum · Pull Request #5892 · LibreELEC/LibreELEC.tvupdate 0.1.6 (2021-02-22) to 0.3.1 (2021-10-25) release notes: https://github.com/librespot-org/librespot/releases/tag/v0.2.0…github.comIf you need a zip image. Please let me know what LE version and what hardware.
-
Hi caddar - there are updated versions of librespot. I would be happy to look at updating the the LE10 addon, but would need a couple of testers. Let me know - and I’ll look at finishing the packaging for the 0.3.1 version. https://github.com/librespot-org/librespot/releases
Please let me know what hardware and version of LE you are running - so that I can build a test addon for you.
-
Hi isamudaison - the TGL (nuc11) works with 10.0.1, from a boot perspective. There are some glitches with the graphics until kernel 5.12 - please use nightly and let me know how you go. Also I would like to see your logs at some stage to check why / what is the error occurring with the PN41