Jump to content

Mac HFS Drive getting damaged sooo easily!

hfs hfsdamage reset fsck diskutility opengl freeze crash repair

Best Answer Bandes, 29 November 2013 - 02:23 PM

Ladies and Gentleman

Here We Go Again!

 

[attachment=132687:HereWeGoAgain1.jpg]

[attachment=132688:HereWeGoAgain2.jpg]

[attachment=132689:HereWeGoAgain3.jpg]

 

So i tried to revert to 10.8.4 NVidia kexts, cause at 10.8.5 was where all the graphical crashes started.

System loaded, but the UI was sluggish. I put back Nvdaresmantesla.kext so it would might help. (In 10.8.4 there was no such kext, only Nvdaresman.kext)

The Next time i am loading the system, black screen upon loading UI. 

Reset. I wanted to boot into Windows to remove that kext, but hit the wrong key, so Chameleon loaded once again Mavericks. Ok, black screen again.

Reset. Loaded Windows. Let's See. HFS Partition looks TOTALLY EMPTY.

Haha, i was somehow expecting this. Great. Looks like i can try reinstalling today once again.

Or if i just leave the whole thing there.

Since there seem to be no real fix to prevent OpenGL Channel Exceptions for my Nvidia 9600 GT in Mavericks.

 


I think your rig is seriously messed up to have all those problems. I've been using OSX in my hacks since Leopard and I've had lost files maybe once or twice on power loss or resets (AMD Athlon times  :whistle:) but since Lion I haven't seen any kind of file system damage.

messed up ? really ?

Windows is working perfectly. So my hardware is OK.

And Snow Leopard was working ok for one year. Mountain Lion one year long until at 10.8.5. Graphic Crashes started happening.

So i did not mess anything up. It's just that OS X became unstable for my rig.

 

Update : Yeah, Cannot Boot Anymore, System is Gone Totally.

All because i pressed reset button after black screen.

Hundreds of Folders and Files gone. With System critical stuff. And the root folder is not even browsable without recovery software.

Go to the full post


  • Please log in to reply
38 replies to this topic

#21
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

So i am pretty fast already in installing Mavericks. At the 5th time one gets full of routines  :whistle:

System is up and running again. 

Since Mountain Lion Nvidia Kexts do not work as it looks, i checked the drivers from Mavericks Developer Preview 8.

And after one hour hard trying i had no crashes with those ! It's too early too go hooray, but I might be lucky this time !

Although i still see garbled screens when going fullscreen on html5 videos. (http://ink361.com/app/tag/video)

 

Attached File  ink361video_tag_01.jpg   98.91KB   5 downloads

Attached File  ink361video_tag_02.jpg   76.3KB   4 downloads

 

As long as the UI doesn't crash,  i don't care about it.

I don't watch these videos anyway, only for testing purposes.

Numbers did not crash until now, so it looks promising.

I just don't understand why is that the Golden Master version of OS X Mavericks is more buggy than the Developer Preview.



#22
alaskantraveler

alaskantraveler

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 118 posts
  • Gender:Male
  • Location:Central Arizona Desert
  • Interests:Single Carburetor GoldWings
    BlackPowder Revolvers
    PC based OSX

    AMD...

are you doing clean installs, or re-installing over an existing install from before?

 

And why are you worried about :

 

2013.11.29. 1:56:43,000 kernel[0]: hfs: Removed 17 orphaned / unlinked files and 35 directories 
 
which shows up if you are looking back at boot records.
 
Not a thing to worry about here, it is clearing out temp files at start up. If you are trying to fix this, then that is what is messing up your system, because you are trying to fix something that isn't broken.


#23
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

 

are you doing clean installs, or re-installing over an existing install from before?

 

And why are you worried about :

 

2013.11.29. 1:56:43,000 kernel[0]: hfs: Removed 17 orphaned / unlinked files and 35 directories 
 
which shows up if you are looking back at boot records.
 
Not a thing to worry about here, it is clearing out temp files at start up. If you are trying to fix this, then that is what is messing up your system, because you are trying to fix something that isn't broken.

 

Of coure, clean install. Imagine having a partition you can't even read. Disk Utility Verify and Repair not working. How the hell could you reinstall anything on that ??

I have to do always erase partition and do it from zero. No other options.

As i said a couple of times, hfs partition is getting damaged randomly after pushing resets on frozen system.

HFS did not get corrupted on every resets. But after i was trying out a few options for the graphic drivers, there was one point where it has DAMAGED BADLY.

ALL THE FOLDERS GONE from the drive.

I could luckily copy back some of the contents i needed with a recovery software.

Folders contents are still there somewhere, but their names are gone, and they are out of position.

They just being gathered in a "found folders" section.

 

I just copied these lines from Console here. This is not my problem.

These orphaned things all occured after resets.

And there was once 6000 folders orphaned, so those were definitely not temp things.

I suggested those were from the trash folder, but anyway i could not fix anything with them, so.

 

Please read what i am writing, i am not that stupid!

AS I SAID. FOLDERS GONE. SYSTEM NOT BOOTABLE. BASTA. THERE WAS DEFINITELY SOMETHING TO BE FIXED.

I DON'T FCKING CARE ABOUT ORPHANED FILES AS LONG MY SYSTEM BOOTS.

BESIDES I CANNOT DO ANYTHING ABOUT THEM EITHER WAY.

 

THE REAL PROBLEM IS. FOLDERS GO LOST EASILY ON RESETS.

And its pretty random. Most of the time it's ok. But if you have to do it enough times. I guess on the 10th occassion at least you will face what i faced, 

Some serious data corruption on hfs partition.

Much worse than orphaned files.

I cannot copy messages from that. Disk Utility(from the install usb drive) says then only "Backup as much as you can, and reformat" Good luck..



#24
alaskantraveler

alaskantraveler

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 118 posts
  • Gender:Male
  • Location:Central Arizona Desert
  • Interests:Single Carburetor GoldWings
    BlackPowder Revolvers
    PC based OSX

    AMD...

Are you dual booting this on the same hard drive as your windows install?



#25
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
Recently went thro a patch of similar disk corruption on my old setup P45-DS4P with Mavericks. With Mountain Lion there was no such problems.. Seems to have been resolved after yanking out 800MHz Ram pair and leaving 1066MHz pair only.. Problems started when joint pairs were clocked at 800 but not at 667.

#26
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

Recently went thro a patch of similar disk corruption on my old setup P45-DS4P with Mavericks. With Mountain Lion there was no such problems.. Seems to have been resolved after yanking out 800MHz Ram pair and leaving 1066MHz pair only.. Problems started when joint pairs were clocked at 800 but not at 667.

 

Yeah, but it still does not make much sense. I have no corruption if i choose restart from OS X. Only if i have to press reset when the UI has crashed where it happens.

I think the problem is about the power cut which happens at BIOS cold resets.

The damage is happening on the folder structure. So there must be some kind of buffering issue. If there are some temp files being opened at the time of reset, somehow the folder structure is kept in an unclean state, and probably that's why it messes up the whole disk. This is my version.


Are you dual booting this on the same hard drive as your windows install?

I was dual booting until Mountain Lion. Now it's only Single booting into Windows.

3 partitions. 1 Windows 1 Mavericks 1 Data Only.

Default is Windows starts.

I have to pull in an USB stick at boot which has Chameleon bootloader to have option to choose Mavericks.

It's safer this way.

Anyway Windows and Data partitions are safe at forced resets. It's only the Mavericks HFS which has got corrupted always.



#27
alaskantraveler

alaskantraveler

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 118 posts
  • Gender:Male
  • Location:Central Arizona Desert
  • Interests:Single Carburetor GoldWings
    BlackPowder Revolvers
    PC based OSX

    AMD...

get a separate hard drive for the Mac install.



#28
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

get a separate hard drive for the Mac install.

cannot afford it.

and just because you think that would solve anything without any meaningful reason i would not do.

it should be working this way too.

what does a windows partition has to do with hfs data corruption on cold resets when it's not even being used or booted from ?



#29
alaskantraveler

alaskantraveler

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 118 posts
  • Gender:Male
  • Location:Central Arizona Desert
  • Interests:Single Carburetor GoldWings
    BlackPowder Revolvers
    PC based OSX

    AMD...

Don't think it. I know it.

 

 

Windows has to go onto a NTFS partition and that can mess up any OS you put on any other partition of the same drive.  OS-X won't work on a drive formatted to NTFS. You get two choices for installing OS-X, and neither one is NTFS.



#30
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

Windows cannot mess up any partition just. First of all it has to have a driver for that when that is in a foreign format.

 

It's pretty obvious that Windows wont write any bit on to a partition which it cannot handle.

If it would, that would be a big bug/flaw.

The same goes with Mac. It wont write any bits on ntfs, cause normally it is set to read only mode.

My NTFS partitions never got damaged from OS X. 

HFS partitions did.

Just like 15 minutes ago.

 

I have reinstalled the system two weeks ago by the way.

And i was stresstesting it once again lately. It seemed like 10.9.1 beta 3 has solved the problem. But i did not test it that deeply at that time.

Now it gave up once again after upgrading to 10.9.1 final. OpenGL Channel Exceptions are still not solved for my Nvidia 9600 GT. I reverted back to 10.9.1 beta 3 to see if that helps anything, but

it didn't. Cannot boot anymore, cause fsck_hfs starts checking the drive, and then it stops at attributes. "Invalid record count". Although i can read the partition, and all folders look ok. Except that it looks like some kext folders might be lost (?) Some things couldn't load at startup anymore. So the russian roulette has struck again. 

 

I have also changed the Windows HFS driver. From Paragon HFS 9 to Macdrive 9.

This one has HFS repair option also. Which i have been using and it worked now on a few occasions.

But then there was a crash, and i did not repair at first chance, and i kept testing the system.

It looks like the problem has created a chain reaction after a few restarts and kext utility updates.

 

More info tomorrow.



#31
pippox0

pippox0

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 221 posts
  • Gender:Male
It seems that your issue is related with your Hdd and sata controller. Verify what exactly is your sata controller and find a better kext to manage it. Disk corruption on hfs+ is related with a sw problem , if Windows and data are safe. BTW try to verify and repair your osx partition from inside osx with disk utility. Boot USB install and run disk utility.

#32
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

It seems that your issue is related with your Hdd and sata controller. Verify what exactly is your sata controller and find a better kext to manage it. Disk corruption on hfs+ is related with a sw problem , if Windows and data are safe. BTW try to verify and repair your osx partition from inside osx with disk utility. Boot USB install and run disk utility.

Nothing is wrong my HDD or SATA controller.

Nothing to mess up with that. I have ICH10, the same controller as on real Macs. 

I have more proof that it is hfs and the mac system which is badly designed against sudden power cuts/resets:

Yesterday a reinstalled the system once again. I set up SSH from my laptop, so i can shut down the UI/system when OpenGL freezes up. (sudo shutdown -r now)

I had about 20-30 freezes, but this time no serious data corruption occured.

There were still orphaned files and folders, because most of the time the system could not restart even with this method.

When it did restart, there were no orphaned things. But most of the time it still stopped hanging on shutdown procedure. So i had to push reset still.

But that time disk actions were near finished, so things were not left in such an unclean state as it would if i have pushed reset right away on a freezed UI.

With applications being closed, swapping turned off, and possibly disk unmounted already at that point it is more safe to push reset.

Although orphaned files are still some issue, cause once it was the console log which have been orphaned / lost. It got wiped out. So it can be any file getting orphaned which is opened at that time.

 

The bigger problem now for me is getting the OpenGL freeze. It's pretty serious. I did try quite a few options yesterday as well, DSDT not used and NVEnabler at the same time.

iMac, MacbookPro, MacPro 3,4,5 SMBios settings. It just doesn't make a difference. It should be some driver bug. 

And it is not fixed with 10.9.1  :(

Now my only hope is that Nvidia makes Mavericks drivers too as it did with ML, and then they fix the issue.

I will might open an other topic about this OpenGL Channel Exception story with my GPU.

Or i might just leave it. I don't think there is a fix for it without a new driver.



#33
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,125 posts
  • Gender:Male
  • Location:Brazil

I'm curious, are/were you using the "ESB2" DSDT patch for your ICH10?



#34
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

I'm curious, are/were you using the "ESB2" DSDT patch for your ICH10?

 

I have that patch in my DSDT as i know. I will check now.

Internal drives are silver icons, only my PATA drives are orange (those are loaded by the Jmicron driver).

I had all drives in silver until Mountain Lion, but now with Mavericks only the SATA drives are silver.

 

By the way. I have been testing the newest 10.9.2 beta update with new graphics drivers.

Attached File  newdrivers.png   176.07KB   3 downloads

 

Graphics still crashing ? YES :(

 

I had two big freezes while i was downloading 5 gigs of stuff. I had to wait until there was no network traffic anymore and tried a shutdown through ssh. Restart did not work, but luckily no big damage happened to the hfs partition.

Except the usual orphaned files and folders.

The other crash happened while testing 10.9.2 beta.

I also tested slower RAM settings (800Mhz instead of 1066Mhz). Still crashing.

I am pretty sure it's faulty OpenGL drivers.

Look at this video here : http://www.midwester...deo-and-freezes

I am having exactly the same symptoms. My UI crashes in the same fashion.

And that video is about a real Macbook Pro with Nvidia 9400m/9600m gt graphics!

 

Messages in console changed a bit now with the new graphic drivers:

 

2013-12-25 01:55:28,000 kernel[0]: IOVendorGLContext::ReportGPURestart 
2013-12-25 01:55:28,000 kernel[0]: NVDA(OpenGL): Channel exception! exception type = 0xd = Graphics Engine Error (GR Error 5)


#35
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,125 posts
  • Gender:Male
  • Location:Brazil

 

I have that patch in my DSDT as i know. I will check now.

 

The ESB2 patch has been known to cause data loss and/or corruption on some hardware. It's possible that that's what was happening to you.



#36
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

The ESB2 patch has been known to cause data loss and/or corruption on some hardware. It's possible that that's what was happening to you.

 

The only way i got corruption was when doing power cuts / resets. Other than that it looked ok.

But it would be better if there would be no any corruption possible.

So then, is it better to leave that out and have orange icons ?

Now i will have to find my original DSDT setting somewhere.

They said it had only "cosmetic" effects.

 

Is there an alternative safe way to make the SATA drives look as normal (silver) ?

 

I have checked it. I have the ESB2 Patch, since i see that kind of device at SATA:

Attached File  Screen Shot 2013-12-26 at 16.19.36.png   15.46KB   2 downloads

 

Haven't had the time to change it yet. I will generate a new DSDT and check what's the original setting for the SATA and edit back to my patched one.



#37
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

Attached File  Screen Shot 2013-12-28 at 21.23.11.png   30.88KB   2 downloads

ESB2 Patch removed.

All drives are orange now.

Will test other SATA slots soon other than the currently used 1-2.

 

Meanwhile i was testing graphics even more.

Removed the Nvidia injection for my card as well from my DSDT.

GraphicsEnabler works without that anyway smoothly.

But crashing is still present sadly. No improvement.

It must be a driver issue.

 

Still had orphaned files with ICH10 SATA controller set up after the crashes,

but no serious damage for a while luckily. 

It definitely doesn't look worse than it was.



#38
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,125 posts
  • Gender:Male
  • Location:Brazil

Drives are orange because they are detected as external.

 

You can use AHCIPortInjector.kext to get "Internal" silver icons. It works great, with the only caveat that you'll lose hotplugging.

 

If you're using Chameleon, you can also try sata.dylib in /Extra/Modules.

 

Don't use more than one fix for the same issue at the same time.



#39
Bandes

Bandes

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male

Drives are orange because they are detected as external.

 

You can use AHCIPortInjector.kext to get "Internal" silver icons. It works great, with the only caveat that you'll lose hotplugging.

 

If you're using Chameleon, you can also try sata.dylib in /Extra/Modules.

 

Don't use more than one fix for the same issue at the same time.

 

Thanks!

I am happy now with the orange icons. Stability is most important.

I might try sata.dylib, but i would love to see my pata drives as silver then.

Now everything is orange, which is kind of consistent looking :) .







Also tagged with one or more of these keywords: hfs, hfsdamage, reset, fsck, diskutility, opengl, freeze, crash, repair


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy