Go to advanced search

by Tinue
Tue Jun 02, 2020 8:11 pm
Forum: Python
Topic: Multiple LED strips over Pi4.
Replies: 9
Views: 520

Re: Multiple LED strips over Pi4.

sibha wrote:
Tue Jun 02, 2020 6:32 am
I am using the WS2812B LED strip and also the neopixel library.
Sorry, I only know how to deal with APA102 LED strips.
by Tinue
Sat May 30, 2020 2:07 pm
Forum: General discussion
Topic: cifs_mount error on kernel 5.4
Replies: 6
Views: 353

cifs_mount error with mounts in home

I believe I am getting a handle on this problem. The delayed auto-mount would work fine, if the first access to the directory happens after the WLAN is up. When I tested this on a kernel 4.19.118 machine, it was running headless. The kernel 5.4 machine on the other hand had the desktop running. So, ...
by Tinue
Sat May 30, 2020 7:44 am
Forum: General discussion
Topic: cifs_mount error on kernel 5.4
Replies: 6
Views: 353

Re: cifs_mount error on kernel 5.4

Something is really strange here, and I start to believe it's not a user error. First: "noauto,x-systemd.automount" should prevent the mount to happen during boot. It should mount when the share is first accessed, and by then the network is up. This does work fine on the non-upgraded kernel of the 2...
by Tinue
Fri May 29, 2020 9:30 pm
Forum: General discussion
Topic: cifs_mount error on kernel 5.4
Replies: 6
Views: 353

Re: cifs_mount error on kernel 5.4

So not specific to a v5.4 kernel then. You might want to add "_netdev" to your mount options though I'm kinda surprised systemd didn't automount the shares on first use. I have never seen this problem on kernel 4.9, so it might be specific to 5.4. As you say: It should only mount the shares on firs...
by Tinue
Fri May 29, 2020 7:30 pm
Forum: General discussion
Topic: cifs_mount error on kernel 5.4
Replies: 6
Views: 353

Re: cifs_mount error on kernel 5.4

Thank you very much for the suggestions! I still have some Raspberry Pi machines with the 4.9 kernel, and they mount the shares just fine, with identical /etc/fstab. It's not a server side issue. Manual mounting on kernel 5.4 works fine, also. sudo mount -a does nothing (no mount, no error message)....
by Tinue
Fri May 29, 2020 2:16 pm
Forum: General discussion
Topic: cifs_mount error on kernel 5.4
Replies: 6
Views: 353

cifs_mount error on kernel 5.4

On my Raspberry Pi systems two shares are mounted at boot. This no longer works with the 5.4 kernel. CIFS errors are almost always user errors, so I guess that I need to change something in the way that I mount the shares. I could not find any relevant notes on what would have changed in kernel 5.4 ...
by Tinue
Thu May 28, 2020 4:00 pm
Forum: Python
Topic: Multiple LED strips over Pi4.
Replies: 9
Views: 520

Re: Multiple LED strips over Pi4.

Strange, it is not supposed to stop after a few days. I personally never tested for more than a few Minutes, so I could not say if this happens often.
Which library do you use? What exact strip are you using?
by Tinue
Thu May 28, 2020 10:46 am
Forum: Python
Topic: Raspberry OS: ModuleNotFoundError: No module named 'RPi'
Replies: 4
Views: 267

Re: Raspberry OS: ModuleNotFoundError: No module named 'RPi'

Thank you all, "missing Python 3 version" was indeed the problem. It's working fine now.
by Tinue
Thu May 28, 2020 8:53 am
Forum: Python
Topic: Raspberry OS: ModuleNotFoundError: No module named 'RPi'
Replies: 4
Views: 267

Raspberry OS: ModuleNotFoundError: No module named 'RPi'

Probably a super n00b question, but here I go anyway: I am getting ModuleNotFoundError: No module named 'RPi' when I want to use the RPi.GPIO module. The package should be installed. When I try to install it with 'apt' I get python-rpi.gpio is already the newest version (0.7.0-0.1~bpo10+1) . Yet, Py...
by Tinue
Tue May 19, 2020 1:21 pm
Forum: Python
Topic: Multiple LED strips over Pi4.
Replies: 9
Views: 520

Re: Multiple LED strips over Pi4.

Hello Some options come to mind: First, the Pi4 seems to support up to 6 SPI buses, see https://blog.stabel.family/raspberry-pi-4-multiple-spis-and-the-device-tree/ . Second, you could use software to simulate multiple strips, while having only one hardware strip (i.e. chain your strips together). L...
by Tinue
Sun Nov 10, 2019 10:29 am
Forum: General discussion
Topic: Solved: Argon Neo for Raspberry Pi 4: Anyone else having problems?
Replies: 0
Views: 1766

Solved: Argon Neo for Raspberry Pi 4: Anyone else having problems?

I got an Argon Neo aluminium case ("AR 1 Neo Case") for the Raspberry Pi 4. After mounting, the Pi 4 no longer booted successfully. Judging from what I saw on the HDMI monitor, it experienced serious brownouts: The Flash showed almost constantly, and then the Pi crashed completely. Power supply is t...
by Tinue
Sat Jan 19, 2019 2:55 pm
Forum: Raspberry Pi OS
Topic: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"
Replies: 10
Views: 10193

Re: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"

I finally got a chance to re-try this with an older Raspbian version: 2018-06-27. I see the same error there.

The change (if there is any) must therefore have been triggered by an update on the Synology SMB server, not on Raspbian.
The Synology is on kernel version 3.10.105, by the way.
by Tinue
Tue Jan 15, 2019 4:17 pm
Forum: Raspberry Pi OS
Topic: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"
Replies: 10
Views: 10193

Re: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"

Autourdupc wrote:
Tue Jan 15, 2019 4:02 pm
Sure this is the problem !
Yes, this must be the reason for the messages. If you add ˋvers=3.0ˋ after the user credentials, you can get rid of the first warning message.
by Tinue
Tue Jan 15, 2019 3:34 pm
Forum: Raspberry Pi OS
Topic: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"
Replies: 10
Views: 10193

Re: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"

Got this same message without any external share... That's pretty much impossible ;) Maybe nothing is mounted via fstab, but there must be a 'mount' somewhere else, going to an SMB share. The first one is a warning which does not affect anything. It's just telling you that a share is mounted with S...
by Tinue
Mon Jan 14, 2019 6:33 am
Forum: Raspberry Pi OS
Topic: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"
Replies: 10
Views: 10193

Re: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"

Reads like systems are catching up with the SMB v1 bug I think this is going on for a while now. A friend of mine had troubles about a year ago with his Volumio player along with a cheap NAS. When the Volumio made >v1 mandatory, it could no longer access the shares. My Synology requires v2 or more ...
by Tinue
Sun Jan 13, 2019 12:52 pm
Forum: Raspberry Pi OS
Topic: New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"
Replies: 10
Views: 10193

New error on CIFS mount "CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2"

Since one of the latest updates (probably kernel 4.14.79) I get a warning or error when a CIFS share is mounted: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2 The share seems to work anyway on first sight, but I haven't done any extensive tests. The same update generates a warning if the SMB ver...
by Tinue
Fri Jun 15, 2018 2:24 pm
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 545
Views: 328153

Re: STICKY: USB boot now working on Pi3

Thanks for the product suggestions! Gordon built me a bootcode.bin with a 10 Second timeout (see https://github.com/raspberrypi/firmware/issues/994), and with this one I can boot reliably. If you were successful with a Samsung 850 and one of your adapters, and I was successful with my no-name China ...
by Tinue
Thu May 10, 2018 10:25 am
Forum: General discussion
Topic: No bootcode.bin only USB boot on new 3B+ ?
Replies: 43
Views: 15041

Re: No bootcode.bin only USB boot on new 3B+ ?

PeterO wrote:
Thu May 10, 2018 10:20 am
While that is a useful feature it's not the whole story.
If you look at the full Raspberry Pi landscape, you are right. But in relation to the thread topic "No bootcode.bin only USB boot on new 3B+ ?" it actually is the whole story ;)
by Tinue
Thu May 10, 2018 9:56 am
Forum: General discussion
Topic: No bootcode.bin only USB boot on new 3B+ ?
Replies: 43
Views: 15041

Re: No bootcode.bin only USB boot on new 3B+ ?

Could somebody refresh my memory on what the point of "bootcode.bin only" is? It's to debug boot problems. One can attach a UART to USB cable to the Pi, and then you see the very early boot messages from the boot loader. The built-in boot loader does not do this, unfortunately. Once everything is d...
by Tinue
Thu May 10, 2018 8:19 am
Forum: General discussion
Topic: No bootcode.bin only USB boot on new 3B+ ?
Replies: 43
Views: 15041

Re: No bootcode.bin only USB boot on new 3B+ ?

There is another OTP bit that can be used to increase the USB wait time from 2 seconds to 5 seconds. That's very helpful, thanks! I knew that this option exists when using bootcode.bin, but I had no idea that this can also be enabled without an SD card. The issue with bootcode.bin / Rpi3+ is appare...
by Tinue
Fri May 04, 2018 12:34 pm
Forum: General discussion
Topic: No bootcode.bin only USB boot on new 3B+ ?
Replies: 43
Views: 15041

Re: No bootcode.bin only USB boot on new 3B+ ?

Same here; I am trying to debug an SSD which only boots every 2nd or 3rd time. This is the output of the Raspberry Pi 3 Plus on the serial console if the SSD is not plugged in: Found SD card, config.txt = 0, start.elf = 0, recovery.elf = 0, timeout = 1 Trying USB USB Host enumeration failed, no devi...
by Tinue
Tue May 01, 2018 6:25 pm
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 545
Views: 328153

Re: STICKY: USB boot now working on Pi3

I usually need 2-3 tries (unplug/replug the power to the Raspberry Pi) before the Raspberry Pi 3 Plus boots from an external SSD. Direct reboot almost never works, I again have to unplug/replug one or more times. During a reboot the USB Disk remains powered, so it's not a question of startup time af...
by Tinue
Mon Aug 21, 2017 6:01 pm
Forum: Raspberry Pi OS
Topic: Headless WLAN with Stretch, how?
Replies: 14
Views: 4875

Re: Headless WLAN with Stretch, how?

From what I have read in other threads, this does not work anymore. But I have not tested this myself: I fixed the wpa_supplicant.conf file before I fixed the SD card itself, so by the time the Pi could boot, the rest of the headless configuration was already ok.
by Tinue
Mon Aug 21, 2017 3:00 pm
Forum: Raspberry Pi OS
Topic: Headless WLAN with Stretch, how?
Replies: 14
Views: 4875

Re: Headless WLAN with Stretch, how?

Everything is fine now. The image boots, and the wpa_supplicant.conf works with this content:

Code: Select all

country=CH
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
	ssid="myssid"
	psk="mypassword"
}
Thanks again for all the help!

Go to advanced search