Active Topics

 


Reply
Thread Tools
robin's Avatar
Posts: 17 | Thanked: 2 times | Joined on Dec 2007
#1
Greetings,

There are duplicate proccess of the same process running.
In my terminal, I run 'ps'. Output below:
Code:
  PID  Uid        VSZ Stat Command
    1 root       1468 SW  init [2]
    2 root            SWN [ksoftirqd/0]
    3 root            SW  [watchdog/0]
    4 root            SW< [events/0]
    5 root            SW< [khelper]
    6 root            SW< [kthread]
   14 root            SW< [dvfs/0]
   65 root            SW< [kblockd/0]
   66 root            SW< [kseriod]
   78 root            SW< [OMAP McSPI/0]
   85 root            SW< [ksuspend_usbd]
   88 root            SW< [khubd]
  112 root            SW  [pdflush]
  113 root            SW  [pdflush]
  114 root            SW< [kswapd0]
  115 root            SW< [aio/0]
  118 root            SW< [mipid_esd]
  237 root            SW  [mtdblockd]
  279 root            SW< [kondemand/0]
  280 root            SW< [kmmcd]
  291 root            SW< [krfcommd]
  327 root       1108 SW< dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  335 root        776 SW  /usr/bin/bme_RX-34
  337 root        564 SW  /usr/sbin/kicker
  386 root            SW< [cx3110x]
  406 root            SWN [jffs2_gcd_mtd4]
  438 root       1576 SW< /sbin/udevd --daemon
  640 messagebus   2312 SW< /usr/bin/dbus-daemon --system
  670 haldaemon   4116 SW  /usr/sbin/hald
  671 root       2800 SW  hald-runner
  730 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  731 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  732 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  733 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  734 root       2940 SW  hald-addon-input: Listening on /dev/input/event2 /dev
  735 root       2436 SW  /usr/lib/hal/hald-addon-mmc
  736 root       2436 SW  /usr/lib/hal/hald-addon-mmc
  738 root       2952 SW  /usr/lib/hal/hald-addon-cpufreq
  751 root       3636 SW< /sbin/mce --force-syslog
  767 root      11888 SW< /usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr -nolis
  794 user       1444 SW< /usr/sbin/temp-reaper
  797 user       2048 SW< /usr/bin/dbus-daemon --session
  801 user       7096 SW< /usr/lib/sapwood/sapwood-server
  805 user       6520 SW< /usr/bin/matchbox-window-manager -theme default -use_
  813 root            SW< [dsp/0]
  816 root            SW< [dsp/0]
  819 root       2952 SW  /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/ds
  825 root       2792 SW< /usr/bin/bme-dbus-proxy -N
  884 root       4804 SW  /usr/sbin/multimediad
  890 root       2176 SW< /usr/bin/esd
  918 systemui  16936 SW< /usr/bin/systemui
  944 root            SW< [file-storage-ga]
  947 haldaemon   2508 SW  hald-addon-usb-cable: listening on /sys/devices/plat
  955 root       7836 SW< /usr/sbin/ke-recv
  974 user      18960 SW< /usr/bin/maemo-launcher --daemon --send-app-died --bo
  983 nobody     1812 SW< /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
  986 root       2924 SW< /usr/bin/btcond -l
  989 root       2520 SW< /usr/sbin/hcid -n -x -s
  992 root       2452 SW< /usr/lib/bluetooth/bluetoothd-service-audio
  993 root       2412 SW< /usr/lib/bluetooth/bluetoothd-service-input
  999 root       3580 SW< /usr/sbin/wlancond
 1002 root       3204 SW< /usr/sbin/icd
 1035 user       1448 SW< /usr/bin/hildon-input-method
 1036 user      27472 SW< /usr/bin/hildon-input-method
 1039 user       3916 SW< /usr/bin/clipboard-manager
 1041 messagebus   3324 SW  /usr/lib/gconf2/gconfd-2
 1120 user       1448 SW< /usr/bin/hildon-desktop
 1121 user      39748 SW< /usr/bin/hildon-desktop
 1160 user       1448 SW< /usr/bin/osso-connectivity-ui-conndlgs
 1161 user      27884 SW< /usr/bin/osso-connectivity-ui-conndlgs
 1167 user       7416 SW< /usr/bin/osso-media-server
 1191 user       3192 SW< /usr/bin/obexsrv -l
 1211 user       5232 SW  /usr/bin/alarmd
 1244 root       5084 SW< /usr/sbin/hulda
 1245 root       3036 SW< /usr/sbin/hulda
 1265 user      16308 SW  /usr/bin/mediaplayer-engine
 1271 user      16084 SWN /usr/bin/metalayer-crawler -F
 1287 user       7944 SW  /usr/libexec/gnome-vfs-daemon
 1321 messagebus  14392 SW  /usr/bin/eapd
 1324 root       1472 SW< /sbin/udhcpc -i wlan0 -s /etc/udhcpc/udhcpc.script -f
 1538 root       3168 SWN /usr/sbin/sshd
 1612 root       5776 SWN sshd: root@pts/0
 1614 root       1960 SWN -sh
 1630 user      93028 SW  /usr/bin/browser
 1637 user       1448 SW  /usr/bin/osso_rss_feed_reader
 1638 user      36820 SW  /usr/bin/osso_rss_feed_reader
 1640 user       1448 SW  /usr/bin/osso-xterm
 1641 user      21816 SW  /usr/bin/osso-xterm
 1642 user       1960 SW  -sh
 1645 root       1960 RWN ps
I only launched 1 xterm, only running 1 rss feed reader, yet theres 2 processes of each, plus many other background processes have duplicates as well.

Flashing doesn't help. With or without restoring backup.

