Skip to main content

Posts

Showing posts from September, 2008

Fixing shutdown problem in hardy

For a long time my ubuntu box can't shutdown properly(not sure when this start to happen may be since upgrade to gusty). Shutdown progress bar will stop running, harddrive already stop spinning and hang. I guess it because my kernel option "acpi=off nolapic irqpoll" in /boot/grub/menu.lst without these option shutdown script work perfect. So, why i need that?? I just found the way to fix this from ubuntuforums. This is not new, many guy has this problem and it fixed. To solve this problem [for me] 1.add "apm=power_off" to kernel option. 2.add "apm power_off=1" to /etc/modules Reboot and try shutdown again this time it work perfect.

Bootchart on Ubuntu hardy

Today I'm searching for a way to make my box boot up faster and found this tool. Bootchart can use for analyze and visualization boot process. To install bootchart. pnix@pnix-a7n:~$ sudo aptitude install bootchart Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following NEW packages will be automatically installed: librsvg2-bin The following NEW packages will be installed: bootchart librsvg2-bin 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 121kB of archives. After unpacking 324kB will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done Get:1 http://mirror1.ku.ac.th hardy/main librsvg2-bin 2.22.2-2 [21.3kB] Get:2 http://mirror1.ku.ac.th hardy/main bootchart 0.9-0ubuntu7 [99.8kB] Fetched 121kB in 1s (90.6kB/s) ... Building tag database... Done...