Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798261 - sys-kernel/gentoo-sources-5.12.12 NULL pointer dereference on console unbind
Summary: sys-kernel/gentoo-sources-5.12.12 NULL pointer dereference on console unbind
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 06:46 UTC by Xuefer
Modified: 2021-09-07 22:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg unloading radeon (dmesg.gz,24.47 KB, application/x-gzip)
2021-06-24 06:46 UTC, Xuefer
Details
dmesg unloading amdgpu (dmesg.amdgpu.gz,30.98 KB, application/x-gzip)
2021-06-24 06:48 UTC, Xuefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xuefer 2021-06-24 06:46:56 UTC
Created attachment 718524 [details]
dmesg unloading radeon

gpu: vega 64 and HD 7850 on PCI-E slot
motherboard: X399 SLI PLUS
CPU: Ryzen Threadripper 1950X


# cat test.sh
#!/bin/bash +x
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind

echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
echo simple-framebuffer.0 > /sys/bus/platform/drivers/simple-framebuffer/unbind

rmmod radeon
rmmod amdgpu

# ./test.sh
+ echo 0
+ echo 0
+ echo efi-framebuffer.0
bash: echo: write error: No such device
+ echo simple-framebuffer.0
+ rmmod radeon
Killed
+ rmmod amdgpu

(stuck here)

dmesg output attached
Comment 1 Xuefer 2021-06-24 06:48:11 UTC
Created attachment 718527 [details]
dmesg unloading amdgpu

after i blacklist radeon, similar problem happens with amdgpu too
it seems unbind'ing before unloading gpu driver cause the problem
Comment 2 Mike Pagano gentoo-dev 2021-08-17 17:54:40 UTC
Is this still an issue with later kernels.