[Comm] Qtek G100, hald-addon-ac-apapter (?) и загрузка процессора

Владимир Гусев vova1971 на narod.ru
Чт Май 7 12:17:35 MSD 2009


если КПК Qtek G100 подключить по usb к нетбуку (просто для зарядки), то
спустя какое-то время появляется
процесс /usr/libexec/hal/hald-addon-ac-apapter, который здорово
нагружает процессор (от 70 до 95 %).. Если отключить устройство, то
процесс остается, и его можно только убить из-под root. Это показывает
htop. По ps aux все немного иначе, но тоже из той оперы. Вновником
назначен /usr/libexec/hal/synce-serial-chat:

[vova на wind ~]$ ps aux |grep hal
105       6225  0.1  0.4   6728  4524 ?        Ss   10:46   0:05 /usr/sbin/hald 
root      6229  0.0  0.0   3232  1004 ?        S    10:46   0:00 hald-runner 
root      6319  0.0  0.0   3304   904 ?        S    10:46   0:00 hald-addon-input: Listening on /dev/input/event1 /dev/input/e
root      6320  0.0  0.1   5788  1204 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-ac-adapter 
root      6321  0.0  0.1   5788  1204 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-ac-adapter 
root      6339  0.0  0.0   3300   880 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-generic-backlight 
root      6345  0.0  0.0   5428   984 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-processor-temp 
root      6346  0.0  0.0   5428  1020 ?        S    10:46   0:03 /usr/libexec/hal/hald-addon-processor-temp 
root      6347  0.0  0.0   2004   604 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-alsa-mixer 
root      6360  0.0  0.0   3308   912 ?        S    10:46   0:00 hald-addon-storage: polling /dev/sdb (every 2 sec)
105       6362  0.0  0.0   2992   900 ?        S    10:46   0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.soc
root     10070  0.0  0.0   2360   948 ?        S    11:26   0:00 /bin/sh /usr/libexec/hal/hal-synce-serial 
root     10101  0.0  0.1   6316  1720 ?        S    11:26   0:00 /usr/sbin/pppd /dev/ttyUSB1 115200 connect /usr/libexec/hal/s
root     10192 52.3  0.0   1572   208 ?        R    11:27  22:57 /usr/libexec/hal/synce-serial-chat 
root     11102  0.0  0.0   2360   952 ?        S    11:47   0:00 /bin/sh /usr/libexec/hal/hal-synce-serial 
root     11127  0.0  0.1   6316  1712 ?        S    11:47   0:00 /usr/sbin/pppd /dev/ttyUSB3 115200 connect /usr/libexec/hal/s
root     11172 22.8  0.0   1572   208 ?        R    11:49   5:03 /usr/libexec/hal/synce-serial-chat 
vova     11885  0.0  0.0   3256   768 pts/0    S+   12:11   0:00 grep
hal 

Dmesg говорит следующее:

[ 2459.084160] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 2459.266619] usb 2-1: configuration #1 chosen from 1 choice
[ 2459.270406] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0bce
[ 2459.270428] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2459.270436] usb 2-1: Product: Generic RNDIS
[ 2459.270440] usb 2-1: Manufacturer: HTC
[ 2459.417688] usbcore: registered new interface driver usbserial
[ 2459.417740] usbserial: USB Serial support registered for generic
[ 2459.417829] usbcore: registered new interface driver usbserial_generic
[ 2459.417837] usbserial: USB Serial Driver core
[ 2459.430304] usbserial: USB Serial support registered for PocketPC PDA
[ 2459.430318] ipaq: USB PocketPC PDA driver v0.5
[ 2459.430418] ipaq 2-1:1.0: PocketPC PDA converter detected
[ 2459.434064] usb 2-1: PocketPC PDA converter now attached to ttyUSB0
[ 2459.434182] ipaq 2-1:1.1: PocketPC PDA converter detected
[ 2459.437056] usb 2-1: PocketPC PDA converter now attached to ttyUSB1
[ 2459.437122] usbcore: registered new interface driver ipaq
[ 2459.527656] usbcore: registered new interface driver cdc_ether
[ 2459.537094] usbcore: registered new interface driver rndis_host
[ 2459.566206] usbcore: registered new interface driver rndis_wlan
[ 2459.839115] PPP generic driver version 2.4.2
[ 2459.889104] BUG: unable to handle kernel NULL pointer dereference at 0000003c
[ 2459.889115] IP: [<f8c6eb5e>] :ipaq:ipaq_open+0x1be/0x358
[ 2459.889135] *pde = 00000000 
[ 2459.889143] Oops: 0002 [#1] SMP 
[ 2459.889153] Modules linked in: ppp_generic slhc rndis_wlan rndis_host cdc_ether usbnet ipaq usbserial vboxnetflt vboxdrv kqemu i915 drm michael_mic arc4 ecb cryptomgr aes_i586 crypto_blkcipher aes_generic rfcomm sco bridge stp bnep l2cap af_packet etercifs nls_utf8 nls_cp866 vfat fat nls_base dm_mod usbhid hid usb_storage ff_memless btusb libusual bluetooth snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq r8180 snd_seq_device snd_pcm_oss ieee80211_rtl snd_mixer_oss pcspkr r8169 i2c_i801 ieee80211_crypt_tkip_rtl intel_agp psmouse snd_pcm ieee80211_crypt_wep_rtl agpgart ieee80211_crypt_ccmp_rtl snd_timer ieee80211_crypt_rtl ehci_hcd snd_page_alloc uhci_hcd mii snd_hwdep serio_raw i2c_core usbcore snd thermal soundcore rtc_cmos processor rtc_core video output wmi ac battery evdev rtc_lib button sg ext3 jbd mbcache ata_generic ata_piix pata_acpi libata dock sd_mod crc_t10dif scsi_mod
[ 2459.889312] 
[ 2459.889318] Pid: 10135, comm: pppd Not tainted (2.6.27-std-def-alt16 #1)
[ 2459.889325] EIP: 0060:[<f8c6eb5e>] EFLAGS: 00210286 CPU: 1
[ 2459.889343] EIP is at ipaq_open+0x1be/0x358 [ipaq]
[ 2459.889350] EAX: e7df3000 EBX: f5b5c560 ECX: e8363a00 EDX: 00000000
[ 2459.889356] ESI: e8363a00 EDI: 00000100 EBP: eb421e0c ESP: eb421dd0
[ 2459.88[ 2459.084160] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 2459.266619] usb 2-1: configuration #1 chosen from 1 choice
[ 2459.270406] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0bce
[ 2459.270428] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2459.270436] usb 2-1: Product: Generic RNDIS
[ 2459.270440] usb 2-1: Manufacturer: HTC
[ 2459.417688] usbcore: registered new interface driver usbserial
[ 2459.417740] usbserial: USB Serial support registered for generic
[ 2459.417829] usbcore: registered new interface driver usbserial_generic
[ 2459.417837] usbserial: USB Serial Driver core
[ 2459.430304] usbserial: USB Serial support registered for PocketPC PDA
[ 2459.430318] ipaq: USB PocketPC PDA driver v0.5
[ 2459.430418] ipaq 2-1:1.0: PocketPC PDA converter detected
[ 2459.434064] usb 2-1: PocketPC PDA converter now attached to ttyUSB0
[ 2459.434182] ipaq 2-1:1.1: PocketPC PDA converter detected
[ 2459.437056] usb 2-1: PocketPC PDA converter now attached to ttyUSB1
[ 2459.437122] usbcore: registered new interface driver ipaq
[ 2459.527656] usbcore: registered new interface driver cdc_ether
[ 2459.537094] usbcore: registered new interface driver rndis_host
[ 2459.566206] usbcore: registered new interface driver rndis_wlan
[ 2459.839115] PPP generic driver version 2.4.2
[ 2459.889104] BUG: unable to handle kernel NULL pointer dereference at 0000003c
[ 2459.889115] IP: [<f8c6eb5e>] :ipaq:ipaq_open+0x1be/0x358
[ 2459.889135] *pde = 00000000 
[ 2459.889143] Oops: 0002 [#1] SMP 
[ 2459.889153] Modules linked in: ppp_generic slhc rndis_wlan rndis_host cdc_ether usbnet ipaq usbserial vboxnetflt vboxdrv kqemu i915 drm michael_mic arc4 ecb cryptomgr aes_i586 crypto_blkcipher aes_generic rfcomm sco bridge stp bnep l2cap af_packet etercifs nls_utf8 nls_cp866 vfat fat nls_base dm_mod usbhid hid usb_storage ff_memless btusb libusual bluetooth snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq r8180 snd_seq_device snd_pcm_oss ieee80211_rtl snd_mixer_oss pcspkr r8169 i2c_i801 ieee80211_crypt_tkip_rtl intel_agp psmouse snd_pcm ieee80211_crypt_wep_rtl agpgart ieee80211_crypt_ccmp_rtl snd_timer ieee80211_crypt_rtl ehci_hcd snd_page_alloc uhci_hcd mii snd_hwdep serio_raw i2c_core usbcore snd thermal soundcore rtc_cmos processor rtc_core video output wmi ac battery evdev rtc_lib button sg ext3 jbd mbcache ata_generic ata_piix pata_acpi libata dock sd_mod crc_t10dif scsi_mod
[ 2459.889312] 
[ 2459.889318] Pid: 10135, comm: pppd Not tainted (2.6.27-std-def-alt16 #1)
[ 2459.889325] EIP: 0060:[<f8c6eb5e>] EFLAGS: 00210286 CPU: 1
[ 2459.889343] EIP is at ipaq_open+0x1be/0x358 [ipaq]
[ 2459.889350] EAX: e7df3000 EBX: f5b5c560 ECX: e8363a00 EDX: 00000000
[ 2459.889356] ESI: e8363a00 EDI: 00000100 EBP: eb421e0c ESP: eb421dd0
[ 2459.889363]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 2459.889370] Process pppd (pid: 10135, ti=eb420000 task=ec3f21f0 task.ti=eb420000)
[ 2459.889376] Stack: 00000000 eb421de8 c0395f08 e70d42c0 e6b29400 f380e680 e8363a00 e6b29400 
[ 2459.889394]        f5b5c574 f64cb240 00000064 e8363a00 f8c75940 e8363a00 f64cb240 eb421e38 
[ 2459.889411]        f8ce23ae e847e3f8 eb421e28 c02a8b29 e7958f00 e6b29400 e8363a4c f8ce22a0 
[ 2459.889429] Call Trace:
[ 2459.889436]  [<c0395f08>] ? tty_ldisc_setup+0x78/0x80
[ 2459.889471]  [<f8ce23ae>] ? serial_open+0x10e/0x170 [usbserial]
[ 2459.889492]  [<c02a8b29>] ? cdev_get+0x19/0x60
[ 2459.889505]  [<f8ce22a0>] ? serial_open+0x0/0x170 [usbserial]
[ 2459.889520]  [<c03914bc>] ? tty_open+0x15c/0x330
[ 2459.889530]  [<c02a8d85>] ? chrdev_open+0xc5/0x170
[ 2459.889540]  [<c02a45a7>] ? __dentry_open+0xb7/0x260
[ 2459.889550]  [<c02a4827>] ? nameidata_to_filp+0x47/0x60
[ 2459.889559]  [<c02a8cc0>] ? chrdev_open+0x0/0x170
[ 2459.889569]  [<c02b1745>] ? do_filp_open+0x1b5/0x780
[ 2459.889579]  [<c02a5f81>] ? do_sync_write+0xd1/0x110
[ 2459.889589]  [<c0242f60>] ? autoremove_wake_function+0x0/0x50
[ 2459.889602]  [<c02a43ad>] ? do_sys_open+0x5d/0xf0
[ 2459.889613]  [<c02a44a9>] ? sys_open+0x29/0x40
[ 2459.889623]  [<c0203e92>] ? syscall_call+0x7/0xb
[ 2459.889634]  =======================
[ 2459.889637] Code: a1 98 4d 57 c0 ba d0 00 00 00 e8 3e 27 63 c7 85 c0 89 86 8c 00 00 00 0f 84 48 01 00 00 8b 45 dc 89 c1 8b 90 84 00 00 00 8b 40 7c <89> 42 3c 8b 81 8c 00 00 00 8b 91 94 00 00 00 89 42 3c 8b 81 84 
[ 2459.889715] EIP: [<f8c6eb5e>] ipaq_open+0x1be/0x358 [ipaq] SS:ESP 0068:eb421dd0
[ 2459.889740] ---[ end trace 83079aa49e344538 ]---
9363]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 2459.889370] Process pppd (pid: 10135, ti=eb420000 task=ec3f21f0 task.ti=eb420000)
[ 2459.889376] Stack: 00000000 eb421de8 c0395f08 e70d42c0 e6b29400 f380e680 e8363a00 e6b29400 
[ 2459.889394]        f5b5c574 f64cb240 00000064 e8363a00 f8c75940 e8363a00 f64cb240 eb421e38 
[ 2459.889411]        f8ce23ae e847e3f8 eb421e28 c02a8b29 e7958f00 e6b29400 e8363a4c f8ce22a0 
[ 2459.889429] Call Trace:
[ 2459.889436]  [<c0395f08>] ? tty_ldisc_setup+0x78/0x80
[ 2459.889471]  [<f8ce23ae>] ? serial_open+0x10e/0x170 [usbserial]
[ 2459.889492]  [<c02a8b29>] ? cdev_get+0x19/0x60
[ 2459.889505]  [<f8ce22a0>] ? serial_open+0x0/0x170 [usbserial]
[ 2459.889520]  [<c03914bc>] ? tty_open+0x15c/0x330
[ 2459.889530]  [<c02a8d85>] ? chrdev_open+0xc5/0x170
[ 2459.889540]  [<c02a45a7>] ? __dentry_open+0xb7/0x260
[ 2459.889550]  [<c02a4827>] ? nameidata_to_filp+0x47/0x60
[ 2459.889559]  [<c02a8cc0>] ? chrdev_open+0x0/0x170
[ 2459.889569]  [<c02b1745>] ? do_filp_open+0x1b5/0x780
[ 2459.889579]  [<c02a5f81>] ? do_sync_write+0xd1/0x110
[ 2459.889589]  [<c0242f60>] ? autoremove_wake_function+0x0/0x50
[ 2459.889602]  [<c02a43ad>] ? do_sys_open+0x5d/0xf0
[ 2459.889613]  [<c02a44a9>] ? sys_open+0x29/0x40
[ 2459.889623]  [<c0203e92>] ? syscall_call+0x7/0xb
[ 2459.889634]  =======================
[ 2459.889637] Code: a1 98 4d 57 c0 ba d0 00 00 00 e8 3e 27 63 c7 85 c0 89 86 8c 00 00 00 0f 84 48 01 00 00 8b 45 dc 89 c1 8b 90 84 00 00 00 8b 40 7c <89> 42 3c 8b 81 8c 00 00 00 8b 91 94 00 00 00 89 42 3c 8b 81 84 
[ 2459.889715] EIP: [<f8c6eb5e>] ipaq_open+0x1be/0x358 [ipaq] SS:ESP 0068:eb421dd0
[ 2459.889740] ---[ end trace 83079aa49e344538 ]---

После отключения устройства от usb команда ps aux говорит следующее:

[vova на wind ~]$ ps aux |grep hal
105       6225  0.1  0.4   6728  4524 ?        Ss   10:46   0:05 /usr/sbin/hald 
root      6229  0.0  0.0   3232  1004 ?        S    10:46   0:00 hald-runner 
root      6319  0.0  0.0   3304   904 ?        S    10:46   0:00 hald-addon-input: Listening on /dev/input/event1 /dev/input/e
root      6320  0.0  0.1   5788  1204 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-ac-adapter 
root      6321  0.0  0.1   5788  1204 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-ac-adapter 
root      6339  0.0  0.0   3300   880 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-generic-backlight 
root      6345  0.0  0.0   5428   984 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-processor-temp 
root      6346  0.0  0.0   5428  1020 ?        S    10:46   0:03 /usr/libexec/hal/hald-addon-processor-temp 
root      6347  0.0  0.0   2004   604 ?        S    10:46   0:00 /usr/libexec/hal/hald-addon-alsa-mixer 
root      6360  0.0  0.0   3308   912 ?        S    10:46   0:00 hald-addon-storage: polling /dev/sdb (every 2 sec)
105       6362  0.0  0.0   2992   900 ?        S    10:46   0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.soc
root     10070  0.0  0.0   2360   948 ?        S    11:26   0:00 /bin/sh /usr/libexec/hal/hal-synce-serial 
root     10101  0.0  0.1   6316  1720 ?        S    11:26   0:00 /usr/sbin/pppd /dev/ttyUSB1 115200 connect /usr/libexec/hal/s
root     10192 54.4  0.0   1572   208 ?        R    11:27  25:24 /usr/libexec/hal/synce-serial-chat 
root     11102  0.0  0.0   2360   952 ?        S    11:47   0:00 /bin/sh /usr/libexec/hal/hal-synce-serial 
root     11127  0.0  0.1   6316  1712 ?        S    11:47   0:00 /usr/sbin/pppd /dev/ttyUSB3 115200 connect /usr/libexec/hal/s
root     11172 30.0  0.0   1572   208 ?        R    11:49   7:28 /usr/libexec/hal/synce-serial-chat 
vova     11965  0.0  0.0   3256   768 pts/0    S+   12:14   0:00 grep hal

Процесс  /usr/libexec/hal/synce-serial-chat продолжает висеть... А я всего-то хотел подзарядить устройство.. :)

Кстати, а что есть из программ для общения с PocketPC (Windows Mobile 5)? Что тут вместо ActiveSync? 




-- 
С уважением,
Владимир Гусев


Подробная информация о списке рассылки community