LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 643|回复: 0

无法unload module usb_storage导致无法休眠的问题

[复制链接]
发表于 2006-7-29 21:21:57 | 显示全部楼层 |阅读模式
这是suspend2disk.log的内容,上面一半看不懂,但从Unloading modules一行开始,可以看出是无法unload usb_storage。我的移动盘已经拔掉了,应该不是这方面的问题。

suspend2disk initiated: 2006-07-29 20:55:29
Debug info follows here, please include in your bug reports. Thanks.
--------------------------------------------------------------------
Loaded modules:
Module                  Size  Used by
snd_seq_dummy           3588  0
af_packet              19464  2
nls_iso8859_1           4096  0
nls_cp437               5760  0
vfat                   11648  0
fat                    46492  1 vfat
xt_pkttype              1792  3
ipt_LOG                 5632  8
xt_limit                2432  8
fglrx                 386348  29
cpufreq_ondemand        6048  1
cpufreq_userspace       3732  0
cpufreq_powersave       1792  0
speedstep_centrino      6736  0
freq_table              4228  1 speedstep_centrino
snd_pcm_oss            42752  0
snd_mixer_oss          16256  1 snd_pcm_oss
snd_seq                46960  1 snd_seq_dummy
snd_seq_device          7948  2 snd_seq_dummy,snd_seq
button                  6672  45
battery                 9476  537
ac                      4996  535
ip6t_REJECT             4992  3
xt_tcpudp               3072  3
ipt_REJECT              5120  3
xt_state                2048  12
iptable_mangle          2688  0
iptable_nat             7684  0
ip_nat                 15660  1 iptable_nat
iptable_filter          2816  1
ip6table_mangle         2304  0
ip_conntrack           47916  3 xt_state,iptable_nat,ip_nat
nfnetlink               6040  2 ip_nat,ip_conntrack
ip_tables              11080  3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter         2688  1
ip6_tables             12360  2 ip6table_mangle,ip6table_filter
x_tables               11524  10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
ipv6                  216704  15 ip6t_REJECT
apparmor               48412  0
aamatch_pcre           13440  1 apparmor
nls_utf8                2048  4
ntfs                  188692  4
loop                   14856  0
dm_mod                 52200  0
usb_storage            69952  13
ide_core              115900  1 usb_storage
usbhid                 39392  0
i8xx_tco                6804  0
pcmcia                 34364  0
tg3                    88964  0
snd_hda_intel          17044  211
snd_hda_codec         135296  1 snd_hda_intel
intel_agp              21020  1
agpgart                28976  2 fglrx,intel_agp
snd_pcm                79880  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              20868  2 snd_seq,snd_pcm
snd                    50692  289 snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               8672  1 snd
snd_page_alloc          9608  2 snd_hda_intel,snd_pcm
ehci_hcd               26760  0
uhci_hcd               27280  0
ipw3945               169504  1
ohci1394               29360  0
ieee1394               87480  1 ohci1394
yenta_socket           23692  1
rsrc_nonstatic         12160  1 yenta_socket
pcmcia_core            36624  3 pcmcia,yenta_socket,rsrc_nonstatic
i2c_i801                8076  0
i2c_core               19472  1 i2c_i801
usbcore               108804  5 usb_storage,usbhid,ehci_hcd,uhci_hcd
ieee80211              28232  1 ipw3945
ieee80211_crypt         5248  1 ieee80211
firmware_class          9728  2 pcmcia,ipw3945
reiserfs              209664  1
edd                     8516  0
fan                     4612  21
sr_mod                 14500  1
cdrom                  32288  41 sr_mod
thermal                13448  85
processor              22468  73 speedstep_centrino,thermal
sg                     30620  0
ata_piix               10244  8
libata                 65168  1 ata_piix
sd_mod                 16144  7
scsi_mod              121992  5 usb_storage,sr_mod,sg,libata,sd_mod

Memory info:
             total       used       free     shared    buffers     cached
Mem:        515332     439720      75612          0      45148     203128
-/+ buffers/cache:     191444     323888
Swap:       803208      81060     722148

/proc/cmdline: root=/dev/sda8 resume=/dev/sda9  splash=silent
------------------------------------------------------------------------------
========we are going to sleep, preparing.========
running kernel is grub menu entry 0 (vmlinuz)
== checking runlevel ==
  no shutdown/reboot in progress, good.
== Unmounting FAT/NTFS filesystems: ==
  device /dev/sda7 mounted on '/windows/F'
  device /dev/sda6 mounted on '/windows/E'
  device /dev/sda5 mounted on '/windows/D'
  device /dev/sda1 mounted on '/windows/C'
trying to umount device: '/dev/sda7' '/windows/F' -t 'ntfs' -o 'ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  success.
trying to umount device: '/dev/sda6' '/windows/E' -t 'ntfs' -o 'ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  success.
trying to umount device: '/dev/sda5' '/windows/D' -t 'ntfs' -o 'ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  success.
trying to umount device: '/dev/sda1' '/windows/C' -t 'ntfs' -o 'ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  success.
== FAT/NTFS filesystems unmounted ==
Stopping services: ('slmodemd irda upsd apcupsd' configured)
none running.

------------------------------------------------------------------------------
Unloading modules: ('usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 ath_pci r8169 lt_modem Intel536 Intel537 ndiswrapper' configured)
checking usb_storage
could not unload module 'usb_storage', usage count: 13

== restore_after_sleep: restart and reload everything ==

Resuming:
---------

Reloading modules:

Restarting services:

Remounting filesystems:
  mounted '/dev/sda1' to '/windows/C', options '-o ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  mounted '/dev/sda5' to '/windows/D', options '-o ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  mounted '/dev/sda6' to '/windows/E', options '-o ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
  mounted '/dev/sda7' to '/windows/F', options '-o ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8'
下面是suspend2ram.log的内容,可见仍是同一问题导致无法休眠。
suspend2ram initiated: 2006-07-24 22:46:03
Debug info follows here, please include in your bug reports. Thanks.
--------------------------------------------------------------------
Loaded modules:
Module                  Size  Used by
aes                    27968  1
ieee80211_crypt_ccmp     6656  1
michael_mic             2432  0
arc4                    1920  0
ieee80211_crypt_tkip     9472  0
joydev                  9024  0
af_packet              19464  0
nls_iso8859_1           4096  1
nls_cp437               5760  1
vfat                   11648  1
fat                    46492  1 vfat
xt_pkttype              1792  3
ipt_LOG                 5632  8
xt_limit                2432  8
fglrx                 386348  42
cpufreq_ondemand        6048  1
cpufreq_userspace       3732  0
cpufreq_powersave       1792  0
speedstep_centrino      6736  0
freq_table              4228  1 speedstep_centrino
snd_pcm_oss            42752  0
snd_mixer_oss          16256  1 snd_pcm_oss
snd_seq                46960  0
snd_seq_device          7948  1 snd_seq
button                  6672  0
battery                 9476  0
ac                      4996  0
ip6t_REJECT             4992  3
xt_tcpudp               3072  3
ipt_REJECT              5120  3
xt_state                2048  12
iptable_mangle          2688  0
iptable_nat             7684  0
ip_nat                 15660  1 iptable_nat
iptable_filter          2816  1
ip6table_mangle         2304  0
ip_conntrack           47916  3 xt_state,iptable_nat,ip_nat
nfnetlink               6040  2 ip_nat,ip_conntrack
ip_tables              11080  3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter         2688  1
ip6_tables             12360  2 ip6table_mangle,ip6table_filter
x_tables               11524  10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
ipv6                  216704  15 ip6t_REJECT
apparmor               48412  0
aamatch_pcre           13440  1 apparmor
nls_utf8                2048  4
ntfs                  188692  4
loop                   14856  0
dm_mod                 52200  0
usbhid                 39392  0
usb_storage            69952  1
ide_core              115900  1 usb_storage
pcmcia                 34364  0
i8xx_tco                6804  0
snd_hda_intel          17044  1
intel_agp              21020  1
agpgart                28976  2 fglrx,intel_agp
snd_hda_codec         135296  1 snd_hda_intel
tg3                    88964  0
snd_pcm                79880  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              20868  2 snd_seq,snd_pcm
snd                    50692  10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               8672  1 snd
snd_page_alloc          9608  2 snd_hda_intel,snd_pcm
ipw3945               169504  1
ohci1394               29360  0
ieee1394               87480  1 ohci1394
ehci_hcd               26760  0
uhci_hcd               27280  0
usbcore               108804  5 usbhid,usb_storage,ehci_hcd,uhci_hcd
ieee80211              28232  1 ipw3945
ieee80211_crypt         5248  3 ieee80211_crypt_ccmp,ieee80211_crypt_tkip,ieee80211
firmware_class          9728  2 pcmcia,ipw3945
yenta_socket           23692  1
rsrc_nonstatic         12160  1 yenta_socket
pcmcia_core            36624  3 pcmcia,yenta_socket,rsrc_nonstatic
i2c_i801                8076  0
i2c_core               19472  1 i2c_i801
reiserfs              209664  1
edd                     8516  0
fan                     4612  0
sr_mod                 14500  0
cdrom                  32288  1 sr_mod
thermal                13448  0
processor              22468  2 speedstep_centrino,thermal
sg                     30620  0
ata_piix               10244  6
libata                 65168  1 ata_piix
sd_mod                 16144  9
scsi_mod              121992  5 usb_storage,sr_mod,sg,libata,sd_mod

Memory info:
             total       used       free     shared    buffers     cached
Mem:        515332     395212     120120          0      12772     152136
-/+ buffers/cache:     230304     285028
Swap:       803208     101000     702208

/proc/cmdline: root=/dev/sda8 resume=/dev/sda9  splash=silent
------------------------------------------------------------------------------
========we are going to sleep, preparing.========
== checking runlevel ==
  no shutdown/reboot in progress, good.
Stopping services: ('slmodemd irda upsd apcupsd' configured)
none running.

------------------------------------------------------------------------------
Unloading modules: ('usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 ath_pci r8169 lt_modem Intel536 Intel537 ndiswrapper' configured)
checking usb_storage
could not unload module 'usb_storage', usage count: 1

== restore_after_sleep: restart and reload everything ==

Resuming:
---------

Reloading modules:

Restarting services:

Remounting filesystems:
  not necessary.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表