solved - Re: error loading rp1_eth - Re: Need testers for ALPHA RPi-5 fan control, GE NIC, WiFi drivers for FreeBSD-CURRENT

Ronald Klop <[email protected]> Tue, 2 Jun 2026 18:33:16 +0200 (CEST)
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <75592668.1791.1780417996468@localhost>
 
Van: Ronald Klop <[email protected]>
Datum: dinsdag, 2 juni 2026 18:17
Aan: void <[email protected]>
CC: [email protected]
Onderwerp: Re: error loading rp1_eth - Re: Need testers for ALPHA RPi-5 fan control, GE NIC, WiFi drivers for FreeBSD-CURRENT
> 
>  
> Van: void <[email protected]>
> Datum: dinsdag, 2 juni 2026 15:41
> Aan: [email protected]
> Onderwerp: Re: error loading rp1_eth - Re: Need testers for ALPHA RPi-5 fan control, GE NIC, WiFi drivers for FreeBSD-CURRENT
>> 
>> On Tue, Jun 02, 2026 at 03:22:12PM +0200, Ronald Klop wrote:
>> >
>> >I get this error loading the ethernet module:
>> >
>> ># kldload rp1_eth
>> >kldload: an error occurred while loading module rp1_eth. Please check dmesg(8) for more details.
>> >
>> >dmesg shows:
>> >rp1_eth: root compatible does not match Pi 5 (raspberrypi,5-model-b or raspberrypi,5-compute-module) — refusing attach
>> >module_register_init: MOD_LOAD (rp1_eth, 0xffff00012110d82c, 0) error 6
>> 
>> Hmm. My instance loads
>> 
>> 13    1 0xffff00011ed17000    2a000 rp1_eth.ko
>> 
>> It was loaded like this:
>> 
>> doas make load
>> 
>> I used https://github.com/aphor/FreeBSD15-RPi5-modules.git
>> 
>> OS is 16.0-CURRENT #0 n286096-490c53e9353f GENERIC-NODEBUG
>> 
>> what does 'make status' show from where you compiled/installed it?
>> 
>> here it says:
>> 
>> $ make status
>> === Module Status ===
>> BCM2712 Common Hardware:
>>     bcm2712 is loaded
>> RPi5 Board Support:
>>     rpi5 is loaded
>> RP1 Ethernet (Milestone 1):
>>     rp1_eth is loaded
>> 
>> === sysctl Interface ===
>>     hw.rpi5 sysctl available
>>      hw.rpi5.fan.current_state: 2
>>      hw.rpi5.fan.cpu_temp: 62800
>>     hw.rp1_eth sysctl available
>>      hw.rp1_eth.cfg.status_decoded: raw=0x00000000 link=DOWN speed=10M duplex=half
>> 
>> -- 
>>  
>> 
>> 
>> 
> 
> I think this is an indication of what is wrong.
> 
> # ofwdump -a
> ofwdump: ioctl(..., OFIOCGETPROPLEN, ...) failed: Invalid argument
> Node 0
> 
> But I don't know why this happens.
> 
> Regards,
> Ronald.
>  


I had "System Table Mode" in the RPI5 setup on "ACPI" instead of on "Both". 👾 Now I have ACPI and FDT functionality and the module loads. 👍

Ronald.