RedPill-TTG / redpill-load

RedPill Loader Generator
GNU General Public License v3.0
745 stars 553 forks source link

Can't load installer: We have detected errors on HDD 1,3,4 #23

Open maxhartung opened 3 years ago

maxhartung commented 3 years ago

Hi,

I have an HP EliteBook 840 G2 with one SATA Controller (Intel WildPoint SATA Controller) which has 2 ports: one standard SATA and one PCIe/M2 which uses also SATA protocol (it's not NVMe). Basically 2 SATA ports.

When I try to install I get something like this: We have detected errors on the hard drives 1,3,4

Tried: DiskIdxMap=00 SataPortMap=4 -> We have detected errors on the hard drives 1,3,4 Tried: DiskIdxMap=00 SataPortMap=3 -> We have detected errors on the hard drives 1,3 Tried: DiskIdxMap=00 SataPortMap=2 -> We have detected errors on the hard drives 1 Tried: DiskIdxMap=00 SataPortMap=1 -> No drives detected Tried: DiskIdxMap=00 SataPortMap=0 -> not loading/no network

Tried: DiskIdxMap=00 SataPortMap=1 SasIdxMap=0 -> No drives detected Tried: DiskIdxMap=00 SataPortMap=2 SasIdxMap=0 -> We have detected errors on the hard drives 1

Tried: DiskIdxMap=01 SataPortMap=1 -> No drives detected Tried: DiskIdxMap=01 SataPortMap=2 -> We have detected errors on the hard drives 2

From Linux

Wildcat Point-LP SATA Controller [AHCI Mode] ID 0000:00:1f.2 Device ID 0x9c83 Vendor ID 0x8086 Function 0x2 Bus 0x0 Vendor Name Intel Corporation Class ID 0x106 Subdevice ID 0x2216 Subvendor ID 0x103c Slot 0x1f

On Juno's bootloader it works without mapping and the disks are detected as Disk 2 and Disk 4.

jcwlim commented 3 years ago

Try, DiskIdxMap=02 SataPortMap=22 SasIdxMap=0 or DiskIdxMap=0204 SataPortMap=11 SasIdxMap=0

maxhartung commented 3 years ago

DiskIdxMap=02 SataPortMap=22 SasIdxMap=0: We detected errors on HDD (3) DiskIdxMap=0204 SataPortMap=11 SasIdxMap=0: No drives inserted

jcwlim commented 3 years ago

You have 2 HDD right? and your board also have only 2 SATA port correct? do you able to check in Jun's loader, it is mount at what /dev/sd(x)?? With that, maybe we can find the problem..

maxhartung commented 3 years ago

You have 2 HDD right? and your board also have only 2 SATA port correct? do you able to check in Jun's loader, it is mount at what /dev/sd(x)?? With that, maybe we can find the problem..

Yes, 2 SSDs. I have attached the output of fdisk and lspci

fdisk output.txt.txt

lspci_output.txt

From what I see we got:

/dev/sdb and /dev/sdd

jcwlim commented 3 years ago

This is a bit weird, why doesn't the drive in Jun's loader mapped as sda instead... DiskIdxMap=00010203 SataPortMap=0101, and don't need to put SasIdxMap=0 I know the above configuration doesn't seem to make sense but just a try... :)

maxhartung commented 3 years ago

This is a bit weird, why doesn't the drive in Jun's loader mapped as sda instead... DiskIdxMap=00010203 SataPortMap=0101, and don't need to put SasIdxMap=0 I know the above configuration doesn't seem to make sense but just a try... :)

No network/ Not loading with this configuration. For me it's strange too.

I have some DSDT dump from Hackintosh world. That can help ?

jcwlim commented 3 years ago

Can you check your BIOS setting? I check this laptop spec it seem like support "hybrid" storage, not sure if this is the case... Sorry, can't help more...

maxhartung commented 3 years ago

Can you check your BIOS setting? I check this laptop spec it seem like support "hybrid" storage, not sure if this is the case... Sorry, can't help more...

I don’t have such an option unfortunately

@ttg-public any ideas?

dhlsam commented 3 years ago

I have the same problem, bare metal install 918+ 7.01 , without any DiskIdxMap/SataPortMap args ,after finding IP with synologyassistant .it said We have detected errors on HDD 2,Tried: DiskIdxMap=00 SataPortMap=1 SasIdxMap=0 -> No drives detected.

z370nwifi motherboard,4 sata port and two nvme port on board(one of m.2 support both pcie/sata protocol) only one sata controller, and in bois setting,sata port no. starting from sata2-sata5. I think sata0,and sata1 is disabled by default, how can I hide sata0,sata1 with DiskIdxMap/SataPortMap args in 6.2.3 4 sata hdd output of fdisk: /dev/sdc- disk3 /dev/sdd- disk4 /dev/sde- disk5 /dev/sdf- disk6

devid79 commented 2 years ago

i have the same problem with 3615xs on HP z230

I have HP Z230 with this configuration

Intel Xeon e5-1225 v3 32 GB DDR3 1600MHZ 6 port SATA 0,1,2,3,4,5 BIos L51 v01.63

i use for image the last ./redpill_tool_chain.sh auto bromolow-7.0.1-42218

############################################# filename: /opt/redpill-lkm/redpill.ko license: GPL version: v0.5-at-2021_11_22-10_25_50 author: TTG retpoline: Y srcversion: 9D5817BD80754EFE921A0AC depends: vermagic: 3.10.108 SMP mod_unload #############################################

with this user_config.json

############################################# Using user_config.json: { "extra_cmdline": { "pid": "0x0951", "vid": "0x1607", "netif_num": "4", "sn": "1610LWN022200", "mac1": "001132xxxxxx", "mac2": "001132xxxxxx", "mac3": "001132xxxxxx", "mac4": "001132xxxxxx" }, "synoinfo": { "maxlanport": "4", }, "ramdisk_copy": {}, "extensions": [] }#############################################

}############################################# /opt/redpill-load /opt [#] Checking runtime for required tools... [OK] [#] Updating extensions...

[#] Checking runtime for required tools... [OK] [#] Extension thethorgroup.boot-wait is already installed from https://raw.githubusercontent.com/tossp/rp-ext/master/redpill-boot-wait/rpext-index.json [#] Checking runtime for required tools... [OK] [#] Updating thethorgroup.boot-wait extension... [#] Downloading remote file https://raw.githubusercontent.com/tossp/rp-ext/master/redpill-boot-wait/rpext-index.json to /opt/redpill-load/custom/extensions/_new_ext_index.tmp_json ######################################################################## 100.0%

[#] Extension thethorgroup.boot-wait index is already up to date [#] Updating thethorgroup.boot-wait extension... [OK] [#] Checking runtime for required tools... [OK] [#] Updating ds3615xs_42218 platforms extensions... [#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/recipes/universal.json to /opt/redpill-load/custom/extensions/_ext_new_rcp.tmp_json ######################################################################## 100.0%

[#] Extension thethorgroup.boot-wait for ds3615xs_42218 platform is already up to date [#] Updating ds3615xs_42218 platforms extensions... [OK] [#] Updating extensions... [OK] [#] Verifying /opt/redpill-load/cache/ds3615xs_42218.pat file... [OK] [#] Unpacking /opt/redpill-load/cache/ds3615xs_42218.pat file to /opt/redpill-load/build/1637576756/pat-ds3615xs_42218-unpacked... [OK] [#] Verifying /opt/redpill-load/build/1637576756/pat-ds3615xs_42218-unpacked/zImage file... [OK] [#] Patching /opt/redpill-load/build/1637576756/pat-ds3615xs_42218-unpacked/zImage to /opt/redpill-load/build/1637576756/zImage-patched... [OK] [#] Verifying /opt/redpill-load/build/1637576756/pat-ds3615xs_42218-unpacked/rd.gz file... [OK] [#] Unpacking /opt/redpill-load/build/1637576756/pat-ds3615xs_42218-unpacked/rd.gz file to /opt/redpill-load/build/1637576756/rd-ds3615xs_42218-unpacked... [OK] [#] Apply patches to /opt/redpill-load/build/1637576756/rd-ds3615xs_42218-unpacked... [OK] [#] Patching config files in ramdisk... [OK] [#] Adding OS config patching... [OK] [#] Repacking ramdisk to /opt/redpill-load/build/1637576756/rd-patched-ds3615xs_42218.gz... [OK] [#] Bundling extensions... [#] Checking runtime for required tools... [OK] [#] Dumping ds3615xs_42218 platform extensions to /opt/redpill-load/build/1637576756/custom-initrd/exts... [OK] [#] Packing custom ramdisk layer to /opt/redpill-load/build/1637576756/custom.gz... [OK] [#] Generating GRUB config... [OK] [#] Creating loader image at /opt/redpill-load/images/redpill-DS3615xs_7.0.1-42218_b1637576756.img... [OK] [#] Cleaning up... [OK]

the image start and open webconfiguration to ip:5000 but the problem is this

hard disk errors were detected(2,3,4,5) ; sata ports have been disabled.

Help me Please🙏