Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Kernel panic during scans/backups/reading from external or internal drive

Here is the kind of kernel panic I obtained.



I have a iMac with a 500Go internal HD and an external 500Go HD formatted with the Disk Utility.

The latter HD was partitioned in two partitions with the "Disk Utility": a 15Go partition onto which a basic OS X 10.6.4 system was installed with the installation disk, and a second empty partition of 480Go. Moreover, on the 15Go partition, I installed a demo version of the "Speed Tools Pro" soft to proceed scans on the iMac internal HD. Indeed, I suspected problems with bad blocks or corrupted files on this internal drive because I was absolutely unable to proceed to backups of the internal HD with Time Machine on the second external partition because of systematic freezing during the process. Then, I booted on the external HD from which I launched the "Speed Tools Pro" soft to verify bad blocks on the internal HD. Then, crashes occur quite systematically after 75% of the scans. Moreover, because every complete backup (certain partial backups are possible) on the second external partition fails with Time Machine, I followed all of the verifications advised by "pondini" (http://pondini.org/TM/Troubleshooting.html) but without success.

Here is the report for one of these crashes involving com.apple.iokitXXXX files and which may indicate driver problems with the external HD:



Thus, from what those problems of crashes during backups of the internal HD or scans/reading of files could be due?

Also, I am unable to make backups of my iMac.



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%

Interval Since Last Panic Report: 9096 sec

Panics Since Last Report: 1

Anonymous UUID: (I deleted the identity number…)



Tue Mar 12 16:36:42 2013

panic(cpu 0 caller 0x2a6ac2): Kernel trap at 0x0022f681, type 14=page fault, registers:

CR0: 0x8001003b, CR2: 0x00000008, CR3: 0x00100000, CR4: 0x000006e0

EAX: 0x00000001, EBX: 0x00000000, ECX: 0x080583d4, EDX: 0x00863e80

CR2: 0x00000008, EBP: 0x5b98beb8, ESI: 0x00000001, EDI: 0x00000001

EFL: 0x00010002, EIP: 0x0022f681, CS: 0x00000008, DS: 0x00000010

Error code: 0x00000000



Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)

0x5b98bcb8 : 0x21acfa (0x5ce650 0x5b98bcec 0x223156 0x0)

0x5b98bd08 : 0x2a6ac2 (0x590a50 0x22f681 0xe 0x590c1a)

0x5b98bde8 : 0x29c968 (0x5b98be00 0x7222a10 0x5b98beb8 0x22f681)

0x5b98bdf8 : 0x22f681 (0xe 0x48 0x5b980010 0x220010)

0x5b98beb8 : 0x5bab95ad (0x0 0x85dd80 0x5b98bed8 0x218c12)

0x5b98bed8 : 0x53c5bf (0x737aa00 0x1 0x737aa00 0x737aa00)

0x5b98bf48 : 0x53c6c5 (0x737aa00 0x80583d4 0x86e9c3fb 0x29b50a)

0x5b98bf78 : 0x22f3e5 (0x737aa00 0x0 0x5b98bfc8 0x2270aa)

0x5b98bfc8 : 0x29c68c (0x863ec0 0x0 0x10 0x77bfac0)

Kernel Extensions in backtrace (with dependencies):

com.apple.iokit.IOAHCIBlockStorage(1.5.0)@0x5bab7000->0x5bac8fff

dependency: com.apple.iokit.IOAHCIFamily(2.0.0)@0x55989000

dependency: com.apple.iokit.IOStorageFamily(1.6)@0x55766000



BSD process name corresponding to current thread: kernel_task



Mac OS version:

10A432



Kernel version:

Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386

System model name: iMac7,1 (Mac-F42386C8)



………….



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Message was edited by: JacRb

iMac, Mac OS X (10.6.8), Time Machine kernel panic driver

Posted on Mar 12, 2013 9:57 AM

Reply
3 replies

Mar 15, 2013 4:01 AM in response to baltwo

Hello baltwo


=> You will find the rest of the report just below after the complementary following informations:


=> I have some news: I located and identified the corrupted files which freezzed my iMac when copied/read/scanned...etc by softs such as Time Machine. Indeed, dragging on the backup drive the folders containing these damaged files, progressively, I identified them because the last (sub-)folder (on the backup drive) containing one of these files, and the corrupted file themselves, had, as modification date, the date of the backup: 'today, …' Then, I deleted or repaired them with, for instance, the 'MP3 Scan+Repair' app in case of audio mp3 files. Other files I found such as certain .dmg or image files were deleted because of not importance. For pdf files, some of them were successfully opened by the Preview app and saved imperatively under a different name. It was a long process… Certainly, it exists an efficient UNIX set of commands using the Terminal app and doing the same.


