Unoffical empeg BBS

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

Page 2 of 3 < 1 2 3 >
Topic Options
#150364 - 27/03/2003 16:14 Re: Bugs? *What* bugs? [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
The Developer Info Section Gnomes need to see this one...

Ooooo.... I'll bet you could put an ;@AC in front of that (if using hijack) and have it only happen on AC power... cool...

Question: Does it completely prevent spindown, or do the drive still spin down when it goes into standby?
_________________________
Tony Fabris

Top
#150365 - 27/03/2003 16:30 Re: Bugs? *What* bugs? [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Dunno.
_________________________
-- roger

Top
#150366 - 27/03/2003 16:48 Re: Bugs? *What* bugs? [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Easy enough to find out, I suppose. Let us know how it goes, Brad.
_________________________
Tony Fabris

Top
#150367 - 27/03/2003 17:36 Re: Bugs? *What* bugs? [Re: tfabris]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Will do. (I never used the @Home thing, so I'm reading up on that now.) Thanks Roger and Tony.

- VERY excited for 2.00final!
_________________________
Brad B.

Top
#150368 - 27/03/2003 17:48 Re: Bugs? *What* bugs? [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
And if you ARE using hijack, you must also add this:

[hijack]
spindown_seconds=0


Top
#150369 - 27/03/2003 18:09 Re: Bugs? *What* bugs? [Re: tfabris]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
How does this look? (Going for the drives to always spindown, except for @WORK)

[Options]
Name=Brad's empeg
;@HOME spindown=1
;@WORK spindown=0
spindown=1

[hijack]
;@WORK spindown_seconds=0
spindown_seconds=30


Edited by SE_Sport_Driver (27/03/2003 18:12)
_________________________
Brad B.

Top
#150370 - 27/03/2003 18:12 Re: Bugs? *What* bugs? [Re: SE_Sport_Driver]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Simplify it a bit:

EDIT: FIXED An ERROR!!

[Options]
Name=Brad's empeg
;@WORK spindown=0

[hijack]
;@WORK spindown_seconds=0

--------------------

OF course, there's also ;@AC and ;@DC, which may or may not be more appropriate than ;@WORK in your case.

Cheers


Edited by mlord (27/03/2003 18:13)

Top
#150371 - 27/03/2003 18:15 Re: Bugs? *What* bugs? [Re: mlord]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
So if the player isn't set "@WORK" when it boots, it will skip my entries and go for the defaults (1 for spindown and 30 for timeout)?
_________________________
Brad B.

Top
#150372 - 27/03/2003 19:06 Re: Bugs? *What* bugs? [Re: SE_Sport_Driver]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
That's the idea!

Top
#150373 - 27/03/2003 20:35 Re: Bugs? *What* bugs? [Re: peter]
StigOE
addict

Registered: 27/10/2002
Posts: 568
Ah, have to check this out when I get home next week...Thanks.

Stig

Top
#150374 - 27/03/2003 20:46 Re: Bugs? *What* bugs? [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
OF course, there's also ;@AC and ;@DC, which may or may not be more appropriate than ;@WORK in your case.
I've found, and I don't know if this is a feature or a misbug, that you can successfully combine the AC/DC qualifiers with the WORK/HOME qualifiers.
_________________________
Bitt Faulk

Top
#150375 - 27/03/2003 20:57 Re: Bugs? *What* bugs? [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
That would be a documented feature, but it only works in one order: the AC/DC must be to the left of the HOME/WORK.

Top
#150376 - 27/03/2003 21:06 Re: Bugs? *What* bugs? [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
So it is. I got lucky when I tried it, I guess.
_________________________
Bitt Faulk

Top
#150377 - 27/03/2003 22:11 Re: Bugs? *What* bugs? [Re: rob]
JrFaust
member

Registered: 07/02/2002
Posts: 193
Loc: New Richmond, WI
So we fixed about a dozen bugs, and I'd say that about does it for 2.0. If RC3 checks out OK then there will be a public release soon.


Your player has gotten better at playing MP3's! (2)

/shout WOOT!!!

/em does a dance of joy!!!
_________________________
Drive fast, Play it loud!!!
20GB Original Blue Lens MKIIa Rio SN 030102760, Blue Buttons.
20GB Original Green Lens MKIIa Rio SN 040103268 Grey Buttons.

Top
#150378 - 27/03/2003 23:33 Re: Bugs? *What* bugs? [Re: Roger]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
In config.ini:

[options]
spindown=0


I searched and only found this mentioned in one other post other than this one. Perhaps one for the FAQ? Is there a list of non-Hijack config.ini options anywhere? I can't seem to find one.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#150379 - 27/03/2003 23:36 Re: Bugs? *What* bugs? [Re: Shonky]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
OK, replying to my own post again. But I did find a list of options in the Developer section on Riocar.org.

But no mention of the spindown=0 option

Perhaps this developer info could be integrated into the FAQ in a separate section? Tony?
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#150380 - 28/03/2003 05:01 Re: Bugs? *What* bugs? [Re: Shonky]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
But I did find a list of options in the Developer section on Riocar.org.
Right. Hence my earlier comment about the Developer Info Section Gnomes.

Perhaps this developer info could be integrated into the FAQ in a separate section? Tony?
The FAQ entry about config.ini provides a direct link to the section in Developer Info. I don't see how it could get any more clear than that?
_________________________
Tony Fabris

Top
#150381 - 28/03/2003 05:09 Re: Bugs? *What* bugs? [Re: tfabris]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
From that FAQ entry:
Finally, note that the player software has a 4096-byte limit. This means that if your config.ini is longer than 4096 bytes, it will not be read correctly (actually it will only read the bytes after the 4096 mark). So keep your config.ini as small as possible.
There's no such limitation. The only limit is that individual lines can be no longer than 1,023 bytes.

Peter

Top
#150382 - 28/03/2003 05:11 Re: Bugs? *What* bugs? [Re: tfabris]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Mmmmkay missed the gnomes bit. Also when you've read the FAQ a fair bit already you tend to gloss over some things.

Not trying to argue or be difficult, but the developer section isn't searchable. i.e. I have actually searched the FAQ for spindown before but even if it was in the developer section, it still wouldn't have shown up.

Wouldn't it be better to have it all in one? Apart from the extra work for the FAQ guy though
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#150383 - 28/03/2003 05:14 Re: Bugs? *What* bugs? [Re: peter]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
There's no such limitation. The only limit is that individual lines can be no longer than 1,023 bytes.
Okay, I'm editing the entry.

Mark Lord seemed pretty certain about the modulo-4096 thing when he reported it. So I'm going to let you two fight it out.

Question: Then why does the player software start screwing up really bad after a bunch of entries get added because of the beta-11 favorite-visuals-doubling bug? None of those have a single line longer than 1024.

Unless by "line" you mean "section"...
_________________________
Tony Fabris

Top
#150384 - 28/03/2003 05:28 Re: Bugs? *What* bugs? [Re: tfabris]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Mark Lord seemed pretty certain about the modulo-4096 thing when he reported it. So I'm going to let you two fight it out.
Well, I think we all agree that the bug is no longer there. I think Mark Lord and I have agreed to disagree on whether it was ever there...

Peter

Top
#150385 - 28/03/2003 06:43 Re: Bugs? *What* bugs? [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Which release of player software fixed the documented and observed 4096 byte limitation?

Thanks

Top
#150386 - 28/03/2003 06:49 Re: Bugs? *What* bugs? [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
21/02/02 12:31 PM

Hijack v201 Released
...
This version features:

# Hijack now correctly handles LARGE config.ini files.
But please note that the player software does not handle them well:
it will read only the tail end of the file, modulo 4096. This means that
if your config.ini file is 4097 bytes long, the player software will read
only the final byte. This happens whether or not you have Hijack
installed. I suppose I might try to add code to nuke all of the non-player
stuff from the file to help out the player, but even that would not be
simple because the player checks the filesize before computing how much to
read. Ugly bug.

Top
#150387 - 28/03/2003 07:45 Re: Bugs? *What* bugs? [Re: mlord]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Which release of player software fixed the documented and observed 4096 byte limitation?
The oldest "v2" version I can find is 1.10-alpha3, which does not exhibit the bug. The CVS history on that file goes back to car v1 beta 8, and shows no significant changes. If this bug ever existed, it was fixed before v1.00 beta 8, which was probably released in early 2000, although that was before the Announcements forum was invented, so it's difficult to tell.

Peter

Top
#150388 - 28/03/2003 14:51 Re: Bugs? *What* bugs? [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. I'll have to retest. Might've been something in Hijack, but at the time I believe I tried it with a stock Empeg kernel as well. More when I know more..

Thanks

Top
#150389 - 28/03/2003 18:38 Re: Bugs? *What* bugs? [Re: peter]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
i noticed a bug... you spelled "synchronising" wrong
_________________________
|| loren ||

Top
#150390 - 28/03/2003 21:04 Re: Bugs? *What* bugs? [Re: loren]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
i noticed a bug... you spelled "synchronising" wrong
Ah, that joke keeps getting better with age!
_________________________
- Tony C
my empeg stuff

Top
#150391 - 29/03/2003 09:04 Re: Bugs? *What* bugs? [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mm.. Okay, here is the file access pattern when the player reads config.ini at startup:

HIJACK: read(config.ini): PID=9(player), pos=8192/8268, count=76
HIJACK: read(config.ini): PID=9(player), pos=0/8268, count=4096
HIJACK: read(config.ini): PID=9(player), pos=4096/8268, count=4096
HIJACK: read(config.ini): PID=9(player), pos=8192/8268, count=4096
HIJACK: read(config.ini): PID=9(player), pos=8268/8268, count=4096

The filesize in this case is 8268, "pos" is the starting offset for the read, and count is how many bytes were requested. I didn't trace lseek(), but it looks like something has done an lseek(filesize modulo 4096) before doing the first read.

It's that first read of (filesize modulo 4096) that is confusing Hijack into thinking that only the end of the file was being read. Why is the player doing that? Or is it some quirk in libc, trying to trigger a readahead of the whole file or something?

I suppose I'll have to make hijack more clever or something on this. Tricky..

Top
#150392 - 29/03/2003 09:26 Re: Bugs? *What* bugs? [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, based on this info, I've modified Hijack to cope with the strange access pattern, and v322 will be out shortly.

Cheers

Top
#150393 - 29/03/2003 10:25 Re: Bugs? *What* bugs? [Re: mlord]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Why is the player doing that? Or is it some quirk in libc, trying to trigger a readahead of the whole file or something?
I agree, that's certainly very odd. The player, though, just opens the file fully buffered with fopen and reads it with fgets: it must be glibc's buffering that's doing something strange with the underlying fd.

Peter

Top
Page 2 of 3 < 1 2 3 >