Bug 688868

Summary: WARNING: at arch/x86/mm/ioremap.c:98 __ioremap_caller+0x474/0x490() (Not tainted)
Product: Red Hat Enterprise Linux 6 Reporter: Eryu Guan <eguan>
Component: kernelAssignee: Prarit Bhargava <prarit>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1CC: arozansk
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-24 13:45:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eryu Guan 2011-03-18 10:38:43 UTC
Description of problem:
Install RHEL6 i386 system on dell-pe1750-1.rhts.eng.rdu.redhat.com, the warning message will show up during boot time

Version-Release number of selected component (if applicable):
kernel-2.6.32-122.el6
also on 2.6.32-71 GA kernel

How reproducible:
100%

Steps to Reproduce:
1. Install i386 RHEL6 system on dell-pe1750-1.rhts.eng.rdu.redhat.com
2. see boot up dmesg
  
Actual results:
------------[ cut here ]------------ 
WARNING: at arch/x86/mm/ioremap.c:98 __ioremap_caller+0x474/0x490() (Not tainted) 
Hardware name: PowerEdge 1750              
Info: mapping multiple BARs. Your kernel is fine. 
Modules linked in: scb2_flash(+) ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom mptspi mptscsih mptbase scsi_transport_spi ata_generic pata_acpi pata_serverworks dm_mod [last unloaded: scsi_wait_scan] 
Pid: 550, comm: modprobe Not tainted 2.6.32-122.el6.i686 #1 
Call Trace: 
 [<c0452bc1>] ? warn_slowpath_common+0x81/0xc0 
 [<c04334b4>] ? __ioremap_caller+0x474/0x490 
 [<c04334b4>] ? __ioremap_caller+0x474/0x490 
 [<c0452c93>] ? warn_slowpath_fmt+0x33/0x40 
 [<c04334b4>] ? __ioremap_caller+0x474/0x490 
 [<c0519ce0>] ? kmem_cache_alloc_notrace+0xa0/0xb0 
 [<c06023bc>] ? pci_bus_write_config_byte+0x5c/0x80 
 [<f85d1136>] ? scb2_flash_probe+0x99/0x2a0 [scb2_flash] 
 [<c0433618>] ? ioremap_nocache+0x18/0x20 
 [<f85d1136>] ? scb2_flash_probe+0x99/0x2a0 [scb2_flash] 
 [<f85d1136>] ? scb2_flash_probe+0x99/0x2a0 [scb2_flash] 
 [<c0608cdb>] ? local_pci_probe+0xb/0x10 
 [<c0609ae1>] ? pci_device_probe+0x61/0x80 
 [<c06b1597>] ? driver_probe_device+0x87/0x290 
 [<c0608db6>] ? pci_match_device+0x16/0xc0 
 [<c06b1819>] ? __driver_attach+0x79/0x80 
 [<c06b17a0>] ? __driver_attach+0x0/0x80 
 [<c06b0992>] ? bus_for_each_dev+0x52/0x80 
 [<c06b1386>] ? driver_attach+0x16/0x20 
 [<c06b17a0>] ? __driver_attach+0x0/0x80 
 [<c06b0d3f>] ? bus_add_driver+0x1cf/0x320 
 [<c0609a20>] ? pci_device_remove+0x0/0x40 
 [<c06b1aa3>] ? driver_register+0x63/0x120 
 [<c04b9bff>] ? tracepoint_module_notify+0x1f/0x30 
 [<f85d4000>] ? scb2_flash_init+0x0/0x14 [scb2_flash] 
 [<c0609cfd>] ? __pci_register_driver+0x3d/0xb0 
 [<c040303f>] ? do_one_initcall+0x2f/0x1c0 
 [<c048f8f4>] ? sys_init_module+0xb4/0x220 
 [<c08232a4>] ? syscall_call+0x7/0xb 
---[ end trace 0c031e932bac45d9 ]--- 


Expected results:
no warning

Additional info:
There is a similar one, bug 620309, not sure they share the same root cause.

beaker job link
https://beaker.engineering.redhat.com/recipes/129977
http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2011/03/634/63411/129977///console.log

https://beaker.engineering.redhat.com/recipes/129643
http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2011/03/631/63176/129643///console.log

Comment 1 KernelOops Bot 2011-03-18 10:39:17 UTC
 with this guiltyfunc:  bug 527824 bug 528295 bug 528296 bug 528521 bug 528768 bug 530380 bug 536855 bug 536985 bug 542694 bug 562008

Comment 4 Prarit Bhargava 2011-03-24 13:45:51 UTC
In theory this is okay and is just a general warning about the setup of the system.  Two different BARs are pointing to the same io and are requesting that it be remapped into memory.

This shouldn't cause a problem and is a bug on the BIOS, not the kernel.

P.