Red Hat Bugzilla – Bug 25360
pilot-link fails with "Weird packet" error
Last modified: 2008-05-01 11:37:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)
pilot-link reports "Weird packet" errors during transfers, causing failed
sync, backup, restore, etc.
Steps to Reproduce:
1. Hook up a Palm with a fair amount of "stuff" installed to serial port
2. export PILOTPORT=/dev/ttyS0
3. export PILOTRATE=115200
4. pilot-xfer -b test_backup_dir
Actual Results: Transfer fails (after some objects completed) with "Weird
packet" error message.
Expected Results: Transfer should have completed successfully.
This can *sometimes* (but not always) be avoided by using a VERY slow
serial rate, e.g., 9600.
This did not happen with earlier versions of Red Hat Linux. Some people
claim that the
newer kernel versions have different serial port handling that causes the
problem, but no one
on the mailing list seems to have any definitive information on what
changed or how to fix it.
Jurgen Stuber has a patch which adds better error recovery to pilot-xfer,
thus allowing it to recover from this problem and complete transfers
successfully. I've verified that it works consistently for me even at
bps. The patch is available on his web page:
Discussion of the problem occurred back in October 1999, and can be seen in
mailing list archives (search for weird):
i have added J|rgen's patch file in pilot-link-0.9.5-2. You will find it in