English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 14 September 2015, 20:25   #1
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Alfapower A500 oktapussy IDE patch - CF not visible in WINUAE

Hi,

I have an Alfapower for my A500 like this one:
http://amiga.resource.cx/exp/alfapower

The rom on it is 6.10 and i have a KS 2.04 and classic WB Gaae.
I have a transcend 4gb CF splited in 2 partitions of 2gb because i can't have one partition with 4gb (read errors). Only the first partition can be formated with FFS 37.26, the second partition can't be formated (error message=>NDOS drive). I've tried with PSF3AIO with no succes (PSF3 requestor: can't read block) but PSF3 worked on my previous 2Gb CF on the same alfapower.

I have setted winuae with the expansion alfapower with rom 6.10 and the hardrive is setted on alfapower. All is working great on real A500 and on winuae but i wanted to solve my problem of 2nd partition so i've tried oktapussy ide patch (used to have large drive):
http://aminet.net/package/disk/misc/oktapus

I have patched the RDB and it seems to work(4th method in the documentation). As describded in the documentation, the oktagon.device is then renamed to scsi.device. After that, winuae can't see the CF anymore. I've tried to change the properties of the CF to UAE, SCSI(auto) with no success.

If anyone can help me it would be great thanks!

Last edited by oissery77; 14 September 2015 at 22:00.
oissery77 is offline  
Old 14 September 2015, 21:43   #2
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Doesn't WinUAE need the Alfpower SCSI selected with the rom for the CF to be recognised?

If you use an A590 you have to select the SCSI controller + rom for that so the Alfapower should be the same.
Arnie is offline  
Old 14 September 2015, 21:54   #3
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Thanks Arnie, yes i have alfapower selected with the rom and have changed the property on the hardrive too. So I wanted to reverse the patch on the real amiga (i have patched and revert this patch before on the A500). I precise that this time i've patched the rdb with winuae and now the Cf is not booting anymore /. My fault is certainly to have ptched the rdb in winuae.
if i boot into Workbench 2.1 with floppy i don't see the drive, is there a way to rollback this rdb update or may i format the drive ?

Last edited by oissery77; 14 September 2015 at 22:03.
oissery77 is offline  
Old 14 September 2015, 21:57   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by oissery77 View Post
I have a transcend 4gb CF splited in 2 partitions of 2gb because i can't have one partition with 4gb (read errors).
I think you only hide the error if using 2 partitions "fixes" it..

Quote:
I've tried with PSF3AIO with no succes (PSF3 requestor: can't read block) but PSF3 worked on my previous 2Gb CF on the same alfapower.
Sounds like driver limit. IDE controllers usually have limited direct scsi emulation support. (Sometimes just enough to make hdtoolbox work)

Quote:
4th method in the documentation
Documentation does not mention what happens if hardware has ROM scsi.device (IDE).

What do you get if you type "version full scsi.device" in shell?
Toni Wilen is online now  
Old 14 September 2015, 21:59   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by oissery77 View Post
if i boot wb with floppy i don't see the drive, i hope i don't have to re format the Cf ...
What was the exact command line you use to install the driver? (#4 method). Can you still use same command to remove the driver?

Not seeing partitions does not mean drive is not detected.

EDIT: You should have created hdf image first and use it to test what happens. In worst case only RDB is corrupted, partitions are 99.9% surely still 100% intact.
Toni Wilen is online now  
Old 14 September 2015, 22:10   #6
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Hello Toni.

Here is the command line:
Driveinit oktagon.device 0 sys:expansion/at
Then the shell's log tells me that all is done.

I have done this test before on my 500 and I have succed to revert this with:
Driveinit scsi.device 0

And after reboot the device is again oktogon.device.

My problem is that i can't boot on the cf in the 500or in winuae now...
oissery77 is offline  
Old 14 September 2015, 22:14   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Does the drive appear in hdtoolbox? (if it asks to save changes, don't do it) ("hdtoolbox oktagon.device")

Does it work in WinUAE if you mount it as UAE controller harddrive? If not, log probably shows what is going wrong with RDB parsing.
Toni Wilen is online now  
Old 14 September 2015, 22:28   #8
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
i have hdinstool on floppy (the soft which comes with the alfapower) and i see the CF on my A500, i've quited witout saving.
here is a picture:
http://hpics.li/ed4133c

i will see the log in winuae now.

EDIT:
test made with winuae 3.1.0, if the hardrive is set to IDE the CF doesn't boot, here is the winuae log
winuaebootlog.txt

Last edited by oissery77; 14 September 2015 at 22:43.
oissery77 is offline  
Old 14 September 2015, 22:48   #9
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
@ oissery77

Just a quick question:
Is there a HD drive size limit?
I tried to use the adf disk you linked to and it wont read the HDF properly (40mb). HDInstall is all but greyed out except the setup tab. Using the 6.0 rom shows no HD at all.

I used A500+ default config.
Arnie is offline  
Old 14 September 2015, 22:52   #10
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Quote:
Originally Posted by Arnie View Post
@ oissery77

Just a quick question:
Is there a HD drive size limit?
I tried to use the adf disk you linked to and it wont read the HDF properly (40mb). HDInstall is all but greyed out except the setup tab. Using the 6.0 rom shows no HD at all.

I used A500+ default config.
Normaly there's a drive limit of 4go and 2go for a partition and HDinstallTools does work on the real hardware but i've dont tested it on winuae
oissery77 is offline  
Old 14 September 2015, 22:54   #11
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Quote:
Originally Posted by Toni Wilen View Post

Documentation does not mention what happens if hardware has ROM scsi.device (IDE).
about this, at the end of the documentation there is just :
"1. Once the new driver is installed, the device names are different!

Device names are now scsi.device, 2nd.scsi.device, 3rd.scsi.device, ... This makes the use of HDToolBox much easier!"
oissery77 is offline  
Old 14 September 2015, 22:55   #12
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Ah O.K. One for you to check out, Toni.
Arnie is offline  
Old 14 September 2015, 23:24   #13
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Quote:
Originally Posted by Toni Wilen View Post
I think you only hide the error if using 2 partitions "fixes" it..



Sounds like driver limit. IDE controllers usually have limited direct scsi emulation support. (Sometimes just enough to make hdtoolbox work)
when you says "hide the error" , it doesn't mean that the first partition will have read error? i don't think so because this partition is nearly full and after several hours of gaming it works great.

About psf3, does it mean that psf3 will work only on 2gb CF with my hardware? it's certainly why it worked on my previous 2gb transcend CF that is broken.

Last thing Toni don't waste too much of your time, on my cf i have whdgames and demos. I have backup of these files on my PC not in an hdf file but in a folder.So i can reformat it...
oissery77 is offline  
Old 15 September 2015, 13:08   #14
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by oissery77 View Post
test made with winuae 3.1.0, if the hardrive is set to IDE the CF doesn't boot, here is the winuae log
Wrong log, winuaelog.txt is the correct one and it is only created if manually enabled (misc panel -> create winuaelog.txt). Tick it before starting emulation.

Check end of winuaebootlog.txt for winuaelog.txt path if it is not in same directory.
Toni Wilen is online now  
Old 15 September 2015, 13:28   #15
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Quote:
Originally Posted by Toni Wilen View Post
Wrong log, winuaelog.txt is the correct one and it is only created if manually enabled (misc panel -> create winuaelog.txt). Tick it before starting emulation.

Check end of winuaebootlog.txt for winuaelog.txt path if it is not in same directory.
Ok Toni, i will post the correct log after work.

Can you just answer me for this 2 points please:
1/when you says that partitionning in 2x2Gb "hides the error" , does it mean i will have read errors on the first partition?

2/About psf3, you says that the "PSF3 requestor: can't read block" sounds like driver limit, does it mean that psf3 will work only with 2gb CF using this expansion (I did not have PFS3 error message with my previous 2gb transcend CF) ?

Thanks a lot, you're very helpful.
oissery77 is offline  
Old 15 September 2015, 13:33   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by oissery77 View Post
Can you just answer me for this 2 points please:
1/when you says that partitionning in 2x2Gb "hides the error" , does it mean i will have read errors on the first partition?

2/About psf3, you says that the "PSF3 requestor: can't read block" sounds like driver limit, does it mean that psf3 will work only with 2gb CF using this expansion (I did not have PFS3 error message with my previous 2gb transcend CF) ?
Yes, it sounds like there is ~2G limit driver limit or bug. (For example 32-bit signed integer overflow)
Toni Wilen is online now  
Old 15 September 2015, 13:37   #17
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Quote:
Originally Posted by Toni Wilen View Post
Yes, it sounds like there is ~2G limit driver limit or bug. (For example 32-bit signed integer overflow)
excellent thanks, i've just orderd a 2Gb CF to have PFS3AIO on it because even if i restore the RDB of my 4 GB CF, i will be forced to use FFS. It seems that PFS3 is really better in all terms especially in speed so i want to use it . I'll let you know about PFS3 and this new 2Gb CF.

Anyway, i will give you the winuaelog.txt this evening.
oissery77 is offline  
Old 15 September 2015, 19:36   #18
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
Toni, here is the winuaelog.txt
Attached Files
File Type: txt winuaelog.txt (72.9 KB, 174 views)
oissery77 is offline  
Old 15 September 2015, 20:05   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,504
Quote:
Originally Posted by oissery77 View Post
Toni, here is the winuaelog.txt
Mount the CF as UAE (not alfapower IDE or any other IDE or SCSI).

Only UAE driver can log more details because it runs host-side, others are pure m68k code, emulation only sees block access, it can't know what the driver does with the data.
Toni Wilen is online now  
Old 15 September 2015, 21:31   #20
oissery77
Registered User
 
oissery77's Avatar
 
Join Date: Oct 2012
Location: france
Posts: 124
sorry here is the log, mounted as UAE in harddrive tab, expansion rom : alfapower is activated in rom tab
Attached Files
File Type: txt winuaelog.txt (7.4 KB, 182 views)
oissery77 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
A500- 8Mb ram problem on alfapower sidecar oissery77 support.Hardware 13 18 September 2015 12:09
No disk visible in boot menu after moving from winuae to amiga syfon support.Hardware 7 10 March 2013 10:43
Wanted: A500 AlfaPower Controller manual mombasajoe request.Other 0 24 February 2010 09:50
Pinouts/solderpoints for the Alfapower A500 sidecar please? mrluff support.Hardware 24 06 February 2009 14:48
Amiga IDE LBA48 patch Toni Wilen support.Hardware 21 30 September 2008 21:22

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 19:05.

Top

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