Re: New kernels
Posted: Mon Jun 24, 2024 10:58 pm
Hi
vmlinux-6.10-12 got a kernel error
vmlinux-6.10-12 got a kernel error
Support Forum
https://forum.hyperion-entertainment.com/
https://forum.hyperion-entertainment.com/viewtopic.php?t=4738
Thank you for testing. I have created a patch for reverting the first bad commit.
Code: Select all
--- b/net/unix/diag.c 2024-06-24 21:28:33.951978761 +0200
+++ a/net/unix/diag.c 2024-06-24 21:30:36.767978293 +0200
@@ -65,7 +65,7 @@ static int sk_diag_dump_icons(struct soc
u32 *buf;
int i;
- if (READ_ONCE(sk->sk_state) == TCP_LISTEN) {
+ if (sk->sk_state == TCP_LISTEN) {
spin_lock(&sk->sk_receive_queue.lock);
attr = nla_reserve(nlskb, UNIX_DIAG_ICONS,
@@ -103,7 +103,7 @@ static int sk_diag_show_rqlen(struct soc
{
struct unix_diag_rqlen rql;
- if (READ_ONCE(sk->sk_state) == TCP_LISTEN) {
+ if (sk->sk_state == TCP_LISTEN) {
rql.udiag_rqueue = sk->sk_receive_queue.qlen;
rql.udiag_wqueue = sk->sk_max_ack_backlog;
} else {
@@ -136,7 +136,7 @@ static int sk_diag_fill(struct sock *sk,
rep = nlmsg_data(nlh);
rep->udiag_family = AF_UNIX;
rep->udiag_type = sk->sk_type;
- rep->udiag_state = READ_ONCE(sk->sk_state);
+ rep->udiag_state = sk->sk_state;
rep->pad = 0;
rep->udiag_ino = sk_ino;
sock_diag_save_cookie(sk, rep->udiag_cookie);
@@ -215,7 +215,7 @@ static int unix_diag_dump(struct sk_buff
sk_for_each(sk, &net->unx.table.buckets[slot]) {
if (num < s_num)
goto next;
- if (!(req->udiag_states & (1 << READ_ONCE(sk->sk_state))))
+ if (!(req->udiag_states & (1 << sk->sk_state)))
goto next;
if (sk_diag_dump(sk, skb, req, sk_user_ns(skb->sk),
NETLINK_CB(cb->skb).portid,
Code: Select all
--- b/net/unix/diag.c 2024-06-23 23:08:54.000000000 +0200
+++ a/net/unix/diag.c 2024-06-24 22:22:57.959966310 +0200
@@ -65,7 +65,7 @@ static int sk_diag_dump_icons(struct soc
u32 *buf;
int i;
- if (READ_ONCE(sk->sk_state) == TCP_LISTEN) {
+ if (sk->sk_state == TCP_LISTEN) {
spin_lock(&sk->sk_receive_queue.lock);
attr = nla_reserve(nlskb, UNIX_DIAG_ICONS,
@@ -103,7 +103,7 @@ static int sk_diag_show_rqlen(struct soc
{
struct unix_diag_rqlen rql;
- if (READ_ONCE(sk->sk_state) == TCP_LISTEN) {
+ if (sk->sk_state == TCP_LISTEN) {
rql.udiag_rqueue = skb_queue_len_lockless(&sk->sk_receive_queue);
rql.udiag_wqueue = sk->sk_max_ack_backlog;
} else {
@@ -136,7 +136,7 @@ static int sk_diag_fill(struct sock *sk,
rep = nlmsg_data(nlh);
rep->udiag_family = AF_UNIX;
rep->udiag_type = sk->sk_type;
- rep->udiag_state = READ_ONCE(sk->sk_state);
+ rep->udiag_state = sk->sk_state;
rep->pad = 0;
rep->udiag_ino = sk_ino;
sock_diag_save_cookie(sk, rep->udiag_cookie);
@@ -215,7 +215,7 @@ static int unix_diag_dump(struct sk_buff
sk_for_each(sk, &net->unx.table.buckets[slot]) {
if (num < s_num)
goto next;
- if (!(req->udiag_states & (1 << READ_ONCE(sk->sk_state))))
+ if (!(req->udiag_states & (1 << sk->sk_state)))
goto next;
if (sk_diag_dump(sk, skb, req, sk_user_ns(skb->sk),
NETLINK_CB(cb->skb).portid,
Thanks for info. Okay so tested this after posting and same lightdm error. Will keep testing following kernels.
Thanks a lot for testing!Hypex wrote: Tue Jun 25, 2024 6:04 am Thanks for info. Okay so tested this after posting and same lightdm error. Will keep testing following kernels.
Link: Kernel 5.12musa wrote: Mon Apr 12, 2021 7:21 pm Hi Christian
I have tried to boot kernel 5.12 rc7 but the kernel can not identify sata 4 (my linux hard drive).
Have new formatted my usbdisk with Fat 16. no luck. When I afterwards start the same partition with kernel 5.11 all errors are gone. Therefore, I believe that it is the kernel that is the problem.
Have a nice day
Peter
I suppose I like to give them all a test, even though I have had missed a few.xeno74 wrote: Tue Jun 25, 2024 6:39 am Thanks a lot for testing!
I think you don’t need to test vmlinux-6.10-11 and vmlinux-6.10-12 because Musa has already tested them.
Could you please test the kernel vmlinux-6.10-13?
This kernel is already patched.