mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joshua Kwan <joshk@saltbox.argot.org>
To: jkmaline@cc.hut.fi
Cc: linux-kernel@vger.kernel.org
Subject: 2.5 kernel + hostap_cs + X11 = scheduling while atomic
Date: Tue, 4 Feb 2003 23:36:37 -0800	[thread overview]
Message-ID: <20030205073637.GA10725@saltbox.argot.org> (raw)

Hi Jouni and LKML folks,

In kernel 2.5.59 I built the hostap modules as stated in the Makefile.
(make -C /usr/src/linux SUBDIRS=$PWD/driver/modules modules, etc.)

However, a combination of running said kernel, hostap_cs, and X11 produces
this nasty infinite string of errors:

bad: scheduling while atomic!
Call Trace:
 [<c011bafd>] do_schedule+0x33a/0x33f
 [<c01264a1>] schedule_timeout+0x5f/0xb3
 [<c0175a7f>] proc_alloc_inode+0x4c/0x75
 [<c0126439>] process_timeout+0x0/0x9
 [<d294853d>] hfa384x_cmd+0x3eb/0x2d6b7eae [hostap_cs]
 [<c016474d>] get_new_inode_fast+0x48/0xf0
 [<c011bb52>] default_wake_function+0x0/0x3e
 [<c011bb52>] default_wake_function+0x0/0x3e
 [<c0137b46>] get_page_cache_size+0x12/0x1d
 [<d2948a30>] hfa384x_get_rid+0x36/0x2d6b7606 [hostap_cs]
 [<d29388b5>] hostap_get_wireless_stats+0xa6/0x2d6c77f1 [hostap]
 [<c0168f45>] seq_printf+0x45/0x56
 [<c02bd9b6>] wireless_seq_show+0xd6/0xf7
 [<c0141dd5>] do_mmap_pgoff+0x40e/0x6dc
 [<c0168a56>] seq_read+0x1c9/0x2ee
 [<c014d20f>] vfs_read+0xbc/0x127
 [<c014d496>] sys_read+0x3e/0x55
 [<c01093cb>] syscall_call+0x7/0xb

This will repeat itself over and over again in the same order, same everything.
The second I kill X the messages stop completely. I use the radeon accelerated X
server using an Intel AGP bridge (kernel supported.)

Any ideas? It seems like it would be a problem in hostap_cs's main loop. Or it
could be a kernel problem, which is why I'm forwarding it to LKML :) Why would
it only happen when X11 is active though?

Thanks for any insight anyone might have on this issue. Lately, I left my machine
on and went to go eat lunch. When i came back, /var/log/syslog was overflowing with
these errors and had filled up /var completely. Had to purge them all manually :)

Regards

Josh

             reply	other threads:[~2003-02-05  7:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05  7:36 Joshua Kwan [this message]
2003-02-06  5:28 ` Jouni Malinen
2003-02-06 17:27   ` Jean Tourrilhes
2003-02-07  0:07     ` David Gibson
2003-02-07  0:36       ` Jean Tourrilhes

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=20030205073637.GA10725@saltbox.argot.org \
    --to=joshk@saltbox.argot.org \
    --cc=jkmaline@cc.hut.fi \
    --cc=joshk@triplehelix.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®