1
0
Fork 0

feat: blocklist buggy oel6 kernels

timestamps
dump_stack() 2023-06-02 09:53:05 +00:00
parent 79037d61ec
commit b53b3f2632
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package oraclelinux
import (
"fmt"
"regexp"
"strings"
"github.com/rs/zerolog/log"
@ -102,6 +103,10 @@ func (ol OracleLinux) Kernels() (kernels []distro.KernelInfo, err error) {
"3.8.13-98",
}
// BUG: soft lockup - CPU#0 stuck for 61s!
blocklistr := regexp.MustCompile(
`2[.]6[.]32-300[.]3(2[.][2-3]|[3-9][.][0-9])`)
for i, k := range kernels {
// The latest uek kernels require gcc-11, which is
// only present in el8 with scl load, so not so
@ -119,6 +124,10 @@ func (ol OracleLinux) Kernels() (kernels []distro.KernelInfo, err error) {
)
}
}
if blocklistr.MatchString(k.KernelVersion) {
kernels[i].Blocklisted = true
}
}
return