feat: blocklist buggy oel6 kernels
This commit is contained in:
parent
79037d61ec
commit
b53b3f2632
@ -2,6 +2,7 @@ package oraclelinux
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
@ -102,6 +103,10 @@ func (ol OracleLinux) Kernels() (kernels []distro.KernelInfo, err error) {
|
|||||||
"3.8.13-98",
|
"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 {
|
for i, k := range kernels {
|
||||||
// The latest uek kernels require gcc-11, which is
|
// The latest uek kernels require gcc-11, which is
|
||||||
// only present in el8 with scl load, so not so
|
// 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
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user