Skip to content
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

[ISSUE]: bdm hdd not listing games #1437

Open
2 tasks done
savor175 opened this issue Dec 30, 2024 · 9 comments
Open
2 tasks done

[ISSUE]: bdm hdd not listing games #1437

savor175 opened this issue Dec 30, 2024 · 9 comments
Labels

Comments

@savor175
Copy link

Checks

Describe the issue

When I enable HDD under BDM Devices the drive is detected, and the Games List shows GPT, but no games are listed.
The games are listed and playable with the same drive on grimdoomer's last build.
I am using the Sony HDD adapter with the Bitfunx SATA adapter.
Drive is a WD GReen 2TB WD20EARS.
Log from this debug build: https://github.com/ps2homebrew/Open-PS2-Loader/actions/runs/12545639174/artifacts/2371124263

UDPTTY loaded!
KPRTTY enabled!
	-- ID=52, ret=0
[IOPTRAP]:
ioptrap starts.
	-- ID=53, ret=0
[PS2LINK]:
initializing host
Thread id: ac3d7b
host: mounted
IOP cmd: Starting thread
IOP cmd thread started
Naplink thread started
 - PS2 Side application -
Waiting for connection
IOP cmd: Server Thread Started.
IOP cmd: Listening
	-- ID=54, ret=0
bdmEnumerateDevices
BDMSUPPORT Init
bdmInitDevicesData: setting device 0 invisible
Mass device: 0 (0) mass0: -> usb
BDMSUPPORT Init
bdmUpdateDeviceData: setting device 0 visible
bdmInitDevicesData: setting device 1 invisible
BDMSUPPORT Init
bdmInitDevicesData: setting device 2 invisible
BDMSUPPORT Init
bdmInitDevicesData: setting device 3 invisible
BDMSUPPORT Init
bdmInitDevicesData: setting device 4 invisible
bdmEnumerateDevices done
ETHSUPPORT Re-Init
THEMES Load theme path=(null)
THEMES Trying to set again theme: <OPL>
THEMES MutableImage main0: type: Background using cache pattern: (null) count: 1
bdmLoadBlockDeviceModules loading hdd drivers...
HDDSUPPORT LoadModules 0
[ATAD]:
ATA device driver v1.2 - Copyright (c) 2003 Marcus R. Brown
THEMES ItemsList main1: displaying 16 elems, item height: 306
THEMES MutableImage main3: type: GameImage using cache pattern: COV count: 10
THEMES MutableImage main4: type: GameImage using cache pattern: ICO count: 20
THEMES MutableImage main0: type: Background using cache pattern: (null) count: 1
THEMES Re-using the default texture for background
THEMES ItemsList main1: displaying 16 elems, item height: 306
THEMES MutableImage appsMain3: type: GameImage using cache pattern: COV count: 10
THEMES Re-using a cache for pattern COV
THEMES Re-using the default texture for cover
THEMES MutableImage appsMain4: type: GameImage using cache pattern: ICO count: 20
THEMES Re-using a cache for pattern ICO
THEMES MutableImage info0: type: Background using cache pattern: BG count: 1
THEMES MutableImage info8: type: AttributeImage using cache pattern: #Media
THEMES MutableImage info9: type: AttributeImage using cache pattern: #Format
THEMES MutableImage info10: type: AttributeImage using cache pattern: Vmode
THEMES MutableImage info11: type: AttributeImage using cache pattern: Aspect
THEMES MutableImage info12: type: AttributeImage using cache pattern: Scan
THEMES MutableImage info13: type: AttributeImage using cache pattern: Rating
THEMES MutableImage info14: type: AttributeImage using cache pattern: Device
THEMES MutableImage info15: type: GameImage using cache pattern: SCR count: 1
THEMES MutableImage info16: type: GameImage using cache pattern: SCR2 count: 1
THEMES Re-using the default texture for screen
THEMES MutableImage info0: type: Background using cache pattern: BG count: 1
THEMES Re-using a cache for pattern BG
THEMES Re-using the default texture for info
THEMES MutableImage info8: type: AttributeImage using cache pattern: #Media
THEMES Re-using a cache for pattern #Media
THEMES MutableImage info9: type: AttributeImage using cache pattern: #Format
THEMES Re-using a cache for pattern #Format
THEMES MutableImage info10: type: AttributeImage using cache pattern: Vmode
THEMES Re-using a cache for pattern Vmode
THEMES MutableImage info11: type: AttributeImage using cache pattern: Aspect
THEMES Re-using a cache for pattern Aspect
THEMES MutableImage info12: type: AttributeImage using cache pattern: Scan
THEMES Re-using a cache for pattern Scan
THEMES MutableImage info13: type: AttributeImage using cache pattern: Rating
THEMES Re-using a cache for pattern Rating
THEMES Re-using the default texture for Rating_0
THEMES MutableImage info14: type: AttributeImage using cache pattern: Device
THEMES Re-using a cache for pattern Device
THEMES MutableImage info15: type: GameImage using cache pattern: SCR count: 1
THEMES Re-using a cache for pattern SCR
THEMES Re-using the default texture for screen
THEMES Re-using the default texture for screen
THEMES MutableImage info16: type: GameImage using cache pattern: SCR2 count: 1
THEMES Re-using the default texture for screen
THEMES Re-using a cache for pattern SCR2
THEMES Re-using the default texture for screen
THEMES Re-using the default texture for screen
THEMES Number of cache: 5
THEMES Used height: 480
ETHSUPPORT ApplyConfig
BDM: connecting device ata0p0 id=0x0
atad: Driver loaded.
	-- ID=55, ret=0
[XHDD]:
	-- ID=56, ret=0
HDDSUPPORT LoadModules done
ETHSUPPORT ApplyConfig
nbnsFindName: 
Found MBR disk
Found partition type 0x83
BDM: connecting device ata0p1 id=0x83
BDM: ata0p0 mounted to MBR
BDM: ata0p1 mounted to fatfs
Mass device: 1 (0 LBA48 UDMA6) mass1: -> ata
bdmUpdateDeviceData: setting device 1 visible
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
THEMES Trying to set again theme: <OPL>
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510
atad: Error: Command error while doing DMA.
atad: Error: Command error status 0x51, error 0x84.
atad: error: ATA failed, -510

Console model

SCPH-50004

OPL version / revision

OPNPS2LD-v1.2.0-Beta-2194-a626d98

In which device(s) have you experienced this issue?

HDD

Context and extra information

No response

@savor175 savor175 added the bug label Dec 30, 2024
@Jaajees
Copy link

Jaajees commented Dec 30, 2024

From what I've been told, this feature was implemented very early, It wasn't ready yet
But it will probably be fixed soon

@AKuHAK
Copy link
Member

AKuHAK commented Jan 2, 2025

@KrahJohlito

@jusefn
Copy link

jusefn commented Jan 16, 2025

Issue still persists with the latest build of OPL 2197

Games are not listed if they are located in an exfat partition of an APA-Jail formatted drive.

I do believe this is an issue that may be able to get resolved as for example NHDDL (OPL-like interface for Neutrino) is able to list and start the games located on the exfat partition

There are also issues with blackscreen (if config doesn't exist) and missing input (if config already exists on mc) when starting the latest OPL but that would have to be reported in a separate issue

@CosmicScale
Copy link
Contributor

I'll just note that this issue doesn't affect all HDDs/SSDs. Trying a different drive often resolves the problem. The affected drives appear to work fine with Neutrino and Grimdoomer's OPL, suggesting the issue is isolated to the current exFAT implementation in OPL.

@iGom
Copy link

iGom commented Jan 19, 2025

There are also issues with blackscreen (if config doesn't exist) and missing input (if config already exists on mc) when starting the latest OPL but that would have to be reported in a separate issue

I started having the exact same issues after booting up the 2199, even though the 2197 was working fine for me prior to booting the 2199, all on the same EXFAT SSD.

Grim fork still works just fine.

EDIT:

so from my testing:

2194 [run_2031] (the last one) works just fine every time

2197 [run_2047 to 2058] works just fine every time 

2197 [run_2059 to 2068] freezing on main menu/black screen

2199 [all builds] freezing on main menu/black screen


@jusefn
Copy link

jusefn commented Jan 21, 2025

Yeah i can confirm Grim fork works fine with detecting and loading games from the exfat partition

SSD:
fanxiang SATA SSD S101 500GB

SATA adapter:
"Demeras SATA Adapter for PS2 Upgrade Card for PS2-IDE Original Network Adapter Large Capacity for SATA Hard Drive Adapter"

@real-isidore
Copy link

I also cannot load games from OPL or from PSBBN, goes to black screen when trying to load PSBBN games that otherwise seem to install fine and show up in the games list on the PS2. I get nothing in the actual OPL BDM or HDD games list though.

Tried deleting OPL config on memory card, reinstalling everything to HDD, I've tried a Kingston HDD and a Seagate HDD and nothing will allow stuff to load from exfat. Turned BDM devices to auto, saved config, restarted, no game list. Restarted PS2 between all these steps above too.

Can't boot CD or DVD PS2 games from HDD here, get black screen. Was able to load games with FreeMCBoot + OPL + WinHIIP installations before with the same drives. My ethernet is working fine on the adapter if it makes any difference, can do things online with the PS2.

Model: SCPH-50001
Official Sony network adapter with BitFunx IDE->SATA mod

@CosmicScale
Copy link
Contributor

Model: SCPH-50001 Official Sony network adapter with BitFunx IDE->SATA mod

Most reports of this problem seem to be coming from people using the BitFunx SATA mod with an official Sony Network Adapter. I've got a Kiaco SATA mod in my official adapter and it works without issue. Also the BitFunx mod seems to work fine with Grimdoomer's exFAT OPL and Neutrino.

@Lyokanthrope
Copy link

I also seem to be afflicted by this, SCPH-39001 console with a Sony official SCPH-10281 network adapter and a BitFunx IDE <-> SATA mod.

I've tried using GrimDoomer's OPL fork from a while back and that seemed to work okay, haven't tried Neutrino yet due to limited time.
I use network functionality enough that a Kaico SATA adapter isn't an option for me, so I'd love to see this fixed upstream.
(unless you can just take the board out of that thing and hook it up to the Sony adapter? All I can find is the unit that takes the place of the Sony network adapter...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants