LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-18-2005, 10:22 AM   #1
stryka
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
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?
 
Old 11-18-2005, 10:44 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What filesystem are you using on the harddisk?
 
Old 11-18-2005, 11:21 AM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Seems like I heard someone with a similar problem and it was a HD going bad.
 
Old 11-18-2005, 01:25 PM   #4
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
i'd agree with these guys, boot off a floopy, and scan your drive
 
Old 11-18-2005, 01:56 PM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
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
 
Old 11-18-2005, 02:15 PM   #6
stryka
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 11-19-2005, 09:09 AM   #7
stryka
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 11-19-2005, 09:17 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
stryka, can you try another window manager?
 
Old 11-19-2005, 09:22 AM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 11-19-2005, 09:54 AM   #10
stryka
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CD-Burning corrupting files? logosys Linux - Newbie 2 08-07-2005 11:53 PM
FTP corrupting files on web... Raggit Linux - Software 3 02-23-2005 11:04 AM
xcdroast DVD burning corrupting random files?? blames Linux - Newbie 2 10-20-2004 05:46 AM
proftpd corrupting files linux_terror Linux - Software 1 10-19-2004 06:21 PM
Binary files sodaforce Linux - Software 1 09-07-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration