[問題] ubuntu中khubd一直佔用100%cpu是怎麼回事呢?

看板Linux作者 (克斯特)時間16年前 (2009/09/28 10:36), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請教各位前輩一個問題.... khubd這隻process是做什麼用的呢? 我大概知道這是處理usb的process 可是常常發生這隻khubd吃了100%的cpu,然後系統就處在當機狀態 我試著在當機的狀態中下指令:dmesg看一下狀況,發現有bug訊息: [ 68.324491] hda-intel: Invalid position buffer, using LPIB read method instead. [ 8857.175148] BUG: soft lockup - CPU#2 stuck for 11s! [khubd:1502] [ 8857.175152] CPU 2: [ 8857.175153] Modules linked in: rfcomm l2cap bluetooth ppdev dock sbs sbshc video output container battery cpufreq_ondemand cpufreq_stats freq_table cpufreq_powersave cpufreq_conservative cpufreq_userspace xfs ac sbp2 lp ipv6 ipt_MASQUERADE iptable _nat nf_nat nf_conntrack_ipv4 nf_conntrack xt_TCPMSS xt_tcpudp snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event iptable_filter ip_tables snd_seq x_tables sn d_timer fglrx(P) i2c_piix4 wmi_acer snd_seq_device snd evdev button parport_pc parport shpchp pci_hotplug i2c_core soundcore pcspkr ext3 jbd mbcache atiixp ide_core pata_atiixp pata_acpi sg sr_mod cdrom sd_mod ohci1394 floppy ehci_hcd ieee1394 ata_ge neric r8169 ohci_hcd usbcore ahci libata scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse [ 8857.175196] Pid: 1502, comm: khubd Tainted: P 2.6.24-24-generic #1 [ 8857.175198] RIP: 0010:[<ffffffff803506c8>] [<ffffffff803506c8>] __delay+0x8/0x20 [ 8857.175205] RSP: 0018:ffff810129ae3b38 EFLAGS: 00000287 [ 8857.175207] RAX: 00000000bdcef360 RBX: ffffc2000103a048 RCX: 00000000bdcbe1c8 [ 8857.175209] RDX: 0000000000001368 RSI: 000000000092cc42 RDI: 0000000000125992 [ 8857.175211] RBP: ffffffff80247ee0 R08: ffff810129ae2000 R09: 0000000000a809bb [ 8857.175212] R10: ffff810080a09000 R11: ffffffff80220720 R12: ffffc2000103a048 [ 8857.175214] R13: ffff810129ae3ac0 R14: 0000000000000286 R15: 0000000000000004 [ 8857.175216] FS: 00007f32c62616e0(0000) GS:ffff81012b801b80(0000) knlGS:00000000f7ded8c0 [ 8857.175218] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b [ 8857.175219] CR2: 000000000060874c CR3: 00000001298ae000 CR4: 00000000000006e0 [ 8857.175221] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 8857.175222] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 8857.175224] [ 8857.175224] Call Trace: [ 8857.175234] [<ffffffff880d1c12>] :ohci_hcd:ohci_hub_control+0x3d2/0x3e0 [ 8857.175250] [<ffffffff880aa121>] :usbcore:usb_hcd_submit_urb+0x321/0x8a0 [ 8857.175257] [<ffffffff80234580>] complete+0x40/0x60 [ 8857.175262] [<ffffffff8034efc4>] number+0x2c4/0x2e0 [ 8857.175281] [<ffffffff880ab4e2>] :usbcore:usb_start_wait_urb+0x52/0xe0 [ 8857.175298] [<ffffffff880ab7ce>] :usbcore:usb_control_msg+0xde/0x120 [ 8857.175312] [<ffffffff880a49e0>] :usbcore:set_port_feature+0x40/0x50 [ 8857.175325] [<ffffffff880a4e41>] :usbcore:hub_port_reset+0x41/0x210 [ 8857.175338] [<ffffffff880a5142>] :usbcore:hub_port_init+0x72/0x600 [ 8857.175345] [<ffffffff8034a9c2>] kobject_get+0x12/0x20 [ 8857.175350] [<ffffffff803bdbeb>] device_initialize+0x7b/0xb0 [ 8857.175367] [<ffffffff880a7b9d>] :usbcore:hub_thread+0x33d/0xee0 [ 8857.175383] [<ffffffff80253d20>] autoremove_wake_function+0x0/0x30 [ 8857.175395] [<ffffffff880a7860>] :usbcore:hub_thread+0x0/0xee0 [ 8857.175402] [<ffffffff8025395b>] kthread+0x4b/0x80 [ 8857.175406] [<ffffffff8020d1b8>] child_rip+0xa/0x12 [ 8857.175418] [<ffffffff80253910>] kthread+0x0/0x80 [ 8857.175420] [<ffffffff8020d1ae>] child_rip+0x0/0x12 [ 8857.175423] [ 8868.965440] BUG: soft lockup - CPU#2 stuck for 11s! [khubd:1502] 就一直重複出現類似的訊息 請問這是怎麼回事呢? 是我的主機板usb掛掉? 還是ubuntu的bug? 還是我接的usb裝置出問題呢? 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.123.103.218
文章代碼(AID): #1Am258CQ (Linux)