lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Apr 2008 16:11:57 +0300
From:	Paulius Zaleckas <paulius.zaleckas@...tonika.lt>
To:	netdev@...r.kernel.org
Cc:	netdev@...r.kernel.org
Subject:  Re: [RFC] Patch to option HSO driver to the kernel

With the latest patch I always get BUG when closing my serial terminal
application. I have two different modems (GTM378 and GTM380) plugged at 
USB hub. Here is the dump:

BUG: sleeping function called from invalid context at 
drivers/usb/core/urb.c:542
in_atomic():1, irqs_disabled():0
Pid: 30031, comm: gtkterm Not tainted 2.6.24.4-64.fc8 #1

Call Trace:
  [<ffffffff811b5e40>] usb_kill_urb+0x1a/0xf1
  [<ffffffff81268512>] mutex_lock+0x1e/0x2f
  [<ffffffff810ab2a2>] fasync_helper+0x4a/0xcd
  [<ffffffff88308f57>] :hso:hso_stop_serial_device+0x85/0x99
  [<ffffffff8830971f>] :hso:hso_serial_close+0xea/0x110
  [<ffffffff8117bf26>] release_dev+0x212/0x618
  [<ffffffff8108ec31>] free_pages_and_swap_cache+0x73/0x8f
  [<ffffffff8117c33d>] tty_release+0x11/0x1a
  [<ffffffff810a152c>] __fput+0xc2/0x18f
  [<ffffffff8109ed3f>] filp_close+0x5d/0x65
  [<ffffffff8109ff0f>] sys_close+0x8d/0xca
  [<ffffffff8100c005>] tracesys+0xd5/0xda

BUG: scheduling while atomic: gtkterm/30031/0x10000100
Pid: 30031, comm: gtkterm Not tainted 2.6.24.4-64.fc8 #1

Call Trace:
  [<ffffffff812677a2>] schedule+0x91/0x706
  [<ffffffff81032f45>] __cond_resched+0x2d/0x55
  [<ffffffff81267f0f>] cond_resched+0x2e/0x39
  [<ffffffff811b5e45>] usb_kill_urb+0x1f/0xf1
  [<ffffffff81268512>] mutex_lock+0x1e/0x2f
  [<ffffffff810ab2a2>] fasync_helper+0x4a/0xcd
  [<ffffffff88308f57>] :hso:hso_stop_serial_device+0x85/0x99
  [<ffffffff8830971f>] :hso:hso_serial_close+0xea/0x110
  [<ffffffff8117bf26>] release_dev+0x212/0x618
  [<ffffffff8108ec31>] free_pages_and_swap_cache+0x73/0x8f
  [<ffffffff8117c33d>] tty_release+0x11/0x1a
  [<ffffffff810a152c>] __fput+0xc2/0x18f
  [<ffffffff8109ed3f>] filp_close+0x5d/0x65
  [<ffffffff8109ff0f>] sys_close+0x8d/0xca
  [<ffffffff8100c005>] tracesys+0xd5/0xda

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