EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: CMP not merge chds with different names and same SHA1  (Read 5106 times)

oddi

  • Member
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 193
  • Operating System:
  • Windows NT 6.2 Windows NT 6.2
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
CMP not merge chds with different names and same SHA1
« on: 24 November 2013, 07:17 »

Hello Roman, CMP have problem with this chds set: dstage in Merge mode

When scan sets:
1. cmp wanna move 845uaa02.chd to dstage folder
2. when move chd cmp wanna rename this chd to 845ea.chd but have error because chd 845ea is exist.
If manually rename chds - cmp again wanna move back 845uaa02.chd to ddru folder.
Next scan - same history
Strange sound
Tnx :)
Dont understand where is problem
Here upload the last xml, generated with mame64.exe:
http://www.speedyshare.com/7eWBt/MAME0.151svn26389.7z

« Last Edit: 24 November 2013, 07:20 by oddi »
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 115
  • Offline Offline
  • Posts: 3295
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: CMP not merge chds with different names and same SHA1
« Reply #1 on: 24 November 2013, 14:26 »

well...looking at your xml datfile I see this:

ddru
disk name="845uaa02" sha1="d3f9290d4dadb5e9b82ebe77abf7b99d1a89f716" region="cdrom0" index="0" writable="no"

dstagea
disk name="845ea" sha1="d3f9290d4dadb5e9b82ebe77abf7b99d1a89f716" status="baddump" region="cdrom0" index="0" writable="no"/

So...you got two differently named files with the same sha1 within a parent clone relation ship...and with NO disk merge attribute. So in this case both files are needed even if they are identical....this should get fixed on MAME's side...

But yes...looks like this weird entries confuse cmpro a bit...will have a look at it later..

by the way, are you using full or split merged sets?
Logged

oddi

  • Member
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 193
  • Operating System:
  • Windows NT 6.2 Windows NT 6.2
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
Re: CMP not merge chds with different names and same SHA1
« Reply #2 on: 24 November 2013, 14:58 »

My chds is full merge sets :)
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 115
  • Offline Offline
  • Posts: 3295
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 31.0.1650.57 Chrome 31.0.1650.57
    • View Profile
Re: CMP not merge chds with different names and same SHA1
« Reply #3 on: 24 November 2013, 22:12 »

Logged

oddi

  • Member
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 193
  • Operating System:
  • Windows NT 6.2 Windows NT 6.2
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
Re: CMP not merge chds with different names and same SHA1
« Reply #4 on: 25 November 2013, 04:17 »

Many tnx Roman, work  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.155 seconds with 20 queries.