From: Anil kumar <anils_r@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: kernel BUG at arch/i386/mm/highmem.c:63! kunmap_atomic
Date: Sun, 26 Mar 2006 09:45:56 -0800 (PST) [thread overview]
Message-ID: <20060326174556.45649.qmail@web32404.mail.mud.yahoo.com> (raw)
Hi,
I get the following kernel panic,
kernel BUG at arch/i386/mm/highmem.c:63!
EIP: 0060:[<c011af5a>] Tainted: PF VLI
EFLAGS: 00010006 (2.6.11-1.1369_FC4smp)
EIP is at kunmap_atomic+0x35/0x5f
The following is the code, I am using in my driver:
kmap_atomic code:
int hr_km_type = (in_interrupt())? KM_IRQ0: KM_USER0;
pDataBuffer = kmap_atomic(cur_seg->page,
hr_km_type) + cur_seg->offset;
if(pDataBuffer == NULL) {
return (ENOMEM);
}
kunmap_atomic code:
int hr_km_type = (in_interrupt())? KM_IRQ0: KM_USER0;
kunmap_atomic(pDataBuffer -
sg->offset, hr_km_type);
I am not using any locks like irq_disable/restore
before and after calling kmap_atomic/kunmap_atomic.
The system has 1GB memory.
with regards,
Anil
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next reply other threads:[~2006-03-26 17:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 17:45 Anil kumar [this message]
2006-03-26 19:02 ` Arjan van de Ven
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=20060326174556.45649.qmail@web32404.mail.mud.yahoo.com \
--to=anils_r@yahoo.com \
--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®