Skip to contentSkip to conversation

REGRESSION: no console on current -git

DISCUSSION Jens Axboe 3 participants 8 messages Jan 19, 2024 – Jan 20, 2024

Subsystems (2)
lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

Hi,

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device

Happy to test a fix, or barring that, can someone just revert this commit please?

Signature · 1 line
Jens Axboe
maintainer
#1 lore raw

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Helge

author
#2 lore raw
Quoted 29 lines · Helge Deller

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 8 lines
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Given the issue (and that I'm not the only one reporting it), can we please just get that pushed so it'll make -rc1? It can always get re-introduced in a fixed fashion. I don't run -next here, I rely on mainline working for my testing.

Signature · 1 line
Jens Axboe
maintainer
#3 lore raw
Quoted 39 lines · Jens Axboe
Quoted 29 lines · Helge Deller

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 8 lines
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Quoted 4 lines

Given the issue (and that I'm not the only one reporting it), can we please just get that pushed so it'll make -rc1? It can always get re-introduced in a fixed fashion. I don't run -next here, I rely on mainline working for my testing.

I agree, it would be good to get it fixed for -rc1.
So, it's ok for me, but I won't be able to test the revert short time right now. If you can assure that the revert fixes it, and builds in git-head, I can now prepare the pull request for Linus now (or he just reverts commit df67699c9cb0 manually).

Helge

author
#4 lore raw
Quoted 45 lines · Helge Deller
Quoted 39 lines · Jens Axboe
Quoted 29 lines · Helge Deller

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 8 lines
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Quoted 4 lines

Given the issue (and that I'm not the only one reporting it), can we please just get that pushed so it'll make -rc1? It can always get re-introduced in a fixed fashion. I don't run -next here, I rely on mainline working for my testing.

Quoted 5 lines

I agree, it would be good to get it fixed for -rc1.
So, it's ok for me, but I won't be able to test the revert short time right now. If you can assure that the revert fixes it, and builds in git-head, I can now prepare the pull request for Linus now (or he just reverts commit df67699c9cb0 manually).

I already tested a revert on top of the current tree, and it builds just fine and boots with a working console. So reverting it does work and solves the issue.

Signature · 1 line
Jens Axboe
maintainer
#5 lore raw
Quoted 52 lines · Jens Axboe
Quoted 45 lines · Helge Deller
Quoted 39 lines · Jens Axboe
Quoted 29 lines · Helge Deller

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 8 lines
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Quoted 4 lines

Given the issue (and that I'm not the only one reporting it), can we please just get that pushed so it'll make -rc1? It can always get re-introduced in a fixed fashion. I don't run -next here, I rely on mainline working for my testing.

Quoted 5 lines

I agree, it would be good to get it fixed for -rc1.
So, it's ok for me, but I won't be able to test the revert short time right now. If you can assure that the revert fixes it, and builds in git-head, I can now prepare the pull request for Linus now (or he just reverts commit df67699c9cb0 manually).

Quoted 3 lines

I already tested a revert on top of the current tree, and it builds just fine and boots with a working console. So reverting it does work and solves the issue.

I sent a pull request with the revert.

Thanks!
Helge

author
#6 lore raw
Quoted 53 lines · Helge Deller
Quoted 52 lines · Jens Axboe
Quoted 50 lines · Helge Deller
Quoted 39 lines · Jens Axboe
Quoted 29 lines · Helge Deller

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 8 lines
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Quoted 4 lines

Given the issue (and that I'm not the only one reporting it), can we please just get that pushed so it'll make -rc1? It can always get re-introduced in a fixed fashion. I don't run -next here, I rely on mainline working for my testing.

I agree, it would be good to get it fixed for -rc1.
So, it's ok for me, but I won't be able to test the revert short time right now. If you can assure that the revert fixes it, and builds in git-head, I can now prepare the pull request for Linus now (or he just reverts commit df67699c9cb0 manually).

Quoted 5 lines
Quoted 3 lines

I already tested a revert on top of the current tree, and it builds just fine and boots with a working console. So reverting it does work and solves the issue.

I sent a pull request with the revert.

Thanks! You forgot the Reported-by, but no big deal.

Signature · 1 line
Jens Axboe
#7 lore raw
Quoted 54 lines · Jens Axboe
Quoted 53 lines · Helge Deller
Quoted 52 lines · Jens Axboe
Quoted 50 lines · Helge Deller
Quoted 39 lines · Jens Axboe
Quoted 29 lines · Helge Deller

Adding Mirsad Todorovac (who reported a similar issue).

Quoted 26 lines · Jens Axboe

My trusty R7525 test box is failing to show a console, or in fact anything, on current -git. There's no output after:

Loading Linux 6.7.0+ ...
Loading initial ramdisk ...

and I don't get a console up. I went through the bisection pain and found this was the culprit:

commit df67699c9cb0ceb70f6cc60630ca938c06773eda

Author: Thomas Zimmermann <[email protected]>
Date:   Wed Jan 3 11:15:11 2024 +0100

firmware/sysfb: Clear screen_info state after consuming it

Reverting this commit, and everything is fine. Looking at dmesg with a buggy kernel, I get no frame or fb messages. On a good kernel, it looks ilke this:

[    1.416486] efifb: probing for efifb
[    1.416602] efifb: framebuffer at 0xde000000, using 3072k, total 3072k
[    1.416605] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.416607] efifb: scrolling: redraw
[    1.416608] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.449746] fb0: EFI VGA frame buffer device
Quoted 8 lines
Quoted 2 lines

Happy to test a fix, or barring that, can someone just revert this commit please?

I've temporarily added a revert patch into the fbdev for-next tree for now, so people should not face the issue in the for-next series:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?h=for-next
I'd like to wait for Thomas to return on monday to check the issue as there are some other upcoming patches in this area from him.

Quoted 4 lines

Given the issue (and that I'm not the only one reporting it), can we please just get that pushed so it'll make -rc1? It can always get re-introduced in a fixed fashion. I don't run -next here, I rely on mainline working for my testing.

I agree, it would be good to get it fixed for -rc1.
So, it's ok for me, but I won't be able to test the revert short time right now. If you can assure that the revert fixes it, and builds in git-head, I can now prepare the pull request for Linus now (or he just reverts commit df67699c9cb0 manually).

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

I already tested a revert on top of the current tree, and it builds just fine and boots with a working console. So reverting it does work and solves the issue.

I sent a pull request with the revert.

Thanks! You forgot the Reported-by, but no big deal.

Hi,

I confirm that this revert df67699c9cb0ce also solved the original initrd boot problem here:

 1991  git checkout d97a78423c33
 1992  git revert df67699c9cb0ce
 1993  make clean; make olddefconfig
 1994  time nice make -j 36 bindeb-pkg |& tee ../err-6.8-mrg-1.log; date
 1995  sudo apt-get -s install ../linux-image-6.7.0-bagas-vanilla-rvt-09751-g6b082430adc8_6.7.0-09751-g6b082430adc8-26_amd64.deb
 1996  sudo apt-get -y install ../linux-image-6.7.0-bagas-vanilla-rvt-09751-g6b082430adc8_6.7.0-09751-g6b082430adc8-26_amd64.deb

You might add:

at your convenience.

Best regards,
Mirsad