Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #68498 > unrolled thread
| Started by | "Brandon Werner" <brandon_code@fastmail.fm> |
|---|---|
| First post | 2020-11-04 05:00 +0100 |
| Last post | 2020-11-04 17:20 +0100 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.kernel
Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded "Brandon Werner" <brandon_code@fastmail.fm> - 2020-11-04 05:00 +0100
Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded "Brandon Werner" <brandon_code@fastmail.fm> - 2020-11-04 07:20 +0100
Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded "Brandon Werner" <brandon_code@fastmail.fm> - 2020-11-04 15:30 +0100
Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded Ben Hutchings <ben@decadent.org.uk> - 2020-11-04 17:20 +0100
Processed: Re: Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-11-04 17:20 +0100
| From | "Brandon Werner" <brandon_code@fastmail.fm> |
|---|---|
| Date | 2020-11-04 05:00 +0100 |
| Subject | Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded |
| Message-ID | <B7i7L-1Aa-1@gated-at.bofh.it> |
package: src:linux Hi, I downloaded one of the firmware netinstall builds of Debian from today (11/03/2020) to try installing on my netbook with the 8821ce wifi card since Debian now has the 5.9 kernel. During the text install with speech, I received an error that the network card could not be found. I opened a console and looking at dmesg showed the driver not finding the firmware with a -2 error, however, I noticed that the requested files had been unpacked to /lib/firmware. I unloaded rtw88_8821ce and reloaded it using modprobe and the firmware was found, after which the network interface was successfully brought up. I was able to continue through the rest of the install without issue. I am not sure what logs would help but would be happy to provide anything requested to diagnose this issue.
[toc] | [next] | [standalone]
| From | "Brandon Werner" <brandon_code@fastmail.fm> |
|---|---|
| Date | 2020-11-04 07:20 +0100 |
| Message-ID | <B7kjf-3iZ-1@gated-at.bofh.it> |
| In reply to | #68498 |
On Tue, Nov 3, 2020, at 10:52 PM, Brandon Werner wrote: > package: src:linux > > Hi, > I downloaded one of the firmware netinstall builds of Debian from today > (11/03/2020) to try installing on my netbook with the 8821ce wifi card > since Debian now has the 5.9 kernel. During the text install with > speech, I received an error that the network card could not be found. I > opened a console and looking at dmesg showed the driver not finding the > firmware with a -2 error, however, I noticed that the requested files > had been unpacked to /lib/firmware. I unloaded rtw88_8821ce and > reloaded it using modprobe and the firmware was found, after which the > network interface was successfully brought up. I took a look at the installer logs and found something that looks like it could be the likely problem. Nov 3 22:09:17 check-missing-firmware: removing and loading kernel module rtw_8821ce I think some substitution is going wrong in the installer because it seems like the module should be called rtw88_8821ce. > I was able to continue through the rest of the install without issue. I am not sure what logs > would help but would be happy to provide anything requested to diagnose > this issue.
[toc] | [prev] | [next] | [standalone]
| From | "Brandon Werner" <brandon_code@fastmail.fm> |
|---|---|
| Date | 2020-11-04 15:30 +0100 |
| Message-ID | <B7rXt-8qK-5@gated-at.bofh.it> |
| In reply to | #68499 |
On Wed, Nov 4, 2020, at 1:13 AM, Brandon Werner wrote: > > > On Tue, Nov 3, 2020, at 10:52 PM, Brandon Werner wrote: > > package: src:linux > > > > Hi, > > I downloaded one of the firmware netinstall builds of Debian from today > > (11/03/2020) to try installing on my netbook with the 8821ce wifi card > > since Debian now has the 5.9 kernel. During the text install with > > speech, I received an error that the network card could not be found. I > > opened a console and looking at dmesg showed the driver not finding the > > firmware with a -2 error, however, I noticed that the requested files > > had been unpacked to /lib/firmware. I unloaded rtw88_8821ce and > > reloaded it using modprobe and the firmware was found, after which the > > network interface was successfully brought up. > I took a look at the installer logs and found something that looks like > it could be the likely problem. > > Nov 3 22:09:17 check-missing-firmware: removing and loading kernel > module rtw_8821ce > > I think some substitution is going wrong in the installer because it > seems like the module should be called rtw88_8821ce. It looks like what is happening is that the driver prints its messages to dmesg with a different name than what the module is actually called. When it prints its messages about missing firmware, it uses rtl_8821ce. The installer matches on that when unloading and loading modules to get the missing firmware, which results in an incorrect module name being used. Is there a list of cases in the installer for this? It needs to use rtw88_8821ce when it unloads and reloads the module. > > I was able to continue through the rest of the install without issue. I am not sure what logs > > would help but would be happy to provide anything requested to diagnose > > this issue.
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2020-11-04 17:20 +0100 |
| Message-ID | <B7tFU-180-9@gated-at.bofh.it> |
| In reply to | #68502 |
[Multipart message — attachments visible in raw view] — view raw
Control: reassign -1 hw-detect 1.141 On Wed, 2020-11-04 at 09:19 -0500, Brandon Werner wrote: > > On Wed, Nov 4, 2020, at 1:13 AM, Brandon Werner wrote: > > > > On Tue, Nov 3, 2020, at 10:52 PM, Brandon Werner wrote: > > > package: src:linux > > > > > > Hi, > > > I downloaded one of the firmware netinstall builds of Debian from today > > > (11/03/2020) to try installing on my netbook with the 8821ce wifi card > > > since Debian now has the 5.9 kernel. During the text install with > > > speech, I received an error that the network card could not be found. I > > > opened a console and looking at dmesg showed the driver not finding the > > > firmware with a -2 error, however, I noticed that the requested files > > > had been unpacked to /lib/firmware. I unloaded rtw88_8821ce and > > > reloaded it using modprobe and the firmware was found, after which the > > > network interface was successfully brought up. > > I took a look at the installer logs and found something that looks like > > it could be the likely problem. > > > > Nov 3 22:09:17 check-missing-firmware: removing and loading kernel > > module rtw_8821ce > > > > I think some substitution is going wrong in the installer because it > > seems like the module should be called rtw88_8821ce. > It looks like what is happening is that the driver prints its > messages to dmesg with a different name than what the module is > actually called. There is no rule in Linux that a driver has to have the same name as the module that contains it. (In fact, a single module can contain multiple drivers, in which cae they cannot all use the same name as the module.) > When it prints its messages about missing firmware, it uses > rtl_8821ce. The installer matches on that when unloading and loading > modules to get the missing firmware, which results in an incorrect > module name being used. Is there a list of cases in the installer for > this? It needs to use rtw88_8821ce when it unloads and reloads the > module. I don't know this part of the installer. But I think it would be a mistake to use a mapping table; instead the installer should look at metadata provided by the kernel. All drivers in a loaded module should be listed under /sys/module/<module-name>/drivers, and the installer could use that to map a driver name to its module name. Ben. > > > I was able to continue through the rest of the install without issue. I am not sure what logs > > > would help but would be happy to provide anything requested to diagnose > > > this issue. -- Ben Hutchings If the facts do not conform to your theory, they must be disposed of.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2020-11-04 17:20 +0100 |
| Subject | Processed: Re: Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded |
| Message-ID | <B7tFU-180-11@gated-at.bofh.it> |
| In reply to | #68498 |
Processing control commands: > reassign -1 hw-detect 1.141 Bug #973733 [src:linux] RTW88_8821ce module fails to find firmware during install and must be reloaded Bug reassigned from package 'src:linux' to 'hw-detect'. Ignoring request to alter found versions of bug #973733 to the same values previously set Ignoring request to alter fixed versions of bug #973733 to the same values previously set Bug #973733 [hw-detect] RTW88_8821ce module fails to find firmware during install and must be reloaded Marked as found in versions hw-detect/1.141. -- 973733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973733 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web