aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2022-07-11 09:11:57 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-07-11 11:31:58 +0200
commitf3f217ff1d92c75c6f1471fbc5f18d31ac4941aa (patch)
treeefed189712f1c41c4a5ae5d2547b1efe96469163 /pkg
parentb5765a153856746a5e7b74ea11751342337b0370 (diff)
pkg/report: ignore `missed to adjust virtual screen size` messages
Syzbot erroneously treats them as normal WARNINgs and creates lots of duplicate bugs.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/linux.go1
-rw-r--r--pkg/report/testdata/linux/report/65418
2 files changed, 19 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 0c76170fc..d69370dcd 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -1729,6 +1729,7 @@ var linuxOopses = append([]*oops{
compile("WARNING: [Tt]he mand mount option (is being|has been) deprecated"),
compile("WARNING: Unsupported flag value\\(s\\) of 0x%x in DT_FLAGS_1"), // printed when glibc is dumped
compile("WARNING: Unprivileged eBPF is enabled with eIBRS"),
+ compile(`WARNING: fbcon: Driver '(.*)' missed to adjust virtual screen size (\((?:\d+)x(?:\d+) vs\. (?:\d+)x(?:\d+)\))`),
},
},
{
diff --git a/pkg/report/testdata/linux/report/654 b/pkg/report/testdata/linux/report/654
new file mode 100644
index 000000000..aba45bfd9
--- /dev/null
+++ b/pkg/report/testdata/linux/report/654
@@ -0,0 +1,18 @@
+TITLE:
+
+
+
+[pid 3610] mkdir("/dev/binderfs", 0777) = 0
+[pid 3610] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0
+[pid 3610] symlink("/dev/binderfs", "./binderfs") = 0
+[pid 3610] openat(AT_FDCWD, "/dev/fb0", O_RDONLY) = 3
+[pid 3610] ioctl(3, FBIOPUT_VSCREENINFO, 0x20000040) = -1 EINVAL (Invalid argument)
+[pid 3610] exit_group(1) = ?
+[ 44.986326][ T40] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
+[ 44.996238][ T40] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
+[ 45.007641][ T14] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
+[ 45.025191][ T3610] WARNING: fbcon: Driver 'vkmsdrmfb' missed to adjust virtual screen size (0x0 vs. 128x16)
+[pid 3610] +++ exited with 1 +++
+--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3610, si_uid=0, si_status=1, si_utime=0, si_stime=13} ---
+exit_group(0) = ?
++++ exited with 0 +++