login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
20
Re: ioremap panic
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: ioremap panic
Date: Wednesday, August 20, 2008 - 10:09 am
On Tue, Aug 19, 2008 at 11:51 PM, Andrew Morton <akpm@linux-foundation.org> wrote:
quoted text
> On Sat, 16 Aug 2008 20:49:29 -0700 "Yinghai Lu" <yhlu.kernel@gmail.com> wrote: > >> qla2xxx 0000:83:00.1: PCI INT B -> Link[LE3C] -> GSI 42 (level, low) -> IRQ 42 >> ------------[ cut here ]------------ >> kernel BUG at lib/ioremap.c:26! > > static int ioremap_pte_range(pmd_t *pmd, unsigned long addr, > unsigned long end, unsigned long phys_addr, pgprot_t prot) > { > pte_t *pte; > unsigned long pfn; > > pfn = phys_addr >> PAGE_SHIFT; > pte = pte_alloc_kernel(pmd, addr); > if (!pte) > return -ENOMEM; > do { > --> BUG_ON(!pte_none(*pte)); > >> invalid opcode: 0000 [1] SMP >> Dumping ftrace buffer: >> (ftrace buffer empty) >> CPU 4 >> Modules linked in: >> Pid: 1, comm: swapper Not tainted 2.6.27-rc3-tip-00452-g60e3132-dirty #58 >> RIP: 0010:[<ffffffff804b8aa2>] [<ffffffff804b8aa2>] >> ioremap_page_range+0x1b2/0x228 >> RSP: 0018:ffff881824c97a50 EFLAGS: 00010206 >> RAX: 00003e00beed2000 RBX: ffffc2001f126000 RCX: 00000000000ddff8 >> RDX: ffff8810224de930 RSI: ffffc2001f127000 RDI: ffffc2001f126000 >> RBP: ffff881824c97ac0 R08: ffff880844223890 R09: ffffffff80ea99a0 >> R10: 0000000080000000 R11: 000000000000000a R12: ffffc2001f127000 >> R13: ffffc2001f127000 R14: ffffffff80201c20 R15: ffff881827c017c0 >> FS: 0000000000000000(0000) GS:ffff881024c83400(0000) knlGS:0000000000000000 >> CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b >> CR2: 0000000000000000 CR3: 0000000000201000 CR4: 00000000000006e0 >> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 >> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 >> Process swapper (pid: 1, threadinfo ffff881824c96000, task ffff881024ca0000) >> Stack: ffff881824c97aa0 ffffc2001f126fff ffffc2001f126fff ffffc2001f126fff >> ffffc2001f127000 ffffc2001f127000 ffff881027c01000 8000000000000173 >> 00003e00beed2000 8000000000000173 0000000000000010 ffffc2001f126000 >> Call Trace: >> [<ffffffff8024211e>] __ioremap_caller+0x246/0x2cd >> [<ffffffff8093ac5d>] ? qla2x00_probe_one+0x436/0xf96 >> [<ffffffff8024228e>] ioremap_nocache+0x17/0x19 >> [<ffffffff8093ac5d>] qla2x00_probe_one+0x436/0xf96 >> [<ffffffff804c0626>] ? __bitmap_weight+0x3e/0x89 >> [<ffffffff802566f1>] ? set_cpus_allowed_ptr+0x113/0x120 >> [<ffffffff804b8dcc>] ? kobject_get+0x1a/0x22 >> [<ffffffff804ca903>] pci_device_probe+0xd1/0x131 >> [<ffffffff8053f7e8>] driver_probe_device+0xc5/0x173 >> [<ffffffff8053f8ea>] __driver_attach+0x54/0x7e >> [<ffffffff8053f896>] ? __driver_attach+0x0/0x7e >> [<ffffffff8053f03e>] bus_for_each_dev+0x54/0x8e >> [<ffffffff804b8dcc>] ? kobject_get+0x1a/0x22 >> [<ffffffff8053f624>] driver_attach+0x21/0x23 >> [<ffffffff8053e92c>] bus_add_driver+0xbc/0x206 >> [<ffffffff8053fafc>] driver_register+0xad/0x12d >> [<ffffffff804cabd5>] __pci_register_driver+0x6b/0xa6 >> [<ffffffff80efcb01>] ? qla2x00_module_init+0x0/0x12c >> [<ffffffff80efcbfd>] qla2x00_module_init+0xfc/0x12c >> [<ffffffff8020904c>] _stext+0x4c/0x144 >> [<ffffffff802695e7>] ? start_workqueue_thread+0x2b/0x2f >> [<ffffffff80269a09>] ? __create_workqueue_key+0x112/0x22c >> [<ffffffff80ed378f>] kernel_init+0x228/0x29d >> [<ffffffff80227ff9>] child_rip+0xa/0x11 >> [<ffffffff80ed3567>] ? kernel_init+0x0/0x29d >> [<ffffffff80227fef>] ? child_rip+0x0/0x11 >> Code: 00 00 00 00 88 ff ff 48 01 c2 48 89 d8 48 c1 e8 09 25 f8 0f 00 >> 00 48 01 c2 48 8b 45 d0 48 8d 0c 03 48 c1 e9 0c 48 83 3a 00 74 04 <0f> >> 0b eb fe 48 89 c8 48 81 c3 00 10 00 00 48 c1 e0 0c 48 0b 45 >> RIP [<ffffffff804b8aa2>] ioremap_page_range+0x1b2/0x228 >> RSP <ffff881824c97a50> > > Please work out what address qla2x00_probe_one() passed into ioremap(), > then see if you can work out what was already at that virtual address > (/proc/iomem, dmesg output, etc). >
did not happen again after that day's tip/master YH --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
ioremap panic
, Yinghai Lu
, (Sat Aug 16, 8:49 pm)
Re: ioremap panic
, Andrew Morton
, (Tue Aug 19, 11:51 pm)
Re: ioremap panic
, Andi Kleen
, (Wed Aug 20, 3:08 am)
Re: ioremap panic
, Yinghai Lu
, (Wed Aug 20, 10:09 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
Ray Lee
Re: -mm merge plans for 2.6.23
Florin Malita
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Anton Vorontsov
Re: [PATCH 2/6] mtd: m25p80: Convert to device table matching
Dan Williams
Re: [PATCH] DMA: Correct invalid assumptions in the Kconfig text
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
NFSv4: Fix a problem whereby a buggy server can oops the kernel
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Rob Shepherd
x86 hardware for router system
Nick Holland
Re: Install OpenBSD from USB ?
Flickr Photo Map for iPad and iPhone
Thanks for the Great Launch of Flickr Photo Map for iPad + iPhone
Colocation donated by:
Syndicate