Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-18-2005, 10:22 AM
|
#1
|
|
Member
Registered: Oct 2005
Distribution: Slackware
Posts: 44
Rep:
|
Binary files keep corrupting
Here as the past week or two my /bin files keep corrupting, along with some others. If I replace them with backups they work fine, for about a minute and then they SegFault again. I've also noticed that is happens when I switch back between Xwin and console.
I've even started with a fresh install of slackware, yet it just did the same thing. ls -al will list the amount of files, and then segfault for example. It's getting nervewrecking. I'm running kernel 2.4.31. Any insight?
|
|
|
|
11-18-2005, 10:44 AM
|
#2
|
|
Member
Registered: Oct 2005
Location: Lat: 48°23´56´´N, Lon: 10°41´45´´E
Distribution: Gentoo 2006
Posts: 718
Rep:
|
What filesystem are you using on the harddisk?
|
|
|
|
11-18-2005, 11:21 AM
|
#3
|
|
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244
Rep:
|
Seems like I heard someone with a similar problem and it was a HD going bad.
|
|
|
|
11-18-2005, 01:25 PM
|
#4
|
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
i'd agree with these guys, boot off a floopy, and scan your drive
|
|
|
|
11-18-2005, 01:56 PM
|
#5
|
|
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,511
Rep: 
|
You may want to
- check your filesystem
- check your free disk space (when some of your hd partitions are full, this may cause weird effects)
- check your harddisc (hardware)
- check your cable connections (plugged tightly enough? correct orientation? correct order?)
- check your file system access rights
- check your swap partition
- check your termination if it is a SCSI disk
- check your SCSI IDs if it is a SCSI disk
- check your SCSI partition mapping if it is a SCSI disk
Looks like there's a lot of things to check, but most of them don't take a lot of effort or time.
Good luck!
gargamel
|
|
|
|
11-18-2005, 02:15 PM
|
#6
|
|
Member
Registered: Oct 2005
Distribution: Slackware
Posts: 44
Original Poster
Rep:
|
I'm running ext2 filesystem. However, it's ONLY the /bin files that corrupt. This laptop is only 3 months old, I don't imagine the hard drive would be bad already. I've ran e2fsck on the drive, and it shows no bad blocks. My swap partition is fine. All the drives are IDE.
The files stay just fine until I switch over to Xwindows. When I do that, they start segfaulting. They file size is also increased, and that has me suspicious. Strace has showed nothing that meant anything useful to me.
|
|
|
|
11-19-2005, 09:09 AM
|
#7
|
|
Member
Registered: Oct 2005
Distribution: Slackware
Posts: 44
Original Poster
Rep:
|
Has anyone had these problems due to Gnome? I'm really trying to figure it out, and it has me baffled. It is related to Xwindows somehow. The second I sudo a program or su to root to do something, it causes SegFaults and my files become larger. Doesn't make sense to me.
|
|
|
|
11-19-2005, 09:17 AM
|
#8
|
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
stryka, can you try another window manager?
|
|
|
|
11-19-2005, 09:22 AM
|
#9
|
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
another guess: if these files in /bin get corrupted, maybe
do a test and remove the write permission on those files.
chmod -w /bin/*
and see what program complains.
egag
|
|
|
|
11-19-2005, 09:54 AM
|
#10
|
|
Member
Registered: Oct 2005
Distribution: Slackware
Posts: 44
Original Poster
Rep:
|
I'm actually running Enlightenment, but when I ran gedit last time it fubar'd /bin.
I will take that advice and remove write permission to /bin.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|