kpilot stops responding

Bug #43686 reported by Lynoure Braakman
52
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

kpilot starts fine once, starts doing a sync, gets stuck at 0%. After refresh of link it stops responding.
From that on whenever I try to start kpilot from the menus, it starts two kpilots, both of which then stop responding pretty much instantly.

I'm using up to date dapper and my palm pilot is Tungsten E. Couple of weeks ago kpilot worked fine for me.

From dmesg:

[4294816.092000] usb 1-1: new full speed USB device using uhci_hcd and address 2
[4294816.394000] usbcore: registered new driver usbserial
[4294816.394000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[4294816.395000] usbcore: registered new driver usbserial_generic
[4294816.395000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[4294816.398000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
[4294816.398000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
[4294816.399000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
[4294816.401000] visor 1-1:1.0: Handspring Visor / Palm OS converter detected
[4294816.401000] usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
[4294816.402000] usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB1
[4294816.402000] usbcore: registered new driver visor
[4294816.402000] drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver
[4294824.138000] Unable to handle kernel NULL pointer dereference at virtual address 00000084
[4294824.138000] printing eip:
[4294824.138000] e15a9724
[4294824.138000] *pde = 00000000
[4294824.138000] Oops: 0000 [#1]
[4294824.138000] PREEMPT
[4294824.138000] Modules linked in: visor usbserial michael_mic arc4 ieee80211_crypt_tkip af_packet ipv6 radeon drm rfcomm l2cap speedstep_centrino cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac i2c_acpi_ec i2c_core dm_mod md_mod sr_mod sbp2 scsi_mod lp pcmcia joydev tsdev pcspkr parport_pc parport rtc tpm_infineon tpm yenta_socket rsrc_nonstatic ipw2200 sdhci pcmcia_core ieee80211 ieee80211_crypt mmc_core snd_intel8x0 snd_ac97_codec snd_ac97_bus hci_usb snd_pcm_oss snd_mixer_oss tg3 bluetooth snd_pcm snd_timer snd ohci1394 ieee1394 soundcore snd_page_alloc psmouse serio_raw shpchp pci_hotplug intel_agp agpgart evdev ext3 jbd ide_generic ehci_hcd uhci_hcd usbcore ide_cd cdrom ide_disk piix generic thermal processor fan capability commoncap vga16fb vgastate fbcon tileblit font bitblit softcursor
[4294824.138000] CPU: 0
[4294824.138000] EIP: 0060:[<e15a9724>] Not tainted VLI
[4294824.138000] EFLAGS: 00210246 (2.6.15-21-386)
[4294824.138000] EIP is at serial_chars_in_buffer+0x14/0x80 [usbserial]
[4294824.138000] eax: 00000000 ebx: 00000000 ecx: cc6c00c0 edx: cca69a40
[4294824.138000] esi: 00000000 edi: cc6c00c0 ebp: 00000015 esp: d2b5bebc
[4294824.138000] ds: 007b es: 007b ss: 0068
[4294824.138000] Process kpilotDaemon (pid: 5027, threadinfo=d2b5a000 task=d23b9030)
[4294824.138000] Stack: dafef000 c022396c dafef000 dafef000 cc6c00c0 dafef00c c021f4b9 dafef000
[4294824.138000] cc6c00c0 00000000 cc6c00c0 00000800 0000000b c0173b64 cc6c00c0 00000000
[4294824.138000] 00000000 0000000c 00000000 d27103ec d27103f0 d27103f4 d27103e4 d27103e8
[4294824.138000] Call Trace:
[4294824.138000] [<c022396c>] normal_poll+0x13c/0x16f
[4294824.138000] [<c021f4b9>] tty_poll+0x49/0x70
[4294824.138000] [<c0173b64>] do_select+0x194/0x380
[4294824.138000] [<c0173820>] __pollwait+0x0/0xb0
[4294824.138000] [<c0173f84>] sys_select+0x204/0x3a0
[4294824.138000] [<c010302b>] sysenter_past_esp+0x54/0x79
[4294824.138000] Code: 68 e7 c7 5a e1 e8 dd 2f b7 de 83 c4 0c eb e0 90 8d b4 26 00 00 00 00 53 8b 44 24 08 8b 98 74 09 00 00 a1 04 06 5b e1 85 c0 75 1c <8b> 83 84 00 00 00 85 c0 74 31 8b 03 8b 40 04 89 5c 24 08 8b 88
[4294824.138000] <6>usb 1-1: USB disconnect, address 2
[4294865.386000] visor 1-1:1.0: device disconnected

Revision history for this message
frahi (info-frahi) wrote :

I got the same bug here.

System is a IBM Thinkpad T41p
Palm Tungsten E

The dmesg output is very similar.

frahi@asterix:/home/frahi >dpkg -l |grep kpilot
ii kpilot 3.5.2-0ubuntu5 KDE Palm Pilot hot-sync tool
frahi@asterix:/home/frahi >uname -r
2.6.15-21-386

I have to reboot to get it working on /dev/ttyUSB0 and 1 again, if I just restart kpilot, the device is attached as /dev/ttyUSB2 and 3. Anyone knows a workaround of this issue? udev rule or something.

Revision history for this message
andschuster (andreas-schuster2) wrote :

I also noticed that bug using a Sony Clie PEG-SJ33/E. After the "crash" (the messages are very similiar to the messages above quoted) I get the following continuously repeated message in syslog:

May 12 17:16:28 whitestar kernel: [4296971.950000] visor ttyUSB0: visor_open - failed submitting read urb, error -19

I have to reboot. But the computer can't finish rebooting, so I have to use the reset-button.

Revision history for this message
andschuster (andreas-schuster2) wrote :

Hallo,

now I observed that if I delete the module rfcomm from memory syncing my Sony Clie works fine. So there may exist a problem using the visor and the rfcomm module at the same time. Perhaps this is a bug of the bluetooth-system.

Revision history for this message
frahi (info-frahi) wrote :

So your complete system hangs? This is different here.
Unloading the rfcomm Module also does not change the situtation here.
Having a closer look to the dmesg output I discovered, that the backtrace is different here to the bug message:
[4389040.659000] Call Trace:
[4389040.659000] [<c022008e>] tty_ioctl+0xbe/0x490
[4389040.659000] [<c0172ea7>] do_ioctl+0x67/0x80
[4389040.659000] [<c0173041>] vfs_ioctl+0x51/0x1f0
[4389040.659000] [<c015f19e>] do_sys_open+0x7e/0xd0
[4389040.659000] [<c017323d>] sys_ioctl+0x5d/0x90
[4389040.659000] [<c010302b>] sysenter_past_esp+0x54/0x79

complete dmesg output at: http://www.frahi.de/pub/dmesg-kpilotDaemonBug01.txt

Revision history for this message
andschuster (andreas-schuster2) wrote :

Yes, my system hangs after the "visor-crash" when it goes to halting at the moment, when bluetooth is removed. So I got the idea to delete rfcomm from main memory and after that I can synchronize my Sony Clie without any problem.

Revision history for this message
Kenny Duffus (kduffus) wrote :

this problem is not just affecting bluetooth syncs as i have the same problem syncing my treo 600 over usb

with 2.6.15-20 i could get one sync per boot, with 2.6.15-23 i can't sync and managed to lock up system, tho num lock key still worked

Changed in linux-source-2.6.15:
status: Unconfirmed → Confirmed
Revision history for this message
Kenny Duffus (kduffus) wrote :

the problem definitely looks like it is to do with bluetooth even when it isn't being used to do the syncing, i'd forgoten i had a bluetooth dongle in this machine, unplugging it and removing rfcomm, usbserial and visor then trying to sync worked

Revision history for this message
Kenny Duffus (kduffus) wrote :

i'm having difficulty replicating this problem on a freshly installed machine, the only difference is i'm using an older sony clie peg-sl10/e for these tests

i am happily syncing while a usb bluetooth dongle is plugged in and rfcomm module loaded

Revision history for this message
Kenny Duffus (kduffus) wrote :

on my fully up to date machine at home with no bluetooth plugged in or rfcomm loaded crashed this morning attempting to sync my treo 600

Revision history for this message
Kenny Duffus (kduffus) wrote :

sorry ignore my last comment i forgot i had kdebluetooth installed which had loaded rfcomm even tho the device wssn't plugged in or in /etc/modules

Revision history for this message
Ralf Mörler (mobang-deactivatedaccount) wrote :
Download full text (5.5 KiB)

Same here with gpilot & Sony Clie PEG SJ-33.

The Keyboard stops responding, gpilot freezes and reboot stucks at bluetooth shutdown.

Here's my syslog:

[4296126.821000] usb 1-1: new full speed USB device using uhci_hcd and address 2
 <debug info>^I[1149016193.442613] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_54c_9a_noserial').
 <debug info>^I[1149016193.477703] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_54c_9a_noserial_if0').
[4296127.416000] usbcore: registered new driver usbserial
[4296127.417000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[4296127.418000] usbcore: registered new driver usbserial_generic
[4296127.418000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[4296127.423000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
[4296127.424000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
[4296127.425000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
[4296127.427000] usb 1-1: palm_os_4_probe - error -32 getting connection info
[4296127.428000] visor 1-1:1.0: Handspring Visor / Palm OS converter detected
[4296127.429000] usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
[4296127.430000] usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB1
[4296127.430000] usbcore: registered new driver visor
[4296127.431000] drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver
[4296127.652000] visor ttyUSB1: Device lied about number of ports, please use a lower one.
 <debug info>^I[1149016194.061481] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_54c_9a_noserial_usbraw').
[4296188.115000] usb 1-1: USB disconnect, address 2
[4296188.115000] visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
[4296188.115000] visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
[4296188.115000] visor 1-1:1.0: device disconnected
[4296188.115000] Unable to handle kernel NULL pointer dereference at virtual address 00000074
[4296188.115000] printing eip:
[4296188.115000] c023d11a
[4296188.115000] *pde = 00000000
[4296188.115000] Oops: 0000 [#1]
[4296188.115000] PREEMPT SMP
[4296188.115000] Modules linked in: visor usbserial michael_mic arc4 ieee80211_crypt_tkip af_packet ipv6 vmnet vmmon binfmt_misc rfcomm l2cap bluetooth ppdev autofs4 radeon drm speedstep_centrino cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi container button asus_acpi acpi_sbs battery ac i2c_acpi_ec i2c_core xfrm_user xfrm4_tunnel ipcomp esp4 ah4 deflate zlib_deflate twofish serpent blowfish des sha256 sha1 crypto_null af_key dm_mod md_mod cryptoloop loop aes msr sr_mod sbp2 scsi_mod lp pcmcia 8139cp nsc_ircc parport_pc irda joydev tsdev crc_ccitt parport 8139too mii yenta_socket rsrc_nonstatic pcmcia_core ipw2200 ieee80211 ieee80211_crypt ieee80211_1_1_13 ...

Read more...

Revision history for this message
Wouter Hanegraaff (wouter-blub) wrote :

I'm having the same problem here, with all 2.6.15*686 kernels so far, on a thinkpad x40 and on a desktop pc with an intel desktop board. My palm pilot is a tungsten w.

I noticed that when hal isn't running, I can sync perfectly with pilot-xfer or jpilot without any kernel crashes, with or without bluetooth started and the rfcomm module loaded.

Revision history for this message
Andres Mujica (andres.mujica) wrote :
Download full text (4.4 KiB)

i'm having this issue without the hang problem using jpilot.

seems that it has something to do with visor and usbserial modules

[17181737.352000] drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver
[17181748.448000] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[17181748.448000] usb 1-1: USB disconnect, address 2
[17181748.448000] visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
[17181748.448000] visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
[17181748.448000] visor 1-1:1.0: device disconnected
[17181748.560000] usb 1-1: new full speed USB device using uhci_hcd and address 3
[17181748.680000] usb 1-1: device descriptor read/64, error -71
[17181748.904000] usb 1-1: device descriptor read/64, error -71
[17181749.120000] usb 1-1: new full speed USB device using uhci_hcd and address 4
[17181749.240000] usb 1-1: device descriptor read/64, error -71
[17181749.464000] usb 1-1: device descriptor read/64, error -71
[17181749.736000] usb 1-1: new full speed USB device using uhci_hcd and address 5
[17181750.152000] usb 1-1: device not accepting address 5, error -71
[17181750.264000] usb 1-1: new full speed USB device using uhci_hcd and address 6
[17181750.672000] usb 1-1: device not accepting address 6, error -71
[17181775.400000] usb 1-1: new full speed USB device using uhci_hcd and address 7
[17181775.544000] visor 1-1:1.0: Handspring Visor / Palm OS converter detected
[17181775.544000] usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
[17181775.544000] usb 1-1: Handspring Visor / Palm OS converter now attached to ttyUSB1
[17181776.704000] Unable to handle kernel NULL pointer dereference at virtual address 00000094
[17181776.704000] printing eip:
[17181776.704000] e0fc4778
[17181776.704000] *pde = 00000000
[17181776.704000] Oops: 0000 [#1]
[17181776.704000] PREEMPT SMP
[17181776.704000] Modules linked in: visor usbserial snd_rtctimer ip_conntrack_irc ip_conntrack_ftp ipt_state ipt_limit ipt_LOG ip_conntrack nfnetlink binfmt_misc bnep rfcomm l2cap bluetooth i810 drm ppdev acpi_sbs i2c_acpi_ec dev_acpi ac video hotkey tc1100_wmi pcc_acpi battery sony_acpi button container ipt_TCPMSS ipt_tcpmss iptable_filter ip_tables pppoe pppox ipv6 af_packet ppp_generic slhc deflate zlib_deflate twofish serpent aes blowfish des sha256 sha1 crypto_null af_key md_mod dm_mod tun eeprom i2c_i801 dell_rbu snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_seq_device lp 8139too mii joydev tsdev parport_pc pcmcia parport yenta_socket rsrc_nonstatic pcmcia_core floppy hw_random serio_raw shpchp pci_hotplug pcspkr psmouse snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i810 i2c_algo_bit i2c_core intel_agp agpgart evdev ext3 jbd ide_generic uhci_hcd usbcore ide_cd cdrom ide_disk piix generic thermal processor fan capability commoncap vga16fb vgastate fbcon tileblit font bitblit softcursor
[17181776.704000] CPU: 0
[17181776.704000] EIP: 0060:[<e0fc4778>] Not tainted VLI
[17181776.704000] EFLAGS: 00010246 (2.6.15-27-686)
[17181776.704000] EIP is at seri...

Read more...

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Can any of the subscribers to this bug check if it persists with kernel 2.6.17 ?

Revision history for this message
Wouter Hanegraaff (wouter-blub) wrote : Re: [Bug 43686] Re: kpilot stops responding

Fabián Rodríguez schreef:
> Can any of the subscribers to this bug check if it persists with kernel
> 2.6.17 ?
>
I checked, and it doesn't persist in edgy with my palm-pilot.

Wouter

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Can anyone else confirm this works in 2.6.17 ? Thank you.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this linux-source-2.6.15 kernel bug to the new "linux" package. We appreciate your patience and understanding as we make this transition. Also, if you would be interested in testing the upcoming Intrepid Ibex 8.10 release, it is available at http://www.ubuntu.com/testing . Please let us know your results. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Confirmed a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.