All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-bluetooth@vger.kernel.org
Subject: [Bug 202193] BUG: sleeping function called from invalid context at net/core/sock.c:2771 when trying to connect bluetooth headphones
Date: Wed, 09 Jan 2019 12:06:24 +0000	[thread overview]
Message-ID: <bug-202193-62941-TVst27PLT7@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-202193-62941@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=202193

--- Comment #1 from Emilio Cobos Álvarez (:emilio) (emilio@crisal.io) ---
It is reproducible if I just disconnect and connect using bluetoothctl:

[ 6303.369709] BUG: sleeping function called from invalid context at
net/core/sock.c:2771
[ 6303.369715] in_atomic(): 1, irqs_disabled(): 0, pid: 30395, name: krfcommd
[ 6303.369717] INFO: lockdep is turned off.
[ 6303.369721] CPU: 4 PID: 30395 Comm: krfcommd Tainted: G        W  OE    
4.21.0-0.rc0.git1.1.fc30.x86_64 #1
[ 6303.369723] Hardware name: LENOVO 20ENCTO1WW/20ENCTO1WW, BIOS N1EET80W (1.53
) 09/14/2018
[ 6303.369725] Call Trace:
[ 6303.369732]  dump_stack+0x85/0xc0
[ 6303.369737]  ___might_sleep.cold.73+0xac/0xbc
[ 6303.369742]  lock_sock_nested+0x29/0xa0
[ 6303.369758]  bt_accept_enqueue+0x3f/0xb0 [bluetooth]
[ 6303.369766]  rfcomm_connect_ind+0x21b/0x260 [rfcomm]
[ 6303.369773]  rfcomm_run+0x1611/0x1820 [rfcomm]
[ 6303.369779]  ? do_wait_intr_irq+0xb0/0xb0
[ 6303.369785]  ? rfcomm_check_accept+0x90/0x90 [rfcomm]
[ 6303.369789]  kthread+0x120/0x140
[ 6303.369792]  ? kthread_create_on_node+0x60/0x60
[ 6303.369797]  ret_from_fork+0x3a/0x50
[ 6303.552483] input: 2C:41:A1:C6:01:C0 as /devices/virtual/input/input20

The headphones work though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

      reply	other threads:[~2019-01-09 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09 12:02 [Bug 202193] New: BUG: sleeping function called from invalid context at net/core/sock.c:2771 when trying to connect bluetooth headphones bugzilla-daemon
2019-01-09 12:06 ` bugzilla-daemon [this message]

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=bug-202193-62941-TVst27PLT7@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-bluetooth@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.