English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 21 July 2018, 23:39   #1
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 253
16GB SanDisk Ultra - Problems setting it up/booting in WinUAE4

Those CF cards seem to report non-standard CHS-value, HDInstTools in real amiga reports 111762 cyl / 280 blocks / 1 head, hence >15GB drive with unpatched scsi.device. Scsi.device is supposed to accept drives up to 128GB this way.

I used A1200 to set up the partitions covering the whole disk (PFS3aio), formatting all partitions, and copying a test-boot setup to all of them, and it boots ok, with all partitions visible.

But when inserting it into CF card reader, and adding it as a hard disk into WinUAE, it is recognized as a rdb disk, but maximum std.CHS values (16383/16/63), 8063.5MB / 15280MB). It wont boot with this geometry set, and if I try and insert manually the values reported by HDInstTools on the A1200, it says too many cyls and still do not work.

If I juggle the numbers around, it still wont work correctly, and at one point it attempted booting, but with the immediate pfs notification that TD64 and directscsi failed.

Is there a way to configure the CF card in WinUAE to act the same as on my A1200?

Thanks for any suggestions.
Yulquen74 is offline  
Old 22 July 2018, 08:47   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
That is not real CHS value. Partitioning programs simply generate (at least hdinsttools) logical geometry using some algorithm, physical geometry does not exist (except when using floppies). And that is really stupid geometry value anyway because Cylinder number is over 65535, I guess hdinsttools simply got confused with very large values. Most likely it causes no harm. Unless actual partion(s) logical geometry also have cyl>65535 which would make it OS3.9+ (at least if using FFS) only compatible. HDToolBox should be more sane.

WinUAE can't detect real CHS values because none (at least none so far tested) CF adapters do not support ATA passthrough which is needed to read the required identity data. Some chipsets (mainly jmicron and realtek) have vendor specific commands that WinUAE supports.

You can use: http://www.winuae.net/files/b/idequery.zip to get real CHS geometry (only works in A600/A1200 IDE, must be master)

Option 1: find the real CHS geometry and tick manual geometry checkbox and type correct CHS geometry.

Option 2: Don't bother with IDE emulation and use UAE controller. Unless you really want all IDE specific side-effects emulated.

Note that "physical geometry" is irrelevant when using normal RDB partitioned drives. Except in case of A600/A1200/A4000 IDE where it causes nice side-effect of enabling "large" drives, but it does not really matter with SCSI or UAE controllers.

Hopefullly this wasn't too confusing

32G Sandisk CHS = 62041/16/63. So 16G probably is 31xxx/16/63 or something like that.
Toni Wilen is offline  
Old 22 July 2018, 10:34   #3
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 253
Thanks, makes perfect sense, I suspected the HDInstTools CHS parameters was altered, but at least the product of the altered CHS parameters are the same as with the real values.

Your tool reported 31045/16/63, and when inserting it into drive parameters, it worked just fine, UAE controller also.

Out of curiosity: Which of the flags Last unit/Last TID/Last LUN has any relevance for IDE-disks? LUN if i remember correctly is for old SCSI stuff.

The reason I ask, if I add 2 CF cards via 2 CF adapters, using unit 0 and 1 of IDE emulation, only the partitions of the first one appear, although both disks are visible in HDInstTools.

If I try and clear the Last unit/Last LUN flags of the first CF card, save and reset, they are still set after reboot.

Is this (yet another) issue with HDInstTools?

This is not a problem though, if I add the second card using UAE device, the partitions all appear.
Yulquen74 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FS] Amiga 256MB RAM (2x128MB 50ns) for Blizzard PPC / MKIV Ultra Short / Ultra Thin Seaside MarketPlace 0 01 November 2017 21:19
transcend pcmcia adapter and 16gb sandisk ultra a1200 cant see cypher007 support.Hardware 19 31 January 2017 23:09
Help setting up 16GB micro SD card in WinUAE for use in Amiga 3000 WeiXing3D support.WinUAE 2 12 March 2016 22:26
CF Card doesn't work... (Sandisk Ultra 8GB 50 MB/S) opossumita support.Hardware 27 21 November 2014 12:41
Sandisk ultra II, will it work? tnk2k support.Hardware 3 17 June 2008 17:03

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:15.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06915 seconds with 15 queries