Emu68-tools icon indicating copy to clipboard operation
Emu68-tools copied to clipboard

Using block size of 32768 with FFS causes system to crash with brmc-sdhc.device

Open JimDrewGH opened this issue 2 years ago • 2 comments

I am not sure if this is actually related to the device driver itself or not, but trying to format a partition with a 32768 block size under FFS causes a GURU as soon as the format starts. Using block sizes of 512, 4096, and 8192 all work fine. I did not try 16384.

I was able to successfully use a block size of 32768 under WinUAE with the same SD card.

JimDrewGH avatar Jul 26 '22 05:07 JimDrewGH

What is the capacity of your SD Card?

I am using a 32GB compact flash card formatted to FFS in 3 partitions - 4GB System, 8GB Demos, 8GB Games and the rest Work partition. I am using block sizes of 4096 and using 100 buffers for system partition, 300 buffers for other partitions. Have you checked the maxfiletransfer? If you are using a SD or CF Card it is recommended to use 0x01FE00. Higher values can cause problems. I am using Workbench 3.2 and get great performance of 3.2MB/s read/write PIO Mode 0 IDE.

This article might be of help to you - https://eab.abime.net/showthread.php?t=32256

Regards, Alexander.

Tallguy297 avatar Aug 01 '22 04:08 Tallguy297

32GB SD card. I have 9 partitions, DH0, DH1, DH3, DH4 are 300MB each. DH2 is 600MB, DH5 is 4000MB, MAC is 2000MB, PC is 2000MB, and DH6 is 19.1GB.

This bug report is just for having a block size of 32768. I am not having any issues with ANY block size except 32768 with EMU68. 32768 crashes the emulation the moment it starts up trying to read the SD card. If I put the same SD card into my PC and use WinUAE, it works fine even with a 32768 block size.

JimDrewGH avatar Aug 02 '22 06:08 JimDrewGH