SiRF-2 stopped working in 2.38

View: New views
8 Messages — Rating Filter:   Alert me  

SiRF-2 stopped working in 2.38

by Sascha Silbe-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Finally managed to find time to narrow down the problem and post a bug
report.
gpsd stopped getting location information from my SiRF-2 based GPS mouse
between 2.37 and 2.38. Looks like it's always switching back and forth
between NMEA and SiRF binary.
Output of gpscat / gpspipe is at [1-3] for 2.37 resp. [4-6] for 2.38.
Looks like I haven't captured the debug output of gpsd, but maybe the
dumps are enough to figure out the problem. If not I can do another test
run, but it might take some time.


[1] http://sascha.silbe.org/tmp/gpscat-2.37-packet.log.bz2
[2] http://sascha.silbe.org/tmp/gpscat-2.37-raw.log.bz2
[3] http://sascha.silbe.org/tmp/gpspipe-2.37-superraw.log.bz2
[4] http://sascha.silbe.org/tmp/gpscat-2.38-packet.log.bz2
[5] http://sascha.silbe.org/tmp/gpscat-2.38-raw.log.bz2
[6] http://sascha.silbe.org/tmp/gpspipe-2.38-superraw.log.bz2

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (500 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Eric S. Raymond-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sascha Silbe <sascha-ml-gis-gpsd-dev@...>:

> Finally managed to find time to narrow down the problem and post a bug  
> report.
> gpsd stopped getting location information from my SiRF-2 based GPS mouse  
> between 2.37 and 2.38. Looks like it's always switching back and forth  
> between NMEA and SiRF binary.
> Output of gpscat / gpspipe is at [1-3] for 2.37 resp. [4-6] for 2.38.  
> Looks like I haven't captured the debug output of gpsd, but maybe the  
> dumps are enough to figure out the problem. If not I can do another test  
> run, but it might take some time.
>
>
> [1] http://sascha.silbe.org/tmp/gpscat-2.37-packet.log.bz2
> [2] http://sascha.silbe.org/tmp/gpscat-2.37-raw.log.bz2
> [3] http://sascha.silbe.org/tmp/gpspipe-2.37-superraw.log.bz2
> [4] http://sascha.silbe.org/tmp/gpscat-2.38-packet.log.bz2
> [5] http://sascha.silbe.org/tmp/gpscat-2.38-raw.log.bz2
> [6] http://sascha.silbe.org/tmp/gpspipe-2.38-superraw.log.bz2
>
> CU Sascha
Can you build from Subversion trunk and test.  I have a Haicom
SiRF-2 device that seems to work fine.
--
                <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (196 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Sascha Silbe-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 11, 2009 at 08:24:45PM -0400, Eric S. Raymond wrote:

> Can you build from Subversion trunk and test.  I have a Haicom
> SiRF-2 device that seems to work fine.
Can't compile a fresh SVN checkout:

olpc@xo-sascha:~/src/gpsd-svn$ CFLAGS="-march=geode -O3 -ggdb"
CXXFLAGS="-march=geode -O3 -ggdb" LDFLAGS="-march=geode -O3 -ggdb"
./autogen.sh --prefix=/home/olpc/arch/stow/gpsd-svn --enable-dbus &&
make && make install
[...]
gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -DDBUS_API_SUBJECT_TO_CHANGE=1    
-march=geode -O3 -ggdb -Wall -Wcast-align -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type
-D_GNU_SOURCE  -MT gpxlogger.o -MD -MP -MF .deps/gpxlogger.Tpo -c -o
gpxlogger.o gpxlogger.c
gpxlogger.c: In function ?handle_gps_fix?:
gpxlogger.c:192: error: ?struct gps_fix_t? has no member named ?eph?
make[1]: *** [gpxlogger.o] Error 1
make[1]: Leaving directory `/home/olpc/src/gpsd-svn'
make: *** [all] Error 2
olpc@xo-sascha:~/src/gpsd-svn$ svn up
At revision 6397.

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (500 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Eric S. Raymond-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sascha Silbe <sascha-ml-gis-gpsd-dev@...>:

> On Sun, Oct 11, 2009 at 08:24:45PM -0400, Eric S. Raymond wrote:
>
>> Can you build from Subversion trunk and test.  I have a Haicom
>> SiRF-2 device that seems to work fine.
> Can't compile a fresh SVN checkout:
>
> olpc@xo-sascha:~/src/gpsd-svn$ CFLAGS="-march=geode -O3 -ggdb"  
> CXXFLAGS="-march=geode -O3 -ggdb" LDFLAGS="-march=geode -O3 -ggdb"  
> ./autogen.sh --prefix=/home/olpc/arch/stow/gpsd-svn --enable-dbus &&  
> make && make install
> [...]
> gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0  
> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0  
> -I/usr/lib/glib-2.0/include    -DDBUS_API_SUBJECT_TO_CHANGE=1    
> -march=geode -O3 -ggdb -Wall -Wcast-align -Wmissing-declarations  
> -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type  
> -D_GNU_SOURCE  -MT gpxlogger.o -MD -MP -MF .deps/gpxlogger.Tpo -c -o  
> gpxlogger.o gpxlogger.c
> gpxlogger.c: In function ?handle_gps_fix?:
> gpxlogger.c:192: error: ?struct gps_fix_t? has no member named ?eph?
> make[1]: *** [gpxlogger.o] Error 1
> make[1]: Leaving directory `/home/olpc/src/gpsd-svn'
> make: *** [all] Error 2
> olpc@xo-sascha:~/src/gpsd-svn$ svn up
> At revision 6397.
Can't reproduce at 6398.
--
                <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (196 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Sascha Silbe-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 26, 2009 at 04:27:58AM -0400, Eric S. Raymond wrote:

>> olpc@xo-sascha:~/src/gpsd-svn$ CFLAGS="-march=geode -O3 -ggdb"  
>> CXXFLAGS="-march=geode -O3 -ggdb" LDFLAGS="-march=geode -O3 -ggdb"  
>> ./autogen.sh --prefix=/home/olpc/arch/stow/gpsd-svn --enable-dbus &&  
>> make && make install
>> [...]
>> gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0  
>> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0  
>> -I/usr/lib/glib-2.0/include    -DDBUS_API_SUBJECT_TO_CHANGE=1    
>> -march=geode -O3 -ggdb -Wall -Wcast-align -Wmissing-declarations  
>> -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
>> -Wreturn-type  -D_GNU_SOURCE  -MT gpxlogger.o -MD -MP -MF
>> .deps/gpxlogger.Tpo -c -o  gpxlogger.o gpxlogger.c
>> gpxlogger.c: In function ?handle_gps_fix?:
>> gpxlogger.c:192: error: ?struct gps_fix_t? has no member named ?eph?
>> make[1]: *** [gpxlogger.o] Error 1
>> make[1]: Leaving directory `/home/olpc/src/gpsd-svn'
>> make: *** [all] Error 2
>> olpc@xo-sascha:~/src/gpsd-svn$ svn up
>> At revision 6397.
> Can't reproduce at 6398.
Still happens for me (Debian squeeze / i386, Debian lenny / amd64) at
6401, but only with --enable-dbus. Will try to reproduce the SiRF-2
protocol loop bug later today.


CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (500 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Sascha Silbe-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 11, 2009 at 08:24:45PM -0400, Eric S. Raymond wrote:

> Can you build from Subversion trunk and test.  I have a Haicom
> SiRF-2 device that seems to work fine.
Still occured at revision 6401. Debug output for various log levels is
at [1-5].


[1] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D5.log.bz2
[2] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D7.log.bz2
[3] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D9.log.bz2
[4] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D11.log.bz2
[5] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D13.log.bz2


CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (500 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Eric S. Raymond-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sascha Silbe <sascha-ml-gis-gpsd-dev@...>:

> On Sun, Oct 11, 2009 at 08:24:45PM -0400, Eric S. Raymond wrote:
>
>> Can you build from Subversion trunk and test.  I have a Haicom
>> SiRF-2 device that seems to work fine.
> Still occured at revision 6401. Debug output for various log levels is  
> at [1-5].
>
>
> [1] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D5.log.bz2
> [2] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D7.log.bz2
> [3] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D9.log.bz2
> [4] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D11.log.bz2
> [5] http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D13.log.bz2
Those are 404 for me.  And my Haicom is fine.

Have you considered running a bisection test with lower bound at 2.37
and upper bound at 6401?  Knowing the revision where your device stopped
working would ptobably pinft the bug down enough for a fix.

My SiRF-2 device still works, so this is quite puzzling.
--
                <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (196 bytes) Download Attachment

Re: SiRF-2 stopped working in 2.38

by Sascha Silbe-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 04, 2009 at 03:52:42PM -0500, Eric S. Raymond wrote:

>> [1]
>> http://sascha.silbe.org/tmp/gpsd-svn-6401.sirf2-cycling.D5.log.bz2
[...]
> Those are 404 for me.  And my Haicom is fine.
Fixed (forgot to synch with the external server), but you can forget
about them anyway. Due to environment differences I launched the distro
version (2.39) instead of the svn one. As of revision 6401 it seems to
work fine (i.e. I can't see it cycling anymore). Thanks!

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@...
https://lists.berlios.de/mailman/listinfo/gpsd-dev

signature.asc (500 bytes) Download Attachment