* regression with gammu on 2.6.21-rc7
@ 2007-04-20 8:58 Wolfgang Erig
2007-04-23 5:47 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Erig @ 2007-04-20 8:58 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
Hello,
I have a regression with 2.6.21-rc7-g80d74d51.
The utility "gammu" to talk to my mobile does not work anymore.
With 2.6.20 gammu runs fine.
Distribution is the latest Debian/testing
Wolfgang
$ gammu --backup backup
Press Ctrl+C to break...
I/O possible
$ uname -a
Linux max 2.6.21-rc7-g80d74d51 #9 SMP Wed Apr 18 21:41:41 CEST 2007 i686 GNU/Linux
$ tail messages
Apr 20 08:04:36 max kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
Apr 20 08:04:36 max kernel: extern: link up, 100Mbps, full-duplex, lpa 0x45E1
Apr 20 08:04:36 max kernel: intern: setting half-duplex.
Apr 20 08:09:02 max kernel: usb 2-2: USB disconnect, address 3
Apr 20 08:09:02 max kernel: pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
Apr 20 08:09:02 max kernel: pl2303 2-2:1.0: device disconnected
Apr 20 08:10:24 max kernel: usb 2-2: new full speed USB device using uhci_hcd and address 4
Apr 20 08:10:25 max kernel: usb 2-2: configuration #1 chosen from 1 choice
Apr 20 08:10:25 max kernel: pl2303 2-2:1.0: pl2303 converter detected
Apr 20 08:10:25 max kernel: usb 2-2: pl2303 converter now attached to ttyUSB0
$ strace -o strace.gammu gammu --backup backup
Press Ctrl+C to break...
$ tail strace.gammu
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(3, TIOCMBIC, [TIOCM_DTR]) = 0
ioctl(3, TIOCMBIC, [TIOCM_RTS]) = 0
ioctl(3, TIOCMGET, [0]) = 0
nanosleep({1, 0}, 0) = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGIO (I/O possible) @ 0 (0) ---
+++ killed by SIGIO +++
$ grep open strace.gammu
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/lib/libGammu.so.1", O_RDONLY) = 3
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
open("/usr/lib/libmysqlclient.so.15", O_RDONLY) = 3
open("/usr/lib/libbluetooth.so.2", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
open("/lib/tls/libcrypt.so.1", O_RDONLY) = 3
open("/lib/tls/libnsl.so.1", O_RDONLY) = 3
open("/lib/tls/libm.so.6", O_RDONLY) = 3
open("/usr/lib/libz.so.1", O_RDONLY) = 3
open("/home/erig/.gammurc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/gammurc", O_RDONLY) = 3
open("/usr//gammu_c", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr//gammu_c", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr//gammu_c", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/ttyUSB0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 3
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: regression with gammu on 2.6.21-rc7
2007-04-20 8:58 regression with gammu on 2.6.21-rc7 Wolfgang Erig
@ 2007-04-23 5:47 ` Greg KH
2007-04-23 8:10 ` Wolfgang Erig
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2007-04-23 5:47 UTC (permalink / raw)
To: Adrian Bunk, linux-kernel
On Fri, Apr 20, 2007 at 10:58:53AM +0200, Wolfgang Erig wrote:
> Hello,
>
> I have a regression with 2.6.21-rc7-g80d74d51.
> The utility "gammu" to talk to my mobile does not work anymore.
> With 2.6.20 gammu runs fine.
>
> Distribution is the latest Debian/testing
>
> Wolfgang
>
> $ gammu --backup backup
> Press Ctrl+C to break...
> I/O possible
> $ uname -a
> Linux max 2.6.21-rc7-g80d74d51 #9 SMP Wed Apr 18 21:41:41 CEST 2007 i686 GNU/Linux
> $ tail messages
> Apr 20 08:04:36 max kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
> Apr 20 08:04:36 max kernel: extern: link up, 100Mbps, full-duplex, lpa 0x45E1
> Apr 20 08:04:36 max kernel: intern: setting half-duplex.
> Apr 20 08:09:02 max kernel: usb 2-2: USB disconnect, address 3
> Apr 20 08:09:02 max kernel: pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
> Apr 20 08:09:02 max kernel: pl2303 2-2:1.0: device disconnected
> Apr 20 08:10:24 max kernel: usb 2-2: new full speed USB device using uhci_hcd and address 4
> Apr 20 08:10:25 max kernel: usb 2-2: configuration #1 chosen from 1 choice
> Apr 20 08:10:25 max kernel: pl2303 2-2:1.0: pl2303 converter detected
> Apr 20 08:10:25 max kernel: usb 2-2: pl2303 converter now attached to ttyUSB0
That looks ok, I'm guessing you yanked it out and then back in?
Or is the problem that the device was removed?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: regression with gammu on 2.6.21-rc7
2007-04-23 5:47 ` Greg KH
@ 2007-04-23 8:10 ` Wolfgang Erig
2007-04-25 0:13 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Erig @ 2007-04-23 8:10 UTC (permalink / raw)
To: linux-kernel
Hello Greg,
On Sun, Apr 22, 2007 at 10:47:17PM -0700, Greg KH wrote:
> On Fri, Apr 20, 2007 at 10:58:53AM +0200, Wolfgang Erig wrote:
> > Hello,
> >
> > I have a regression with 2.6.21-rc7-g80d74d51.
> > The utility "gammu" to talk to my mobile does not work anymore.
> > With 2.6.20 gammu runs fine.
> >
> > Distribution is the latest Debian/testing
> >
> > Wolfgang
> >
> > $ gammu --backup backup
> > Press Ctrl+C to break...
> > I/O possible
the problem is here because gammu stops working.
Maybe a problem in gammu, but with 2.6.20 gammu works fine.
> > $ uname -a
> > Linux max 2.6.21-rc7-g80d74d51 #9 SMP Wed Apr 18 21:41:41 CEST 2007 i686 GNU/Linux
> > $ tail messages
> > Apr 20 08:04:36 max kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
> > Apr 20 08:04:36 max kernel: extern: link up, 100Mbps, full-duplex, lpa 0x45E1
> > Apr 20 08:04:36 max kernel: intern: setting half-duplex.
> > Apr 20 08:09:02 max kernel: usb 2-2: USB disconnect, address 3
> > Apr 20 08:09:02 max kernel: pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
> > Apr 20 08:09:02 max kernel: pl2303 2-2:1.0: device disconnected
> > Apr 20 08:10:24 max kernel: usb 2-2: new full speed USB device using uhci_hcd and address 4
> > Apr 20 08:10:25 max kernel: usb 2-2: configuration #1 chosen from 1 choice
> > Apr 20 08:10:25 max kernel: pl2303 2-2:1.0: pl2303 converter detected
> > Apr 20 08:10:25 max kernel: usb 2-2: pl2303 converter now attached to ttyUSB0
>
> That looks ok, I'm guessing you yanked it out and then back in?
Yes.
This is included only to see which device is connected.
> Or is the problem that the device was removed?
No, no problem with removal.
I see no hint for a problem in the usb-layer.
Thanks,
Wolfgang
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: regression with gammu on 2.6.21-rc7
2007-04-23 8:10 ` Wolfgang Erig
@ 2007-04-25 0:13 ` Greg KH
2007-04-25 1:12 ` Ray Lee
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2007-04-25 0:13 UTC (permalink / raw)
To: linux-kernel
On Mon, Apr 23, 2007 at 10:10:22AM +0200, Wolfgang Erig wrote:
> Hello Greg,
Please don't take me out of the cc:, otherwise I might mist this (as I
did...)
> On Sun, Apr 22, 2007 at 10:47:17PM -0700, Greg KH wrote:
> > On Fri, Apr 20, 2007 at 10:58:53AM +0200, Wolfgang Erig wrote:
> > > Hello,
> > >
> > > I have a regression with 2.6.21-rc7-g80d74d51.
> > > The utility "gammu" to talk to my mobile does not work anymore.
> > > With 2.6.20 gammu runs fine.
> > >
> > > Distribution is the latest Debian/testing
> > >
> > > Wolfgang
> > >
> > > $ gammu --backup backup
> > > Press Ctrl+C to break...
> > > I/O possible
> the problem is here because gammu stops working.
> Maybe a problem in gammu, but with 2.6.20 gammu works fine.
> > > $ uname -a
> > > Linux max 2.6.21-rc7-g80d74d51 #9 SMP Wed Apr 18 21:41:41 CEST 2007 i686 GNU/Linux
> > > $ tail messages
> > > Apr 20 08:04:36 max kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
> > > Apr 20 08:04:36 max kernel: extern: link up, 100Mbps, full-duplex, lpa 0x45E1
> > > Apr 20 08:04:36 max kernel: intern: setting half-duplex.
> > > Apr 20 08:09:02 max kernel: usb 2-2: USB disconnect, address 3
> > > Apr 20 08:09:02 max kernel: pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
> > > Apr 20 08:09:02 max kernel: pl2303 2-2:1.0: device disconnected
> > > Apr 20 08:10:24 max kernel: usb 2-2: new full speed USB device using uhci_hcd and address 4
> > > Apr 20 08:10:25 max kernel: usb 2-2: configuration #1 chosen from 1 choice
> > > Apr 20 08:10:25 max kernel: pl2303 2-2:1.0: pl2303 converter detected
> > > Apr 20 08:10:25 max kernel: usb 2-2: pl2303 converter now attached to ttyUSB0
> >
> > That looks ok, I'm guessing you yanked it out and then back in?
> Yes.
> This is included only to see which device is connected.
> > Or is the problem that the device was removed?
> No, no problem with removal.
> I see no hint for a problem in the usb-layer.
I don't see any problems here.
If you enable debugging in the pl2303 driver, do you get any errors?
You can do this by:
modprobe pl2303 debug=1
or if the module is built in or already loaded:
echo 1 > /sys/modules/pl2303/parameters/debug
Also, if you know how to use git, doing a 'git bisect' to try to track
down the problem commit would be very helpful.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: regression with gammu on 2.6.21-rc7
2007-04-25 0:13 ` Greg KH
@ 2007-04-25 1:12 ` Ray Lee
2007-04-25 3:39 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: Ray Lee @ 2007-04-25 1:12 UTC (permalink / raw)
To: Greg KH, Adrian Bunk, Wolfgang Erig; +Cc: linux-kernel
On 4/24/07, Greg KH <greg@kroah.com> wrote:
> Also, if you know how to use git, doing a 'git bisect' to try to track
> down the problem commit would be very helpful.
Has to do with SIGIO, see this blog post:
http://blog.cihar.com/archives/2007/04/24/kernel_2_6_21_hits_gammu/
Ray
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: regression with gammu on 2.6.21-rc7
2007-04-25 1:12 ` Ray Lee
@ 2007-04-25 3:39 ` Greg KH
0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2007-04-25 3:39 UTC (permalink / raw)
To: ray-gmail; +Cc: Adrian Bunk, Wolfgang Erig, linux-kernel
On Tue, Apr 24, 2007 at 06:12:33PM -0700, Ray Lee wrote:
> On 4/24/07, Greg KH <greg@kroah.com> wrote:
> > Also, if you know how to use git, doing a 'git bisect' to try to track
> > down the problem commit would be very helpful.
>
> Has to do with SIGIO, see this blog post:
>
> http://blog.cihar.com/archives/2007/04/24/kernel_2_6_21_hits_gammu/
Ah, thank you very much, that makes more sense as nothing changed in
that usb-serial driver and I was starting to get a bit worried...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-25 3:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 8:58 regression with gammu on 2.6.21-rc7 Wolfgang Erig
2007-04-23 5:47 ` Greg KH
2007-04-23 8:10 ` Wolfgang Erig
2007-04-25 0:13 ` Greg KH
2007-04-25 1:12 ` Ray Lee
2007-04-25 3:39 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox