Debian Bug report logs - #696147
garmin-forerunner-tools: should blacklist gps_babel kernel module

version graph

Package: garmin-forerunner-tools; Maintainer for garmin-forerunner-tools is Debian QA Group <packages@qa.debian.org>; Source for garmin-forerunner-tools is src:garmin-forerunner-tools (PTS, buildd, popcon).

Affects: pytrainer

Reported by: Thomas de Graaff <ttadegraaff@gmail.com>

Date: Mon, 17 Dec 2012 10:15:05 UTC

Severity: important

Fixed in version garmin-forerunner-tools/0.10repacked-1

Done: Ralf Treinen <treinen@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ttadegraaff@gmail.com, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#696147; Package pytrainer. (Mon, 17 Dec 2012 10:15:07 GMT) (full text, mbox, link).


Acknowledgement sent to Thomas de Graaff <ttadegraaff@gmail.com>:
New Bug report received and forwarded. Copy sent to ttadegraaff@gmail.com, Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Mon, 17 Dec 2012 10:15:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Thomas de Graaff <ttadegraaff@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pytrainer: Pytrainer fails to download data using garmin-tools
Date: Mon, 17 Dec 2012 11:14:15 +0100
Package: pytrainer
Version: 1.9.1-2
Severity: important

Dear Maintainer,
when I tried to download data from my Garmin forerunner 305 I received an error message. The problem seems to be with a conflicting module with garmin-forerunner-tools.

user@computer:~$ garmin_get_info -v
usb_set_configuration failed: could not set config 1: Device or resource busy

Solution:
sudo /sbin/rmmod garmin_gps

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pytrainer depends on:
ii  gpsbabel           1.4.3-1
ii  iceweasel          10.0.11esr-1
ii  python             2.7.3~rc2-1
ii  python-glade2      2.24.0-3
ii  python-gtk2        2.24.0-3
ii  python-libxml2     2.8.0+dfsg1-7
ii  python-lxml        2.3.2-1
ii  python-matplotlib  1.1.1~rc2-1
ii  python-migrate     0.7.2-3
ii  python-numpy       1:1.6.2-1
ii  python-pysqlite2   2.6.3-3
ii  python-scipy       0.10.1+dfsg1-4
ii  python-soappy      0.12.0-4
ii  python-support     1.0.15
ii  python-webkit      1.1.8-2
ii  zenity             3.4.0-2

pytrainer recommends no packages.

pytrainer suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#696147; Package pytrainer. (Mon, 17 Dec 2012 19:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to Ralf Treinen <treinen@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Mon, 17 Dec 2012 19:24:05 GMT) (full text, mbox, link).


Message #10 received at 696147@bugs.debian.org (full text, mbox, reply):

From: Ralf Treinen <treinen@free.fr>
To: Thomas de Graaff <ttadegraaff@gmail.com>
Cc: 696147@bugs.debian.org
Subject: Re: [Pkg-running-devel] Bug#696147: pytrainer: Pytrainer fails to download data using garmin-tools
Date: Mon, 17 Dec 2012 20:21:34 +0100
Hello,

thanks for your bug report.

On Mon, Dec 17, 2012 at 11:14:15AM +0100, Thomas de Graaff wrote:
> Package: pytrainer
> Version: 1.9.1-2
> Severity: important
> 
> Dear Maintainer,
> when I tried to download data from my Garmin forerunner 305 I received an error message. The problem seems to be with a conflicting module with garmin-forerunner-tools.
> 
> user@computer:~$ garmin_get_info -v
> usb_set_configuration failed: could not set config 1: Device or resource busy
> 
> Solution:
> sudo /sbin/rmmod garmin_gps

Could you please tell us the precise error message that you got from
pytrainer? 

It is true that garmin-forerunner-tools conflicts with the garmin_gps
kernel module, as it is mentionend in [1]. But so does gpsbabel [2].
I am currently trying to understand whether the bug was triggered by
pytrainer calling on garmin-forerunner-tools, or by calling gpsbabel
(I suspect the latter, as pytrainer depends on gpsbabel).

-Ralf.

[1] /usr/share/doc/garmin-forerunner-tools/README.Debian
[2] /usr/share/doc/gpsbabel/README.Debian



Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#696147; Package pytrainer. (Mon, 17 Dec 2012 19:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to ttadegraaff@gmail.com:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Mon, 17 Dec 2012 19:39:06 GMT) (full text, mbox, link).


Message #15 received at 696147@bugs.debian.org (full text, mbox, reply):

From: Thomas de Graaff <ttadegraaff@gmail.com>
To: Ralf Treinen <treinen@free.fr>
Cc: 696147@bugs.debian.org
Subject: Re: [Pkg-running-devel] Bug#696147: pytrainer: Pytrainer fails to download data using garmin-tools
Date: Mon, 17 Dec 2012 20:34:56 +0100
Hi Ralf,
the error message is:

Can not handle Garmin device (wrong module loaded)
Check your configuration

That's all it says.. I hope it helps.

kind regards,
Thomas de Graaff.


On Mon, 2012-12-17 at 20:21 +0100, Ralf Treinen wrote:
> Hello,
> 
> thanks for your bug report.
> 
> On Mon, Dec 17, 2012 at 11:14:15AM +0100, Thomas de Graaff wrote:
> > Package: pytrainer
> > Version: 1.9.1-2
> > Severity: important
> > 
> > Dear Maintainer,
> > when I tried to download data from my Garmin forerunner 305 I received an error message. The problem seems to be with a conflicting module with garmin-forerunner-tools.
> > 
> > user@computer:~$ garmin_get_info -v
> > usb_set_configuration failed: could not set config 1: Device or resource busy
> > 
> > Solution:
> > sudo /sbin/rmmod garmin_gps
> 
> Could you please tell us the precise error message that you got from
> pytrainer? 
> 
> It is true that garmin-forerunner-tools conflicts with the garmin_gps
> kernel module, as it is mentionend in [1]. But so does gpsbabel [2].
> I am currently trying to understand whether the bug was triggered by
> pytrainer calling on garmin-forerunner-tools, or by calling gpsbabel
> (I suspect the latter, as pytrainer depends on gpsbabel).
> 
> -Ralf.
> 
> [1] /usr/share/doc/garmin-forerunner-tools/README.Debian
> [2] /usr/share/doc/gpsbabel/README.Debian





Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#696147; Package pytrainer. (Mon, 17 Dec 2012 20:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ralf Treinen <treinen@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Mon, 17 Dec 2012 20:33:03 GMT) (full text, mbox, link).


Message #20 received at 696147@bugs.debian.org (full text, mbox, reply):

From: Ralf Treinen <treinen@free.fr>
To: Thomas de Graaff <ttadegraaff@gmail.com>
Cc: 696147@bugs.debian.org
Subject: Re: [Pkg-running-devel] Bug#696147: pytrainer: Pytrainer fails to download data using garmin-tools
Date: Mon, 17 Dec 2012 21:29:27 +0100
Hi Thomas,

thanks for your prompt reply.

On Mon, Dec 17, 2012 at 08:34:56PM +0100, Thomas de Graaff wrote:
> Hi Ralf,
> the error message is:
> 
> Can not handle Garmin device (wrong module loaded)
> Check your configuration
> 
> That's all it says.. I hope it helps.

This error message is indeed issued when it tries to run tools from
the garmin-forerunner-tools suite (in file
plugins/garmintools_full/garmintools_full.py).

However, I do not see anything more that we can do than issue a 
a more informative error message, as indeed the garmin-tools cannot
run when that gps_babel module is loaded.

BTW (now talking to Christian and Noel), is there a reason why pytrainer
depends on gpsbabel and not on garmin-forerunner-tools (or on 
gpsbabel|garmin-forerunner-tools) ? OTOH, if pytrainer can be run without
accessing a GPS device than these should only be Recommends, I reckon.

-Ralf.



Bug reassigned from package 'pytrainer' to 'garmin-forerunner-tools'. Request was from Ralf Treinen <treinen@debian.org> to control@bugs.debian.org. (Tue, 18 Dec 2012 06:27:03 GMT) (full text, mbox, link).


No longer marked as found in versions pytrainer/1.9.1-2. Request was from Ralf Treinen <treinen@debian.org> to control@bugs.debian.org. (Tue, 18 Dec 2012 06:27:04 GMT) (full text, mbox, link).


Added indication that 696147 affects pytrainer Request was from Ralf Treinen <treinen@debian.org> to control@bugs.debian.org. (Tue, 18 Dec 2012 06:27:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Ralf Treinen <treinen@debian.org> to control@bugs.debian.org. (Tue, 18 Dec 2012 06:27:08 GMT) (full text, mbox, link).


Changed Bug title to 'garmin-forerunner-tools: should blacklist gps_babel kernel module' from 'pytrainer: Pytrainer fails to download data using garmin-tools' Request was from Ralf Treinen <treinen@debian.org> to control@bugs.debian.org. (Tue, 18 Dec 2012 06:27:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian running develpment group <pkg-running-devel@lists.alioth.debian.org>:
Bug#696147; Package garmin-forerunner-tools. (Tue, 18 Dec 2012 06:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian running develpment group <pkg-running-devel@lists.alioth.debian.org>. (Tue, 18 Dec 2012 06:51:05 GMT) (full text, mbox, link).


Message #35 received at 696147@bugs.debian.org (full text, mbox, reply):

From: Christian PERRIER <bubulle@debian.org>
To: 696147@bugs.debian.org
Cc: Thomas de Graaff <ttadegraaff@gmail.com>
Subject: Re: Bug#696147: [Pkg-running-devel] Bug#696147: pytrainer: Pytrainer fails to download data using garmin-tools
Date: Tue, 18 Dec 2012 07:46:41 +0100
[Message part 1 (text/plain, inline)]
Quoting Ralf Treinen (treinen@free.fr):

> BTW (now talking to Christian and Noel), is there a reason why pytrainer
> depends on gpsbabel and not on garmin-forerunner-tools (or on 
> gpsbabel|garmin-forerunner-tools) ? OTOH, if pytrainer can be run without
> accessing a GPS device than these should only be Recommends, I reckon.

Sure. I personnally use it without accessing my device (my GPS files
are collected from my 405, which requires the clumsy
garmin-ant-downloader package).

[signature.asc (application/pgp-signature, inline)]

Reply sent to Ralf Treinen <treinen@debian.org>:
You have taken responsibility. (Sun, 23 Dec 2012 20:51:13 GMT) (full text, mbox, link).


Notification sent to Thomas de Graaff <ttadegraaff@gmail.com>:
Bug acknowledged by developer. (Sun, 23 Dec 2012 20:51:13 GMT) (full text, mbox, link).


Message #40 received at 696147-close@bugs.debian.org (full text, mbox, reply):

From: Ralf Treinen <treinen@debian.org>
To: 696147-close@bugs.debian.org
Subject: Bug#696147: fixed in garmin-forerunner-tools 0.10repacked-1
Date: Sun, 23 Dec 2012 20:47:31 +0000
Source: garmin-forerunner-tools
Source-Version: 0.10repacked-1

We believe that the bug you reported is fixed in the latest version of
garmin-forerunner-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 696147@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated garmin-forerunner-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 23 Dec 2012 19:40:38 +0100
Source: garmin-forerunner-tools
Binary: garmin-forerunner-tools
Architecture: source amd64
Version: 0.10repacked-1
Distribution: experimental
Urgency: low
Maintainer: Debian running develpment group <pkg-running-devel@lists.alioth.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description: 
 garmin-forerunner-tools - retrieve data from Garmin Forerunner/Edge GPS devices
Closes: 693285 696147
Changes: 
 garmin-forerunner-tools (0.10repacked-1) experimental; urgency=low
 .
   [ Christian Perrier ]
   * Add build-arch and build-indep build targets
 .
   [ Ralf Treinen ]
   * debian/watch: drop the googlecode redirector which is no longer
     needed, use instead a direct url following the instructions on
     http://wiki.debian.org/debian/watch.
   * add patch hurd_no_path_max: Do not use PATH_MAX on hurd (closes: #693285)
   * Standards-Version 3.9.4 (no change)
   * debian/rules: pass dpkg buildflags to ./configure
   * blacklisting the garmin_gps kernel module (closes: #696147):
     - add debian/garmin-forerunner-tools.modprobe
     - debian/rules: call dh_installmodules
     - Remove the README.Debian file which is now redundant.
   * add debian/gbp.conf to enforce use of pristine-tar. Rebuild orig.tar.gz
     with pristine tar.
Checksums-Sha1: 
 6dfe327c300fc21f74acf8f1c71954241ad95e26 1598 garmin-forerunner-tools_0.10repacked-1.dsc
 f59a761b09575d27abbf5d76811f7ec25a1cbd26 396659 garmin-forerunner-tools_0.10repacked.orig.tar.gz
 82fab5fada5f69491aaff4566f5b14a848fcec68 6837 garmin-forerunner-tools_0.10repacked-1.debian.tar.gz
 ce2801c41610af8cc3a316d77d97af589b21ab75 146270 garmin-forerunner-tools_0.10repacked-1_amd64.deb
Checksums-Sha256: 
 812f8683fce89f966f3b2f7f47373f23cca72d59683fadc36072fd1f39b73f7c 1598 garmin-forerunner-tools_0.10repacked-1.dsc
 ffd50b7f963fa9b8ded3223c4786b07906c887ed900de64581a24ff201444cee 396659 garmin-forerunner-tools_0.10repacked.orig.tar.gz
 092f76f64aeae1ae83934af58dd83041d929fb5cf211294c3418aafdd157737c 6837 garmin-forerunner-tools_0.10repacked-1.debian.tar.gz
 38f5ece609efc1a11a76808385a880b3fae1e63403db9da0c4d3571626884cd0 146270 garmin-forerunner-tools_0.10repacked-1_amd64.deb
Files: 
 0a5c9acc768609061c23c9513bfc5ce8 1598 utils extra garmin-forerunner-tools_0.10repacked-1.dsc
 1a555a5174a82e92e0f5def1c4b01ae7 396659 utils extra garmin-forerunner-tools_0.10repacked.orig.tar.gz
 0f2429da109b1c06719af67624cacc0b 6837 utils extra garmin-forerunner-tools_0.10repacked-1.debian.tar.gz
 6bfa72a678aafaf4d1247a07457df038 146270 utils extra garmin-forerunner-tools_0.10repacked-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDXY0oACgkQtzWmSeC6BMEJSQCg0TrCIfJxgNld8AUb5Yd4QBmB
7JUAoL7LPEFRsVqPZVUrZGXhkRROm4d3
=V2tm
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 28 Jun 2013 07:34:42 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 15:19:59 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.