LinuxQuestions.org
Register a domain and help support LQ
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, 11: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, 11:44 AM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 482356N, Lon: 104145E
Distribution: Gentoo 2006
Posts: 719

Rep: Reputation: 31
What filesystem are you using on the harddisk?
 
Old 11-18-2005, 12:21 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Seems like I heard someone with a similar problem and it was a HD going bad.
 
Old 11-18-2005, 02: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, 02:56 PM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,628

Rep: Reputation: 142Reputation: 142
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, 03: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, 10: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, 10:17 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

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

Rep: Reputation: 52
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, 10: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-08-2005 12:53 AM
FTP corrupting files on web... Raggit Linux - Software 3 02-23-2005 12:04 PM
xcdroast DVD burning corrupting random files?? blames Linux - Newbie 2 10-20-2004 06:46 AM
proftpd corrupting files linux_terror Linux - Software 1 10-19-2004 07:21 PM
Binary files sodaforce Linux - Software 1 09-07-2003 06:31 PM


All times are GMT -5. The time now is 03:26 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration