#293061 - 26/01/2007 14:21
Syncing problems
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
For some reason I cannot sync more than about 3GB of music on my old empeg. After that, it keeps giving me errors and refuses to load more tracks. I started with no music, added about 2GB worth, and started getting errors in both emplode and jemplode. Then I rebuilt the two drives, installed the software, and tried again. Same result with completely different files. It looks like it stops after something like FID 6400.
I've attached a boot log if it helps diagnose. Thanks for any help!
Attachments
293624-boot01.txt (227 downloads)
_________________________
Matt
|
Top
|
|
|
|
#293062 - 26/01/2007 14:59
Re: Syncing problems
[Re: Dignan]
|
pooh-bah
Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
|
Are you copying and pasting from hyperterminal? The boot log is a little jumbled looking. Try using the text capture feature and post the log.
Thanks, Stu
_________________________
If you want it to break, buy Sony!
|
Top
|
|
|
|
#293063 - 26/01/2007 15:15
Re: Syncing problems
[Re: maczrool]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
To clarify what Stu just said: The Windows XP version of hyperterminal has a bug when you try to copy text out of it. The text gets scrambled. So to grab a boot log that others can read, you have to use the "Capture Text" feature instead.
|
Top
|
|
|
|
#293064 - 26/01/2007 15:32
Re: Syncing problems
[Re: maczrool]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
In addition to posting an unscrambled boot log, we really need to see a log from the failed music upload, not from the disk builder.
Cheers
|
Top
|
|
|
|
#293065 - 26/01/2007 15:33
Re: Syncing problems
[Re: tfabris]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
No problem. Sorry about that. Here's the correct one, hopefully.
Attachments
293633-CAPTURE.TXT (145 downloads)
_________________________
Matt
|
Top
|
|
|
|
#293066 - 26/01/2007 15:38
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Oops. Did that wrong. Here's the boot log. I'll get the other one in a second...
Attachments
293634-CAPTURE.TXT (179 downloads)
_________________________
Matt
|
Top
|
|
|
|
#293067 - 26/01/2007 15:41
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
|
Question: Are you loading only music or a lot of playlists?
I have found when rebuilding players from scratch that there seems to be a hard limit to the amount of playlists you can upload at any given time. And, since the playlists are created before the music is uploaded, emplode will crash each time.
The workaround I use for this specific issue is to create a mirror empty directory tree on your PC and upload the playlists a chunk at a time. Then do the music.
_________________________
Paul Grzelak 200GB with 48MB RAM, Illuminated Buttons and Digital Outputs
|
Top
|
|
|
|
#293068 - 26/01/2007 15:58
Re: Syncing problems
[Re: pgrzelak]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
That doesn't seem to be the problem. After starting from scratch, I was only uploading about 10 albums at a time, which probably only created 20 playlists at most. When I reach a certain point, I can't upload anything at all. Not even one album.
I've attached a sync log.
Attachments
293636-CAPTURE.TXT (171 downloads)
_________________________
Matt
|
Top
|
|
|
|
#293069 - 26/01/2007 17:48
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote: That doesn't seem to be the problem. After starting from scratch, I was only uploading about 10 albums at a time, which probably only created 20 playlists at most. When I reach a certain point, I can't upload anything at all. Not even one album.
I've attached a sync log.
Okay. This is an Empeg Mk2 unit, with only 12MB of DRAM. It is running out of physical memory during the sync.
Not much to be done here, other than enabling swap beforehand (I think this was already tried here, right?), and/or doing smaller uploads.
Cheers
Edited by mlord (26/01/2007 17:51)
|
Top
|
|
|
|
#293070 - 26/01/2007 17:50
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote:
Quote: That doesn't seem to be the problem. After starting from scratch, I was only uploading about 10 albums at a time, which probably only created 20 playlists at most. When I reach a certain point, I can't upload anything at all. Not even one album.
I've attached a sync log.
Okay. This is an Empeg Mk2 unit, with only 12MB of DRAM. It is running out of memory during the sync.
Not much to be done here, other than enabling swap beforehand (I think this was already tried here, right?), and/or doing smaller uploads.
Cheers
Mmmm.. I wonder if we might "cure" this by having Hijack ignore mlock() and mlockall() calls, as an option. This would permit swapping of player memory, which is not normally possible.
Mmm..
|
Top
|
|
|
|
#293071 - 26/01/2007 17:55
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Quote:
Quote: That doesn't seem to be the problem. After starting from scratch, I was only uploading about 10 albums at a time, which probably only created 20 playlists at most. When I reach a certain point, I can't upload anything at all. Not even one album.
I've attached a sync log.
Okay. This is an Empeg Mk2 unit, with only 12MB of DRAM. It is running out of physical memory during the sync.
Not much to be done here, other than enabling swap beforehand (I think this was already tried here, right?), and/or doing smaller uploads.
Perhaps I loaded too much on at a time at first (which I don't think I did, I've done much bigger uploads in the past). But would that cause permanent damage? That log is from trying to sync one single album to the player.
_________________________
Matt
|
Top
|
|
|
|
#293072 - 26/01/2007 17:57
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote:
Mmmm.. I wonder if we might "cure" this by having Hijack ignore mlock() and mlockall() calls, as an option. This would permit swapping of player memory, which is not normally possible.
Mmm..
Okay, install this Hijack kernel after repairing your filesystems, and see if it fixes the upload problem. Replace with a "real" Hijack kernel afterwards.
http://rtr.ca/v467+.zImage
-ml
|
Top
|
|
|
|
#293073 - 26/01/2007 17:59
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Quote: Okay, install this Hijack kernel after repairing your filesystems, and see if it fixes the upload problem. Replace with a "real" Hijack kernel afterwards.
My apologies, but I'm not sure how to do the filesystem repair.
_________________________
Matt
|
Top
|
|
|
|
#293074 - 26/01/2007 18:25
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote:
Quote: Okay, install this Hijack kernel after repairing your filesystems, and see if it fixes the upload problem. Replace with a "real" Hijack kernel afterwards.
My apologies, but I'm not sure how to do the filesystem repair.
It's in the FAQ, somewhere. Hopefully FaqMaster will hand us a link..
|
Top
|
|
|
|
#293075 - 26/01/2007 18:39
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
_________________________
Bitt Faulk
|
Top
|
|
|
|
#293076 - 26/01/2007 19:34
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Quote: Okay. This is an Empeg Mk2 unit, with only 12MB of DRAM. It is running out of physical memory during the sync.
Just to play Devil's Advocate... Um, shouldn't the player firmware, the kernel, and Emplode all just Do The Right Thing so that the player doesn't run out of memory during big file uploads? Doesn't a big file upload like this Just Work for pretty much everyone else? (Except for the aforementioned and already-known Too Many Playlists bug.)
|
Top
|
|
|
|
#293077 - 26/01/2007 19:38
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Quote:
Quote:
Mmmm.. I wonder if we might "cure" this by having Hijack ignore mlock() and mlockall() calls, as an option. This would permit swapping of player memory, which is not normally possible.
Mmm..
Okay, install this Hijack kernel after repairing your filesystems, and see if it fixes the upload problem. Replace with a "real" Hijack kernel afterwards.
http://rtr.ca/v467+.zImage
Hmm, I may have already run into a problem. I ran fsck on hdc4 and it went fine, but when I try it on hda4 I get the following:
Code:
empeg:/empeg/bin# fsck -fay /dev/hda4 Parallelizing fsck version 1.19 (13-Jul-2000) e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 ext2fs_check_if_mount: No such file or directory while determining whether /dev/ hda4 is mounted. The filesystem size (according to the superblock) is 156183930 blocks The physical size of the device is 134110620 blocks Either the superblock or the partition table is likely to be corrupt! Abort? yes
empeg:/empeg/bin#
_________________________
Matt
|
Top
|
|
|
|
#293078 - 26/01/2007 19:42
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
That's bad. I'd run the builder again, if I were you.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#293079 - 26/01/2007 19:53
Re: Syncing problems
[Re: wfaulk]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Quote: That's bad. I'd run the builder again, if I were you.
Crap. Question: which drive is hda4? Is it the one with or without a jumper?
_________________________
Matt
|
Top
|
|
|
|
#293080 - 26/01/2007 20:08
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
It would be the "master", whichever jumper configuration that is.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#293081 - 26/01/2007 20:09
Re: Syncing problems
[Re: wfaulk]
|
pooh-bah
Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
|
A jumper makes the drive a slave.
Stu
_________________________
If you want it to break, buy Sony!
|
Top
|
|
|
|
#293082 - 26/01/2007 20:24
Re: Syncing problems
[Re: maczrool]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Crap, then that's my 160GB drive. I really hope that doesn't die. The build is proceeding, but I noticed this error in the log: Code:
hda: read_intr: status=0x59 hda: read_intr: error=0x40...VFS: Mounted root (ext end_request: I/O error, dev 03:04 (hda), sector 311820292 change_root: old EXT2-fs error (device ide0(3,4)): read_inode_bitmap: Cannot read inode bitmap - Hijack: intercepting config.ini block_group = 19032, inode_bitmap = 155910146: "Hard Disk Detection"
_________________________
Matt
|
Top
|
|
|
|
#293083 - 26/01/2007 21:04
Re: Syncing problems
[Re: wfaulk]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Quote: That's bad. I'd run the builder again, if I were you.
Rebuilt the drive. I had some odd behavior the drive builder, but it seemed to work. Then I installed the firmware. Now I've tried to upload a single album, and got an error that said something like "Operation exceeded maximum retry count" in jemplode.
_________________________
Matt
|
Top
|
|
|
|
#293084 - 26/01/2007 21:11
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Oh. 160GB. You have to take special measures to use a drive that big. That may be the problem. Some of the particulars are over here.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#293085 - 26/01/2007 21:12
Re: Syncing problems
[Re: Dignan]
|
pooh-bah
Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
|
If you are suspecting it to be one drive or the other, try the upload with the drive you think is okay and keep the other one disconnected, removing the slave jumper on the connected drive (if any) of course.
Stu
_________________________
If you want it to break, buy Sony!
|
Top
|
|
|
|
#293086 - 26/01/2007 21:20
Re: Syncing problems
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Quote: Oh. 160GB. You have to take special measures to use a drive that big. That may be the problem. Some of the particulars are over here.
In theory, Mark's latest builders (now correctly linked from the main Drive Upgrade Guide) should handle this properly, assuming that he puts the latest hijack back onto the player as soon as the player software gets installed and before anything else gets written to the drive.
In theory.
|
Top
|
|
|
|
#293087 - 26/01/2007 21:26
Re: Syncing problems
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Just peeked at the drive upgrade guide. In theory, he was using (a) Mark's bigdisk builder, and (b) 2.01 Final For Large Disks upgrade file. If so, the manual procedures at Roger's site shouldn't be needed.
Again... in theory. :-)
|
Top
|
|
|
|
#293088 - 26/01/2007 21:47
Re: Syncing problems
[Re: tfabris]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Quote: Just peeked at the drive upgrade guide. In theory, he was using (a) Mark's bigdisk builder, and (b) 2.01 Final For Large Disks upgrade file. If so, the manual procedures at Roger's site shouldn't be needed.
Again... in theory. :-)
Is it actually called "(b) 2.01 Final For Large Disks upgrade file"? If so, I wasn't using that. I was using the files off of the empeg site...
_________________________
Matt
|
Top
|
|
|
|
#293089 - 26/01/2007 21:56
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote:
Quote: Just peeked at the drive upgrade guide. In theory, he was using (a) Mark's bigdisk builder, and (b) 2.01 Final For Large Disks upgrade file. If so, the manual procedures at Roger's site shouldn't be needed.
Again... in theory. :-)
Is it actually called "(b) 2.01 Final For Large Disks upgrade file"? If so, I wasn't using that. I was using the files off of the empeg site...
Those old ones (empeg site) don't have a hope of working with a 160GB drive.
|
Top
|
|
|
|
#293090 - 26/01/2007 22:15
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Quote: Is it actually called "(b) 2.01 Final For Large Disks upgrade file"? If so, I wasn't using that. I was using the files off of the empeg site...
<adam savage> Well THERE'S yer problem! </adam savage>
Go back to the original drive upgrade guide, which has recently been updated with links to both mark's bigdisk builder and mark's 2.01 for large disks. Read through the section about formatting the drive and make sure to scroll down to the part where it says SPECIAL NOTE FOR LARGE DISKS.
|
Top
|
|
|
|
#293091 - 26/01/2007 22:58
Re: Syncing problems
[Re: tfabris]
|
pooh-bah
Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
|
Hmm, I was guiding him through the build process via email and linked to the final version, but forgot to check if he actually used it. Hope that does it! I built these drive originally though and used all the correct stuff and it still broke.
Stu
_________________________
If you want it to break, buy Sony!
|
Top
|
|
|
|
#293092 - 29/01/2007 03:42
Re: Syncing problems
[Re: tfabris]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Well, now I'm having other problems. I ran the disk builder and it's not really working. I'm worried that I'm getting hard disk errors. But I'm going to try more tomorrow (Monday) and see if I have more luck. By the way, I keep seeing warnings and errors all through the hyperterminal logs. Are these normal? Here's something from the beginning of the disk builder log file, right after I hit enter when it tells me the drives are already built: Code:
warning: can't open /etc/mtab: No such file or directory Setting up swapspace version 0, size = 24670208 bytes Warning: insecure permissions 0644, 0600 suggested Adding Swap: 24092k swap-space (priority -1) Making first drive... mke2fs 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09 ext2fs_check_if_mount: No such file or directory while determining whether /dev/ hda4 is mounted. Linux ext2 filesystem format Filesystem label= 1220224 inodes, 156183930 blocks 0 blocks (0.00%) reserved for the super user First data block=1 Block size=1024 (log=0) Fragment size=1024 (log=0) 19066 block groups 8192 blocks per group, 8192 fragments per group 64 inodes per group Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409, 663553, 1024001, 1990657, 2809857, 5120001, 5971969, 17915905, 19668993, 25600001, 53747713, 128000001, 137682945,
_________________________
Matt
|
Top
|
|
|
|
#293093 - 29/01/2007 15:40
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
warnings and errors:
errors are BAD, warnings are not usually bad unless there are also errors.
Any errors to show us?
Edited by mlord (29/01/2007 15:40)
|
Top
|
|
|
|
#293095 - 29/01/2007 20:23
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
It appears as though things are going OK. I'm cautiously optimistic. At the moment I've loaded about 5GB onto the player, which is about double what I was able to do before.
One concern, however, is that it is running the full integrity check on every sync. I read that there are various causes for this, though, so is there a particular cause that might be attributed to my player?
_________________________
Matt
|
Top
|
|
|
|
#293096 - 29/01/2007 22:02
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Quote: it is running the full integrity check on every sync.
A full integrity check with a 160gb drive would take at least an hour to complete, above and beyond the synch time and the database rebuild time. Is that really what it's doing?
It shouldn't do that anyway on a freshly-built drive. The only reason it should have to do it on a freshly-built drive is if...
- One of your synchs failed, or was terminated, halfway through since your last drive build. - The drive didn't actually get rebuilt. - In addition to rebuilding, you added some kind of thirdparty software that's locking the drive open and preventing it from being remounted properly. Stuff like TTSclock, for example.
Did any of those things happen?
|
Top
|
|
|
|
#293097 - 29/01/2007 22:25
Re: Syncing problems
[Re: tfabris]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Hmm...it didn't take an hour. It takes about 20-30 minutes, though. And this is on a total of ~225GB (80GB and 160GB).
I didn't fail any syncs. I'm pretty sure it built the drives. It took a while and everything seemed to check out in hyperterminal. I definitely didn't add any other software. I only ran the builder and the 2.01 for large disks.
The other reason I saw was drive problems. That's not out of the question, but the drives are practically brand new (no more than about 6 months).
_________________________
Matt
|
Top
|
|
|
|
#293098 - 30/01/2007 03:15
Re: Syncing problems
[Re: Dignan]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote: Hmm...it didn't take an hour. It
The time required for the filesystem integrity check depends upon how "full" the filesystem is. A 999GB filesystem that is only 1% full will take mere minutes, whereas a 200GB filesystem that is 95% full could take hours.
Go into the Hijack Menu (long knob press) and set Filesystem Check on Sync to disabled, to prevent unnecessary checks. That ought to have been the default, but it wasn't (and still isn't even today, in our overly cautious societies).
Cheers
|
Top
|
|
|
|
#293099 - 05/02/2007 13:20
Re: Syncing problems
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: unnecessary checks.
It's worth mentioning that emplode will display that it's checking the disks every time you sync.
What it's doing is running fsck every time. If the disk is clean (unmounted cleanly, not been too long, not been too many mounts) that'll finish within a second or so. It's only if it displays that message for longer than this that it's actually checking the disk.
_________________________
-- roger
|
Top
|
|
|
|
#293100 - 05/02/2007 13:22
Re: Syncing problems
[Re: Roger]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
It's stopped fixing problems now. Things seem to be working okay, although I don't have the most confidence in one or both of the drives I have in there But it's working for now, so I'm happy. Thanks for the help, everyone!
_________________________
Matt
|
Top
|
|
|
|
|
|