[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PDA serial/USB cable busted after hardware/software upgrade?



hi debian,

I was until recently running debian sid on a middle-aged amd k7
system; after the motherboard fried, I upgraded to a very fast new
system (amd X2 3800+, A8N-SLI motherboard and installed ubuntu Dapper
and debian etch on a new disk.  The old system is still around on an
old disk, but hard to work with b/c I haven't reconfigured x etc.

On my old system, my PDA worked fine -- it's a Palm V, which I ocnnect
through the serial cradle that came with it a million years ago.  I
also have a usb-to-serial connector for it, which in the past has also
worked *pretty* well via the kl5105kb kernel module.  Now, though, the
PDA doesn't work at all.  At first it seemed to be a problem with
evolution and gnome-pilot, and I *was* briefly able to access the
palm's info through pilot-link (pilot-xfer -p /dev/ttyUSB0 -l, IIRC).
Now even that won't work, and unscrewing the serial-to-usb adaptor &
plugging in directly to the serial port has no effect either

I'm a little concerned that the cradle itself is messed up somehow,
partly becuase of some strange stuff in dmesg.

serial:

serial port seems to be recognized just fine by the kernel, early on
in the boot process:

[   85.877857] Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports,
IRQ sharing enabled
[   85.877964] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   85.879621] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   85.880057] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize

however, there's no traffic on /dev/ttyS0 (cat /dev/ttyS0, and then
pressing hotsync button, gives no output) while ttyS1 seems
fundamentally messed up:
$ cat /dev/ttyS1
cat: /dev/ttyS1: Input/output error

USB:

If I connect my usb/serial converter, then I have similar problems.
Dmesg shows it being recognized, and at FIRST binds to /dev/ttyUSB0
and /dev/ttyUSB1, but if I unplug & replug, I only get /dev/ttyUSB0.

dmesg:
--------------
[   99.174740] usbcore: registered new driver usbserial_generic
[   99.174742] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[   99.176113] drivers/usb/serial/usb-serial.c: USB Serial support
registered for Handspring Visor / Palm OS
[   99.176123] drivers/usb/serial/usb-serial.c: USB Serial support
registered for Sony Clie 3.5
[   99.176132] drivers/usb/serial/usb-serial.c: USB Serial support
registered for Sony Clie 5.0
[   99.176147] usbcore: registered new driver visor
[   99.176149] drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver
[ 5048.095365] usb 1-1: new full speed USB device using ohci_hcd and address 2
[ 5048.249360] usb 1-1: Handspring Visor / Palm OS converter now
attached to ttyUSB0
[ 5048.249403] usb 1-1: Handspring Visor / Palm OS converter now
attached to ttyUSB1
[ 5048.315832] drivers/usb/serial/usb-serial.c: USB Serial support
registered for KL5KUSB105D / PalmConnect
[ 5048.316216] usbcore: registered new driver kl5kusb105d
[ 5048.316222] drivers/usb/serial/kl5kusb105.c: KLSI KL5KUSB105
chipset USB->Serial Converter driver v0.3a
[ 5048.352721] visor ttyUSB1: Device lied about number of ports,
please use a lower one.
[ 5058.370432] usb 1-1: USB disconnect, address 2
[ 5058.370587] visor ttyUSB0: Handspring Visor / Palm OS converter now
disconnected from ttyUSB0
[ 5058.370658] visor ttyUSB1: Handspring Visor / Palm OS converter now
disconnected from ttyUSB1
[ 5071.074606] usb 1-1: new full speed USB device using ohci_hcd and address 3
[ 5071.225553] visor 1-1:1.0: KL5KUSB105D / PalmConnect converter detected
[ 5071.225632] usb 1-1: KL5KUSB105D / PalmConnect converter now
attached to ttyUSB0
[ 5071.275482] drivers/usb/serial/kl5kusb105.c:
klsi_105_chg_port_settings - 5 byte block, baudrate 6, databits 8,+u1
0, u2 1
[ 5071.278465] drivers/usb/serial/kl5kusb105.c:
klsi_105_get_line_state - sending SIO Poll request
[ 5071.281463] drivers/usb/serial/kl5kusb105.c:
klsi_105_get_line_state - read status 40 0
[ 5071.285485] drivers/usb/serial/kl5kusb105.c: kl5kusb105 port stats:
0 bytes in, 0 bytes out
[ 5076.487583] drivers/usb/serial/kl5kusb105.c:
klsi_105_chg_port_settings - 5 byte block, baudrate 6, databits 8,+u1
0, u2 1
[ 5076.490573] drivers/usb/serial/kl5kusb105.c:
klsi_105_get_line_state - sending SIO Poll request
[ 5076.493571] drivers/usb/serial/kl5kusb105.c:
klsi_105_get_line_state - read status 40 0
[ 5083.217062] drivers/usb/serial/kl5kusb105.c: kl5kusb105 port stats:
0 bytes in, 0 bytes out
[ 5105.076854] usb 1-1: USB disconnect, address 3

-------------------------------------
moreover, if I'm running an SMP, preemptible kernel, I get this
message on disconnecting the usb cable:
[ 1273.420238] usb 2-7: USB disconnect, address 2
[ 1273.420362] ----------- [cut here ] --------- [please bite here ] ---------
[ 1273.420367] Kernel BUG at kernel/workqueue.c:109
[ 1273.420369] invalid operand: 0000 [1] PREEMPT SMP
[ 1273.420373] CPU 0
[ 1273.420374] Modules linked in: rfcomm l2cap bluetooth radeon drm
ppdev 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 batteryi2c_acpi_ec
ac reiserfs ext3 jbd ipv6 sr_mod sbp2+lp tsdev analog gameport
snd_mpu401 snd_mpu401_uart snd_rawmidi+snd_seq_device rtc parport_pc
pcspkr parport psmouse serio_raw kl5kusb105 visor usbserial
snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss
snd_pcm sk98lin snd_timer snd skge shpchp i2c_nforce2 pci_hotplug
i2c_core soundcore
snd_page_alloc af_packet sg evdev xfs exportfs dm_mod usb_storage
raid1 md_mod ide_generic forcedeth ohci_hcd ohci1394 ieee1394 ehci_hcd
usbcore ide_cd cdrom ide_disk generic sd_mod amd74xx sata_nv libata
scsi_mod thermal processor fan capability commoncap vga16fb
cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon tileblit font bitblit
softcursor
[ 1273.420417] Pid: 2106, comm: khubd Not tainted 2.6.15-23-amd64-k8 #1
[ 1273.420420] RIP: 0010:[<ffffffff8014fe9e>] <ffffffff8014fe9e>{queue_work+62}
[ 1273.420430] RSP: 0018:ffff81007dce1ce8  EFLAGS: 00010286
[ 1273.420433] RAX: ffff8100755f6a28 RBX: 0000000000000000 RCX: 0000000000000034
[ 1273.420436] RDX: 0000000000000000 RSI: ffff8100755f6a20 RDI: ffff810037901860
[ 1273.420440] RBP: ffff81007abd5248 R08: 0000000000000000 R09: 0000000000000000
[ 1273.420443] R10: 0000000000000000 R11: ffffffff80272db0 R12: ffff81007abd5240
[ 1273.420447] R13: ffff81007e640c20 R14: ffff81007e249478 R15: ffff81007e6ba800
[ 1273.420451] FS:  00002aaaaff135e0(0000) GS:ffffffff80444800(0000)
knlGS:0000000000000000
[ 1273.420454] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 1273.420457] CR2: 0000000000bb7768 CR3: 000000006e8bd000 CR4: 00000000000006e0
[ 1273.420461] Process khubd (pid: 2106, threadinfo ffff81007dce0000,
task ffff81007e4acfc0)
[ 1273.420464] Stack: 0000000000000001 ffffffff8830fd69
ffffffff803103b0 ffffffff8831f2c0
[ 1273.420470]        ffff81007e640c00 ffffffff8831f300
ffff81007e640c20 ffffffff880af113
[ 1273.420477]        ffff81007e640d10 ffff81007e640c20
[ 1273.420481] Call
Trace:<ffffffff8830fd69>{:usbserial:usb_serial_disconnect+105}
[ 1273.420496]        <ffffffff803103b0>{klist_release+0}
<ffffffff880af113>{:usbcore:usb_unbind_interface+83}
[ 1273.420522]        <ffffffff802727d5>{__device_release_driver+133}
<ffffffff80272b3e>{device_release_driver+46}[ 1273.420534]
<ffffffff802721f2>{bus_remove_device+146}
<ffffffff80271136>{device_del+70}
[ 1273.420547]        <ffffffff880b5cbc>{:usbcore:usb_disable_device+140}
[ 1273.420563]        <ffffffff880af982>{:usbcore:usb_disconnect+194}
<ffffffff880b225b>{:usbcore:hub_thread+971}
[ 1273.420596]        <ffffffff80311460>{thread_return+0}
<ffffffff80154d00>{autoremove_wake_function+0}
[ 1273.420613]        <ffffffff880b1e90>{:usbcore:hub_thread+0}
<ffffffff801547d0>{keventd_create_kthread+0}
[ 1273.420635]        <ffffffff80154999>{kthread+217}
<ffffffff80139070>{schedule_tail+64}
[ 1273.420643]        <ffffffff80110dfe>{child_rip+8}
<ffffffff801547d0>{keventd_create_kthread+0}
[ 1273.420653]        <ffffffff801548c0>{kthread+0}
<ffffffff80110df6>{child_rip+0}
[ 1273.420667]
[ 1273.420672]
[ 1273.420673] Code: 0f 0b 68 a8 e7 32 80 c2 6d 00 48 8b 07 48 63 d2 bb 01 00 00
[ 1273.420682] RIP <ffffffff8014fe9e>{queue_work+62} RSP <ffff81007dce1ce8>
[ 1273.420688]  <6>note: khubd[2106] exited with preempt_count 1
---------------------

I of course know nothing about what this might mean.  In any case I'd
love some advice on howto diagnose these
+issues further!  the evolution/palm combination has been crucial for
me.  thanks,

matt



Reply to: