Huawei K3520 connection problems (Receive serial link is not 8-bit clean: Problem: all had bit 7 set to 0)

Bug #520372 reported by Pablo Martí
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned
Lucid
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: ppp

Whenever I try to connect on Lucid with ppp/wvdial, I get the following error message in /var/log/messages:

Receive serial link is not 8-bit clean: Problem: all had bit 7 set to 0. The same card with the same configuration file will connect flawlessly as before on Karmic, so I suspect that this is a lucid regression. Do let me know if you need more information, this is critical for many projects/orgs!!

ProblemType: Bug
Architecture: i386
Date: Thu Feb 11 10:46:17 2010
DistroRelease: Ubuntu 10.04
Package: ppp 2.4.5~git20081126t100229-0ubuntu2
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-12.17-generic
SourcePackage: ppp
Uname: Linux 2.6.32-12-generic i686

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.20.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pablo 3982 F.... pulseaudio
 /dev/snd/pcmC0D0p: pablo 3982 F...m pulseaudio
BugPatternURL: https://bugs.launchpad.net/bugs/456184
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 17'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000'
   Controls : 14
   Simple ctrls : 7
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=10d0bcbf-4d8e-48f6-aa7c-32fcb54cd0e6
MachineType: LENOVO 744323G
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-19-generic root=UUID=25af6a42-a0e9-4007-b0e1-91a4443c5908 ro quiet splash
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
Regression: Yes
RelatedPackageVersions: linux-firmware 1.29
Reproducible: Yes
Tags: lucid needs-upstream-testing regression-potential lucid needs-upstream-testing regression-potential
TestedUpstream: No
Uname: Linux 2.6.31-19-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/22/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7VET66WW (2.16 )
dmi.board.name: 744323G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7VET66WW(2.16):bd04/22/2009:svnLENOVO:pn744323G:pvrThinkPadR400:rvnLENOVO:rn744323G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 744323G
dmi.product.version: ThinkPad R400
dmi.sys.vendor: LENOVO

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pablo 1713 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 17'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000'
   Controls : 14
   Simple ctrls : 7
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=10d0bcbf-4d8e-48f6-aa7c-32fcb54cd0e6
MachineType: LENOVO 744323G
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-12-generic root=UUID=25af6a42-a0e9-4007-b0e1-91a4443c5908 ro quiet splash
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-12.17-generic
Regression: Yes
RelatedPackageVersions: linux-firmware 1.29
Reproducible: Yes
Tags: lucid needs-upstream-testing regression-potential lucid needs-upstream-testing regression-potential
TestedUpstream: No
Uname: Linux 2.6.32-12-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/22/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7VET66WW (2.16 )
dmi.board.name: 744323G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7VET66WW(2.16):bd04/22/2009:svnLENOVO:pn744323G:pvrThinkPadR400:rvnLENOVO:rn744323G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 744323G
dmi.product.version: ThinkPad R400
dmi.sys.vendor: LENOVO

Revision history for this message
Pablo Martí (pmarti) wrote :
description: updated
Revision history for this message
Pablo Martí (pmarti) wrote :

Well, turns out that is the kernel, not ppp!! I've booted with an old kernel (Karmic's 2.6.31-19) and ppp/wvdial work as expected. So the bug has to be in the kernel (2.6.32-12)

Alexander Sack (asac)
affects: ppp (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

targetting for lucid beta as this seems to be a regression in kernel ppp

Changed in linux (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-1
Revision history for this message
Chase Douglas (chasedouglas) wrote :

@Pablo:

Please run 'apport-collect 520372' to collect system information and attach them here.

Changed in linux (Ubuntu Lucid):
importance: High → Low
status: Confirmed → Incomplete
tags: added: regression-potential
Changed in linux (Ubuntu Lucid):
importance: Low → Medium
Revision history for this message
Pablo Martí (pmarti) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Pablo Martí (pmarti) wrote : AplayDevices.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : BootDmesg.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : IwConfig.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Lspci.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Lsusb.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : PciMultimedia.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : ProcModules.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : RfKill.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : UdevDb.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : UdevLog.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : WifiSyslog.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Re: ppp won't connect (Receive serial link is not 8-bit clean: Problem: all had bit 7 set to 0)

Steps to reproduce the problem:

 - plug in a 3g modem
 - sort out authentication via minicom
 - edit the attached file (change username, passwd, serial port and APN) and start wvdial with "sudo wvdial -C wvdial.conf connect"
 - The connection attempt won't succeed
 - In /var/log/messages you'll see a message like ("Receive serial link is not 8-bit clean: Problem: all had bit 7 set to 0.")

 - If I boot up with latest karmic kernel (2.6.31-19) all the problems are gone

Revision history for this message
Pablo Martí (pmarti) wrote :

@Chase: Please ignore the attached information, I forgot that I was running a karmik kernel. I'll reboot and repeat the process. Sorry for the noise.

Revision history for this message
Pablo Martí (pmarti) wrote : AlsaDevices.txt

apport information

description: updated
Revision history for this message
Pablo Martí (pmarti) wrote : AplayDevices.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : BootDmesg.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : IwConfig.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Lspci.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Lsusb.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : PciMultimedia.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : ProcModules.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : RfKill.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : UdevDb.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : UdevLog.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : WifiSyslog.txt

apport information

Revision history for this message
Pablo Martí (pmarti) wrote : Re: ppp won't connect (Receive serial link is not 8-bit clean: Problem: all had bit 7 set to 0)

@Chase: the new info was collected on a 2.6.32-12 kernel

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Please test the upstream kernels to determine if the functionality broke from upstream changes. The Karmic 2.6.31-19 kernel is based on 2.6.31.6 and the Lucid 2.6.32-12 kernel is based on 2.6.32.6. You can find upstream kernel packages at:

http://kernel.ubuntu.com/~kernel-ppa/mainline/

Please report results back here after you have tested the two upstream kernels.

Thanks

Revision history for this message
Pablo Martí (pmarti) wrote :

Chase,

this bug only happens with a Huawei K3520, a Sony Ericsson MD300 and a Huawei E272 are not affected by this bug. I've tested 2.6.31.6 and I can connect, but not with 2.6.32.6 nor 2.6.32-14.

summary: - ppp won't connect (Receive serial link is not 8-bit clean: Problem: all
- had bit 7 set to 0)
+ Huawei K3520 connection problems (Receive serial link is not 8-bit
+ clean: Problem: all had bit 7 set to 0)
Revision history for this message
Chase Douglas (chasedouglas) wrote :

@Pablo:

Based on your comments we know that the issue is caused by changes between 2.6.31.6 and 2.6.32.6. I haven't been able to find any changes between the two versions that would affect the K3520 but not the other two devices. I think at this point a git bisect run may be the best option for figuring out what change caused the issue. I would start by testing 2.6.31 and 2.6.32. Assuming it works in .31 and not in .32, I would then do a git bisect between the two to find out what caused the failure.

Are you able to perform a git bisect yourself? I can provide information to help you get started. If not, I may be able to help bisect the kernel for you.

Thanks

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@Pablo:

This should also be filed upstream at bugzilla.kernel.org. The developers there would likely request a git bisect as well, though. However, they may have some more information available to pinpoint the issue.

Thanks

Andy Whitcroft (apw)
Changed in linux (Ubuntu Lucid):
milestone: ubuntu-10.04-beta-1 → ubuntu-10.04-beta-2
Steve Langasek (vorlon)
Changed in linux (Ubuntu Lucid):
milestone: ubuntu-10.04-beta-2 → none
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in linux (Ubuntu Lucid):
status: Incomplete → Won't Fix
To post a comment you must log in.