You are not logged in.
Hi, I am using arch with dwm.
Just after boot and loging in when I try to open the terminal it froze. After like 5 min or so I got logout and onto tty1 login screen.
So switch to tty2 and log in from there without gui.
Here it is showing this error
zsh: failed to load module zsh/zle: /usr/lib/zsh/5.9/zsh/zle.so: cannot read file data : input/output error If I type ls or any other command I get the same error.
Any way to figure out what's causing this issue and then hopefully fix it too.
EDIT:
I need to buy another SSD ![]()
Last edited by ZulluBalti (2023-08-03 11:34:55)
Offline
Run another shell temporarily to investigate if you'd like, but you'll at least need to reinstall zsh.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
How can I run another shell when I can't execute any commands?
Offline
You said you can enter commands (such as ls) but that they result in that error - does ls not even run when you do this? If it will run, just type `bash` and hit enter ignoring any zsh error, then you'll be in a functional bash.
Or, log in as root, or have you set that to use zsh as well?
Worst case, boot to the rescue target, or chroot from a bootable usb.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
when I typed "ls" it doesn't show any files/folder it only show that error message.
After restarting the computer two times by hard shutdown it seem to work for now.
Currently I'm keep my computer on until I get some work done as I have some deadlines.
I'll try to use bash and see what happen when I get this error again.
BTW once I don't get this error then no matter for how long I keep my computer on I don't get it.
It's either I get it within 5 mins of logging in or I don't get it at all.
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'f:1=<-' ix.ioAlso check the disk health: https://wiki.archlinux.org/title/SMART
If this is an nvme, see https://wiki.archlinux.org/title/Solid_ … leshooting
Online
Here's the result of journalctl
Journal Result
SMART output
sudo smartctl -a /dev/sda
sudo smartctl -a /dev/sdb
When I try to run
sudo smartctl -a /dev/nvme0It says that there's not such device as nvme0
Also when I run
sudo nvme listit says
Failed to scan topology no such file or directory
Offline
I knew I had seen that smartctl result …
https://bbs.archlinux.org/viewtopic.php?id=287579
No idea at hand what
Aug 01 01:41:24 zorch kernel: amdgpu: VBIOS did not find boot engine clock value in dependency table. Using Memory DPM level 0!
Aug 01 01:41:35 zorch kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
Aug 01 01:41:35 zorch kernel: amdgpu: can't get the mac of 5is about, but there's a lot of it.
There's no nvme, but I'd start to worry about sda…
Online
can you tell me what SDA is? or provide a link about it.
I currently have vulkan-radeon drivers installed. Any chance that is causing the error?
I'm also using plymouth to display a splash screen during boot. Any link with that and the gpu error?
Offline
I'll try to use bash and see what happen when I get this error again.
Bash was just a workaround so you can gather more information. The file in question is a zsh-specific library, so it couldn't impact anything else (it couldn't affect bash). So having bash as your root login would be particularly valuable so if / when this happens again, you can still log in and gather data.
I'm useless at interpreting SMART results (I'm not every SMART), but sda there is referring to one of your disks - I gather seth is suggesting it may be worth replacing that disk. And while I can't make heads or tails of the SMART results, replacing a 128 GB SSD is an easy fix: they're pretty cheep now. Perfectly good ones can be purchased for $10-15 easily.
Last edited by Trilby (2023-07-31 23:57:03)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
There's only one concerning line in that result and they're often (as in this case) rather useless for SSDs, but ZulluBalti has now two threads that reek of IO issues with it, so there's quite possibly a problem with the drive itself, its connection or its power supply.
Online