[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2011-05-11 Thread Chase Douglas
** Changed in: linux (Ubuntu)
 Assignee: Chase Douglas (chasedouglas) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/534549

Title:
  BUG: scheduling while atomic: swapper/0/0x1100

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2011-05-10 Thread hallgat
It isn't fixed in Natty Narvhal. Should I open a new bug thread?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/534549

Title:
  BUG: scheduling while atomic: swapper/0/0x1100

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-19 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.32-17.26

---
linux (2.6.32-17.26) lucid; urgency=low

  [ Amit Kucheria ]

  * [Config] SECURITY_FILE_CAPABILITIES dissapeared in 2.6.33

  [ Andy Whitcroft ]

  * rules -- allow architecture configurations to be missing
  * SAUCE: cdrom -- default to not locking the tray when in use
- LP: #397734
  * expose the kernel EXTRAVERSION in dmesg and /proc/version_signature
  * record the drm version in EXTRAVERSION
  * linux-tools -- pull out the perf binary into a binary package
  * [Config] enable MMIOTRACE for graphics debugging
  * [Config] enable BLK_DEV_BSG
  * debian -- fix builds when tools are disabled
  * allow us to build default configs for automated builds
  * config -- allow locally specified configuration overrides
  * [Config] de-modularise PATA disk controllers
  * [Config] de-modularise SATA disk controllers

  [ Stefan Bader ]

  * Revert SAUCE: (pre-stable) netfilter: xt_recent: fix buffer overflow
- LP: #540231
  * Revert SAUCE: (pre-stable) netfilter: xt_recent: fix false match
- LP: #540231
  * [Config] Update configs for 2.6.32.10
- LP: #540231

  [ Tim Gardner ]

  * [Config] Add vmw_pvscsi and vmxnet3 to -virtual flavour
- LP: #531017
  * SAUCE: igb: Supress an upstream compiler complaint
  * [Config] Fix sub-flavours package conflicts
- LP: #454827

  [ Upstream Kernel Changes ]

  * Revert tpm_tis: TPM_STS_DATA_EXPECT workaround
- LP: #540231
  * Revert (pre-stable) sched: Fix SMT scheduler regression in
find_busiest_queue()
- LP: #540231
  * (pre-stable) Bluetooth: Fix sleeping function in RFCOMM within invalid
context
- LP: #534549
  * igb: remove unused temp variable from stats clearing path
  * igb: update comments for serdes config and update to handle duplex
  * igb: update the approach taken to acquiring and releasing the phy lock
  * igb: add locking to reads of the i2c interface
  * igb: add combined function for setting rar and pool bits
  * igb: make use of the uta to allow for promiscous mode filter
  * igb: add support for 82576NS SerDes adapter
  * igb: add function to handle mailbox lock
  * igb: fix a few items where weren't correctly setup for mbx timeout
  * igb: change how we handle alternate mac addresses
  * igb: remove microwire support from igb
  * igb: move the generic copper link setup code into e1000_phy.c
  * igb: add code to retry a phy read in the event of failure on link check
  * igb: add additional error handling to the phy code
  * igb: add flushes between RAR writes when setting mac address
  * igb: Use the instance of net_device_stats from net_device.
  * igb: Fix erroneous display of stats by ethtool -S
  * igb: add new data structure for handling interrupts and NAPI
  * igb: remove rx checksum good counter
  * igb: increase minimum rx buffer size to 1K
  * igb: move the tx and rx ring specific config into seperate functions
  * igb: remove rx_ps_hdr_len
  * igb: move SRRCTL register configuration into ring specific config
  * igb: change the head and tail offsets into pointers
  * igb: add pci device pointer to ring structure
  * igb: move rx_buffer_len into the ring structure
  * igb: move alloc_failed and csum_err stats into per rx-ring stat
  * igb: add a flags value to the ring
  * igb: place a pointer to the netdev struct in the ring itself
  * igb: move the multiple receive queue configuration into seperate
function
  * igb: delay VF reset notification until after interrupts are enabed
  * igb: setup vlan tag replication stripping in igb_vmm_control
  * igb: re-use ring configuration code in ethtool testing
  * igb: make tx ring map and free functionality non-static
  * igb: make ethtool use core xmit map and free functionality
  * igb: add single vector msi-x testing to interrupt test
  * igb: cleanup todo code found in igb_ethtool.c
  * igb: add support for seperate tx-usecs setting in ethtool
  * igb: cleanup some of the code related to hw timestamping
  * igb: misc cleanups within igb_ethtool.c
  * igb: use packet buffer sizes from RXPBS register
  * igb: replace the VF clear_to_send with a flags value
  * igb: rework use of VMOLR in regards to PF and VFs
  * igb: rework handling of the vfta and vlvf registers in relation to
mng_vlan
  * igb: move vf init into a seperate function
  * igb: only process global stats in igb_update_stats
  * igb: move global_quad_port_a from global into local static define
  * igb: make tx hang check multiqueue, check eop descriptor
  * igb: cleanup code related to ring resource allocation and free
  * igb: change queue ordering for 82576 based adapters
  * igb: cleanup interrupt enablement in regards to msix_other
  * igb: Remove invalid stats counters
  * igb: cleanup igb.h header whitespace and some structure formatting
  * igb: cleanup igb xmit frame path
  * igb: cleanup clean_rx_irq_adv and alloc_rx_buffers_adv
  * igb: replace unecessary adapter-hw with just hw where applicable
  * igb: add 

[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-12 Thread Simone Fabris
So far, so good: the new kernel has never trigged any kerneloops since
now.

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-12 Thread Chase Douglas
@Simone:

Thanks for testing. I will forward the patch on. If you do encounter any
issues with the test kernel, please leave another comment.

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-11 Thread Chase Douglas
@Simone:

Please test the new kernel up at
http://people.canonical.com/~cndougla/534549/. Install the one with the
version ending with ~lp534549. If that kernel works, I'll send the patch
off to the appropriate people to get it included into Lucid and
upstream.

Thanks

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-11 Thread Chase Douglas
** Changed in: linux (Ubuntu)
   Status: Triaged = In Progress

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-10 Thread Chase Douglas
I've uploaded a test kernel to
http://people.canonical.com/~cndougla/534549/. Please install the kernel
package and boot into it. When ready, do the following:

# echo function /sys/kernel/debug/tracing/current_tracer
# ech0 1 /sys/kernel/debug/tracing/options/latency-format
# echo 1 /sys/kernel/debug/tracing/tracing_enabled

Then do whatever you need to trigger the issue (connect a2dp bt
headset?). Once the bug has been triggered, do:

# cat /sys/kernel/debug/tracing/trace | bzip2 /tmp/trace.bz2

Finally, attach the trace.bz2 file to this bug so we can take a look.

Thanks

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-10 Thread Simone Fabris
Here it is. 
Let me know if you need some other testing.
Thanks for you help and support, anyway.

Simone

** Attachment added: trace.bz2
   http://launchpadlibrarian.net/40727350/trace.bz2

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-10 Thread Chase Douglas
@Simone:

Great! I've got everything I need to do more digging. The following (at
the end of the trace) shows clearly exactly what is causing the bug:

# tracer: function
#
# function latency trace v1.1.5 on 2.6.32-16-generic
# 
# latency: 0 us, #120241/31431691, CPU#0 | (M:desktop VP:0, KP:0, SP:0 HP:0 
#P:2)
#-
#| task: -0 (uid:0 nice:0 policy:0 rt_prio:0)
#-
#
#  _--= CPU#
# / _-= irqs-off
#| / _= need-resched
#|| / _---= hardirq/softirq 
#||| / _--= preempt-depth   
# /_--= lock-depth   
#|/ delay 
#  cmd pid   || time  |   caller  
# \   /  ||   \   |   /
  idle-0   0.Ns.. 57071005us : rfcomm_session_timeout -run_timer_softirq
  idle-0   0.Ns.. 57071007us : rfcomm_session_del -rfcomm_session_timeout
  idle-0   0.Ns.. 57071009us : rfcomm_session_clear_timer 
-rfcomm_session_del
  idle-0   0.Ns.. 57071012us : sock_release -rfcomm_session_del
  idle-0   0.Ns.. 57071014us : l2cap_sock_release -sock_release
  idle-0   0.Ns.. 57071016us : l2cap_sock_shutdown -l2cap_sock_release
  idle-0   0.Ns.. 57071018us+: lock_sock_nested -l2cap_sock_shutdown
  idle-0   0.Ns.. 57071019us : _cond_resched -lock_sock_nested

Now we need to figure out what here needs to be moved out of irq
context. I'll be looking into it further tomorrow.

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-10 Thread Chase Douglas
Actually, this was a pretty quick find. The fix can be found here:

http://git.kernel.org/?p=linux/kernel/git/holtmann/bluetooth-2.6.git;a=commitdiff;h=485f1eff73a7b932fd3abb0dfcf804e1a1f59025

I'll take care of this tomorrow.

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-09 Thread Chase Douglas
The preempt_counter shows both PREEMPT_ACTIVE and in a softirq context.
I *think* this likely means a process was in the middle of a softirq
handler or a tasklet when a subroutine put it to sleep. I'm building a
test kernel right now that will output extra debug information so we can
see what the softirq stack was as it was put to scheduled out. I'll
update this bug with a test kernel location when I get it uploaded.

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Chase Douglas (chasedouglas)

** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu)
   Status: New = Triaged

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 534549] Re: BUG: scheduling while atomic: swapper/0/0x10000100

2010-03-08 Thread Simone Fabris

** Attachment added: AlsaDevices.txt
   http://launchpadlibrarian.net/40509597/AlsaDevices.txt

** Attachment added: BootDmesg.txt
   http://launchpadlibrarian.net/40509598/BootDmesg.txt

** Attachment added: Card0.Amixer.values.txt
   http://launchpadlibrarian.net/40509599/Card0.Amixer.values.txt

** Attachment added: Card0.Codecs.codec.0.txt
   http://launchpadlibrarian.net/40509600/Card0.Codecs.codec.0.txt

** Attachment added: CurrentDmesg.txt
   http://launchpadlibrarian.net/40509601/CurrentDmesg.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/40509602/Dependencies.txt

** Attachment added: IwConfig.txt
   http://launchpadlibrarian.net/40509603/IwConfig.txt

** Attachment added: Lspci.txt
   http://launchpadlibrarian.net/40509604/Lspci.txt

** Attachment added: Lsusb.txt
   http://launchpadlibrarian.net/40509605/Lsusb.txt

** Attachment added: OopsText.txt
   http://launchpadlibrarian.net/40509606/OopsText.txt

** Attachment added: PciMultimedia.txt
   http://launchpadlibrarian.net/40509607/PciMultimedia.txt

** Attachment added: ProcCpuinfo.txt
   http://launchpadlibrarian.net/40509608/ProcCpuinfo.txt

** Attachment added: ProcInterrupts.txt
   http://launchpadlibrarian.net/40509609/ProcInterrupts.txt

** Attachment added: ProcModules.txt
   http://launchpadlibrarian.net/40509610/ProcModules.txt

** Attachment added: UdevDb.txt
   http://launchpadlibrarian.net/40509611/UdevDb.txt

** Attachment added: UdevLog.txt
   http://launchpadlibrarian.net/40509612/UdevLog.txt

** Attachment added: WifiSyslog.txt
   http://launchpadlibrarian.net/40509613/WifiSyslog.txt

-- 
BUG: scheduling while atomic: swapper/0/0x1100
https://bugs.launchpad.net/bugs/534549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs