-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASRock z-170 k4/d3 sata controller not being initialized correctly when enable "above 4g mmio bios assignment" #38
Comments
yes I have met similar situation with him,can not extract DTST from AmiBoardInfo2.I have bought one ch341a ,meybe it will cost two days from online store to me |
DSDT is in |
Do you use this mb? Or just made modifications? What you changed in dsdt? |
i dont use this mb but i've done several dsdt fix on asrock boards (yes they're just pAWJPASJd;JDp[ to fix sometimes) and no, i dont slap other board DSDT on this bios |
Is there coffee lake mod? Because @jnyk use i7-8700 |
But there is already qwordfield in dsdt in this board. I'm 90% sure that there is no need to patch uefi not dsdt. I will make bios without patching |
@jnyk here you could try this bios, dsdt patched, uefipatched. Just enable Above 4G like usual, the one that made windows hang/freeze. see if it's working with this bios. this one is modded non coffee lake bios: |
Please, make one without any patches. |
He could test it and if it's working it could be the DSDT faulty? he's the one testing it. if anything went good then DSDT was the one causing it, if its not, then it wasnt it, simple. Even if everything seems to be in place, sometimes it's just sketchy XD |
As I mentioned, I've compared dsdt from similar ASRock mb - they are +/- same (identical in qwordfield and m1.. parts) |
let him reply first okay? he's the one testing |
thanks @Koekieezz .I'm working now , may not be able to reply to a message promptly. |
By the way ,I try to patched UEFI to my bios last night.After I flashed the ROM whitch I patched into mainboard, windows can be used as usually, but when i insert the usb disk , it could not start windows system, utill i remove the usb disk |
@Koekieezz is it secret, what you changed? i'm asking because stock dsdt and from your file - completely same |
no.. both files have 0x7FFFFFFFFF on 1st qwordfield, and for the rbarcfl one have acpi fix on dsdt then apply the dsdt patch |
I`ve attached screenshot of files compare. only difference is disassembling by iasl |
@Koekieezz I just instant flash the bios , |
Ch341a you need to use in case of major failure |
try this one |
i flash this bios with ch341a ,but It's still the same as before |
@dormancygrace ok I‘ll try it |
i have 2 bioses attached 12h ago, they have different dsdt from normal ones, its this one: z17gkd37rbarcfl.zip, check em again |
@dormancygrace It's still the same as before . start my conputer can't find any disk drive except usb disk ,and can not inter into |
are you sure it's the correct bios? since i had some edits and deleted the first reply, the correct one have 2 files in 1 post. its this z17gkd37rbarcfl.zip one to use if you had the wrong one. try modgrub method to enable it and see if it's working. this is similiar to this guy on winraid, he managed to enable it. Here is your above 4g: So try to do setup_var or setup_var_3 0x385 0x0, reboot (type it and enter), then 0x385 0x1, reboot (type it and enter). |
@Koekieezz yes wo download this z17gkd37rbarcfl.zip one i can not find disk drive untill setup_var 0x385 0 |
your mean is i need try to setup_var 0x385 1 gagin? |
should I use the "setup_var_cv PCI_COMMON 0x3 0x1 0x1" command? |
@psyborg55 I think this command can not work , mybe |
It shows on screen it is working, set from 0x00 to 0x01. |
i reported this issue to Asrock Tech Support,and they replied in like 15 mins.they sent me a new bios 7.50A and told me "we have added Above 4G Decoding in it".i haven't tested it yet,but i think maybe contact your mb's manufacturer isn't a bad idea. |
@Sortoftired thank you it's a nice idea, I'll try to connect Asrock Tech Support |
i'm sorry to tell u that after several mails between me and asrock guys they determined it was some bug in kernel codes,and since it's an 7 yrs old mb,they told me they have no bios update plan on this any time soon. |
@Sortoftired did they atleast mention the module with the problem ? So that we can try swapping it ? |
@Sortoftired Also can you tell device/vendor ID of SATA controller ? I figured out it's possible to make a patch to force it to be allocated in 32-bit space that will probably fix it |
@xCuri0 no they didn't. |
@Sortoftired I'm taking about the broken Intel SATA controller. I can add it to 64-bit BAR blacklist in PciBus module with a patch. Also do your USB 3.0 ports work in BIOS with 4G decoding ? They don't work for me because of a similar issue where UEFI driver doesn't function properly with 64-bit BAR (although it works in OS here) |
@xCuri0 i haven't tested yet but i think it's the same situation with usb 3.0 ports.my mb has thirdparty usb chips ASMedia ASM1142,and work properly in BIOS with 4G decoding.but i haven't tested usb ports on intel z170 chipsets. |
@xCuri0 i have booted win10 from ASMedia ASM1061 sata controllers,it takes a lot more time than usual.and in device manager there are disks connected to broken sata ports,and disk manager says they haven't been initialized. |
@Sortoftired Can you show a screenshot of Device Manager, View->Resources by type and expand memory scroll to bottom ? And also Intel SATA Controller device IDs |
@xCuri0 i was just about to lol |
@xCuri0 now i'm going to reboot to normal state to check the device id |
@xCuri0 would that be enough for now?cause i have to go to work at 2pm |
@Sortoftired yeah it should be for the SATA issue |
You can try this patch
I made it originally for Intel 7 Series USB 3.0 Controller but I just changed device id here for Intel Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller |
@xCuri0 ok,thanks |
Screenshot doesn't show Intel SATA Controller in 64-bit space, guess it's another issue then (unless the device is hidden for some reason) |
@xCuri0 maybe standard sata ahci controller is Intel SATA Controller?the name was because of the chipset driver installed |
it's in 32-bit range, it should be fine if the cause of issue is 64-bit Intel SATA controller |
I seem to be affected by this too on my ASRock Z170 K4/D3. ReBAR seems to be working fine (despite the DSDT range check suggesting otherwise?), but SATA drives don't show up. Flash drives and even USB Sata adapters work fine and I can load up Linux Mint using those without issues, although it's obviously noticably slower. Windows doesn't boot like that, but I suppose it just doesn't like the adapter I'm using. It's worth mentioning that I'm also using the coffee lake mod with an 8700k. The vars I had to set to I'll try to contact ASRock support and ask for a BIOS version with Above 4G support "properly" added/enabled in the BIOS settings, since that seems to have worked for someone else in here. Is there anything that can be done to fix this issue though? I saw a patch further up in this thread, but that seems to just blacklist the controller entirely to avoid some other issues. Anything I can do or any information I can provide to help get this resolved? Thanks! |
Looks like the M.2 slot still works fine. I'll order a PCIe SATA card and see if that one works fine too. If it does, I guess I'll use that as a workaround for the time being. |
A PCIe SATA card does indeed work, so that's nice. In addition to that, disabling the onboard SATA controller under I'll just use the board like that for now. For reference, the PCIe SATA card I got is the Delock 90431. It only has 2 ports compared to the 8 on the board, but that's enough for me for the time being and is certainly better than 0. I'd still love to get the onboard controller working, so if there are any patches try, please let me know. |
Hi. nide help. how to Above 4G support "properly" added/enabled in the BIOS settings and add resize bar in my asrock Z170 Extreme7+? |
Simply follow the guide: https://github.com/xCuri0/ReBarUEFI/wiki This issue here is specifically about a SATA problem on a different board entirely. |
Motherboard: ASRock z-170 k4/d3
GPU: 6700xt
CPU: 8700k
I can't open the "above 4g decoding" or "above 4g mmio bios assignment"
when I turn this to enable ,it can't work, can't into windows system ,because bios can not find any sata drives
then when i try to use modGRUBShell.efi
setup_var 0x3 0x0
reboot
setup_var 0x3 0x1
but there is nothing happend
It makes me very depressed. Can you give me some suggestions
Originally posted by @jnyk in #11 (comment)
The text was updated successfully, but these errors were encountered: