![]() |
Re: [WIP] Ubuntu 9.10 on the N900
Yey managed to boot it without r&d thanks for the tip lunat :p
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
BTW found out this new script and said to be able to send replies back to watchdog to prevent it from rebooting... But seems like I can't get this to work... Quote:
Quote:
Quote:
in /etc/ and the main script to /etc/init.d/ Am I doing it the wrong way? And the files pointed here doesn't exist.. Quote:
Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
very short description: what is the problem?
but: doesn't look like the ubuntu startscript, the script feels like one from fedora(?) therefore: does the script get called? if not: quick and dirty: put link in rcNN.d like chkconfig header suggests ---- but what's wrong with: apt-get install watchdog |
Re: [WIP] Ubuntu 9.10 on the N900
That is the problem... It isn't initiated on bootup :p
So I guess i'm on the wrong directory then... I've put mine on /etc/init.d/wd_n900. I thought it would still get initiated there. |
Re: [WIP] Ubuntu 9.10 on the N900
first off i do not understand why you don't just use the ubuntu script that comes with the wtchdog. but not my business...
putting something in /etc/init.d does not cause it to be called. you need the links in the runlevels. (alternatively convert the script to a upstart script) so you have to link it in. eg: Code:
cp -s /etc/init.d/yourscript /etc/rc1.d/S01yourscript and if that doesn't work something with your booting is wrong and the /etc/event.d/rcX (rsp. /etc/init.d/rc ) doesn't get called. EDIT: spot in your script the line: # chkconfig: 12345 01 99 that's to be done. EDIT: for ubuntu it says it needs this links: --- # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 --- Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
Also I didn't know there is already a script for watchdog that comes with maemo... :D |
Re: [WIP] Ubuntu 9.10 on the N900
sorry if i sounded arrogant. it was not ment that way. by no means,;)
just try to help. please don't be mad at me for saying that i do not understand why you needed to manually install a script. i said i do not understand why you don't use the ubuntu script for it comes with the watchdog daemon. so if you have the watchdog daemon you normally should have the ubuntu script right in place without doing anything. so i was simply wondering why you seemingly replaced it with some other script. so no offence at all! your script looks like fedora init scripts. that does not mean it is fedora but that's the biggest distribution that has scripts like this. skimming over it, it looks like it does nothing essentially different than the ubuntu script. so it most likely should work. the only reason i can see for it not even being called is that it simply is not linked into the runlevels. see below how to do that. that linking is usually done automatically. only for you manually installed the script you have to explicitly tell the system to use it and when. that's done by creating the links. again see below how to do that and maybe look at other initscripts for examples. Code:
cp -s SOME.SCRIPT.WHEREEVER.IT.IS /etc/rcX.d/S01FANCYNAME and if you have them in place, it either should work or you should see some error on the terminal and/or in the logs. i /etc/watchdog.conf needs adjustment. thats where you define what the daemon should do. Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
:D Actually I wasn't mad or anything you just misinterpretted it :p
Yes I understood already the problem and your explanation, actually I already got it working now :) I just explained why I used another watchdog script. So the simple answer is that I didn't know there is one already. Someone just referred me to that script when I asked so that's the one I used. :D And ok might wanna try that default script now... So all I have to do is edit the watchdog.conf and all should be fine? Would that mean I wouldn't need the watchdog-omap.conf & watchdog-twl4030.conf to go around watchdog? Again thanks for the time! Oh btw you can explain simplier... I know linux... It's just I don't bother to dwell deeper on it until now of course :) |
Re: [WIP] Ubuntu 9.10 on the N900
yes! there you are right. you need the configurations. and you need as many watchdogs running as you have wd-devices.
so for that you might want to go with your script. Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
I'm just doing this for learning :p so I will try everything I can lol!
but first I need to fix this inverted keyboard... The module provided by mohammad can't be insmod it shows up an error... So gonna work on this first before anything else. Again thanks for the help! |
All times are GMT. The time now is 17:00. |
vBulletin® Version 3.8.8