Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#143713 - 16/02/2003 18:51 Having to swap Master and Slave
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
All right. I know I even say this specifically in the drive upgrade guide. But I'm curious as to why this happens. And then I have some other questions...

My new Fujitsu 40 refuses to be a slave to the Travelstar 10. Or maybe it's that the Travelstar refuses to be a master for the Fujitsu.

Thing is, the Travelstar used to be the original master, so I thought I was sitting pretty simply by upgrading the slave drive. That way, I wouldn't lose any userland programs, configuration information, or the data on the scratch partition.

But now it looks as though I'm going to have to copy all that stuff over from the old drive onto the new drive so it can be the new master. Okay, fine, I guess I can live with that. However, I'd like to see if I can copy the data on the scratch partition (tuner/EQ presets, number of plays counts, etc.) over to the new drive. Using Hijack, can that be done? What would the shell commands be if that were the case?
_________________________
Tony Fabris

Top
#143714 - 16/02/2003 18:56 Re: Having to swap Master and Slave [Re: tfabris]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
dd will do it. Assuming the page on riocar.org has the right partition numbers then it's just: dd if=/dev/hda3 of=/dev/hdc3.
That should copy the entire dynamic data partition from the master drive to the slave drive. Swap them around if you want it the other way so dd if=/dev/hdc3 of=/dev/hda3

[edit]Probably a good idea to make sure the player application isn't running when you do this BTW. Shouldn't affect it but it's just in case[/edit]

- Trevor


Edited by tman (16/02/2003 18:58)

Top
#143715 - 16/02/2003 19:12 Re: Having to swap Master and Slave [Re: tman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Cool, it seemed to like it.
Starting bash.
empeg:/empeg/bin# dd if=/dev/hdc3 of=/dev/hda3
33264+0 records in
33264+0 records out
empeg:/empeg/bin#
Thanks!
_________________________
Tony Fabris

Top
#143716 - 16/02/2003 19:19 Re: Having to swap Master and Slave [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
It's amazing how powerful a 30k (i386 not sure about ARM) utility can be
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#143717 - 16/02/2003 19:28 Re: Having to swap Master and Slave [Re: genixia]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Do I need to substitute different letters for a Mk1 player?
_________________________
Tony Fabris

Top
#143718 - 16/02/2003 19:59 Re: Having to swap Master and Slave [Re: tman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Thanks again, Tman, this is now in the drive upgrade guide. If the commands need to be different for a Mark 1, someone let me know and I'll put a note in there about it.
_________________________
Tony Fabris

Top
#143719 - 16/02/2003 20:48 Re: Having to swap Master and Slave [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Hmm.. good question, I can never remember exactly how the devices have been 'tweaked'.

IIRC, Mk2 players have /dev/hdb set up to point to /dev/hdc so that player software can treat Mk2s as Mk1s when doing low level stuff.

I suspect that you might be able to use:

dd if=/dev/hdb3 of=/dev/hda3


on both Mk1 and Mk2 players with the same effect, which would make FAQ entries simple. But that should be tested on a Mk2 player first.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#143720 - 17/02/2003 05:56 Re: Having to swap Master and Slave [Re: genixia]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
It's the other way around. On the Mk2 it has /dev/hdc3 which according to it's major/minor is actually /dev/hdb3.
Using /dev/hdc3 is correct since I think it's because the Mk1 had two IDE channels with one drive on each so it would be hda and hdc. But the Mk2 has one IDE channel but two drives on it so it would be hda and hdb. To make it simpler for the software I guess the guys at empeg decided to make /dev/hdc actually /dev/hdb so you wouldn't need to know the difference between a Mk1 and Mk2.

So just keep what's in FAQ. It *should* be correct (Not got a Mk1 so I can't check it)

- Trevor

Top
#143721 - 17/02/2003 09:20 Re: Having to swap Master and Slave [Re: tman]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Oops. Yes, you're right. Using hdc3 should work on all players.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#143722 - 17/02/2003 10:35 Re: Having to swap Master and Slave [Re: genixia]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Cool, so no changes needed.

Thanks, everyone, the 40 gig drive and the dynamic data seem to be working just fine in their new home.
_________________________
Tony Fabris

Top
#143723 - 20/02/2003 11:21 Re: Having to swap Master and Slave [Re: tfabris]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
My new Fujitsu 40 refuses to be a slave to the Travelstar 10. Or maybe it's that the Travelstar refuses to be a master for the Fujitsu.


have you tried to switch the disks around so the master is on the end of the cable, or vice versa? on pcs i've encountered cdroms coupled w/ ide hdds that refuse to be slave when its at the end of the cable. if i switch the orientation, its fine.

Top
#143724 - 20/02/2003 11:57 Re: Having to swap Master and Slave [Re: image]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
I didn't think to try that, sorry. Of course now, since all my problems are now solved, I'm not going to open the player to do that.
_________________________
Tony Fabris

Top