So is it a good idea to manually remove the whole filesystem in the terminal like this?
rm -R /

Then be able to boot up the N800 and flash it as instructed here http://maemo.org/community/wiki/howt...magewithlinux/ ?

This post is also related to this thread http://www.internettablettalk.com/fo...288#post118288
 
Posts: 190 | Thanked: 21 times | Joined on Sep 2006
#2
That is no error, and you don't want to fix it. Many processes do fork into multiple instances.
 
robin's Avatar
Posts: 17 | Thanked: 2 times | Joined on Dec 2007
#3
Oh really? I see. This doesn't happen on Linux though. Like Ubuntu and Debian. Can you explain technically what actually happens with these forks and its purpose?

Im still curious to know if I could delete everything in root and be able to flash, or some sort of super flash to wipe out every single thing. Cos im pretty sure, a flash does not completely replace everything.

I've done a lotta flashing between OS2008, OS2007, and some Dev version, and theres always little bits of pieces left behind from the previous flash. So I always feel a bit dirty after each flash. I want squeeky clean! I thought this way cos of the duplicate processes, but since you say that it's normal, then I guess flashing reformats well enough.

Would still like to know about removing root though.

Thanks for the quick response.

Last edited by robin; 2007-12-31 at 12:18.
 
Posts: 190 | Thanked: 21 times | Joined on Sep 2006
#4
Of course it does happen on Linux, and anywhere else for trhat matter - forking/IPC or threading are the standard way of handling asynchronous tasks in a multitasking environment.

YMMV whether it becomes obvious. There is no great difference process wise between threading and forking in Linux, the visibility of threads and forked processes depends on the threading model (on Linux threads, threads were processes in every aspect, NPTL changed that somewhat), and the version of ps/top you use (the busybox variants used on the IT make no effort to merge threads and forks, while some graphical process viewers will - erroneously - even recombine separately started instances into one process) and the arguments you call them with.
 

The Following 2 Users Say Thank You to sevo For This Useful Post:
robin's Avatar
Posts: 17 | Thanked: 2 times | Joined on Dec 2007
#5
Ahh I see even more. I guess the 'ps' on my Ubuntu is hiding those thread/fork information. Good to know.

Thank you.

Oh by the way, something unrelated.
In date&time, you can't pick Perth, Australia as home city.
There are:
Sydney, Australia
Melbourne, Australia
Canberra, Australia

But no god damn Perth!!! It's in Western Australia. There is a city on the West too! The desert is in the middle!

Where should I be taking this complain to? Nokia? Maemo?

Oh heres a forum-based thank you too.

Last edited by robin; 2007-12-31 at 12:36.
 
frethop's Avatar
Posts: 283 | Thanked: 60 times | Joined on Nov 2005 @ It's dark in here. I hear laughing.
#6
Originally Posted by robin View Post
I've done a lotta flashing between OS2008, OS2007, and some Dev version, and theres always little bits of pieces left behind from the previous flash.
Wow...could you be more specific? Doesn't reflashing -- by definition -- wipe flash and insert a new image? I seriously doubt that, if there were some remnant bits were left over, there were enough in the right sequence to form a file and an inode... But I'm interested if there is and if it affects the next reflash.
 
robin's Avatar
Posts: 17 | Thanked: 2 times | Joined on Dec 2007
#7
My suspicion for " little bits of pieces left behind from the previous flash" was mainly due to the duplicate processes, which sevo has already explained that it is normal.

My other suspicions were from reading other people's complaints of their device not performing the way they used to even after clean reflash. Slow browsing and all.

Then there are complaints of background processes which are silently draining battery while off or idle.

Then this thread, http://www.internettablettalk.com/fo...d.php?p=118288

And whole bunch of other little threads saying flashing aint helping.



Then I found out about the duplicate processes on MY device and I've been experiencing slowless in OS2008 compared to OS2007 possibly due to the multiple duplicate processes. I was convinced that flash does not erase things properly.

Now that sevo has cleared things up, I guess I was paranoid. So flash should be doing what it's supposed to. Unless someone pops up and says otherwise.

Last edited by robin; 2007-12-31 at 13:20.
 
Posts: 156 | Thanked: 44 times | Joined on Dec 2007
#8
Originally Posted by robin View Post
Oh by the way, something unrelated.
In date&time, you can't pick Perth, Australia as home city.
There are:
Sydney, Australia
Melbourne, Australia
Canberra, Australia
http://www.rwhitby.net/blog/n800/add...sso-clock.html

Here's the instructions I used to add a new timezone (was easier for me because I could just follow them being in Adelaide as well - you'll have to find the pixel offset yourself). I couldn't follow the second part (cloc_db_city_Adelaide bit) because the file wasn't there, but it seems to work fine without it.
 

The Following User Says Thank You to t3h For This Useful Post:
robin's Avatar
Posts: 17 | Thanked: 2 times | Joined on Dec 2007
#9
Oh and Adelaide, Australia isn't included too.
Thanks for the fix.

But OS2008 (and previous versions) needs you to manually adjust the time anyway. The point of choosing your city and country is so that the time will automatically set and sync itself with NTP or something, which it doesn't.

Oh I still wanna know if I could rm -R / without bricking the system.

Last edited by robin; 2007-12-31 at 13:17.
 
frethop's Avatar
Posts: 283 | Thanked: 60 times | Joined on Nov 2005 @ It's dark in here. I hear laughing.
#10
Originally Posted by robin View Post
Oh I still wanna know if I could rm -R / without bricking the system.
Linux runs off the filesystem. There's no special kernel code stuck somewhere in inaccessible ROM... The ROM boot code simply finds the right file on the system to bring into memory and start up.

Doing an "rm -R /" will wipe out the kernel files needed to start up the system as well as all supporting files.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:55.