DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian Wheezy on SSD, crached when I browsed with Midori, several tab been opened and few .txt docs opened, no other apps. When I opened Tunar File Manager, the folders are missed in the right pane. Recycle Bin on Desktop has missing icon, the other folders also looks different. Also, when try Log out, error shown
Code:
"Failed to execute command Xfce-4-session-logout.(no such file or directory)"
Same thing when try to open any application. I pressed Power off button on laptop, it than show terminal screen with texts like
I don't have Debian running right now, and I might not be 100% correct on the file names, but I'd look first in /var/log/messages or /var/log/system (may be "syslog").
compare with Windows Event Viewer, where you can find Aplication, Security, Setup, System logs, Linux logs system looks quite confusing, is there a sort of Event Viewer for Linux?
That sounds like a disk error. It might be worth booting from a live cd & running fsck.ext4 on the drive. If the drive supports S.M.A.R.T. I would try "smartctl -a /dev/sdx" first.
That sounds like a disk error. It might be worth booting from a live cd & running fsck.ext4 on the drive. If the drive supports S.M.A.R.T. I would try "smartctl -a /dev/sdx" first.
"smartctl -a /dev/sdX" - this command shows how long a drive has been in use? The SSD drive is almost new, I just recently did a first installation.
Can you specify how to properly use fsck.ext4 from a Live CD? The disk error can be caused by hardware issue or by software error?
Seems fine as well. Did "dmesg" show any other file system errors?
If the drive is working properly the only other suggestion I have would be to try another SATA controller card. I have had issues with this in a cheap HP Slimline PC I bought on a special once. The OSes I had on it (both Windows & Debian) crashed after after a few weeks of use. After swapping drives & operating systems it finally dawned on me it was a hardware problem.
The fastest (if somewhat painful) way to check is to put the ssd in another computer & boot it up there. If you are using a Debian based system, delete the lines with "SUBSYSTEM=="net",..." lines from "/etc/udev/rules.d/70-persistent-net.rules" (or similar) to keep wlan0 & eth0 from being renamed. You would need to edit the bios so that it boots up from this drive.
Seems ok to me. You could do a self check with "smartctl -t long /dev/sdX"
Seems fine as well. Did "dmesg" show any other file system errors?
If the drive is working properly the only other suggestion I have would be to try another SATA controller card. I have had issues with this in a cheap HP Slimline PC I bought on a special once. The OSes I had on it (both Windows & Debian) crashed after after a few weeks of use. After swapping drives & operating systems it finally dawned on me it was a hardware problem.
The fastest (if somewhat painful) way to check is to put the ssd in another computer & boot it up there. If you are using a Debian based system, delete the lines with "SUBSYSTEM=="net",..." lines from "/etc/udev/rules.d/70-persistent-net.rules" (or similar) to keep wlan0 & eth0 from being renamed. You would need to edit the bios so that it boots up from this drive.
Regards,
Stefan
Thank you for info.
"dmesg" not show errors, but I am not sure about lines 838-844 here.
The SSD disk is an external USB drive, connected to Windows laptop. I will check it on another PC when possible.
About use smartctl command: should I run it from Live CD on the unmounted disk?
It does look like there was some file system corruption. Is it possible that the drive was not properly unmounted prior to shutdown / restart?
Quote:
About use smartctl command: should I run it from Live CD on the unmounted disk?
Yes. As far as I am aware the smartctl self test should be done on a unmounted drive. Getting information with '-a' should not be a problem on a mounted drive.
It does look like there was some file system corruption. Is it possible that the drive was not properly unmounted prior to shutdown / restart?
It could be, its USB drive, maybe I improperly disconnected external SSD drive, but I'm not sure. Does linux completely repair and recover file system?
It could be, its USB drive, maybe I improperly disconnected external SSD drive, but I'm not sure. Does linux completely repair and recover file system?
Xfce Desktop crashes after some time of inactivity, and it becomes inaccessible any more. The part of folders in File Manager are missing, and the directories are completely empty. Also, when the terminal was opened and come this error, there was text "Message from syslog@debian at Oct 03 11:47:21 2014 ...Kernel: journal commit I/O error"
When try to log out, I got error "Failed to execute command Xfce-4-session-logout.(no such file or directory)"
I can only Ctrl+Alt+F1 which get me to a terminal with messages
[...] ETX4-fs error (device sdb2): ext4_find_entry:932: inode # xxxxxx: comm lightdm: reading iblock 0" or
[...] ETX4-fs error (device sdb2): ext4_find_entry:932: inode # xxxxx: com console-kit-dae: reading directory lblock 0".
The only way is to press power off button to shut down.
I'm thinking this can be somehow related to PC hardware, or insufficient current over USB ports (the port where was connected SSD).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.