kernel BUG at /build/buildd/linux-2.6.32/drivers/char/tty_ldisc.c:707!; EIP is at tty_ldisc_reint+0x43/0x50

Bug #664625 reported by Johannes Ballé
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Steps to reproduce:

1) rfcomm connect 0 <mac>

In this case, we are connecting to a LEGO Mindstorms NXT brick.

2) Turn off brick.

3) After a few seconds, the system freezes.

I did this again in the text terminal and took a picture of the output, will attach separately.

This did not happen with the stock intrepid kernel (2.6.28-11-generic).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-25-generic 2.6.32-25.45 [modified: lib/modules/2.6.32-25-generic/kernel/net/bluetooth/rfcomm/rfcomm.ko]
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mindstorms 2476 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
Date: Thu Oct 21 19:17:44 2010
IwConfig: Error: [Errno 2] No such file or directory
MachineType: Dell Inc OptiPlex 740
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.gz quiet splash -- maybe-ubiquity
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
dmi.bios.date: 03/17/2007
dmi.bios.vendor: Dell Inc
dmi.bios.version: 1.1.3
dmi.board.name: 0UT225
dmi.board.vendor: Dell Inc
dmi.board.version: A02
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc
dmi.modalias: dmi:bvnDellInc:bvr1.1.3:bd03/17/2007:svnDellInc:pnOptiPlex740:pvr:rvnDellInc:rn0UT225:rvrA02:cvnDellInc:ct3:cvr:
dmi.product.name: OptiPlex 740
dmi.sys.vendor: Dell Inc

Revision history for this message
Johannes Ballé (jballe) wrote :
Revision history for this message
Johannes Ballé (jballe) wrote :

I should add that the rfcomm module may have a different timestamp because I moved it to rfcomm.ko.orig and back again, since before posting this I tried a patch from the kernel bugtracker to see if it resolves the problem; however, it doesn't.

Revision history for this message
Johannes Ballé (jballe) wrote :

The patch I tried (in vain) is at https://bugzilla.kernel.org/show_bug.cgi?id=15994

Revision history for this message
Johannes Ballé (jballe) wrote :

It seems to be independent of the hardware involved. I also tried this with a MacBook and a HTC Legend phone, the outcome is the same. You should be able to reproduce it with anything that has a rfcomm serial interface.

Revision history for this message
Johannes Ballé (jballe) wrote :

This is also reproducible with the Ubuntu 10.10 32-bit desktop ISO. Ubuntu 9.10 32-bit desktop ISO is not affected.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Johannes Ballé, thank you for reporting this bug and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: needs-bisect
tags: added: maverick
summary: - system freeze related to rfcomm
+ kernel BUG at /build/buildd/linux-2.6.32/drivers/char/tty_ldisc.c:707!;
+ EIP is at tty_ldisc_reint+0x43/0x50
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.