Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
Yesterday 11:20 PM
» Replies: 0
» Views: 43
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: lala2025
Yesterday 08:19 PM
» Replies: 12
» Views: 3828
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
Yesterday 06:14 PM
» Replies: 1
» Views: 153
[REQUEST] Bios for packard bell tj65 wit...
Last Post: THECAIDA
Yesterday 03:49 PM
» Replies: 2
» Views: 97
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
Yesterday 02:47 PM
» Replies: 476
» Views: 167822
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
Yesterday 02:46 PM
» Replies: 1089
» Views: 449509
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: tarikyeter
Yesterday 02:44 PM
» Replies: 236
» Views: 89063
[REQUEST] Remove whitelist in a Panasoni...
Last Post: coco62
Yesterday 11:20 AM
» Replies: 2
» Views: 1589
Lenovo ThinkPad SL510 Whitelist Removal....
Last Post: deepTeNk
11-23-2024 03:32 PM
» Replies: 5
» Views: 6375
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: DeathBringer
11-21-2024 03:44 PM
» Replies: 49
» Views: 32998
[REQUEST] HP Mini 110-4100 BIOS Unlock
Last Post: DSI INF
11-21-2024 09:24 AM
» Replies: 7
» Views: 297
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
11-21-2024 03:11 AM
» Replies: 1780
» Views: 496667
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: Elmurley
11-20-2024 09:37 PM
» Replies: 2
» Views: 1313
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: SWZSSR
11-20-2024 09:34 PM
» Replies: 1775
» Views: 555436
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Dudu2002
11-20-2024 04:58 PM
» Replies: 337
» Views: 144391
Unlock bios insyde
Last Post: Matox3140
11-19-2024 03:40 PM
» Replies: 0
» Views: 267
Whitelist WIFI card removal Lenovo Yoga ...
Last Post: Dudu2002
11-19-2024 12:58 PM
» Replies: 1
» Views: 260
[REQUEST] H310 MSI Gaming Infinite S (MS...
Last Post: awittyusername
11-19-2024 09:21 AM
» Replies: 10
» Views: 153
[REQUEST] Gigabyte GA-B85M-HD3 Rev 2.0 u...
Last Post: Maduli
11-19-2024 02:22 AM
» Replies: 0
» Views: 204
[REQUEST] Lenovo Ideapad 330-15ICH BIOS ...
Last Post: Dudu2002
11-18-2024 01:25 PM
» Replies: 8
» Views: 1913

AHCI BIOS function corrupted by Windows setup? Help!
#1
Exclamation 
Hi guys!

I hope someone can point me in the right direction with this strange problem. Windows Vista setup program appears to have corrupted or otherwise disabled the AHCI function on my motherboard. The setup has set me up nicely! Well done Microsoft!

TL;DR: How do I get past Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...?

The motherboard is a Gigabyte GA-X38-DQ6 with F9J BIOS. This is a Beta BIOS but it has been OK for the past year or so. This board actually came with F4 BIOS and I have been using it with F8 for a long time. I did not update the BIOS immediately when I bought it. I have updated to F6 and F7 in the past, and also tested the F9J BIOS before, but decided that F8 is safer because it is not Beta. It's only for the past year that I have been using F9J because I discovered that F8 had bad or no support for booting from USB flash drives with FAT32 (it worked well with NTFS and Windows though, no surprise there). That's as far as BIOS updating goes, and I have never had a serious problem updating it.

Now onto the more pressing matter! So I had Windows 8.1 and Windows 10 installed, with Intel Matrix RAID 0 enabled. But I decided to scratch it and start all over. So I wiped the two 500 GB Seagate SATA drives with Killdisk (for reasons I need not go into now), and decided I would set up a multi boot with Windows Vista, Windows 7, Windows 8.1 and Windows 10, with AHCI this time and not RAID, on one 500 GB disk.
  • I used Windows Vista ISO and Windows 7 USB/DVD tool to make a bootable Kingston USB flash drive.
  • Intel chipset SATA controller used.
  • SATA controller set to AHCI in BIOS setup.
  • I used F12 boot menu to boot from my USB flash drive.
  • Boot from USB flash drive was OK.
  • Windows Vista setup loaded without problems.

Because I had used Killdisk, both HDDs were wiped clean. So I had to partition and format one of them and then install Windows. I used Diskpart for that.

  1. Diskpart started.
  2. Clean disk command used, for good measure.
  3. Primary partition, 500 MB created, set to active.
  4. Extended partition, 40000 MB created.
  5. Logical partition, 40000 MB created.
  6. Diskpart closed.
  7. I refreshed storage device list in installation dialog.
  8. I chose the newly created logical partition as target.

I received the following error.

Quote:"Windows could not determine if this computer contains a valid system volume."

I canceled the installation and quit the setup. I even took the time to prepare another USB flash drive with Windows 7 Professional x64 edition. Strangely I got the same type of error with Windows 7 as I did with Windows Vista. I learned on the web that this has to do with BIOS and how Windows setup program reads the storage devices presented by BIOS. The solution was supposedly to change the boot order. So I tried that and it worked... well, maybe not... since I am here now. Confused But the comments I read suggested that this is a problem relating to Windows Vista alone. Well it's not! Like I said, I tested this myself with Windows 7 on USB flash drive. I think I used Windows 7 ISO file for MSDN Academic (DreamSpark), and the USB flash drive model was identical (I have several of these USB 3.0 Kingston drives) so we can rule that out.

I entered the BIOS setup and changed up a few things, as suggested by the info I found on the web.

Change of boot device order from:
  1. Floppy
  2. Hard disk
  3. CD-ROM

To:

  1. Hard disk
  2. Disabled
  3. USB-HDD

I also changed the hard disk boot priority from:

  1. Seagate disk
  2. Seagate disk
  3. Kingston USB
  4. WD disk
  5. WD disk
  6. Bootable add-in card


To:
  1. Seagate disk
  2. Seagate disk
  3. WD disk
  4. WD disk
  5. Bootable add-in card
  6. Kingston USB

As you can see I had two WD disks connected, but I only use those for storage. I then booted from my USB flash drive again, with F12 key and got into Windows Vista setup program.

  1. Diskpart started.
  2. Clean disk command used.
  3. Primary partition, 1000 MB created, set to active.
  4. Extended partition, 40000 MB created.
  5. Logical partition, 40000 MB created.
  6. Diskpart closed.
  7. I refreshed storage device list in installation dialog.
  8. I chose the newly created logical partition as target.
  9. Copying files (4%).. Whee! Smile

I went away from the computer and I thought the problem was over. Bet when I came back I was discouraged to see yet another fricking error on the screen. The setup had bailed out! It just didn't want to install Windows the way I wanted it to.

Quote:Windows cannot copy files required for installation. Make sure all files required for installation are available, and restart the installation. Error code 0x80070070

I clicked OK and it brought me back to the initial setup screen where I have to select language and keyboard layout, basically. (The same is true for the previous error I got. It brings you back so you have to click around again, type in the product key, choose installation type and so on.) When I got back to the disk selection menu, I decided to increase the size of the primary partition. Maybe it needs more space I thought.

  1. Diskpart started.
  2. Clean disk command used.
  3. Primary partition, 4000 MB created, set to active.
  4. Extended partition, 40000 MB created.
  5. Logical partition, 40000 MB created.
  6. Diskpart closed.
  7. I refreshed storage device list in installation dialog.
  8. I chose the newly created logical partition as target.
  9. Copying files (100%).. Whee! Smile
  10. Expanding files (100%)
  11. Installing features (100%)
  12. Installing updates (100%)
  13. Completing installation...
  14. Windows needs to restart to continue (restarting in 15 seconds)

I had to sit this one in to see what happens, at what point it gets bad. But I was surprised that the installation passed this time. So maybe it did need more space on that system partition (a.k.a. boot partition)? Undecided Well, anyway, it's what happened next that got me really baffled.

  1. Rebooting...
  2. POST is OK.
  3. Storage device scan...
  4. Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...

There! It just sits on this line! Hanged! Angel Went to motherboard heaven! Tongue I really hope not...

Attempting a reboot...

  1. I press Ctrl+Alt+Del.
  2. Reboots...
  3. POST is OK.
  4. Storage device scan...
  5. Hangs at Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...

Attempting to enter BIOS setup...

  1. I press Ctrl+Alt+Del.
  2. Reboots...
  3. POST is OK.
  4. I press DEL key for setup.
  5. Prepare to enter Setup...
  6. Storage device scan....
  7. Hangs at Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...

Attempting to enter Q-Flash...

  1. I press Ctrl+Alt+Del.
  2. Reboots...
  3. POST is OK.
  4. I press END key for Q-Flash.
  5. Storage device scan...
  6. Hangs at Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...

OK, so I realize I am having a minor setback. So I decide the best thing to do is to re-energize all the components and do a cold boot.

  1. Power off.
  2. Unplug the power cord.
  3. Wait for 20 seconds.
  4. Plug the power cord back in.
  5. Power on.
  6. POST is OK.
  7. Storage device scan.
  8. Hangs at Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...

OK, so at this point I am starting to realize that I will have to do something drastic. I know! Idea I must clear the CMOS! Right? Tongue The standard procedure for most, if not all BIOS related issues. Well read on and see how that worked out for me.

  1. Power off.
  2. Unplug the power cord.
  3. Press and hold the power button for 20 seconds.
  4. Shorten CMOS pins on MB for 20 seconds.
  5. Plug the power cord back in.
  6. Power on.
  7. Default settings loaded.
  8. Press TAB to see POST (disable logo screen).
  9. POST is OK.
  10. Detecting IDE...
  11. DMI device list...
  12. Operating system is missing.

OK, so I thought I would try enabling AHCI at this stage. Or at very least try to get to BIOS setup screen.

Attempting to enter BIOS again...

  1. I press Ctrl+Alt+Del.
  2. Reboots...
  3. POST is OK.
  4. Detecting IDE...
  5. I press DEL key for setup.
  6. Prepare to enter Setup...
  7. DMI device list...
  8. BIOS setup entered! Finally! Dodgy

I did not change a lot. I enabled AHCI for the chipset. I disabled the logo splashscreen and I changed up the boot priority a bit so it matches what I had previously. Save and exit!

  1. Rebooting...
  2. POST is OK.
  3. I pressed END key for Q-Flash.
  4. Storage device scan...
  5. Hangs at Controller Bus#00, Device#1F, Function#02: 06 Ports, 04 Devices...

OK, so at this stage, I am getting mad about this! So I must remove all disk drives, re-energize, and wipe the CMOS once more, just for good measure.

  1. Power off.
  2. Unplug the power cord.
  3. Disconnect all SATA drives.
  4. Press and hold power button for 20 seconds.
  5. Shorten CMOS pins on MB for 20 seconds.
  6. Plug the power cord back in.
  7. Power on.
  8. POST is OK.
  9. CMOS checksum error! (defaults loaded)

I encountered this checksum error and it prompted me to select a profile (settings) from a list. I think I selected "last known good".

  1. Rebooting...
  2. POST is OK.
  3. Detecting IDE...
  4. Hangs at bus, function, 6 port
  5. No device found
  6. "AHCI BIOS not installed"
  7. Boot disk failure, insert disk...

The reason it failed this time around might be because I may have chosen "last known good" values at the prompt, so it reset my CMOS clearing back to what it was before. I'm not sure how the checksum error happened though. But something is apparently not set right. And what's with the "AHCI BIOS not installed" thing?

So I decided to connect two of the disk drives to see if it can find them.

  1. Power off.
  2. Two SATA disks connected to port 0 and 1.
  3. Power on.
  4. POST is OK.
  5. Detecting IDE...
  6. Hangs at Controller Bus#00, Device#1F, Function#02: 06 Ports, 02 Devices...

See! It's detecting for IDE, but then it basically says it's looking for storage devices of the AHCI type. Then says that no devices were found and also says that AHCI BIOS is not installed. This time, it even says that it found 2 devices but it does not continue from that point forward.

OK, at this stage I was ready to do anything just to get this thing working. So I decided to disconnect all SATA disk drives, for safety, and to enable the functionality of BIOS again so I can at least try to flash it. I decided to use the same F9J BIOS image.

  1. Power off.
  2. All SATA drives disconnected.
  3. Power on.
  4. POST is OK.
  5. Detecting IDE...
  6. I press END key for Q-Flash.
  7. Hangs at bus, function, 6 port
  8. No devices found
  9. AHCI BIOS not installed
  10. Q-Flash appears

I don't know if Q-Flash is supposed to detect USB flash drives, but it did not detect mine. Although it appeared in BIOS setup, under Hard disks, and USB Mass Storage function was enabled. My guess is that Q-Flash only works with floppy drives. Luckily I had a floppy drive. I also discovered that I had BIOS images readily available on floppies, which was great to have in a situation like this! Otherwise I would have had to connect the thing to another computer, prepare a floppy, and connect it back to the patient computer. Jerry rig it! A.k.a doing a MacGyver! Cool

Flashing with F9J BIOS...

  1. Power off.
  2. Floppy drive connected.
  3. Floppy with F9J BIOS inserted.
  4. Power on.
  5. I press DEL key for setup.
  6. I check that floppy drive is enabled. It is enabled.
  7. I press F8 in BIOS to enter Q-Flash right away.
  8. Update BIOS!
  9. Pick Floppy A.
  10. Select F9J image.
  11. Reading BIOS file.
  12. Checksum=1c00
  13. OK!
  14. Erasing/updating BIOS
  15. Verifying BIOS
  16. Copy bios completed!
  17. I press F10 for power off.
  18. Power on (with all SATA drives still disonnected).
  19. Defaults loaded!
  20. DEL for BIOS setup
  21. Enable AHCI
  22. Enable USB mouse and keyboard.
  23. Save and exit!
  24. Rebooting...
  25. POST is OK.
  26. Detecting IDE...
  27. Controller bus, device, function, 6 ports
  28. No device found
  29. AHCI BIOS not installed
  30. Building DMI pool, success
  31. Verifying DMI pool data, success
  32. "Remove removable disk and press a key for restart (floppy?)"

Sorry about this long mega thread! My intention is not to bore you guys to death! Sleepy Besides providing you with a lot of details so you can help me to the best of your ability, this will also serve as documentation for myself. It will also serve as food for the web spiders, for posterity.

Main points and observations:
  • Can't access BIOS setup and Q-Flash when SATA controller is set to AHCI. The storage device detection screen prevents it.
  • Clearing CMOS via motherboard jumper pins grants BIOS setup and Q-Flash access by falling back on default settings (non-AHCI i.e. RAID/AHCI set to "Disabled").
  • Disconnecting all SATA disk drives grants BIOS setup and Q-Flash access by skipping device detection.
  • "AHCI BIOS not installed" appears even though it clearly says "Serial ATA AHCI BIOS, Version iSrc 1.20E" right aboveit when AHCI is enabled in BIOS setup, and above the "controller bus", yada, yada.
  • During POST, it detects for IDE devices when AHCI is disabled in BIOS, yet it's as if it is still looking for AHCI devices on the next screen where it hangs itself at "controller bus", yada, yada.

Is this board toasted now? If not, what would be the best possible action to take in order to fully and completely flush out all the bad settings and set everything back to normal? What could possibly have caused this problem to occur? I mean beside bad Windows setup practice and bad BIOS programming? Please share your thoughts on this.

I am also curious to know where the so called option ROMs and the AHCI BIOS ROM sits physically on the board? Why is it called AHCI BIOS? It's a function of the chipset, is it not? It does not have a BIOS of it's own? In other words a firmware of it's own? How do you flush such a firmware, separately from the main BIOS?

I have not given up on this yet. But I would greatly appreciate if someone could give me some guidance, because I have no experience of BIOS modding, assembly programming and all the low-level stuff. Thanks in advance!
find
quote
#2
I have reviewed one of my videos clips that I took of the boot process, prior to attempting to installing Windows Vista and it appears that AHCI BIOS was being reported as not installed already, in RAID mode. So I don't know what to make of this now.

I flashed it with F8 BIOS today, but the problem remained. I then unplugged the power cord, cleared the CMOS by shorting the jumper pins for 60 seconds, just for good measure. I even removed the BIOS battery, and then held the power button for 60 seconds. Again, for good measure. I then waited for 10 to 15 minutes, replaced the battery, connect one SATA disk to port 0 and powered on.

After the initial POST, I got a CMOS checksum error! Like before, but I didn't note down the number so I don't know if it was the same. As before it asked me to select a profile or setting. I pressed F1 to continue as is, with defaults. I noticed the color on the prompt text box was different. It was blue or purple before. It was grey and black this time. I'm guessing they changed the color scheme between F8 and F9J BIOS. It also tells me that the flash process was successful. But the problem with AHCI still remains. It gets stuck when AHCI is enabled.

But here is some good news. Before I enabled AHCI, I pressed F12 to get the boot menu and chose to boot from the SATA disk drive. As I suspected, it booted right away. More still, Windows Vista setup progress status window appeared and it completed the installation. Then it rebooted, as part of the installation process I guess. I didn't want to find out and mess up the configuration with IDE/AHCI drivers, so I stopped the startup before reaching the bootmanager. But I am pretty confident that this thing will work, in IDE mode. But of course, I would much rather like to have AHCI mode back.
find
quote
#3
We all know that BIOS password is the first protection layer for our computer. So if there are something wrong with it. How can we do. I also wan to get the answers. Searching this problem on Google is the best choice for me.
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)