From: Daniel Drake <dsd@gentoo.org>
To: marcel@holtmann.org
Cc: bluez-devel@lists.sourceforge.net, billk@iinet.net.au,
linux-kernel@vger.kernel.org
Subject: 2.6.19 bluetooth PPP (rfcomm) regression
Date: Sat, 30 Dec 2006 23:06:50 -0500 [thread overview]
Message-ID: <4597375A.2080804@gentoo.org> (raw)
Hi,
Testing from Bill Kenworthy indicates that commit
0a85b964e141a4b8db6eaf500ceace12f8f52f93 introduces a ppp-over-bluetooth
regression.
https://bugs.gentoo.org/show_bug.cgi?id=159277
Dec 28 21:56:54 rattus hcid[22749]: pin_code_request (sba=00:0A:3A:59:39:38,
dba=00:07:E0:06:AC:7A)
Dec 28 21:57:02 rattus hcid[22749]: link_key_notify (sba=00:0A:3A:59:39:38,
dba=00:07:E0:06:AC:7A)
Dec 28 21:57:37 rattus rfcomm_tty_ioctl: TIOCGSERIAL is not supported
Dec 28 21:57:37 rattus dund[23081]: New connection from 00:07:E0:06:AC:7A
Dec 28 21:57:37 rattus pppd[23094]: pppd 2.4.4 started by root, uid 0
Dec 28 21:57:37 rattus pppd[23094]: Couldn't get channel number:
Input/output
error
Dec 28 21:57:37 rattus pppd[23094]: Exit.
> diffing net/bluetooth/rfcomm/tty.c between the two kernels shows
>
> 2.6.19-r2: tty_register_device(rfcomm_tty_driver, dev->id,
> rfcomm_get_device(dev));
>
> and
>
> 2.16.18-r2: tty_register_device(rfcomm_tty_driver, dev->id, NULL);
>
> Changing this line to match the earlier kernel (using NULL) removes the error
> and ppp connects as it should.
I see this has already been reported by Johannes Hoerhan on the bluez
list. http://thread.gmane.org/gmane.linux.bluez.devel/10148/focus=10232
I don't really see how this could be a udev issue, since it's obviously
so intricately linked to that line of code.
How can we help diagnose this further - any debugging flags we should
turn on?
Thanks,
Daniel
reply other threads:[~2006-12-31 4:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4597375A.2080804@gentoo.org \
--to=dsd@gentoo.org \
--cc=billk@iinet.net.au \
--cc=bluez-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox