[已解决]unbuntu 8.04 wubi安装在xp系统下,关机时NetworkManager出错,导致无法关机

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
flyingtime
帖子: 13
注册时间: 2007-04-21 10:46

[已解决]unbuntu 8.04 wubi安装在xp系统下,关机时NetworkManager出错,导致无法关机

#1

帖子 flyingtime » 2008-08-19 12:38

昨天在xp下用wubi安装了ubuntu 8.04

cpu是amd x2 64位的

使用基本正常,关机后,NetworkManager:<WARN> nm_signal_handler(): Caught signal 15, shutting down normally.
NetworkManager:<info> Caught termination signal.
NetworkManager:<debug> [1209607654.811738] nm_print_open_socks(): Open Sockets List:
NetworkManager:<debug> [1209607654.811868] nm_print_open_socks(): Open Sockets List Done.
NetworkManager:<info> Detecting Device eth0.
NetworkManager:<WARN> nm_hal_deinit(): libhal shutdown fail - Connection is closed.
NetworkManager:<WARN> nm_dbus_init(): nm_dbus_init() could not get the system bus. Make sure the message bus daemon is running!
NetworkManager: nm_dbus_signal_device_status_change: assertion 'cd_data->data->bus_connection' failed.
NetworkManager: nm_dbus_signal_device_status_change: assertion 'cd_data->data->bus_connection' failed.
NetworkManager: nm_dbus_signal_device_status_change: assertion 'cd_data->data->bus_connection' failed.

然后就停住了,没法关机,只剩下光标在那里闪。。

暂时的解决方法是:
在终端输入sudo gedit /etc/modules,在文件的末尾添加:apm power_off=1

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.

fuse
lp
apm power_off=1

在终端输入sudo gedit /boot/grub/menu.lst,在文件中找到“title Ubuntu 8.04.1, kernel 2.6.24-19-generic“这句,在其后的”kernel /boot/vmlinuz-2.6.24-19-generic….“后面加上apm=power_off

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,9)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=A0DF-325F loop=/ubuntu/disks/root.disk ro quiet splash acpi=off noapic nolapic apm=power_off
initrd /boot/initrd.img-2.6.24-19-generic
上次由 flyingtime 在 2008-08-20 13:35,总共编辑 2 次。
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

Re: [问题]unbuntu 8.04 wubi安装在xp系统下,无法正常关机。

#2

帖子 delectate » 2008-08-19 13:13

flyingtime 写了:昨天在xp下用wubi安装了ubuntu 8.04

cpu是amd x2 64位的

使用基本正常,关机后,屏幕左上角光标不停的闪动。。按任何键都没有反应。。




:? 百度也没找到类似的问题。。奇怪了。。
遇事不好百度,百度很lj,用google吧(baiduer,请原谅我这么说,但是事实就是如此,google搜索出来的的确比百度准确,且不说它用什么手段陷害google)

既然是wubi安装,那么你用的是32还是64位的系统?

安装盘有没有验证,有没有刻录错误?

感觉是电源管理问题
flyingtime
帖子: 13
注册时间: 2007-04-21 10:46

#3

帖子 flyingtime » 2008-08-19 13:38

谢谢楼上的兄弟,。。。ff我默认设置百度了。。。还是有点不太习惯gg。。之前gg快照被和谐了。找的很多资料都需要快照才能看。。。所以习惯百度了。。。。。我不是baiduer 但你肯定是gger 哈。。。


感谢gg,我找到了一些类似的问题。


我用的32位的 i386桌面版本。

硬盘安装的。

安装使用都正常,就是关机的时候异常。

首先跳到命令行状态 然后跳到 桌面滚动条状态 最后 光标闪动。。



找到了几个帖子晚上回家试试,不行的话 回来继续报告

viewtopic.php?p=728969#728969

http://forum.ubuntu.com.cn/viewtopic.ph ... sc&start=0

http://www.in9.cn/read.php?tid=296492

再次感谢楼上的朋友。

:D
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: [问题]unbuntu 8.04 wubi安装在xp系统下,无法正常关机。

#4

帖子 JiangHui » 2008-08-19 13:40

后代 写了:
flyingtime 写了:昨天在xp下用wubi安装了ubuntu 8.04

cpu是amd x2 64位的

使用基本正常,关机后,屏幕左上角光标不停的闪动。。按任何键都没有反应。。




:? 百度也没找到类似的问题。。奇怪了。。
遇事不好百度,百度很lj,用google吧(baiduer,请原谅我这么说,但是事实就是如此,google搜索出来的的确比百度准确,且不说它用什么手段陷害google)

既然是wubi安装,那么你用的是32还是64位的系统?

安装盘有没有验证,有没有刻录错误?

感觉是电源管理问题


找些八卦消息明星绯闻之类的baidu就比google强……
flyingtime
帖子: 13
注册时间: 2007-04-21 10:46

#5

帖子 flyingtime » 2008-08-19 22:24

:D 谢谢大家,已经解决。
参看那个帖子的12楼的设置方法,成功解决了。(只测试了重启,没有测试关机。)
系统菜单->administration(管理)->login window(登入窗口)->Default Session(默认会话)设置成GNOME


:D

百度娱乐搜索的确不错,哈哈。
flyingtime
帖子: 13
注册时间: 2007-04-21 10:46

#6

帖子 flyingtime » 2008-08-19 23:10

重启可以,关机不可以了。。。

上网搜了一下,方案如下:

  在终端输入sudo gedit /etc/modules,在文件的末尾添加:apm power_off=1

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
apm power_off=1

  在终端输入sudo gedit /boot/grub/menu.lst,在文件中找到“title Ubuntu 8.04, kernel 2.6.24-17-generic“这句,在其后的”kernel /boot/vmlinuz-2.6.24-17-generic….“后面加上apm=power_off

title Ubuntu 8.04, kernel 2.6.24-17-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=57d2ab1d-11dc-4af2-8e75-334ff2c7fbff ro quiet splash locale=zh_CN apm=power_off
initrd /boot/initrd.img-2.6.24-17-generic
quiet

有人说有这样一个方法,我还没有测试。。。

搜索了一下 好像这个问题好多人都出现了。。

http://sudan.ubuntuforums.com/showthrea ... 123&page=2
老外的坛子也发现这个问题了。。

求终极解决方法。。
flyingtime
帖子: 13
注册时间: 2007-04-21 10:46

#7

帖子 flyingtime » 2008-08-19 23:15

http://ubuntuforums.org/showthread.php?t=772733


Recently upgraded to Hardy. Few teething problems...
One is what happens when shutting down the PC. Under Gutsy and others, I got the Ubuntu logo and the progress bar going down, then power off.
Now I get a terminal screen showing the last logging-in words of wisdoms (finishing with Running local boot scripts (/etc/rc.local) [OK] ), and I have to wait about 30-45 seconds then I get the following:
NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally.
NetworkManager: <INFO> Caught termination signal
NetworkManager: <DEBUG> [1209404787.824467] nm_print_open_socks(): Open Sockets List:
NetworkManager: <DEBUG> [1209404787.824467] nm_print_open_socks(): Open Sockets List Done.
NetworkManager: <WARN> nm_hal_deinit(): libhal shutdown failed - Connection is closed
NetworkManager: <WARN> nm_dbus_init(): nm_dbus_init() could not get the system bus. Make sure the message bus daemon is running!

Then the PC shuts down. No big deal, but... The 2 last lines worry me. Is that important? Sign of a problem somewhere? And I would feel better if I could get my ol' shut-down Ubuntu progress bar as before.

Thank you in advance for pointing me in some sort of useful direction!

错误信息。。
回复