Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1711
extendedping, instead of choosing the "debiandown" icon, please open a terminal and run

Code:
sudo closechroot
please post the output here.

I want to see if there are some hints as to why your closechroot script isn't closing everything...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1712
Originally Posted by extendedping View Post
thanks for the hint about putting commands in /sbin/chroot. I want to see what quole (if he is reading) would suggests before I tinker (which for me probably means wreck) a script.
You cannot do much harm by just trying. Just make a backup copy of the original script!
Code:
cp -a /sbin/chroot /home/user
(the "-a" switch is to preserve permissions and time stamps)
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1713
Originally Posted by Honza. View Post
rebhana: Thank you, I added /.debian/; now image-viewer is OK, but hildon-thumbnai still eats 100% of CPU for long time when I mount partition.
Found this post with suggestions of how to tame this daemon.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1714
OK, this is perhaps only something of interest to theoretical high energy physicists, superstring theorists and the like: I've successfully installed and tested the computer algebra system Cadabra in Easy Debian. Cadabra is now available in Debian squeeze and can be installed from there with
Code:
apt-get install cadabra texlive-latex3
(texlive-latex3 is a missing dependency). On my installation, it was just barely possible given the space limitations, but once installed it runs nicely and fast with "debbie xcadabra".
Attached Images
 
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log

Last edited by rebhana; 2010-09-05 at 17:21.
 

The Following 3 Users Say Thank You to rebhana For This Useful Post:
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1715
here is what I see...when I close debian via closechroot. running top after this shows mysql not there. however if I close debian via the icon it still shows

1) output of closechroot


~ $ sudo closechroot
Closing the chroot...
...closing chroot apps...
..Unmounting bound dirs...
unmounting /.debian/dev
unmounting /.debian/proc
unmounting /.debian/tmp
unmounting /.debian/var/tmp
unmounting /.debian/sys
unmounting /.debian/home
unmounting /.debian/var/run/dbus
unmounting /.debian/var/lib/dbus
unmounting /.debian/var/run/pulse
..Unmounting /.debian...
successful unmount...
chroot closed.

2) top after then reopening debian and using the down icon

: 234444K used, 10856K free, 0K shrd, 1652K buff, 85228K cached
CPU: 13.4% usr 4.5% sys 0.0% nice 81.9% idle 0.0% io 0.0% irq 0.0
Load average: 0.66 0.43 0.30
PID PPID USER STAT RSS %MEM %CPU COMMAND
1006 670 root S < 16576 6.7 7.1 /usr/bin/Xorg -logfile /tmp/X
6597 1176 user S 10352 4.2 5.5 /usr/bin/osso-xterm
1293 1176 user S 7636 3.1 2.9 /usr/bin/hildon-desktop
6601 6599 user R 736 0.3 0.5 top
6570 6315 101 S 15720 6.3 0.4 /usr/sbin/mysqld --basedir=/u
909 670 root S < 2192 0.8 0.4 /sbin/mce --force-syslog
10 2 root SW 0 0.0 0.2 [omap2_mcspi]
1000 2 root SW 0 0.0 0.2 [sgx_misr]
4 2 root SW 0 0.0 0.2 [events/0]
218 2 root SW 0 0.0 0.2 [vibra]
4611 1408 user

so again, when closing via command line there is no mysqld in top but it is there after using the icon...
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1716
ok just retested and now neither the icon or the command are stopping mysql...
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1717
Originally Posted by extendedping View Post
ok just retested and now neither the icon or the command are stopping mysql...
Strange! Do you have mysql in Maemo, too? In XTerminal, not in Debian, do you get something when you type
Code:
ls -l /usr/sbin/mysqld
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1718
extendedping: I need to see your output when the closechroot command does NOT stop mysqld.

And it won't work if you run closechroot a second time after a failed attempt, because it thinks the chroot is closed already. That's probably a bug I should fix.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1719
rebooted
opened debian
output of closechroot

7176 2.9 0.0 /usr/sbin/apache2 -k start
Nokia-N900:~# closechroot
Closing the chroot...
...closing chroot apps...
..Unmounting bound dirs...
unmounting /.debian/dev
unmounting /.debian/proc
unmounting /.debian/tmp
unmounting /.debian/var/tmp
unmounting /.debian/sys
unmounting /.debian/home
unmounting /.debian/var/run/dbus
unmounting /.debian/var/lib/dbus
unmounting /.debian/var/run/pulse
..Unmounting /.debian...
successful unmount...
chroot closed.

output of top immediatly after

.0% io 0.0% irq 0.0
Load average: 0.68 0.85 0.55
PID PPID USER STAT RSS %MEM %CPU COMMAND
991 672 root S < 21216 8.6 27.2 /usr/bin/Xorg -logfile /tmp/X
2183 2018 root R 576 0.2 9.0 top
2096 1340 user S 52540 21.3 0.0 /usr/sbin/browserd -s 2096 -n
2138 1340 user S 23048 9.3 0.0 /usr/sbin/browserd -s 2138 -n
2095 1178 user S 21228 8.6 0.0 /usr/bin/browser
2161 1178 user S 15820 6.4 0.0 /usr/bin/modest
2155 1178 user S 13108 5.3 0.0 /usr/bin/image-viewer
1290 1178 user S 10808 4.3 0.0 /usr/bin/hildon-status-menu
2132 1178 user S 10740 4.3 0.0 /usr/bin/rtcom-messaging-ui
2124 1178 user S 10368 4.2 0.0 /usr/bin/osso-addressbook
2128 1178 user S 10216 4.1 0.0 /usr/bin/rtcom-call-ui
2158 1178 user S 10124 4.1 0.0 /usr/bin/Calendar

thanks
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1720
sorry I keep trying to catch the mysqld output in top but I can't grab it (due to it refreshing) but it is still there.
 
Reply

Tags
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze

Thread Tools

 
Forum Jump


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