My computer keeps loosing hal.dll!!!

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
Hey folks,

So a couple weeks ago one of my machines went on the fritz and has been messed up ever since. The specs are as follows:

Antec 450W TPII in a P180
ECS KN1 SLI Extreme
AND Athlon 64 3500+ Venice
2x 512 DDR400 @ 3/3/3/8
eVGA GeForce 7800gt CO
Sound Blaster Audigy 2 ZS
1x 80GB IDE
1x 120GB SATA
2x 250GB SATA
LiteOn DVDRW

Anyway, it had been chugging along virtually problem free for about 6 months. All of a sudden it started losing system files - you know when you boot up windows and it says hal.dll is missing or corrupted, or that NTLDR is missing, wierd issues like that. It wasn't consistent either, sometimes it would be one error, sometimes another. Strangely, I was able to boot windows successfully most of the time by just sticking my disc in the drive, and booting. Note that I did NOT start setup, or do a repair. Simply having the disc in the drive allowed Windows to boot. I had a RAID back then with 2 80GB IDE drives for my boot volume, so I figured one of them was going bad.

I dealt with the issue for awhile, and eventually got off my lazy ass, backed up my files, and started trying to fix it. Getting into the recovery console and doing the usual stuff - fixboot, fixmbr, bootcfg /repair, even manually extracting hal.dll off the cd. Nothing worked. In fact, once I messed up the ntldr so badly that having the disc in the drive no longer got things started. Okay - good thing I backed up. I disassembled the RAID, tested both drives with a WD Diagnosics boot CD, They both passed 2 iterations of the extended test. I decided against RAID, since on the nForce4 it makes Linux or Vista a bit tricky, so I only have the 1 80GB now as my boot drive. I formatted and reinstalled, and everything was fine for about a day.

Then - BOOM, missing hal.dll again. I figured it was a coincidence, and tried the repair stuff again. No effect. I tried a repair install. No effect. So last night I formatted and reinstalled AGAIN. It seemed to work fine last night, but come to think of it, I had the windows CD in the drive the whole time so I wouldn't have known even if it wasnt working.

This morning I boot her up, without the cd in the drive, and again, missing hal.dll. Same thing, having the disc in the drive makes it work perfectly! I am at my wits end. The only things I can think are the follwing:

1) Bad RAM? I checked all my SPDs for reccommended timings, and matched them (see desc). When the system works, it works perfectly. Passes multiple iterations of Superpi, and I do lots of video encoding which is VERY stressful on RAM, and have no issues doing that at all.

2) Bad PSU? Recently (and yes I know I was an idiot for doing this) I was changing some fan connections when the system power was on *smacks self upside head*, and accidentally bumped into the wires leading into my hard drive's Molex connector. I heard the dreaded click of a hard drive resetting. Of course, windows immediately froze, and blue screened with a kernel_inpage_error if I recall correctly. Perhaps I have a faulty connector? Touching it shouldn't mess it up like that.

3) Bad motherboard? Perhaps I have a slightly retarded IDE channel?

4) Bad hard drive? It seems unlikely, given that I tested it twice with the manufacturer tool, and it passed without issues, and has no other typical bad HD symptoms like clicking, CRC errors, or general slowness.

5) Virus? Perhaps there's something in my backup files that is eating my tasty hal.dll every time I start copying my data back to my user account... Note that I only copy the contents of my documents and my desktop back, along with firefox bookmarks. I didnt even have time to do this last night, so I find this very unlikely. I very very rarely get viruses, and have an updated version of AVG on my system. I scanned everything with it last night, and found nothing.

Seems like the PSU is at fault, but before I go out and drop $60 on a new one, I wanted to get an opinion from you guys.

What do you think? I'm ready to start tearing my hair out.

~MiSfit
 

taterworks

Member
Dec 7, 2003
102
0
0
"Open the pod bay doors, HAL!"

"I'm sorry, dave..."



The first reply in most topics is usually by an idiot. You should appreciate my effort, because now the 'real' responses can begin.
 

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
LOL that's the same referene my buddy made when I called him very hammered last night to bitch about my problem. Damn you HAL.

Thanks for the comic relief.

~MiSfit
 

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
not a bad idea. I just ran goldmemory and passes, its a pretty good tester IMO. I will use memtest, and replace my IDE cable. I will also use a different molex connector for the hard drive, since this one seems questionable.

anyone else?
 

Bozo Galora

Diamond Member
Oct 28, 1999
7,271
0
0
putting in the XP CD does not fix anything - it just provides a particular *hal.dll to be used in boot that is not avail in your system, but needs to be for your config.

