[113818.216022] BUG: scheduling while atomic: dosemu.bin/12814/0x10000004

Bug #455067 reported by David Brown
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Won't Fix
Low
Unassigned
Maverick
Fix Released
Undecided
Unassigned
Natty
Fix Released
Undecided
Unassigned

Bug Description

hmmm it was interesting never thought my dosemu would kill the kernel

ProblemType: KernelOops
Annotation: Your system might become unstable now and might need to be restarted.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: dmlb2000 2287 F...m pulseaudio
 /dev/snd/controlC0: dmlb2000 2287 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xefebc000 irq 21'
   Mixer name : 'SigmaTel STAC9200'
   Components : 'HDA:83847690,102801d6,00102201 HDA:14f12bfa,14f100c3,00090000'
   Controls : 12
   Simple ctrls : 7
Date: Sun Oct 18 17:15:19 2009
DistroRelease: Ubuntu 9.10
Failure: oops
MachineType: Dell Inc. Latitude D420
OopsText:
 [113818.216022] BUG: scheduling while atomic: dosemu.bin/12814/0x10000004
 [113818.216033] Modules linked in: tun binfmt_misc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge stp ppdev kvm_intel kvm snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event arc4 pcmcia snd_seq ecb yenta_socket snd_timer rsrc_nonstatic iwl3945 snd_seq_device pcmcia_core sdhci_pci iwlcore sdhci snd joydev mac80211 soundcore led_class snd_page_alloc cfg80211 psmouse dell_wmi serio_raw dell_laptop iptable_filter ip_tables lp dcdbas parport irda x_tables crc_ccitt sha256_generic aes_i586 aes_generic cbc dm_crypt fbcon tileblit font bitblit softcursor i915 drm i2c_algo_bit ohci1394 ieee1394 video output intel_agp agpgart tg3
 [113818.216224] Pid: 12814, comm: dosemu.bin Not tainted 2.6.31-14-generic #48-Ubuntu
 [113818.216234] Call Trace:
Package: linux-image-2.6.31-14-generic 2.6.31-14.48
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: root=/dev/mapper/dmlb2010--lappy-root ro quiet splash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.23
SourcePackage: linux
Tags: kernel-oops
Title: [113818.216022] BUG: scheduling while atomic: dosemu.bin/12814/0x10000004
Uname: Linux 2.6.31-14-generic i686
WpaSupplicantLog:

dmi.bios.date: 02/02/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 0XJ578
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd02/02/2008:svnDellInc.:pnLatitudeD420:pvr:rvnDellInc.:rn0XJ578:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D420
dmi.sys.vendor: Dell Inc.

Revision history for this message
David Brown (dmlb2000) wrote :
Revision history for this message
David Brown (dmlb2000) wrote :

didn't see a dmesg output log. so I'm posting one just in case.

Revision history for this message
David Brown (dmlb2000) wrote :

And that post seemed rather useless. So here's all of messages file

Revision history for this message
Joseph A. Millikan (jamillikan) wrote :

Please give this a high priority for fixing. This affects thousands of users in the U.S. who require dosemu in courts throughout the country.

Revision history for this message
Yuhong Bao (yuhongbao-386) wrote :
Revision history for this message
David Brown (dmlb2000) wrote :

Uhm the patch you posted here doesn't make a lot of sense. This would have been on Karmic and its 2.6.31 based and the patch was applied to 2.6.29-rc1. Also, I verified that its contained in the source when I pull do an apt-get source linux-image-2.6.31-14-generic. So I'm unsure how I'm supposed to try that patch.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi David,

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 from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 455067

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.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Yuhong Bao (yuhongbao-386) wrote :

And to #6: Sorry for this mistake. I may search further.

Revision history for this message
Yuhong Bao (yuhongbao-386) wrote :
Changed in linux (Ubuntu):
status: Expired → In Progress
status: In Progress → Fix Released
Revision history for this message
Yuhong Bao (yuhongbao-386) wrote :
Revision history for this message
Philip Muškovac (yofel) wrote :

Reverting Status changed by mistake.

Changed in linux (Ubuntu):
status: Fix Released → Expired
Revision history for this message
Kees Cook (kees) wrote :

This is fixed by upstream 6554287b1de0448f1e02e200d02b43914e997d15. Can we include it in the next Lucid kernel update?

Changed in linux (Ubuntu):
status: Expired → Confirmed
Changed in linux (Ubuntu Natty):
status: Confirmed → Fix Released
Changed in linux (Ubuntu Maverick):
status: New → Fix Released
Changed in linux (Ubuntu Lucid):
status: New → Confirmed
Changed in linux (Ubuntu Lucid):
milestone: none → lucid-updates
tags: added: kernel-key
removed: kj-expired needs-upstream-testing
Revision history for this message
Kees Cook (kees) wrote :

Reproducer, on i386 kernel, with vm.mmap_min_addr=0, thanks to Bart Oldeman:

Create a debug script file (e.g. debug.scr) in ~/.dosemu/drive_c, that is, dosemu's c:\

---snip---
a
nop
nop
int 3

t
g
q
---snip---

Then run
  dosemu "debug < debug.scr"
This will get both int1 and int3 active.

Try it a few times, it should trigger the bug in "dmesg".

Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Lucid):
assignee: nobody → Tim Gardner (timg-tpi)
status: Confirmed → In Progress
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Kees - please try the kernel at http://kernel.ubuntu.com/~rtg/dosemu-lp455067

Revision history for this message
Kees Cook (kees) wrote :

Hi Tim, sorry I took so long with this. I've reproduced the original crash (it just kills dosemu):

[ 167.120539] note: dosemu.bin[1623] exited with preempt_count 1

However, when running this with the test kernel, the entire system hangs, so that's no good. :)

Changed in linux (Ubuntu Lucid):
importance: Undecided → Low
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Lucid):
assignee: Tim Gardner (timg-tpi) → nobody
status: In Progress → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in linux (Ubuntu Lucid):
status: Confirmed → Won't Fix
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.