Go to advanced search

by JovianPyx
Tue Apr 28, 2020 10:20 pm
Forum: Troubleshooting
Topic: Pi4B Raspbian Buster Ignores arm_freq_min in config.txt
Replies: 2
Views: 258

Re: Pi4B Raspbian Buster Ignores arm_freq_min in config.txt

I have more information which seems also part of the answer. I dumped out all of the text files in /sys/devices/system/cpu/cpufreq/policy0/ Among them were some that were interesting. ./scaling_driver: For the server, it is 'cpufreq-dt'. For the workstation is 'BCM2835 CPUFreq'. ./scaling_available_...
by JovianPyx
Tue Apr 28, 2020 5:02 pm
Forum: Troubleshooting
Topic: Pi4B Raspbian Buster Ignores arm_freq_min in config.txt
Replies: 2
Views: 258

Pi4B Raspbian Buster Ignores arm_freq_min in config.txt

This is very weird. I have two Pi4B 4GB machines, one is a server, the other is a workstation. Both are at the most up to date Raspbian software versions. I can overclock both. The workstation goes to 1900 MHz, and the server goes to 2000 MHz (didn't try higher). The issue is with the server only (w...
by JovianPyx
Thu Apr 23, 2020 3:40 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

One thing I did that is a likely reason for the wifi success is adding: net.ifnames=0 to the line in cmdline.txt. This turns off the renaming of network interfaces. I've no idea why the boot process needs to rename net interfaces, but I saw it happen when I worked on the ethernet version of this. Th...
by JovianPyx
Mon Apr 20, 2020 11:46 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

Thanks for that, interesting piece of software. At present, the only system this affects is this one with the wifi NFS root filesystem. The ethernet NFS root filesystem did not have this slowness when apt-get was used. The only time I notice a slowness is when I use apt-get on the wifi-NFS system, b...
by JovianPyx
Mon Apr 20, 2020 9:02 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

The Raspbian Lite image works very nicely. It boots faster than the full NOOBS, in about one minute and 45 seconds (with lighttpd installed, configured and enabled). One thing to be aware of is that installation of new software can take a long time. The first time I tried to install wiringPi I power...
by JovianPyx
Mon Apr 20, 2020 6:20 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've now used the same procedure to modify a Raspbian Lite image installation. No changes were necessary.
by JovianPyx
Sun Apr 19, 2020 5:00 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

You're very welcome. I do try to come back to threads like this when I have success in which others might have interest. It is actually a bit too rare to find complete detailed instructions for things like this. The system, which is entirely headless, takes about 4 minutes to boot here. For a turnke...
by JovianPyx
Sun Apr 19, 2020 3:50 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've tried again to get NFS root filesystem over wifi and it is working. I didn't keep the last attempt, so I can't say if I made some error or if it was just a bad wifi day. What I can say is that I followed the instructions precisely and it is working reliably with a DHCP served IP address. I want...
by JovianPyx
Tue Apr 07, 2020 8:35 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

Zero problems with the eth0 setup. It runs constantly and has never crashed nor had any problems. Speed-wise, it seems not much different from an SD card installation. Small files read a bit faster from SD card, large files read a bit faster from ethernet. ethernet writes slightly faster. This is ju...
by JovianPyx
Tue Apr 07, 2020 3:15 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I notice that it doesn't reboot all the way using NFS filesystem over wifi. It begins the shutdown procedure, but once it disconnects wlan0 (there is a message to that effect) it gets stuck, probably wanting something on the filesystem. I live in a residential area with lots of wifi access points. W...
by JovianPyx
Tue Apr 07, 2020 1:36 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I now have wifi based NFS root filesystem running. I am currently using DHCP for wlan0 configuration. Definitely slower than using USB/ethernet, but it is working. I followed the original instructions from the website I found (url posted earlier in this thread) and the only thing I changed was to ad...
by JovianPyx
Mon Apr 06, 2020 3:28 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

It just occurred to me that if wpa_supplicant is starting by something other than within initramfs then perhaps the supplicant shouldn't be started in initramfs and it may be possible to get wifi working as a method for NFS root filesystem. I think I will generate another SD card and try again on an...
by JovianPyx
Mon Apr 06, 2020 3:23 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

grepping /var/log/boot.log (which I delete before I test) shows that the supplicant starts and there are no error messages, so it must be somewhere other than initramfs. I really don't want to remove that file from the SD card in case I want to reverse the wifi thing. And I've used rc.local to kill ...
by JovianPyx
Mon Apr 06, 2020 1:24 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

DarkElvenAngel wrote:
Mon Apr 06, 2020 11:40 am
That's a tricky one to find if you don't know where to look.

Code: Select all

/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
Would the suggestion to prevent the starting of wpa_supplicant be to remove this file from initramfs?
by JovianPyx
Mon Apr 06, 2020 12:39 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've done some changes, rebuilt and everything works. This includes removal of the followkernel parameter. I've renamed my nfs-top script from wifi to ethernet. I removed the wpa_supplicant copy code and now I see that wlan0 is discovered, but the wpa_supplicant messages are still in /var/log/boot.l...
by JovianPyx
Sun Apr 05, 2020 10:34 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

Thanks for the followkernel history. Sounds like I don't indeed need it. Once I've rested from this ordeal (20 hours of trying things moving the SD card back and forth between an adapter and the Pi Zero W), I'll remove that and test it. I also see that the wpa_supplicant is running, and I may have l...
by JovianPyx
Sun Apr 05, 2020 9:17 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I was able to get DHCP to work for wifi (yes, that is the simple "pi=dhcp"), but while I saw that it got an IP address, something was disabling it and I gave up on wifi. As I thought about it, I will most often use this machine via an ssh terminal connection and not the GUI very much. As such, it is...
by JovianPyx
Sun Apr 05, 2020 8:16 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I will attempt to describe here what I did to create an NFS served root filesystem on a Pi Zero W. This description is based on a raspbian buster installation. Other versions may require a different approach. I first tried using the built-in wifi controller, but that didn't work because while it con...
by JovianPyx
Sun Apr 05, 2020 6:32 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

One minor thing which I may ultimately ignore because it seems to not affect anything: During boot, there is one message saying that ifup didn't understand the inet keyword. It still assigns, configures and brings the interface up, but it spits out that error message. the /etc/network/interfaces fil...
by JovianPyx
Sun Apr 05, 2020 3:20 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

Thanks, but in fact I am posting this reply from a browser running on my Pi Zero W with an NFS root filesystem over wired ethernet. What I needed was in this: https://www.debian.org/doc/manuals/debian-reference/ch05.en.html regarding the ifup command. I edited the initramfs to contain /etc/network/i...
by JovianPyx
Sun Apr 05, 2020 1:50 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

I'm currently looking into using the /sbin/ip command to do the eth0 set up. I have the driver loading which turns on the LEDs on the USB ethernet device. I still haven't been able to make the eth0 device available. Years ago, I could find and follow the scripts that did this process, but I don't se...
by JovianPyx
Sat Apr 04, 2020 11:59 pm
Forum: Advanced users
Topic: Pi Zero W NFS Boot?
Replies: 3
Views: 1479

Re: Pi Zero W NFS Boot?

You're going to need an initramfs that includes the USB drivers for your USB/ethernet device. I was able to determine that the modules needed for the USB/ethernet device are asix and libphy. After I added those to /etc/initramfs-tools/modules, when booted the device LEDs turn on which they had not ...
by JovianPyx
Sat Apr 04, 2020 6:59 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

Oh crap. This might be my fault. The NFS file system configures a static IP address. I will fix the cmdline.txt to not use dhcp since I really want a static IP anyway. It fails differently, but still fails. I can see that it's getting an IP address. I can ping the board and it pongs until the disco...
by JovianPyx
Sat Apr 04, 2020 6:38 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

Oh crap. This might be my fault. The NFS file system configures a static IP address. I will fix the cmdline.txt to not use dhcp since I really want a static IP anyway.
by JovianPyx
Sat Apr 04, 2020 6:36 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4571

Re: Raspberry Pi Zero W boot with NFS root filesystem

That sounds likely. I've rebooted it 3 times and each time it picks a different point to stall with the CTRL-EVEN-DISCONNECTED message. I do have an ethernet controller that I've used on this board. In fact, I'd prefer to use ethernet. I will look at the scripts and see if I can determine what to do...

Go to advanced search