14 May 2010, 13:36 | #1 |
The Spanish Songstress
Join Date: Jul 2009
Location: Finland
Posts: 114
|
v2.1.0 VHD RDB non-writable
Hi,
First of all, I would like to know if someone else has run into this issue before I delve too much deeper into this, and if I'm doing something wrong. I have a strange issue when I create a dynamic volume, where WUAE needs to be QUIT and have the configuration saved, or the dynamic disk will become write protected. Steps I can produce this in: 1. Quickstart A500+ (KS 2.04 + WB 2.04 Install disk) 2. click "Set configuration" 3. Go to hardfiles tab and CREATE f.e. 20MB dynamic hardfile 4. "Enable RDB" 5. Start With HDToolbox, any changes to HD partitionin etc + save results in "Error 28". Now: 1. SAVE a temp configuration 2. QUIT WUAE 3. start wuae & load the config 4. Start Now everything works with HDToolbox (partitioning) and then formatting etc. If I next hit the restart button in wuae and load a A500 quickstart (KS 1.3 + WB1.3) and add the just prepared hardfile, it is write protected in WB1.3. I can fix this again by saving the configuration and completely quitting wuae. Noteworthy is that I absolutely need to save the configuration and use that after restarting. If I just quit and try to add the hardfiles again, they're write protected. I don't have this problem with non-dynamic hardfiles. Didn't try this in earlier versions of winuae (yet, at least), so I have no idea if this is a new or old issue. My system may definitely affect this, as I'm running WinXP x64. However, it seems like it might be some dangling filehandles in wuae, but I haven't debugged this further at all yet. (dynamic hardfiles work in other (virtualization) apps so it is not a general problem of the tech on this OS) Edit: Configs added: - "Not Working.uae" -> immediately saved after A500 quickstart, which did not work - "Working.uae" -> immediately saved after quitting and loading "Not Working", this works. - As you can see, there's no difference - Logs of the same "sessions" Edit2: I can replicate this on WB 3.1 also (A1200 basic non-expanded quickstart configuration) Last edited by Maccara; 14 May 2010 at 14:13. |
14 May 2010, 14:29 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,999
|
I can confirm that VHD files are mounted as write protected, no matter if R/W switch is checked or not.
The same VHD file works fine when mounted under Windows using VHDMount and added to WinUAE using Add Harddrive. |
14 May 2010, 17:40 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
It was caused by unrelated transparent archive support handle leak, VHD is internally considered "an archive" (VHD is a container that contains a HDF), parent handle was leaked in this case.
VHD is opened as "an archive" to view first 8 bytes of data in HDF GUI. Fully automagic this way |
15 May 2010, 08:07 | #4 | ||
The Spanish Songstress
Join Date: Jul 2009
Location: Finland
Posts: 114
|
Thanks for looking into this!
Quote:
Quote:
Sounds like simple fix then? I'll try that again in some future version (not a terribly important feature for me at the moment and I hear next beta is not too far away anyway ). |
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
E-UAE RDB HD File | Washac | support.OtherUAE | 0 | 22 February 2012 18:52 |
Compacting vhd hardfiles | hrmes | support.WinUAE | 7 | 19 October 2010 19:42 |
vhd physical vs. logical size | thomas | support.WinUAE | 2 | 19 August 2010 16:44 |
Use .vhd extension for new dynamic HDFs. | thomas | request.UAE Wishlist | 8 | 29 July 2010 17:49 |
RDB-Salv | vandam | request.Apps | 9 | 19 July 2006 15:06 |
|
|