#273012 - 29/12/2005 21:48
empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. Help?
|
new poster
Registered: 25/07/2003
Posts: 48
Loc: Reading UK
|
Hello
When the temperature drops to the dismal lows of 3 Celcius and below my EMPEG reports 'No hard disk found contact support'. Hello . There is a lot of clunking as the disk attempts to mount, on warming up the car the disk starts OK.
The SW is version 2.00 consumer with HiJack kernal. The HW is standard 20GB Mk. 2.
Any Owners know what to do or is there an unfixable problem?
Thanks.
Edited by estocks (29/12/2005 21:49)
_________________________
Empeg V2 60GB running v3 (alpha 11) and the autoupdated hijack from jemplode.
|
Top
|
|
|
|
#273014 - 29/12/2005 22:30
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: robricc]
|
new poster
Registered: 25/07/2003
Posts: 48
Loc: Reading UK
|
I don't wish to be churlish, the player is in the car tonight and it's too cold to collect. Aren't the EMPEGs specified to work from, say -10 to +55C, and the factory harddrives able to cope in a British winter?
_________________________
Empeg V2 60GB running v3 (alpha 11) and the autoupdated hijack from jemplode.
|
Top
|
|
|
|
#273015 - 29/12/2005 22:56
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: estocks]
|
carpal tunnel
Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
|
Quote: I don't wish to be churlish, the player is in the car tonight and it's too cold to collect.
You have "South Cambridge" as your location, but I'm not sure whether you mean Cambridge UK or Cambridge MA My empeg is almost always left in my car overnight in Cambridge UK and I've never had a problem with start up.
Quote: Aren't the EMPEGs specified to work from, say -10 to +55C
Operating temperature is 5C minimum. Standby (disk spun down) is -20C but that's pretty much irrelevant as the firmware stands.
Quote: and the factory harddrives able to cope in a British winter?
They're able to cope with 5C as specified. Many of them will start up OK at lower temperatures but it varies from model to model (we shipped at least three brands) and unit to unit. Automotive temperature range drives didn't exist when we made that product - although they are available now. We considered various heating options but reached the point of diminishing returns.
It's also possible you have a dodgy IDE header which the cold weather is exacerbating.
Rob
|
Top
|
|
|
|
#273016 - 29/12/2005 23:50
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: estocks]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Yeah, um, I'm not sure how you're expecing a hard disk to function at 3c. Doing what you're doing is going to severely shorten the life span of your disk drive. Better be ready to replace it, and I hope all your MP3s are backed up on your PC. Click here for more information.
|
Top
|
|
|
|
#273017 - 03/01/2006 06:18
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: rob]
|
new poster
Registered: 04/04/2004
Posts: 16
Loc: Midwest
|
Quote: [orange]We considered various heating options.....
Sounds like an opportunity for another project for someone. I actually had my hard drive complain of the temps awhile back, forget what the temps were but somewhere in the low 20's F region. I have a mix of drives, the original & a self-installed. The options for a solution for people in the more cold prone areas seem approachable of course. Taking the player out is the most ideal if you remember or get in the habit of it. I have left mine in the car much more often than not. I have temp extremes here of anything from 0F to indeces of 105F (sealed black vehicle) & have had little problems w/the drives balking. Is it worth any trouble, probably as I'm sure the drives are on borrowed time now, do I want to have replace them, NO! It's like Tony says the drives subjected to these extremes isn't good, start thinking of replacement before it's too late.
One solution might be a small bulb as a remedy as a small filament bulb can generate enough heat to keep a small area much warmer & the bulb wouldn't have to be that big. On the extreme side perhaps a small hydrogen plant:) The matter of a battery operated object having something running overnight can have it's own barriers though as everyone knows. It's not something that's insurmountable though. I have no idea what I'm leading to but certainly people on this board have the knowhow.
My biggest ? is Roger mentioned various heating options can they be divulged on this board as to the methods looked at?
|
Top
|
|
|
|
#273018 - 03/01/2006 10:48
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: rob]
|
old hand
Registered: 14/08/2001
Posts: 886
Loc: London, UK
|
Quote: My empeg is almost always left in my car overnight in Cambridge UK
Noted. What car have you got again?
Edited by Roger (03/01/2006 12:10)
|
Top
|
|
|
|
#273019 - 04/01/2006 11:25
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: furtive]
|
carpal tunnel
Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
|
Quote:
Quote: My empeg is almost always left in my car overnight in Cambridge UK
Noted. What car have you got again?
One with a very loud alarm parked behind locked gates in a sleepy little village!
Rob
|
Top
|
|
|
|
#273020 - 06/01/2006 15:52
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: Snowshoe]
|
pooh-bah
Registered: 25/08/2000
Posts: 2413
Loc: NH USA
|
I've had luck running my empeg on all but the coldest days (<10 Degrees F) with stock Empeg LTD drives installed (YMMV standard disclaimer etc.etc.)
Having a remote car starter may be simpler than the system you describe - let the car warm for 5 minutes on a cold day (or cool on a hot day), by the time you get into it the empeg would be warm/cool enough to operate. It'd be nicer for you as well without all the dash/empeg hackery. Of course if you're into that kind of thing, have at, sounds like fun!
-Zeke
_________________________
WWFSMD?
|
Top
|
|
|
|
#273022 - 07/01/2006 00:42
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: Robotic]
|
carpal tunnel
Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
|
You could always pull the empeg slightly out of the sled when getting out at night.
_________________________
~ John
|
Top
|
|
|
|
#273023 - 12/01/2006 11:53
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. Help?
[Re: estocks]
|
addict
Registered: 18/08/2002
Posts: 544
Loc: New Jersey
|
all this chatter about hot/cold weather forces me to make this post..
i live in NJ and garage my car overnight and unliss i am uploading some songs never take the empeg out of the car...reading all this makes me wonder exactly how much i have shortened the life span of my drives and how can i figure it out..
presently my 50gb are pretty much fully utilized and i would need to upgrade to a larger drive anyways...
having said all that is there anyway i can back up the music on my empeg directly onto another HDD without that HDD being installed in another device? I would like to do this so i dont run the risk of having my HDD blow out without having a back up..then when i need to swap out drives i already have all my tunes on a drive that can be immediately installed
(yes i do have all my tunes on my desktop...but i am just looking to take a short cut)
thanks,
Ed
_________________________
...One man gathers what another man spills
|
Top
|
|
|
|
#273024 - 12/01/2006 12:36
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. Help?
[Re: edsmiata]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: is there anyway i can back up the music on my empeg directly onto another HDD without that HDD being installed in another device?
Well, the HDD will need to be installed in some kind of device
Seriously, though, you could put the new hard disk in the empeg, copy the tracks across, and then take the new disk out and stash it somewhere safe.
If you can get hold of a 3.5"-to-2.5" converter, and you've got a Linux box, or a copy of Cygwin, you can follow my rsync on empeg page to back up your empeg to a PC.
Just follow the instructions except that you use your PC as the destination instead of another empeg.
_________________________
-- roger
|
Top
|
|
|
|
#273025 - 12/01/2006 12:37
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: edsmiata]
|
carpal tunnel
Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
|
Greetings! Given that your garage the car, you should not have severe trouble or shorten the hard drive life that much. But if you want to back up without a computer and are upgrading your drives anyway, the best recommendation I have is when you upgrade your empeg's drive(s), copy the files directly by using the empeg as the installation device similar to Step 7 of the drive upgrade FAQ and put your original drives in a safe place. I can send you more detail if you choose to do this. Otherwise, I do not know of a direct disk connection method that will work well with the empeg. Perhaps a network attached disk, but you would still need something to do the connectivity...
_________________________
Paul Grzelak 200GB with 48MB RAM, Illuminated Buttons and Digital Outputs
|
Top
|
|
|
|
#273026 - 12/01/2006 13:19
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: pgrzelak]
|
addict
Registered: 18/08/2002
Posts: 544
Loc: New Jersey
|
what i will eventually do is upgrade to a larger drive...i would imagine that i would need about 20 more gb so do i go with one 80gb, and thus have a brand new drive, or keep the old ones in and risk a breakdown, which at that point what hs been store don them is now lost??
Ed
_________________________
...One man gathers what another man spills
|
Top
|
|
|
|
#273027 - 12/01/2006 14:01
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: edsmiata]
|
carpal tunnel
Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
|
If you are upgrading for capacity, I would go for the larger drive (there is not that much difference in price), use that and keep the old drives as a mirror of what you have on the player today.
_________________________
Paul Grzelak 200GB with 48MB RAM, Illuminated Buttons and Digital Outputs
|
Top
|
|
|
|
#273028 - 12/01/2006 14:29
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: pgrzelak]
|
addict
Registered: 18/08/2002
Posts: 544
Loc: New Jersey
|
ya...thats what i wanted to hear...where is the best source for these things these days??
_________________________
...One man gathers what another man spills
|
Top
|
|
|
|
#273029 - 12/01/2006 18:54
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. Help?
[Re: edsmiata]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
|
is there anyway i can back up the music on my empeg directly onto another HDD
I only
wish
and
wish
and
wish
and
wish
and
wish
and
wish
and
wish
and
wish
and
wish
that there were an easy way to do this.
Surely it isn't rocket science to write a Windows application that, upon clicking an icon on the desktop, would make an exact mirror copy of my empeg onto the PC hard drive of my choice! (Well, actually to me it would be rocket science. I once wrote a program in Basic that said "Hello World" right there on the monitor screen, and that is about the extent of my programming ability.)
Will nobody write a reasonable, idiot-proof backup program for the empeg? One that does not require a Linux box, or a bunch of other software to make it work?
Oh -- and it would be a good idea to make the program such that it could restore the backup to the empeg.
Sigh...
tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#273030 - 12/01/2006 19:07
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. Help?
[Re: tanstaafl.]
|
addict
Registered: 18/08/2002
Posts: 544
Loc: New Jersey
|
the silence is deafening...
_________________________
...One man gathers what another man spills
|
Top
|
|
|
|
#273031 - 13/01/2006 02:14
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tanstaafl.]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
These days, with Hijack in place, it could probably be done with an FTP script called from a batch file. The basic components are already there.
|
Top
|
|
|
|
#273032 - 13/01/2006 08:25
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: edsmiata]
|
carpal tunnel
Registered: 25/06/1999
Posts: 2993
Loc: Wareham, Dorset, UK
|
Because it's non-trivial, that's why.
_________________________
One of the few remaining Mk1 owners... #00015
|
Top
|
|
|
|
#273033 - 13/01/2006 12:15
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tanstaafl.]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
The application is called FTP, and works on any O/S. Except that the Microsoft OS doesn't seem to have any normal way to do raw writes to a hard disk. But all of the other OSs do. Just FTP to your empeg, and GET /dev/hda, and give the name of the destination drive as the place to put it.
Done. One, trivial command. Except for the microsofties.
|
Top
|
|
|
|
#273034 - 13/01/2006 14:22
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: Except that the Microsoft OS doesn't seem to have any normal way to do raw writes to a hard disk.
Define "normal". If you mean that it has no user-visible equivalent to /dev/hd* then I'll agree.
However, the Win32 API supports raw HD reads and writes perfectly well.
On the other hand, I fail to see how this is relevant. If you GET /dev/hda, you'll end up with a file called hda that is an image of the empeg's hard disk. You should be able to PUT /dev/hda later, no?
_________________________
-- roger
|
Top
|
|
|
|
#273035 - 13/01/2006 17:30
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: Roger]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Quote: If you GET /dev/hda, you'll end up with a file called hda that is an image of the empeg's hard disk. You should be able to PUT /dev/hda later, no?
If this is true, then the steps in the FAQ for saving and restoring the dynamic data partition would be a lot easier, too, wouldn't they?
This is an interesting idea. If the FTP commands GET and PUT work for an entire disk partition, then we really DO have a simple and trivial way of backing up and restoring disk images on the car player.
And if they don't, maybe we could convince Mark to alter the FTP daemon in Hijack so that they do?
|
Top
|
|
|
|
#273036 - 13/01/2006 17:31
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Wait, isn't there a file-size limit in Windows? Can you make an 80-gig file?
|
Top
|
|
|
|
#273037 - 13/01/2006 19:33
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: Wait, isn't there a file-size limit in Windows? Can you make an 80-gig file?
Depends on the FTP client. There's nothing stopping you in either the Win32 API or in NTFS.
_________________________
-- roger
|
Top
|
|
|
|
#273038 - 13/01/2006 20:07
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Quote: Wait, isn't there a file-size limit in Windows? Can you make an 80-gig file?
Oh, now there's a thought. I dunno if the Hijack FTP server works (or not) with files larger than 2GB/4GB. Never tested, never thought about before.
EDIT: Okay, I've looked through the source code, and it appears as if it *should* work fine for a raw drive .. gotta try it to make sure, but it oughta work.
Cheers
Edited by mlord (13/01/2006 20:15)
|
Top
|
|
|
|
#273039 - 13/01/2006 20:15
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Without thinking about it too hard, doing a backup that way doesn't make a lot of sense anyway. You're liable to get a lot of "blank" space taken up by unfilled filesystems, and it requires a restore to a drive of the exact same size (unless you don't care about your new 120GB drive still only having enough space to store 12GB worth of music). It makes more sense to back up filesystems as files and only read raw devices for non-filesystem slices.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273040 - 13/01/2006 20:16
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Agreed. Well, it would be helpful in the case of the dynamic data partition anyway. Anyone wanna try it?
|
Top
|
|
|
|
#273041 - 13/01/2006 21:00
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Works fine for the dynamic data partition.
Still transferring for the full disk image trial..
|
Top
|
|
|
|
#273042 - 13/01/2006 21:26
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Excellent. What are the exact FTP commands you're using? Of course, I'm sure you're testing on Linux. It would be cool if someone else could follow up and make sure the same command work with the Windows FTP command-line. They *should* but of course, who knows. It's Windows after all. I'd do it myself but I'm doing other stuff today...
|
Top
|
|
|
|
#273043 - 13/01/2006 21:58
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Quote: Excellent. What are the exact FTP commands you're using?
Entire disk: GET /dev/hda
Any single partition, same command, change hda to hda3 or whatever (I don't remember which partition holds the dynamic data).
|
Top
|
|
|
|
#273044 - 13/01/2006 22:17
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
So the entire disk includes all partitions including the dynamic data?
so an example of an entire disk backup for a two drive player is:
GET /dev/hda GET /dev/hdb
I assume you have to put the FTP software into binary mode first... or at least that's what you'd want to do on windows anyway...
To restore, what would the PUT commands look like?
|
Top
|
|
|
|
#273045 - 13/01/2006 22:22
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Yup, that's all correct.
And going the other way is just a simple PUT command. For example, these two commands copy the drive to a PC, and then write it back again (pointless in itself):
GET /dev/hda junk PUT junk /dev/hda
Those just use "junk" as the name for the file on the PC side. Or one could omit that, and the two lines become:
GET /dev/hda put hda /dev/hda
Cheers
|
Top
|
|
|
|
#273046 - 13/01/2006 22:36
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Okay, very very cool. I shall update the FAQ entry with this, soon.
|
Top
|
|
|
|
#273047 - 15/01/2006 19:57
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
addict
Registered: 18/08/2002
Posts: 544
Loc: New Jersey
|
and make sure it's in E N G L I S H for the rest of us illiterates!!!
_________________________
...One man gathers what another man spills
|
Top
|
|
|
|
#273048 - 15/01/2006 20:47
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Quick question: Do you need to put the player into RW mode before doing the PUT commands?
|
Top
|
|
|
|
#273049 - 15/01/2006 21:03
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
No. It's safer to leave them RO. Even safer to unmount them altogether, but that's not really possible.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273050 - 15/01/2006 21:05
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Actually, Mark, will the NFS server work if the disk has just been replaced? And will it understand what /dev/hda even is? It is a filesystem construct, after all.
And, in the case of a restore onto an "old", already-built disk, is Hijack going to panic when it notices a filesystem inconsistency?
Edited by wfaulk (15/01/2006 21:09)
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273051 - 15/01/2006 21:37
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Quote: Actually, Mark, will the NFS server work if the disk has just been replaced?
In the instructions I'm writing, I'm making sure that before someone does a PUT to restore the disk, they've done a full disk rebuild, software install, and hijack install, so that the player is fully working again.
Although I have a related question: Should the player software be exited out to the shell prompt before doing a full-disk PUT operation? And if so, is there a hijack command that'll do that for me via the FTP command-line interface, similar to the SITE RO and SITE RW commands?
|
Top
|
|
|
|
#273052 - 15/01/2006 21:51
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Quote:
Although I have a related question: Should the player software be exited out to the shell prompt before doing a full-disk PUT operation? And if so, is there a hijack command that'll do that for me via the FTP command-line interface, similar to the SITE RO and SITE RW commands?
It would be best to stop the player app while doing the image restore, but it should work regardless. I think Bitt once figured out the correct FTP SITE EXEC for that.
Cheers
|
Top
|
|
|
|
#273053 - 15/01/2006 22:17
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Quote: I think Bitt once figured out the correct FTP SITE EXEC for that.
Cool, thanks. that'd be useful to put into the instructions, if anyone knows it.
|
Top
|
|
|
|
#273054 - 15/01/2006 22:34
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Okay, the updated FAQ entry is here. I'm a bit brain-addled at the moment and can't bear the thought of fact-checking and typo-checking that entry right now. So if anyone notices any errors, please report them here. Thanks. Doug, your one-click backup/restore solution is now just a batch file away. I think you know how to write the batch file at this point, you've done FTP scripts before, right?
|
Top
|
|
|
|
#273055 - 16/01/2006 01:04
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
This:
Code:
SITE EXEC kill -2 `ps ax | grep player | grep -v grep | awk '{print $1;}'`
might work, but don't quote me on that. Someone test it first.
Edited by wfaulk (16/01/2006 01:05)
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273056 - 16/01/2006 02:47
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: tfabris]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
|
you've done FTP scripts before, right?
Yes, like the ones I run to use the player as a file taxi.
tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#273057 - 16/01/2006 03:11
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Cool, thanks Bitt. Okay, that's a pretty complicated little command, there. I understand why it has to be complicated, but for now I think I'll leave the FAQ entry as-is, where it says to kill the player via the shell prompt with the serial cable.
|
Top
|
|
|
|
#273058 - 16/01/2006 08:31
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
veteran
Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
|
Quote: Code:
SITE EXEC kill -2 `ps ax | grep player | grep -v grep | awk '{print $1;}'`
Trivial simplification: Code:
SITE EXEC kill -2 `ps ax | grep -v grep | awk '/player/{print $1;}'`
|
Top
|
|
|
|
#273059 - 16/01/2006 12:15
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: julf]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Well, if you're going to do that, you probably don't need the other grep either. Code:
SITE EXEC kill -2 `ps ax | awk '/player/{print $1;}'`
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273060 - 16/01/2006 12:38
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
veteran
Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
|
awk isn't included in the default player image, though.
|
Top
|
|
|
|
#273061 - 16/01/2006 13:09
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
veteran
Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
|
Quote: Well, if you're going to do that, you probably don't need the other grep either.
Well, unless you anchor the awk pattern (not able to connect to my empeg right now to see the output of ps), you will end up selecting the grep line too...
|
Top
|
|
|
|
#273062 - 16/01/2006 13:51
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: julf]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
What grep? There are no greps left.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273063 - 16/01/2006 14:07
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: cushman]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
ISTR it working at some point. Maybe it's in the developer image?
Hmm, all in bash. Tough one. It'd help if bash wasn't a pile of crap (they really need to stop claiming it's ksh-compatible).
Code:
SITE EXEC kill -2 `set $(ps ax | grep player | grep -v grep); echo $1`
_________________________
Bitt Faulk
|
Top
|
|
|
|
#273064 - 16/01/2006 14:39
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
veteran
Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
|
Quote: What grep? There are no greps left.
Duhhh! I need more coffee...
|
Top
|
|
|
|
#273065 - 16/01/2006 14:41
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: wfaulk]
|
enthusiast
Registered: 11/06/2003
Posts: 384
|
If you put the first letter of your search string in square brackets you don't need the grep -v. (The process table will show the brackets but grep parses them as indicators of a class that consists of the lowercase p.) Code:
SITE EXEC kill -2 `set $(ps ax | grep [p]layer); echo $1` --Nathan
|
Top
|
|
|
|
#273066 - 16/01/2006 16:15
Re: empeg in cold weather. it's ch-ch-chilly and it won't b-b-boot. He
[Re: Mataglap]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Ah, good trick.
_________________________
Bitt Faulk
|
Top
|
|
|
|
|
|