=> Furthermore, after deleting these damaged files, I used a demo version of 'Data Rescue 3' in the 'Analysis' 'quick mode'. I scanned the internal iMac drive/partition I wanted to backup. It shown a very repetitive set of addresses of damaged blocks ("green curve of time analysis above the red line"). I must mention that the "Scan Volume for bad blocks" analysis I made with a demo version of 'SpeedTools Pro' installed on a partition of another external drive with a basic functional OSX system version of Snow Leopard produced a crash of the computer! Moreover, running 'Data Rescue 3' in the "Analysis" "medium mode" rather than in the "quick mode" produces a freeze (rather than a crash) of the computer as well!


=> Hence, the problem was not specific to Time Machine but affected any soft reading/scanning certain files or blocks. So, deleting the corrupted files did not solve the problem of freezing when proceeding to backups as I expected. Possibly, the corrupted files had allocation blocks common to the bad blocks of the driver and therefore the latter must be fixed or repaired.


So, since I was quite sure it would not produce a crash/freeze of the iMac, I did a complete backup on my backup drive with the Terminal utility entering the following set of commands in my administrator account:


> sudo cp -pRP /name_folder/* /Volumes/Backup_HD/name_folder


where "name_folder" is the name of a folder at the root "/" of the internal (iMac) drive partition. I did not enter the command:


> sudo cp -pRP /Volumes/* /Volumes/Backup_HD/Volumes


because, even if the P option avoids to copy the targets of the symbol links, it did not apply for the specific symbolic link contained in the 'Volumes' folder and pointing toward the backup drive. I was faced in this particular case to a loop hole copying the copy of the copy … of the copy of the content of the backup drive…


Unfortunately, another freeze of the iMac occurred again applying one of these commands and contrary to what I thought! Actually, It was due to another corrupted file I did not find previously, a pdf file, identified easily because the backup stopped at this file. To locate it in the folder hierarchical tree, I used again the procedure described just above when dragging the folders on the backup drive.


Then, I did another backup process with the command line:


> sudo cp -npRP /name_folder/* /Volumes/Backup_HD/name_folder


(with option '-n' to not overwrite the already copied files on the backup drive and gain time)


Then, with the 'Disk Utility' app, I did a "zeroing" of the 'free space' of the internal drive to fix the bad blocks; crossing fingers… that the internal hard drive of my iMac was not "hardware damaged" itself. Then, I launched 'Data Rescue 3' again and medium and deep analysis of the internal partition did not freeze my iMac contrary to the first runs. Actually, zeroing the free space certainly updated the G-LIST of the internal disc's map and fixed the bad blocks without, nevertheless, repairing them as the analysis graph given by 'Data Rescue 3' indicated:



User uploaded file


But also, the velocity and the reactivity of my iMac was recovered; a true revival!


==> Then, I installed 'SMARTReporter 2.7.3' and perhaps, also 'smartmontools' in background (?).


Recently, SMARTReports gave me the following report:


%%%%%%%%%%%%%%%%%


Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `CodeResources': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Growl': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Resources': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Current': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `MailCore': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Resources': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Current': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Resources': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Sparkle': 93

Mar 15 08:43:53 imac-de-osx kernel[0]: CoreServicesUIAg[178] Unable to clear quarantine `Current': 93


%%%%%%%%%%%%%%%%%%%%%%%%%%


Also, is it possible the physically repair the bad blocks with a specific soft/app?


What could be the UNIX set of commands for all these processes?


Bye


JacRb




%%%%%%%%%%%%%%%%%%%%%%%%%


Interval Since Last Panic Report: 9096 sec

Panics Since Last Report: 1

Anonymous UUID: (I deleted the identity number…)


Tue Mar 12 16:36:42 2013

panic(cpu 0 caller 0x2a6ac2): Kernel trap at 0x0022f681, type 14=page fault, registers:

CR0: 0x8001003b, CR2: 0x00000008, CR3: 0x00100000, CR4: 0x000006e0

EAX: 0x00000001, EBX: 0x00000000, ECX: 0x080583d4, EDX: 0x00863e80

CR2: 0x00000008, EBP: 0x5b98beb8, ESI: 0x00000001, EDI: 0x00000001

EFL: 0x00010002, EIP: 0x0022f681, CS: 0x00000008, DS: 0x00000010

Error code: 0x00000000


Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)

0x5b98bcb8 : 0x21acfa (0x5ce650 0x5b98bcec 0x223156 0x0)

0x5b98bd08 : 0x2a6ac2 (0x590a50 0x22f681 0xe 0x590c1a)

0x5b98bde8 : 0x29c968 (0x5b98be00 0x7222a10 0x5b98beb8 0x22f681)

0x5b98bdf8 : 0x22f681 (0xe 0x48 0x5b980010 0x220010)

0x5b98beb8 : 0x5bab95ad (0x0 0x85dd80 0x5b98bed8 0x218c12)

0x5b98bed8 : 0x53c5bf (0x737aa00 0x1 0x737aa00 0x737aa00)

0x5b98bf48 : 0x53c6c5 (0x737aa00 0x80583d4 0x86e9c3fb 0x29b50a)

0x5b98bf78 : 0x22f3e5 (0x737aa00 0x0 0x5b98bfc8 0x2270aa)

0x5b98bfc8 : 0x29c68c (0x863ec0 0x0 0x10 0x77bfac0)

Kernel Extensions in backtrace (with dependencies):

com.apple.iokit.IOAHCIBlockStorage(1.5.0)@0x5bab7000->0x5bac8fff

dependency: com.apple.iokit.IOAHCIFamily(2.0.0)@0x55989000

dependency: com.apple.iokit.IOStorageFamily(1.6)@0x55766000


BSD process name corresponding to current thread: kernel_task


Mac OS version:

10A432


Kernel version:

Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386

System model name: iMac7,1 (Mac-F42386C8)


System uptime in nanoseconds: 6153405902573

unloaded kexts:

com.apple.driver.AppleFileSystemDriver 2.0 (addr 0x558a3000, size 0x12288) - last unloaded 230657209628

loaded kexts:

com.apple.driver.AppleHIDKeyboard 1.1.5f1 - last loaded 27789841018

com.apple.filesystems.autofs 2.1.0

com.apple.driver.AppleHWSensor 1.9.2d0

com.apple.driver.AppleUpstreamUserClient 3.0.5

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.kext.ATIFramebuffer 6.0.0

com.apple.driver.AppleHDA 1.7.4a1

com.apple.driver.AudioIPCDriver 1.1.0

com.apple.ATIRadeonX2000 6.0.0

com.apple.driver.AppleLPC 1.4.6

com.apple.iokit.AppleYukon2 3.1.14b1

com.apple.driver.AirPortBrcm43xx 410.91.20

com.apple.driver.AppleIRController 161

com.apple.driver.ACPI_SMC_PlatformPlugin 3.4.0a20

com.apple.driver.AppleBacklight 170.0.2

com.apple.driver.AppleIntelMeromProfile 19

com.apple.iokit.IOAHCIBlockStorage 1.5.0

com.apple.driver.Oxford_Semi 2.5.0

com.apple.iokit.SCSITaskUserClient 2.5.0

com.apple.BootCache 31

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1

com.apple.driver.AppleEFINVRAM 1.3.0

com.apple.driver.AppleUSBHub 3.7.8

com.apple.driver.AppleFWOHCI 4.3.4

com.apple.driver.AppleAHCIPort 2.0.0

com.apple.driver.AppleIntelPIIXATA 2.5.0

com.apple.driver.AppleUSBEHCI 3.7.5

com.apple.driver.AppleUSBUHCI 3.7.5

com.apple.driver.AppleRTC 1.3

com.apple.driver.AppleHPET 1.4

com.apple.driver.AppleACPIButtons 1.3

com.apple.driver.AppleSMBIOS 1.4

com.apple.driver.AppleACPIEC 1.3

com.apple.driver.AppleAPIC 1.4

com.apple.driver.AppleIntelCPUPowerManagementClient 90.0.0

com.apple.security.sandbox 0

com.apple.security.quarantine 0

com.apple.nke.applicationfirewall 2.0.11

com.apple.driver.AppleIntelCPUPowerManagement 90.0.0

com.apple.driver.AppleHIDMouse 1.3.0f1

com.apple.driver.IOBluetoothHIDDriver 2.2f18

com.apple.driver.AppleProfileReadCounterAction 17

com.apple.driver.AppleProfileTimestampAction 10

com.apple.driver.AppleProfileThreadInfoAction 14

com.apple.driver.AppleProfileRegisterStateAction 10

com.apple.driver.AppleProfileKEventAction 10

com.apple.driver.AppleProfileCallstackAction 20

com.apple.iokit.IOSurface 73.0

com.apple.iokit.IOBluetoothSerialManager 2.2f18

com.apple.iokit.IOSerialFamily 10.0.2

com.apple.driver.DspFuncLib 1.7.4a1

com.apple.iokit.IOAudioFamily 1.7.0fc16

com.apple.kext.OSvKernDSPLib 1.3

com.apple.iokit.IOFireWireIP 2.0.3

com.apple.iokit.IO80211Family 300.20

com.apple.iokit.IONetworkingFamily 1.8

com.apple.driver.AppleHDAController 1.7.4a1

com.apple.iokit.IOHDAFamily 1.7.4a1

com.apple.driver.AppleSMC 3.0.1d2

com.apple.driver.IOPlatformPluginFamily 3.4.0a20

com.apple.iokit.IONDRVSupport 2.0

com.apple.kext.ATI2600Controller 6.0.0

com.apple.kext.ATISupport 6.0.0

com.apple.iokit.IOGraphicsFamily 2.0

com.apple.iokit.AppleProfileFamily 40

com.apple.driver.CSRUSBBluetoothHCIController 2.2f18

com.apple.driver.AppleUSBBluetoothHCIController 2.2f18

com.apple.iokit.IOBluetoothFamily 2.2f18

com.apple.iokit.IOSCSIBlockCommandsDevice 2.5.0

com.apple.iokit.IOUSBHIDDriver 3.7.5

com.apple.driver.XsanFilter 402.1

com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.0.0

com.apple.iokit.IOFireWireSBP2 4.0.5

com.apple.driver.AppleUSBMergeNub 3.7.5

com.apple.driver.AppleUSBComposite 3.7.5

com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.5.0

com.apple.iokit.IOBDStorageFamily 1.6

com.apple.iokit.IODVDStorageFamily 1.6

com.apple.iokit.IOCDStorageFamily 1.6

com.apple.iokit.IOATAPIProtocolTransport 2.5.0

com.apple.iokit.IOSCSIArchitectureModelFamily 2.5.0

com.apple.iokit.IOUSBUserClient 3.7.5

com.apple.iokit.IOFireWireFamily 4.1.7

com.apple.iokit.IOAHCIFamily 2.0.0

com.apple.iokit.IOATAFamily 2.5.0

com.apple.iokit.IOUSBFamily 3.7.8

com.apple.driver.AppleEFIRuntime 1.3.0

com.apple.iokit.IOHIDFamily 1.6.0

com.apple.iokit.IOSMBusFamily 1.1

com.apple.security.TMSafetyNet 6

com.apple.kext.AppleMatch 1.0.0d1

com.apple.driver.driveImages 281

com.apple.iokit.IOStorageFamily 1.6

com.apple.driver.AppleACPIPlatform 1.3

com.apple.iokit.IOPCIFamily 2.6

com.apple.iokit.IOACPIFamily 1.3.0

Model: iMac7,1, BootROM IM71.007A.B03, 2 processors, Intel Core 2 Duo, 2.8 GHz, 4 GB, SMC 1.21f4

Graphics: ATI Radeon HD 2600 Pro, ATI,RadeonHD2600, PCIe, 256 MB

Memory Module: global_name

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (5.10.91.19)

Bluetooth: Version 2.2.0f18, 2 service, 1 devices, 1 incoming serial ports

Serial ATA Device: ST3500630AS Q, 465,76 GB

Parallel ATA Device: OPTIARC DVD RW AD-5630A

USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8502, 0xfd400000

USB Device: Hub, 0x0409 (NEC Corporation), 0x005a, 0xfd100000

USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc52b, 0xfd140000

USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x5d100000

USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8206, 0x1a100000

FireWire Device: d2 quadra (button), LaCie, Up to 800 Mb/sec


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Mar 15, 2013 10:39 AM in response to JacRb

Also, is it possible the physically repair the bad blocks with a specific soft/app?

Launch Disk Utility and erase, reformat, and select the zero out data security option. AFAIK, that'll isolate bad blocks. Bad blocks can't be repaired, just excluded.

What could be the UNIX set of commands for all these processes?

diskutil is the Terminal command for all of Disk Utility's operations.

Kernel panic during scans/backups/reading from external or internal drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.