Hal is intimitely related to ACPI, ACPI settings
ACPI is for (among other things) advanced power settings - like sleep, wake on lan, wake on KB. You could try a test by turning everything "on always" in power management, and turn off all sleep, wake-on stuff in bios.

You first have to look in dev manager (show hidden, ACPI) and see exactly what hal you are constantly installing. Ususally bios updates on crap mobo like ECS are issued to fix ACPI probs with certain hardware. The POS creative card should also be taken out to see if it is the hal noncompliant ihardware.

It is extremely important to have correct ACPI and APIC settings in bios, since XP install interacts with this. And one must never change ACPI APIC settings AFTER install.

Another thing to look at is whether you are using XP CD with slipstreamed SP2 that actually has the advanced ACPI support.

You can easily fix your hal probs by pressing F5 at F6 prompt during install (quickly) and manually picking standard hal WITH ACPI AND APIC OFF IN BIOS. Obviously this does not work with dual core CPU like X2. You will have only basic power options, but you will verify your problem.

http://support.microsoft.com/?id=309283

MORE INFORMATION
Windows XP Device Manager and Windows Server 2003 Device Manager list limited choices for changing your HAL type when you click Update Driver. Unsupported options are not available. Microsoft Windows 2000 Device Manager lets you select any HAL type. If you select an incorrect HAL, you may not be able to start Windows 2000, or you may have other issues.

When you install the following HALs on a Windows XP-based or Windows Server 2003-based computer, the following device manager HAL options appear:
Back to the top

"Standard PC", Non-ACPI PIC HAL (Hal.dll)
? Standard PC

Back to the top

"MPS Uniprocessor PC", Non-ACPI APIC UP HAL (Halapic.dll)
? Standard PC
? MPS Uniprocessor
? MPS Multiprocessor

Back to the top

"MPS Multiprocessor PC", Non-ACPI APIC MP HAL (Halmps.dll)
? Standard PC
? MPS Multiprocessor

Back to the top

"Advanced Configuration and Power Interface (ACPI) PC", ACPI PIC HAL (Halacpi.dll)
? Standard PC
? Advanced Configuration and Power Interface (ACPI) PC

Back to the top

"ACPI Uniprocessor PC", ACPI APIC UP HAL (Halaacpi.dll)
? Standard PC
? Advanced Configuration and Power Interface (ACPI) PC
? ACPI Uniprocessor
? ACPI Multiprocessor

Back to the top

"ACPI Multiprocessor PC", ACPI APIC MP HAL (Halmacpi.dll)
? Standard PC
? Advanced Configuration and Power Interface (ACPI) PC
? ACPI Multiprocessor
? MPS Multiprocessor
---------------------------------

and, if you have nothing but time on your hands - the ultimate 17 page ntldr-hal discussion
http://www.techimo.com/forum/t37563.html



 

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
Ok, I tried copying that hal.dll into my windows\system32 folder and it made things worse :)

Now it wont boot correctly even with the cd in the drive, saying something about 'please report this error as load drivers for kernel or something along those lines.

I guess thats what I get for copying strange DLLs into my system32 folder without backing up the originals... DOH!

Odd..

So you're saying the reason my computer keeps loosing the hal.dll file is that my BIOS ACPI settings are b0rked, or that perhaps my audigy2 isn't working right?

Very strange considering that everything worked perfectly before and I didnt change any bios settings.

I'm not sure I understand what you suggest doing. You mentioned changing the ACPI settings to disable any and all power management. You then go on to say that I cannot change these settings after I install because it will screw everything up. Should I change them or not??

btw I am using a slipstreamed XP sp2 disc that i made myself.

-MiSfit
 

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
reinstalling again. this time I forced the ACPI Uniprocessor HAL. Will report back.

I accidentally deleted one of my 250GB partitions! EEP!!! Will have to run Stellar Phoenix to get that data back *boo hoo*

-misfit
 

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
Well... I had bluescreens and so forth about 9/10 of the way through the install. I tried again, this time allowing setup to auto-detect the apropriate HAL. So far things seem to be working well. I have installed all my drivers and a few core applications, and have been able to successfully boot up without the disc in the drive.

I will keep track of things very carefully, so that if I have any issues in the future I will be able to isolate the issue.

Now I'm scanning one of my 250s for all the data I lost... all my backed up DVDs, my software archives, and my MP3s. Ouch.

Hopefully I will be able to get it all back. I haven't written any data to the drive so all should be well.

~MiSfit
 

themisfit610

Golden Member
Apr 16, 2006
1,352
2
81
So far everything is good. I got all my data back (so stupid omg), and windows is working better than ever now, even after a night of heavy hard drive thrashing, and all day shuffling data around and generally cleaning up.

I think I will chalk this up to a questionable power and or IDE cable.

I hope nobody else has to go through this vile ******.

~MiSfit