You are not logged in.
Hi,
I'm using arch linux
[zullu@zorch ~]$ uname -a
Linux zorch 6.4.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 27 Jul 2023 22:02:18 +0000 x86_64 GNU/Linux Everything was working file and then suddenly my computer starts to freeze/hang a lot and in the terminal i get this error
"read-only file system"
This error is gone but now I'm getting another weird error. My cursor goes to the beginning of the line automatically. It doesn't matter where I'm it happen everywhere in the search bar of
the browser. In the textarea of this form while coding in lvim. If I'm watching a YT video then the video goes to the start.
I did a system update and while it was updating all of a sudden this text appear on the screen '^[[H'. I think it's a signal by kernel or something for the cursor to go the the start of the line.
Can anyone help me figure out what's causing this error?
Thanks
PS: It seems to go away for a min or two when I press Enter
Last edited by ZulluBalti (2023-07-30 16:43:13)
Offline
Please use [code][/code] tags, the bbs vastly predates markdown. Edit your post in this regard.
"read-only file system" - Please post the complete system journal for a boot covering that, eg.
sudo journalctl -b -2 | curl -F 'f:1=<-' ix.iofor two boots ago.
Wrt the cursor behavior, something seems to generate spurious input. Do you have a spare keyboard to replace the current one and see whether this remains?
Offline
Hi, this is the output of the command that you wrote about
[zullu@zorch ~]$ sudo journalctl -b -2 | curl -F 'f:1=<-' ix.io
[sudo] password for zullu:
^[[Hhttp://ix.io/4BO1 here's the link
Output
Here you can see the ^[[H sequence again. while displaying the output.
I do have another keyboard and I have disabled it using xinput. Now let's see what happen
Last edited by ZulluBalti (2023-07-29 20:28:07)
Offline
Oh, it's a laptop internal keyboard… :\
Attach the extra (hopefully external) keyboard and disable the internal one w/ xinput (assuming this is an X11 session) or ideally in the BIOS/Firmware, if that's possible.
The journal you posted doesn't contain "read-only file system", the "-2" was just an example (and the journal also looks like it was cut short, did you hard-reboot?), you'll have to know or look out for a relevant boot.
'^[[H' is an escape sequence that tells the TE that the home key has been pressed, and I unfortunately suspect this to be a hardware problem.
You could boot some live-distro and see whether it exhibits the same behavior. If yes, you can assume that you'll need to replace the keyboard ![]()
Last edited by seth (2023-07-29 21:00:51)
Offline
Thank you
On the external keyboard it's working perfectly well.
About the hard reboot yeah I did that a lot of times actually.
While updating it also froze for some time and then I pressed Ctrl+C a couple of times and some other keys.
When it resumed I did the update again but then when I reboot it gave me the error which says "load kernel first".
So I boot from a usb anch arch-chroot and then install linux again by typing this command
sudo pacman -Syu linxuAfter the update it did froze a couple of time and I had to hard shutdown it again.
I'm afraid if I turn off (or reboot) my computer now it will happen again.
Here's the output with
Link -b -15
Link -b -7
Link -b 6
Last edited by ZulluBalti (2023-07-29 21:31:02)
Offline
Before replacing I'd try the (metaphorical!) sledge-hammer approach first: mess with the home key a bit, it could just be stuck, or have some gunk (cat hair, part of a hot-pocket, etc) stuck under it. If you have air duster, give it a good spray / cleaning.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
'^[[H' is an escape sequence that tells the TE that the home key has been pressed, and I unfortunately suspect this to be a hardware problem.
You could boot some live-distro and see whether it exhibits the same behavior. If yes, you can assume that you'll need to replace the keyboard
Can you tell me what TE stands for I've been googling it but all I get is 'tee' related results.
And ChatGPT thinks that it's a typo for TTY ![]()
Offline
read-only remounts typically happen for IO errors, could just be the bus (notably if there're spurious events around anyway) but could also be your disk:
https://wiki.archlinux.org/title/SMART
smartctl -a /dev/…Edit: "Terminal Emulator"
Last edited by seth (2023-07-29 21:36:47)
Offline
Here's the output of smartctl
also output of
smartctl -l selftest /dev/sda[zullu@zorch ~]$ sudo smartctl -l selftest /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.4.7-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 6692 -
# 2 Extended offline Completed without error 00% 6692 - BTW i have a SSD with arch installed at /
and HDD which has some drives mounted on /mnt/
Last edited by ZulluBalti (2023-07-29 22:06:04)
Offline
Most smart values seem bogus (what's frequent w/ SSDs), the only mildly concerning one is
187 Reported_Uncorrect 0x0032 099 000 000 Old_age Always - 6 but it's also not clear how reliable that is wrt all the other nonsense.
Do you have a report for the HDD (since we don't actually know what was mounted read-only)?
If nothing shows up, it could have been a fluke - just keep an eye on that.
Because of
It seems to go away for a min or two when I press Enter
I don't have really high hopes for that, but did tampering w/ the Home key fix the keyboard?
Offline
[zullu@zorch ~]$ sudo smartctl -l selftest /dev/sdb
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.4.7-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 23641 -
# 2 Short offline Completed without error 00% 4573 -
[zullu@zorch ~]$ sudo smartctl -l selftest /dev/sdb
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.4.7-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 23643 -
# 2 Short offline Completed without error 00% 23641 -
# 3 Short offline Completed without error 00% 4573 - for
smartctl -a /dev/sdbAbout the keyboard after following @Tribiliy advice and removing the buttons and cleaning it. It's working fine now.
Offline
No problems on that drive, so hope it was a fluke.
following @Tribiliy advice and removing the buttons and cleaning it. It's working fine now.
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline