[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CY4PR11MB132068A19AF9704D1B14814FC5179@CY4PR11MB1320.namprd11.prod.outlook.com>
Date: Fri, 2 Dec 2022 06:02:02 +0000
From: "Zhou, Jie2X" <jie2x.zhou@...el.com>
To: "Weight, Russell H" <russell.h.weight@...el.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "shuah@...nel.org" <shuah@...nel.org>,
"mcgrof@...nel.org" <mcgrof@...nel.org>,
"Zhang, Tianfei" <tianfei.zhang@...el.com>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Li, Philip" <philip.li@...el.com>
Subject: Re: fw_fallback.sh test failed in Debian 11
>The above message looks like the problem. Firmware sysfs fallback has been turned off
>on this system using sysctl. Can you try turning it on and rerunning the test?
Sorry, I don't know how to turn on firmware sysfs fallback.
Could you tell me?
I search the firmware fallback options in kernel config.
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
best regards,
________________________________________
From: Weight, Russell H <russell.h.weight@...el.com>
Sent: Thursday, December 1, 2022 10:37 AM
To: Zhou, Jie2X; gregkh@...uxfoundation.org
Cc: shuah@...nel.org; mcgrof@...nel.org; Zhang, Tianfei; linux-kselftest@...r.kernel.org; linux-kernel@...r.kernel.org; Li, Philip
Subject: Re: fw_fallback.sh test failed in Debian 11
On 11/30/22 17:28, Zhou, Jie2X wrote:
>> How much of this path exists on your machine?
>> /sys/devices/virtual/misc/test_firmware/trigger_request
> This path exists.
>
>> And is there anything in the dmesg output that indicates a failure associated with
>> the test_firmware device?
> Yes.
>
> kern :info : [ 77.858068] test_firmware: loading 'test-firmware.bin'
> kern :info : [ 77.864705] test_firmware: loaded: 8
> kern :info : [ 77.874250] test_firmware: loading 'test-firmware.bin'
> kern :warn : [ 77.880672] misc test_firmware: Direct firmware load for test-firmware.bin failed with error -2
> kern :info : [ 77.890106] test_firmware: load of 'test-firmware.bin' failed: -2
> kern :info : [ 78.896662] test_firmware: loading ''
> kern :info : [ 78.901059] test_firmware: load of '' failed: -22
> kern :info : [ 78.907422] test_firmware: loading ''
> kern :err : [ 78.912278] test_firmware: failed to async load firmware
> kern :info : [ 78.918594] test_firmware: loading 'nope-test-firmware.bin'
> kern :warn : [ 78.925405] misc test_firmware: Direct firmware load for nope-test-firmware.bin failed with error -2
> kern :info : [ 78.935260] Ignoring firmware sysfs fallback due to sysctl knob
The above message looks like the problem. Firmware sysfs fallback has been turned off
on this system using sysctl. Can you try turning it on and rerunning the test?
Thanks,
- Russ
> kern :info : [ 78.941934] test_firmware: load of 'nope-test-firmware.bin' failed: -2
> kern :info : [ 78.962155] test_firmware: loading 'test-firmware.bin'
> kern :info : [ 78.968232] test_firmware: loaded: 9
> kern :info : [ 78.986063] test_firmware: loading 'test-firmware.bin'
> kern :info : [ 78.992269] test_firmware: loaded: 9
> kern :info : [ 79.023611] test_firmware: reset
> kern :info : [ 79.028466] test_firmware: batched sync firmware loading 'test-firmware.bin' 4 times
>
> best regards,
Powered by blists - more mailing lists