Announcement

Collapse
No announcement yet.

AHCI BIOS error 23 after enabling AHCI from IDE mode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AHCI BIOS error 23 after enabling AHCI from IDE mode

    Gigabyte GA-EP45-UD3P, rev1.6
    BIOS FE.

    I was trying to do a clean install of Windows 7 over the top of an existing Win7 install. Before starting the install, I switched the SATA controller to AHCI mode in the BIOS, but it wouldn't boot past the AHCI BIOS Screen, showing the following error:
    Serial ATA AHCI Bios, Version iSRC 1.20E
    Copyright (c) 2003-2008 Intel Corporation_________________________23
    ** This version supports only HardDisks & CDROM drives **
    Please wait. This will take a few seconds.

    Controller Bus#00, Device #1F, Function #02: 06 Ports, 04 Devices

    If I set the SATA controller to IDE mode in the BIOS I can then install Win7, but when I set the SATA controller back to AHCI mode, (after changing the registry keys for the AHCI driver in Win7) a reboot gives the same AHCI error:
    Serial ATA AHCI Bios, Version iSRC 1.20E
    Copyright (c) 2003-2008 Intel Corporation_________________________23
    ** This version supports only HardDisks & CDROM drives **
    Please wait. This will take a few seconds.

    Controller Bus#00, Device #1F, Function #02: 06 Ports, 04 Devices


    I have seen this same error posted on many other forums as well as Tweaktown, but haven't seen the resolution explained. Of most interest is sstalhman's post, but it doesn't quite explain how to fix it clearly enough that I can do it without being concerned about breaking everything.

    I assume I need to:
    • Use dskprobe or hxd to edit the partition table - how exactly?
    • Write down bytes 0x1C3 and 0x1C4 (they'll be 0xFE and 0xFF with one partition, something smaller on a dual partition setup; doesn't matter, they're not used for anything important other than crashing your BIOS) - are these the correct values that I'm looking for when I'm trying to FIX the problem?
    • Change these to something small: 0x06 and 0x05 will work nicely (giving you 7, 6, 5) - what should I change the values to when trying to FIX the problem?
    • Save and reboot in AHCI mode
    How do I go about fixing this please?


    PS. When are Gigabyte going to fix this problem???
    Last edited by thedriver; 10-27-2011, 09:32 PM. Reason: Added m'board model and BIOS.

  • #2
    Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

    did you do this? this is the way i enabled ahci in win7 after installing in ide mode

    boot up into ide mode and make the changes

    1. Startup "Regedit
    2. Open HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlset / Services
    3. Open msahci
    4. In the right field left click on "start" and go to Modify
    5. In the value Data field enter "0" and click "ok"
    6. exit "Regedit"
    7. Reboot Rig and enter BIOS (hold "Delete" key while Booting

    In your BIOS select "Integrated Peripherals" and OnChip PATA/SATA Devices. Now change SATA Mode to AHCI from IDE.

    You now boot into windows 7, the OS will recognize AHCI and install the devices.
    Gigabyte z77x UP4-TH F11c Modded Bios
    Intel i7 3770k 24/[email protected] 1.38v Turbo llc +0.165v dvid multithreading enabled
    Samsung Green(MV-3V4G3D/US) 8GB @2133mhz 9-10-10-21-1t 1.55v
    Thermalright Silver Arrow Cpu Cooler
    1xSamsung 840 pro 256 Gb SSD windows 8.1 pro 64bit
    1xSamsung f4 HD204UI 2tb hard drive Storage
    Powercolor 7970 3gb V3 @1150mhz core/1700mhz mem,1.150v Accelero aftermarket air cooler 55c max
    Razer Lycosa Keyboard
    Logitech X-530 5.1 Speakers
    Lite-On iHAS124-19 24x Sata DVDRW
    K-World Hybrid DVB-T 210SE Digital T.V Card
    L.G E2260V L.E.D 1920x1080 Monitor
    Xfx Pro 750w silver rated Psu 80+
    Fractal Arc Midi Case

    http://i38.tinypic.com/14myvfa.jpg x58 ud5 <=3.8ghz + 4.2ghz Overclock Template!!
    http://www.youtube.com/user/warren304#p/u Visit Me On Youtube

    Lots Of Gaming Videos With X58 Ud5 System And Gpu On My Youtube Channel!!
    Just Uploaded New Battlefield 4 Video!!!!!!!!!!!!!!!!!!!!!!

    Comment


    • #3
      Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

      what exact mother board do you have? Along with what bios is installed?

      Have you tried to set the controller to raid? Raid uses ahci also but maybe it will pass. You can leave set to raid with a stand alone disk.
      Main Rig
      Gigabyte z87x-OC
      Haswell i7 4770k - 4.7Ghz @ 1.330v LLC Extreme (L310B492)
      G.Skill F3-1700CL9D-8GBXM DDR3-2133mhz 9-11-10-28 1.65v @ 2800mhz 12-14-14-35 1.7v
      Samsung Green 8GB 2x4GB MV-3V4G3D/US DDR3 1.3v 30nn @ 2200Mhz 11-11-11-32 1.60v
      Sapphire ATI HD 7970 3GB clocked 1200MHz @ 1.181v.
      HiS ATI HD 6950
      Samsung 840 Pro 256GB SSD (boot Drive) on Intel sata3 controller port0
      Corsair Force GT 120 GB Sata3 SSD on Intel sata3 controller port1
      Samsung 320GB HD322GJ 7200 RPM 16M cache on Intel sata3 controller port2
      Sony Optiarc DVD-RW AD-7240S on Intel sata3 controller port5
      CORSAIR CMPSU-850TX PSU
      Swiftech MCP655-B Pump
      EK Supremacy Cpu Block
      Swiftech Mcres Micro Rev 2 Reservoir
      Black Ice GTX Xtreme 360 Radiator




      Comment


      • #4
        Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

        Originally posted by wazza300 View Post
        did you do this? this is the way i enabled ahci in win7 after installing in ide mode
        Thanks wazza300, yes that was the method I followed as I linked to the MS KB article.
        Anyway, this is a BIOS problem, NOT an OS problem. If I hadn't completed those steps in the OS, I would have either a BSOD or a boot loop.
        During boot the OS doesn't even start loading as it hangs on the AHCI BIOS as per the error.

        Originally posted by Acebmxer View Post
        what exact mother board do you have? Along with what bios is installed?
        Have you tried to set the controller to raid? Raid uses ahci also but maybe it will pass.
        Sorry, my bad, it's a Gigabyte GA-EP45-UD3P, rev1.6
        BIOS FE.
        No I haven't set it to RAID. I'm pretty sure the RAID BIOS is slower to boot than the AHCI and it's running as a HTPC so it's needs as quick a boot time as possible.

        Regardless, this is a fault with the BIOS that I need to be able to fix. There are heaps of posts from people with the same problem, but no instructions to fix it with the hex editor.
        Google - ahci isrc error 23
        Google - bios ahci hang error 23

        Further to this, after setting the SATA Controller to AHCI mode in the BIOS and trying to boot the OS, because the AHCI BIOS hangs, there is no way to re-enter the BIOS and change it back to IDE. You need to either disconnect the hard drives or clear the CMOS back to default. This happens because it goes through the POST checks including the AHCI BIOS before entering the BIOS configuration screen. Total pain in the ass!
        Last edited by thedriver; 10-27-2011, 09:35 PM. Reason: added additional info

        Comment


        • #5
          Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

          Originally posted by Acebmxer View Post
          Have you tried to set the controller to raid? Raid uses ahci also but maybe it will pass. You can leave set to raid with a stand alone disk.
          I just tried RAID mode on the SATA controller and get the same error on the SATA AHCI BIOS screen:
          Serial ATA AHCI Bios, Version iSRC 1.20E
          Copyright (c) 2003-2008 Intel Corporation****************** * * * * * * * 23
          ** This version supports only HardDisks & CDROM drives **
          Please wait. This will take a few seconds.

          Comment


          • #6
            Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

            Check out http://forums.tweaktown.com/gigabyte...tml#post381120, post #35 for the procedure I used to install win7 x64 on an empty ssd.
            There weren't any problems with AHCI enabled before I did a "custom" install on my P35-DS3L system.
            RST could not be installed because the ICH9 chipset is not supported.
            I hope this helps.
            Q9650 @ 4.10GHz [9x456MHz]
            P35-DS4 [rev: 2.0] ~ Bios: F14
            4x2GB OCZ Reaper PC2-8500 1094MHz @5-5-5-15
            MSI N460GTX Hawk Talon Attack (1GB) video card <---- SLI ---->
            Seasonic SS-660XP2 80 Plus Platinum psu (660w)
            WD Caviar Black WD6401AALS 640GB (data)
            Samsung 840 Pro 256GB SSD (boot)
            SLI @ 16/4 works when running HyperSLI
            Cooler Master 120XL Seidon push/pull AIO cpu water cooling
            Cooler Master HAF XB computer case (RC-902XB-KKN1)
            Asus VH242H 24" monitor [1920x1080]
            MSI N460GTX Hawk (1GB) video card
            Logitech Z-5500 Digital 5.1 Speakers
            win7 x64 sp1 Home Premium
            HT|Omega Claro plus+ sound card
            CyberPower CP1500PFCLCD UPS
            E6300 (R0) @ 3.504GHz [8x438MHz] ~~ P35-DS3L [rev: 1.0] ~ Bios: F9 ~~ 4x2GB Kingston HyperX T1 PC2-8500, 876MHz @4-4-4-10
            Seasonic X650 80+ gold psu (650w) ~~ Xigmatek Balder HDT 1283 cpu cooler ~~ Cooler Master CM 690 case (RC-690-KKN1-GP)
            Samsung 830 128GB SSD MZ-7PC128B/WW (boot) ~~ WD Caviar Black WD6401AALS 640GB (data) ~~ ZM-MFC2 fan controller
            HT|Omega Striker 7.1 sound card ~~ Asus VH242H monitor [1920x1080] ~~ Logitech Z-5500 Digital 5.1 Speakers
            win7 x64 sp1 Home Premium ~~ CyberPower CP1500PFCLCD U.P.S
            .

            Comment


            • #7
              Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

              Is your drive in SATA port 0?
              I was getting freezing on 23 (and other numbers) with an SSD in port 0 on my Z68X. Moving to port 1 stopped the problem occurring.

              Comment


              • #8
                Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                Originally posted by profJim View Post
                Check out http://forums.tweaktown.com/gigabyte...tml#post381120, post #35 for the procedure I used to install win7 x64 on an empty ssd.
                There weren't any problems with AHCI enabled before I did a "custom" install on my P35-DS3L system.
                The cause of this problem is the partitions on the disk and the way the AHCI BIOS reads the partition information. I noticed you created 5 partitions on your disk; I think this resolved the problem before it even started.

                Originally posted by ptruman View Post
                Is your drive in SATA port 0?
                I was getting freezing on 23 (and other numbers) with an SSD in port 0 on my Z68X. Moving to port 1 stopped the problem occurring.
                Interesting. Yes, my boot disk is on SATA port 0.

                POSSIBLE RESOLUTION:
                I have actually found a simple fix for the problem.
                I shrunk the Windows 7 System Reserved partition by 1MB to modify the partition information on the drive (I couldn't figure out how to do it with the hex editor).

                Open Computer Management, then go to Disk Management, select the 100MB System Reserved partition on the boot drive and right click and select Shrink Volume. then shrink the volume by just 1MB.

                I'd still like an actual solution to this (I've only applied a band aid fix).
                Even more, I'd like Gigabyte (and other vendors) to fix the problem with the BIOS to prevent this from happening in the first place.

                Comment


                • #9
                  Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                  Same thing, Just equal happens to me with an X48T-DQ6 when i first install an SSD Patriot in IDE mode. I have never find a solution, and Im still using this SSD in IDE for that reason. About your Fix, I check my Disk C and I c,ant see any partition there for shrink. Do not exist in my case, Why? I d,ont know

                  Last edited by ea3ot; 10-31-2011, 12:50 PM.
                  Asus PZ68-V Pro/Gen3
                  CPU INtel i7 2700k (4.5 ghz). Air Cooling
                  Phanteks tc-14 PE- 3 fans
                  SSD OCZ VERTEX 4- 128 gb Win 10 x64
                  1x 150 Gb HD Velociraptor
                  1x300 GB HD Velociraptor
                  1x500 GB W. Digital
                  2x4GB Samsung 32nm 2133. 9-10-10-28 1T.VDRAM 1.55 - VCCIO 1.05
                  PowerColor HD-7770
                  Sound Blaster X-FI Extreme Music
                  PSU. 750w Thermaltake
                  Dimastech Benchtable
                  Samsung LPS 27" S27D850T
                  https://www.facebook.com/media/set/?...4213100&type=3

                  Comment


                  • #10
                    Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                    Originally posted by ea3ot View Post
                    Same thing, Just equal happens to me with an X48T-DQ6 when i first install an SSD Patriot in IDE mode. I have never find a solution, and Im still using this SSD in IDE for that reason. About your Fix, I check my Disk C and I c,ant see any partition there for shrink. Do not exist in my case, Why? I d,ont know
                    Hi ea3ot,
                    You could try to shrink the volume of your C: drive by 1MB and see if that works, but I don't think it will.

                    Otherwise, if you have only recently installed Windows 7 on you Patriot SSD, then I would suggest reinstalling Windows on the SSD to create the correct partitions (including the System Reserved Recovery partition). Backup any data first then reinstall Windows. During the Windows installation process delete any partitions that exist on your Patriot SSD, then select the Patriot SSD as your installation location; do not create any partitions first.
                    The Windows installation process should create a 100MB System Reserved partition which you can later resize.
                    Windows will also automatically align the partitions on the SSD for optimum performance.

                    Please let us know how you go as there are a LOT of people out there that have this problem. But unfortunately, I haven't found any other answers.

                    Comment


                    • #11
                      Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                      First of all thanks for your help. I have dowlnload Parted Magic and I have made an ISO CD. With this CD I will make a Secure Earse of the SSD and clean my C:disk. Once it,s done, I will reboot in the Bios and change to ACHI and again reboot but this time with de W7 DVD. I hope that works. Need work. The problem as you say is switch from IDE to AHCI with no formatting., but if you formatt all must be run ok ( I hope).

                      Guide Secure Erase With bootable CD/USB Linux.. Point and Click Method
                      Asus PZ68-V Pro/Gen3
                      CPU INtel i7 2700k (4.5 ghz). Air Cooling
                      Phanteks tc-14 PE- 3 fans
                      SSD OCZ VERTEX 4- 128 gb Win 10 x64
                      1x 150 Gb HD Velociraptor
                      1x300 GB HD Velociraptor
                      1x500 GB W. Digital
                      2x4GB Samsung 32nm 2133. 9-10-10-28 1T.VDRAM 1.55 - VCCIO 1.05
                      PowerColor HD-7770
                      Sound Blaster X-FI Extreme Music
                      PSU. 750w Thermaltake
                      Dimastech Benchtable
                      Samsung LPS 27" S27D850T
                      https://www.facebook.com/media/set/?...4213100&type=3

                      Comment


                      • #12
                        Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                        Originally posted by ea3ot View Post
                        First of all thanks for your help. I have dowlnload Parted Magic and I have made an ISO CD. With this CD I will make a Secure Earse of the SSD and clean my C:disk. Once it,s done, I will reboot in the Bios and change to ACHI and again reboot but this time with de W7 DVD. I hope that works. Need work. The problem as you say is switch from IDE to AHCI with no formatting., but if you formatt all must be run ok ( I hope).
                        I wouldn't suggest using secure erase on an SSD. SSDs are not designed to be written to with such intensity, you will potentially shorten the life span of your SSD. Check with Patriot first what their recommendation is.
                        I would suggest just using the Windows installation to delete your partitions. You should see Windows create a 100MB system partition during the install.

                        Comment


                        • #13
                          Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                          Thanks for the advice... as you see this Guide is from the OCZ forums. I will check in Patriot web side. , And BTW, have you finally switch to ACHI reformatting or not?, and if u consider the long time and efforts of reformatting and loading all your sofwtare again that AHCI mode pay for all that heavy job ???
                          Last edited by ea3ot; 11-02-2011, 10:35 AM.
                          Asus PZ68-V Pro/Gen3
                          CPU INtel i7 2700k (4.5 ghz). Air Cooling
                          Phanteks tc-14 PE- 3 fans
                          SSD OCZ VERTEX 4- 128 gb Win 10 x64
                          1x 150 Gb HD Velociraptor
                          1x300 GB HD Velociraptor
                          1x500 GB W. Digital
                          2x4GB Samsung 32nm 2133. 9-10-10-28 1T.VDRAM 1.55 - VCCIO 1.05
                          PowerColor HD-7770
                          Sound Blaster X-FI Extreme Music
                          PSU. 750w Thermaltake
                          Dimastech Benchtable
                          Samsung LPS 27" S27D850T
                          https://www.facebook.com/media/set/?...4213100&type=3

                          Comment


                          • #14
                            Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                            For me, the main advantage to AHCI is the hot swap drive feature.
                            A web search using: ahci vs ide performance
                            will show that there are some benefits with each mode for consumer use. Servers with heavy use ahci mode.
                            Using secure erase before you reinstall the operating system resets your ssd to factory performance levels.
                            I don't have a problem with using secure erase, as long as it isn't used frequently.

                            I don't have a separate Recovery partition on my ssd because I formatted the drive to use all available space before I installed the operating system. My ssd has an inaccessible Recovery folder on the ssd. This setup requires a single partition backup image instead of having to backup two partition images each time. Both of my ssd boot drives have been trouble free, even though my backup system doesn't have AHCI because the N650SLI-DS4 has an Nvidia chipset.
                            Q9650 @ 4.10GHz [9x456MHz]
                            P35-DS4 [rev: 2.0] ~ Bios: F14
                            4x2GB OCZ Reaper PC2-8500 1094MHz @5-5-5-15
                            MSI N460GTX Hawk Talon Attack (1GB) video card <---- SLI ---->
                            Seasonic SS-660XP2 80 Plus Platinum psu (660w)
                            WD Caviar Black WD6401AALS 640GB (data)
                            Samsung 840 Pro 256GB SSD (boot)
                            SLI @ 16/4 works when running HyperSLI
                            Cooler Master 120XL Seidon push/pull AIO cpu water cooling
                            Cooler Master HAF XB computer case (RC-902XB-KKN1)
                            Asus VH242H 24" monitor [1920x1080]
                            MSI N460GTX Hawk (1GB) video card
                            Logitech Z-5500 Digital 5.1 Speakers
                            win7 x64 sp1 Home Premium
                            HT|Omega Claro plus+ sound card
                            CyberPower CP1500PFCLCD UPS
                            E6300 (R0) @ 3.504GHz [8x438MHz] ~~ P35-DS3L [rev: 1.0] ~ Bios: F9 ~~ 4x2GB Kingston HyperX T1 PC2-8500, 876MHz @4-4-4-10
                            Seasonic X650 80+ gold psu (650w) ~~ Xigmatek Balder HDT 1283 cpu cooler ~~ Cooler Master CM 690 case (RC-690-KKN1-GP)
                            Samsung 830 128GB SSD MZ-7PC128B/WW (boot) ~~ WD Caviar Black WD6401AALS 640GB (data) ~~ ZM-MFC2 fan controller
                            HT|Omega Striker 7.1 sound card ~~ Asus VH242H monitor [1920x1080] ~~ Logitech Z-5500 Digital 5.1 Speakers
                            win7 x64 sp1 Home Premium ~~ CyberPower CP1500PFCLCD U.P.S
                            .

                            Comment


                            • #15
                              Re: AHCI BIOS error 23 after enabling AHCI from IDE mode

                              Well, I finally use AHCI in the pc. . The SSD Disk benchmark is much better, by far than before in IDE. I did formatt , it was the only way in my case 1.5 days bussy with the PC...Next step soon will be change my old 775 to a new 1155, Around Christmas, Im still thinking what MB I gonna buy
                              Asus PZ68-V Pro/Gen3
                              CPU INtel i7 2700k (4.5 ghz). Air Cooling
                              Phanteks tc-14 PE- 3 fans
                              SSD OCZ VERTEX 4- 128 gb Win 10 x64
                              1x 150 Gb HD Velociraptor
                              1x300 GB HD Velociraptor
                              1x500 GB W. Digital
                              2x4GB Samsung 32nm 2133. 9-10-10-28 1T.VDRAM 1.55 - VCCIO 1.05
                              PowerColor HD-7770
                              Sound Blaster X-FI Extreme Music
                              PSU. 750w Thermaltake
                              Dimastech Benchtable
                              Samsung LPS 27" S27D850T
                              https://www.facebook.com/media/set/?...4213100&type=3

                              Comment

                              Working...
                              X