Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Getting kernel log spam that makes the tty unusable #37

Open
badly-drawn-wizards opened this issue Jul 5, 2024 · 17 comments
Open

Getting kernel log spam that makes the tty unusable #37

badly-drawn-wizards opened this issue Jul 5, 2024 · 17 comments

Comments

@badly-drawn-wizards
Copy link

badly-drawn-wizards commented Jul 5, 2024

[   73.680019] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_phy_register_write wait cr write done failed!

is spammed on the tty on boot, making it impossible to see what I am doing.

I am using a Orange Pi 5 Plus with UEFI. I followed the instructions in the UEFI.md.

I can temporarily block it with sudo dmesg -n 1, but I want to find out what's going on.

@n0rad
Copy link
Contributor

n0rad commented Aug 11, 2024

Same here using UEFI with an orangepi5plus, even when using the pre-built image in releases 🤔

@cessationoftime
Copy link
Contributor

cessationoftime commented Sep 25, 2024

I had this same problem on orange5piplus and UEFI. I used sudo dmesg -n 1 to eliminate the spam. Then I built the image locally and applied the new image to my nvme SSD and resized the root partition with parted to take up the rest of the SSD and put the device tree in /boot/dtb/base. I believe building it locally on the orangepi5plus solved the problem. So I think the problem results from using emulation for the image build.

@gnull
Copy link
Contributor

gnull commented Oct 20, 2024

I built mine on OPI5 Plus itself and I still get the errors.

@tpwrules
Copy link

tpwrules commented Nov 1, 2024

Does HDMI work for you? Are you using GRUB or systemd-boot?

@n0rad
Copy link
Contributor

n0rad commented Nov 2, 2024

On my side HDMI is working, even with DVI that used to not be working in the past. and I'm on systemd-boot.

I saw the comment in the other issue but it does not match what I see.
Also I'm not using the flake of this repository directly anymore but a copy instead, and I remember that not applying the kernel params here makes the kernel displaying nothing.

@Baddad23
Copy link

Baddad23 commented Dec 6, 2024

Sorry I'm noob and I'm also have the problem list in post 1:

"I can temporarily block it with sudo dmesg -n 1, but I want to find out what's going on."

Can some one please explain how to run this command or from where? I'm using orangepi5plus-rawEfi.img which goes straight to install and then I get a stream of [ 73.680019] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_phy_register_write wait cr write done failed!

@gnull
Copy link
Contributor

gnull commented Dec 6, 2024 via email

@gnull
Copy link
Contributor

gnull commented Dec 6, 2024 via email

@gnull
Copy link
Contributor

gnull commented Dec 6, 2024

hbiyik/linux@1a91051

Joshua-Riek/linux@1a91051

This commit seems to be disabling hdmirx upstream (defined here) due to the same issue as here. But oddly, the hdmirx node is still enabled in the dtb on my device:

$ cat /sys/firmware/devicetree/base/hdmirx-controller@fdee0000/status
okay

I may be misunderstanding the Nix build scripts here, but I can't guess why it's still enabled. I think if we manage to properly disable that, the spam may go away.

@Baddad23
Copy link

Baddad23 commented Dec 6, 2024

@gnull thanks for replying. Well, I tried entering "nixos" as root username and just hit enter for password because I read somewhere it was blank. But the truth is I don't even see any green test Ithink that would be the login screen) flying by. What is the root username/password?

I thinks with just hdmi monitor it might be easier to disable hdmirx. Do you know how. At this point I'm willing to try anything as I don't have a working system

@gnull
Copy link
Contributor

gnull commented Dec 6, 2024

gnull@6ef36e6

@Baddad23 Try this revision. It's a quick workaround I found: this commit disables the driver that creates the spam (it also incorporates the current version of #64). I'm currently looking for cleaner ways to fix the issue, will make a PR in time.

About password: the user and password are given here. I wrong about logging in as root, you need to use rk user, and then do dmesg command via sudo. Don't forget to type the password after sudo. And also before you try to log in, give it enough time to make sure the system reaches login prompt as the spam starts falling before login prompt.

@gnull
Copy link
Contributor

gnull commented Dec 6, 2024

@Baddad23 #66 is the PR to try, should get rid of the log spam.

@Baddad23
Copy link

Baddad23 commented Dec 7, 2024

@gnull Well, managed to get thru all the spam and get to cmd line. Trying to format nvme target ssd but "parted" used to create and format cannot be found. Is there another utility now being used?

@gnull
Copy link
Contributor

gnull commented Dec 7, 2024 via email

@Baddad23
Copy link

Baddad23 commented Dec 7, 2024

After working on this for sever hours again this morning it certainly seems that no one has tried to do an nixos install on an opi5+ following these instructions in quite a while. The manual installation https://nixos.org/manual/nixos/stable/#sec-installation-manual has a number of problems and I've spent hours trying to find work arounds, eg "parted" but there are MORE.

Someone with far more experience than me would need to go thru this, not using their experience, but just following the instructions and then marking it up for corrections!

Instructions are needed that are simple to follow and WORK.

@gnull
Copy link
Contributor

gnull commented Dec 7, 2024 via email

@Baddad23
Copy link

Baddad23 commented Dec 7, 2024

I did want to thank you for all your help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants