* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-04 23:50 ` Bjorn Helgaas
2010-01-07 23:02 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-04 23:50 UTC (permalink / raw)
To: linux-ia64
On Monday 04 January 2010 03:40:46 pm Émeric Maschino wrote:
> Indeed, it seems that something is going wrong with AGP GART. Here are
> the relevant lines of the dmesg output:
>
> [ 12.652322] Linux agpgart interface v0.103
> [ 12.715735] Unable to handle kernel NULL pointer dereference
> (address 0000000000000003)
> [ 12.715784] modprobe[895]: Oops 8804682956800 [1]
> [ 12.715819] Modules linked in: hp_agp(+) agpgart snd_fm801
> snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm
> snd_page_alloc snd_tea575x_tuner videodev v4l1_compat
> v4l2_compat_ioctl32 i2c_core snd_opl3_lib snd_hwdep snd_mpu401_uart
> snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer
> snd_seq_device snd fm801_gp soundcore gameport evdev ext4 mbcache jbd2
> crc16 sd_mod crc_t10dif usbhid hid ide_cd_mod cdrom ide_pci_generic
> ata_generic libata tg3 mptspi mptscsih e100 ohci_hcd cmd64x libphy
> mptbase scsi_transport_spi scsi_mod mii ide_core ehci_hcd usbcore
> nls_base [last unloaded: scsi_wait_scan]
> [ 12.716925]
> [ 12.716926] Pid: 895, CPU 0, comm: modprobe
> [ 12.716988] psr : 00001010085a6010 ifs : 8000000000000712 ip :
> [<a000000202b10200>] Not tainted (2.6.32-trunk-mckinley)
> [ 12.717044] ip is at zx1_gart_probe+0xd0/0xcc0 [hp_agp]
This definitely looks like a kernel problem. I tried to reproduce it,
but regrettably, the current upstream kernel croaks before I get that
far with this:
Unable to handle kernel paging request at virtual address a00000010400ab00
swapper[0]: Oops 8804682956800 [1]
Modules linked in:
Pid: 0, CPU 0, comm: swapper
psr : 00001010084a6018 ifs : 8000000000000288 ip : [<a000000100ed8d60>] Not tainted (2.6.33-rc2-00302-gc5974b8)
ip is at proc_net_ns_init+0x100/0x160
Guess I'll have to sort through that problem first.
Bjorn
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
2010-01-04 23:50 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-07 23:02 ` Émeric Maschino
2010-01-07 23:57 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-07 23:02 UTC (permalink / raw)
To: linux-ia64
All,
I've successfully recompiled 2.6.33-rc3 kernel with the following
patches from Bjorn Helgaas (thank you!):
- [PATCH 1/2] ACPICA: acpi_get_object_info(): fixup array -> pointer
() (http://marc.info/?l=linux-ia64&m\x126289433630090&w=2)
- [PATCH 2/2] agp/hp: fail gracefully if we don't find an IOC
(http://marc.info/?l=linux-ia64&m\x126289434030106&w=2).
I'm still getting the reported drm_mmap_locked error, but now that
Bjorn fixed the kernel crash in the hp-agp driver ([PATCH 0/2] agp/hp:
fix zx1_gart_probe oops
(http://marc.info/?l=linux-ia64&m\x126289433530083&w=2)), dmesg output
is more verbose:
[ 14.206257] Linux agpgart interface v0.103
[ 14.315142] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 14.315522] (null): AGP aperture is 512M @ 0x60000000
[ 14.315557] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 14.315592] agpgart: No reserved IO PDIR entry found; GART disabled
I imagine that GART should remain enabled, should'n it?
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
2010-01-04 23:50 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
2010-01-07 23:02 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-07 23:57 ` Bjorn Helgaas
2010-01-08 20:06 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-07 23:57 UTC (permalink / raw)
To: linux-ia64
On Thursday 07 January 2010 04:02:37 pm Émeric Maschino wrote:
> All,
>
> I've successfully recompiled 2.6.33-rc3 kernel with the following
> patches from Bjorn Helgaas (thank you!):
> - [PATCH 1/2] ACPICA: acpi_get_object_info(): fixup array -> pointer
> () (http://marc.info/?l=linux-ia64&m\x126289433630090&w=2)
> - [PATCH 2/2] agp/hp: fail gracefully if we don't find an IOC
> (http://marc.info/?l=linux-ia64&m\x126289434030106&w=2).
>
> I'm still getting the reported drm_mmap_locked error, but now that
> Bjorn fixed the kernel crash in the hp-agp driver ([PATCH 0/2] agp/hp:
> fix zx1_gart_probe oops
> (http://marc.info/?l=linux-ia64&m\x126289433530083&w=2)), dmesg output
> is more verbose:
Thanks a lot for testing these patches!
> [ 14.206257] Linux agpgart interface v0.103
> [ 14.315142] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 14.315522] (null): AGP aperture is 512M @ 0x60000000
> [ 14.315557] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 14.315592] agpgart: No reserved IO PDIR entry found; GART disabled
Huh, something strange is going on. On these machines, when we find an
AGP-capable device, we use part of an IOMMU to implement the GART. We
must have found an AGP device, because the IOMMU has 1G of address
space, and you can see that half of it is reserved for the GART.
The IOMMU driver puts a magic cookie at the beginning of the reserved
area, and the hp-agp driver looks for it. On your system, it looks
like we reserved the space (and presumably installed the cookie), but
hp-agp didn't find it. I don't have an AGP device in my box, but I
forced that path on by hand, and I get this, which looks correct:
IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
IOC: zx1 2.2 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
(null): AGP aperture is 512M @ 0x60000000
agpgart: Detected HP ZX1 HWP0003 AGP chipset (iocþd01000, lbaþd28000)
Can you try the debug patch below, and respond with the entire dmesg
log and the output of "lspci -vv"?
Bjorn
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
index e14c492..8f205d8 100644
--- a/arch/ia64/hp/common/sba_iommu.c
+++ b/arch/ia64/hp/common/sba_iommu.c
@@ -95,7 +95,7 @@ extern int swiotlb_late_init_with_default_size (size_t size);
** longer guaranteed to stay in sync. The sanity checking code isn't going to
** like that.
*/
-#undef DEBUG_SBA_INIT
+#define DEBUG_SBA_INIT
#undef DEBUG_SBA_RUN
#undef DEBUG_SBA_RUN_SG
#undef DEBUG_SBA_RESOURCE
@@ -1656,11 +1656,15 @@ ioc_iova_init(struct ioc *ioc)
for_each_pci_dev(device)
agp_found |= pci_find_capability(device, PCI_CAP_ID_AGP);
+ agp_found = 1;
if (agp_found && reserve_sba_gart) {
printk(KERN_INFO PFX "reserving %dMb of IOVA space at 0x%lx for agpgart\n",
ioc->iov_size/2 >> 20, ioc->ibase + ioc->iov_size/2);
ioc->pdir_size /= 2;
((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE;
+ printk("put cookie at 0x%p: 0x%llx\n",
+ &((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)],
+ ((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)]);
}
#ifdef FULL_VALID_PDIR
/*
diff --git a/drivers/char/agp/hp-agp.c b/drivers/char/agp/hp-agp.c
index 58752b7..ff4d4a6 100644
--- a/drivers/char/agp/hp-agp.c
+++ b/drivers/char/agp/hp-agp.c
@@ -110,6 +110,8 @@ static int __init hp_zx1_ioc_shared(void)
hp->io_pdir = phys_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE));
hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)];
+ printk("GART at 0x%p\n", hp->gatt);
+ printk("read cookie at 0x%p: 0x%llx\n", &hp->gatt[0], hp->gatt[0]);
if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) {
/* Normal case when no AGP device in system */
hp->gatt = NULL;
^ permalink raw reply related [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (2 preceding siblings ...)
2010-01-07 23:57 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-08 20:06 ` Émeric Maschino
2010-01-08 23:55 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-08 20:06 UTC (permalink / raw)
To: linux-ia64
> Thanks a lot for testing these patches!
You did the hard part of the work. So thanks a lot to you!
> Can you try the debug patch below, and respond with the entire dmesg
> log and the output of "lspci -vv"?
Sure. Please find below the entire dmesg log with drm.debug=1 (BTW, is
this the right way to post such a huge output to the list?):
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.33-rc3 (root@longspeak) (gcc version
4.3.4 (Debian 4.3.4-6) ) #2 SMP Fri Jan 8 20:36:36 CET 2010
[ 0.000000] EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI
2.0=0x3fb2e000 SMBIOS=0x3fb3a000 HCDP=0x3fb2c000
[ 0.000000] booting generic kernel on platform hpzx1
[ 0.000000] PCDP: v0 at 0x3fb2c000
[ 0.000000] ACPI: RSDP 000000003fb2e000 00028 (v02 HP)
[ 0.000000] ACPI: XSDT 000000003fb2e02c 00094 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: FACP 000000003fb36800 000F4 (v03 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI Warning: 32/64X length mismatch in Gpe0Block:
32/16 (20091214/tbfadt-526)
[ 0.000000] ACPI Warning: 32/64X length mismatch in Gpe1Block:
32/16 (20091214/tbfadt-526)
[ 0.000000] ACPI: DSDT 000000003fb2e0e0 05781 (v01 HP zx6000
00000007 INTL 02012044)
[ 0.000000] ACPI: FACS 000000003fb368f8 00040
[ 0.000000] ACPI: SPCR 000000003fb36938 00050 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: DBGP 000000003fb36988 00034 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: APIC 000000003fb36a48 000B0 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: SPMI 000000003fb369c0 00050 (v04 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: CPEP 000000003fb36a10 00034 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: SSDT 000000003fb33870 001D6 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb33a50 00342 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb33da0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb347c0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb351e0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb35c00 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb36620 000EB (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb36710 000EF (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: Local APIC address c0000000fee00000
[ 0.000000] 2 CPUs available, 2 CPUs total
[ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.000000] Initial ramdisk at: 0xe0000040fe247000 (13942829 bytes)
[ 0.000000] SAL 3.1: HP version 2.31
[ 0.000000] SAL Platform features: None
[ 0.000000] SAL: AP wakeup using external interrupt vector 0xff
[ 0.000000] ACPI: Local APIC address c0000000fee00000
[ 0.000000] GSI 36 (level, low) -> CPU 0 (0x0000) vector 49
[ 0.000000] MCA related initialization done
[ 0.000000] Virtual mem_map starts at 0xa0007fffc7200000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000400 -> 0x00040000
[ 0.000000] Normal 0x00040000 -> 0x01040000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[6] active PFN ranges
[ 0.000000] 0: 0x00000400 -> 0x0000fd79
[ 0.000000] 0: 0x0000fec0 -> 0x0000fecb
[ 0.000000] 0: 0x00040000 -> 0x00060000
[ 0.000000] 0: 0x01010000 -> 0x0103ff5a
[ 0.000000] 0: 0x0103ff69 -> 0x0103ff84
[ 0.000000] 0: 0x0103ffa0 -> 0x0103fff0
[ 0.000000] On node 0 totalpages: 391497
[ 0.000000] free_area_init_node: node 0, pgdat e000000001300000,
node_mem_map a0007fffc720e000
[ 0.000000] DMA zone: 893 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 62983 pages, LIFO batch:7
[ 0.000000] Normal zone: 57344 pages used for memmap
[ 0.000000] Normal zone: 270277 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s30104 r8192 d27240 u65536 alloc=4*16384
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 333260
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line:
BOOT_IMAGE=scsi1:/EFI/debian/vmlinuz root=/dev/sdb2 drm.debug=1 ro
[ 0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes)
[ 0.000000] Memory: 6213952k/6238512k available (7026k code, 50000k
reserved, 3489k data, 848k init)
[ 0.000000] SLUB: Genslabs\x16, HWalign\x128, Order=0-3,
MinObjects=0, CPUs=2, Nodes%6
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:1024
[ 0.000000] CPU 0: base freq 0.000MHz, ITC ratio\x15/2, ITC
freq\x1500.000MHz+/-750ppm
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.004000] Calibrating delay loop... 2244.60 BogoMIPS (lpjD89216)
[ 0.100064] Security Framework initialized
[ 0.100102] SELinux: Disabled at boot.
[ 0.100431] Dentry cache hash table entries: 1048576 (order: 9,
8388608 bytes)
[ 0.107592] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes)
[ 0.111522] Mount-cache hash table entries: 1024
[ 0.111846] Initializing cgroup subsys ns
[ 0.111882] Initializing cgroup subsys cpuacct
[ 0.111918] Initializing cgroup subsys devices
[ 0.111952] Initializing cgroup subsys freezer
[ 0.111985] Initializing cgroup subsys net_cls
[ 0.112038] ACPI: Core revision 20091214
[ 0.114976] Boot processor id 0x0/0x0
[ 0.000000] Fixed BSP b0 value from CPU 1
[ 0.000000] CPU 1: synchronized ITC with CPU 0 (last diff -31
cycles, maxerr 669 cycles)
[ 0.000000] CPU 1: base freq 0.000MHz, ITC ratio\x15/2, ITC
freq\x1500.000MHz+/-750ppm
[ 0.117290] Brought up 2 CPUs
[ 0.117323] Total of 2 processors activated (4489.21 BogoMIPS).
[ 0.118333] DMI 2.3 present.
[ 0.118508] regulator: core version 0.5
[ 0.118596] NET: Registered protocol family 16
[ 0.118747] ACPI: bus type pci registered
[ 0.119369] bio: create slab <bio-0> at 0
[ 0.120244] ACPI: EC: Look up EC in DSDT
[ 0.129192] ACPI: Interpreter enabled
[ 0.129225] ACPI: (supports S0 S5)
[ 0.129297] ACPI: Using IOSAPIC for interrupt routing
[ 0.268376] ACPI: No dock devices found.
[ 0.281600] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.307993] pci_root HWP0002:00: host bridge window [io 0x0000-0x03af]
[ 0.308006] pci_root HWP0002:00: host bridge window [io 0x03e0-0x1fff]
[ 0.308042] pci_root HWP0002:00: host bridge window [mem
0x80000000-0x8fffffff]
[ 0.308089] pci_root HWP0002:00: host bridge window [mem
0x80004000000-0x80103fffffe]
[ 0.308730] pci 0000:00:01.0: reg 10: [mem 0x80023000-0x80023fff]
[ 0.309898] pci 0000:00:01.0: supports D1 D2
[ 0.309902] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
[ 0.309966] pci 0000:00:01.0: PME# disabled
[ 0.310612] pci 0000:00:01.1: reg 10: [mem 0x80022000-0x80022fff]
[ 0.311771] pci 0000:00:01.1: supports D1 D2
[ 0.311774] pci 0000:00:01.1: PME# supported from D0 D1 D2 D3hot
[ 0.311838] pci 0000:00:01.1: PME# disabled
[ 0.312493] pci 0000:00:01.2: reg 10: [mem 0x80021000-0x800210ff]
[ 0.313652] pci 0000:00:01.2: supports D1 D2
[ 0.313655] pci 0000:00:01.2: PME# supported from D0 D1 D2 D3hot
[ 0.313719] pci 0000:00:01.2: PME# disabled
[ 0.314515] pci 0000:00:02.0: reg 10: [io 0x0d58-0x0d5f]
[ 0.314641] pci 0000:00:02.0: reg 14: [io 0x0d64-0x0d67]
[ 0.314766] pci 0000:00:02.0: reg 18: [io 0x0d50-0x0d57]
[ 0.314892] pci 0000:00:02.0: reg 1c: [io 0x0d60-0x0d63]
[ 0.315017] pci 0000:00:02.0: reg 20: [io 0x0d40-0x0d4f]
[ 0.315718] pci 0000:00:02.0: supports D1 D2
[ 0.316372] pci 0000:00:03.0: reg 10: [mem 0x80020000-0x80020fff]
[ 0.316497] pci 0000:00:03.0: reg 14: [io 0x0d00-0x0d3f]
[ 0.316626] pci 0000:00:03.0: reg 18: [mem 0x80000000-0x8001ffff]
[ 0.317541] pci 0000:00:03.0: supports D1 D2
[ 0.317544] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.317609] pci 0000:00:03.0: PME# disabled
[ 0.318595] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI0._PRT]
[ 0.335764] ACPI: PCI Root Bridge [PCI1] (0000:20)
[ 0.366420] pci_root HWP0002:01: host bridge window [mem
0xff5e0000-0xff5e0007]
[ 0.366467] pci_root HWP0002:01: host bridge window [mem
0xff5e2000-0xff5e2007]
[ 0.366516] pci_root HWP0002:01: host bridge window [io 0x2000-0x2fff]
[ 0.366552] pci_root HWP0002:01: host bridge window [mem
0x90000000-0x97ffffff]
[ 0.366599] pci_root HWP0002:01: host bridge window [mem
0x90004000000-0x90103fffffe]
[ 0.367464] pci 0000:20:01.0: reg 10: [io 0x2100-0x21ff]
[ 0.367757] pci 0000:20:01.0: reg 14: [mem 0x90840000-0x9084ffff 64bit]
[ 0.368041] pci 0000:20:01.0: reg 1c: [mem 0x90830000-0x9083ffff 64bit]
[ 0.368334] pci 0000:20:01.0: reg 30: [mem 0x90400000-0x907fffff pref]
[ 0.368986] pci 0000:20:01.0: supports D1 D2
[ 0.369965] pci 0000:20:01.1: reg 10: [io 0x2000-0x20ff]
[ 0.370258] pci 0000:20:01.1: reg 14: [mem 0x90820000-0x9082ffff 64bit]
[ 0.370551] pci 0000:20:01.1: reg 1c: [mem 0x90810000-0x9081ffff 64bit]
[ 0.370844] pci 0000:20:01.1: reg 30: [mem 0x90000000-0x903fffff pref]
[ 0.371496] pci 0000:20:01.1: supports D1 D2
[ 0.372907] pci 0000:20:02.0: reg 10: [mem 0x90800000-0x9080ffff 64bit]
[ 0.374390] pci 0000:20:02.0: PME# supported from D3hot D3cold
[ 0.374466] pci 0000:20:02.0: PME# disabled
[ 0.375777] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI1._PRT]
[ 0.397181] ACPI: PCI Root Bridge [PCI2] (0000:40)
[ 0.421308] pci_root HWP0002:02: host bridge window [io 0x3000-0x5fff]
[ 0.421345] pci_root HWP0002:02: host bridge window [mem
0x98000000-0xafffffff]
[ 0.421392] pci_root HWP0002:02: host bridge window [mem
0xa0004000000-0xa0103fffffe]
[ 0.422251] pci 0000:40:01.0: reg 10: [io 0x3000-0x307f]
[ 0.423899] pci 0000:40:01.0: supports D2
[ 0.424743] pci 0000:40:01.1: reg 10: [io 0x3080-0x308f]
[ 0.426390] pci 0000:40:01.1: supports D1
[ 0.426393] pci 0000:40:01.1: PME# supported from D1 D3hot
[ 0.426483] pci 0000:40:01.1: PME# disabled
[ 0.428222] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI2._PRT]
[ 0.483315] ACPI: PCI Root Bridge [PCI3] (0000:60)
[ 0.507399] pci_root HWP0002:03: host bridge window [io 0x6000-0x7fff]
[ 0.507436] pci_root HWP0002:03: host bridge window [mem
0xb0000000-0xc7ffffff]
[ 0.507482] pci_root HWP0002:03: host bridge window [mem
0xb0004000000-0xb0103fffffe]
[ 0.509080] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI3._PRT]
[ 0.531267] ACPI: PCI Root Bridge [PCI4] (0000:80)
[ 0.560675] pci_root HWP0003:00: host bridge window [io 0x03b0-0x03df]
[ 0.560713] pci_root HWP0003:00: host bridge window [io 0x8000-0xbfff]
[ 0.560750] pci_root HWP0003:00: host bridge window [mem
0x000a0000-0x000fffff]
[ 0.560796] pci_root HWP0003:00: host bridge window [mem
0xc8000000-0xdfffffff]
[ 0.560843] pci_root HWP0003:00: host bridge window [mem
0xc0004000000-0xc0103fffffe]
[ 0.562081] pci 0000:80:00.0: reg 10: [mem 0xd0000000-0xd7ffffff pref]
[ 0.562306] pci 0000:80:00.0: reg 14: [io 0x8000-0x80ff]
[ 0.562531] pci 0000:80:00.0: reg 18: [mem 0xd8030000-0xd803ffff]
[ 0.563418] pci 0000:80:00.0: reg 30: [mem 0xd8000000-0xd801ffff pref]
[ 0.563588] pci 0000:80:00.0: Boot video device
[ 0.564556] pci 0000:80:00.0: supports D1 D2
[ 0.565780] pci 0000:80:00.1: reg 10: [mem 0xc8000000-0xcfffffff pref]
[ 0.566005] pci 0000:80:00.1: reg 14: [mem 0xd8020000-0xd802ffff]
[ 0.567885] pci 0000:80:00.1: supports D1 D2
[ 0.570162] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI4._PRT]
[ 0.624622] ACPI: PCI Root Bridge [PCI6] (0000:c0)
[ 0.648723] pci_root HWP0002:04: host bridge window [io 0xc000-0xdfff]
[ 0.648760] pci_root HWP0002:04: host bridge window [mem
0xe0000000-0xefffffff]
[ 0.648807] pci_root HWP0002:04: host bridge window [mem
0xe0004000000-0xe0103fffffe]
[ 0.650904] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI6._PRT]
[ 0.658462] vgaarb: device added:
PCI:0000:80:00.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.658511] vgaarb: loaded
[ 0.704884] ioc_init: PAGE_SIZE 16K, iovp_size 16K
[ 0.704919] ioc_iova_init() hpa c0000000fed01000 IOV base
0x40000000 mask 0xffffffffc0000000 (1024MB)
[ 0.705195] ioc_iova_init() IOV page size 16K pdir e000004080e80000
size 80000
[ 0.707381] IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
[ 0.707417] put cookie at 0xe000004080ec0000: 0xbadbadc0ffee
[ 0.707453] ioc_resource_init() res_size 0x1000
[ 0.707488] ioc_resource_init() res_map 1000 e000004080e2c000
[ 0.707525] IOC: zx1 2.3 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
[ 0.757838] Switching to clocksource itc
[ 0.759030] pnp: PnP ACPI init
[ 0.759085] ACPI: bus type pnp registered
[ 0.839788] GSI 34 (edge, high) -> CPU 1 (0x0100) vector 50
[ 0.840839] GSI 35 (edge, high) -> CPU 0 (0x0000) vector 51
[ 0.941055] pnp: PnP ACPI: found 10 devices
[ 0.941087] ACPI: ACPI bus type pnp unregistered
[ 0.941319] NET: Registered protocol family 2
[ 0.941503] IP route cache hash table entries: 262144 (order: 7,
2097152 bytes)
[ 0.942607] TCP established hash table entries: 524288 (order: 9,
8388608 bytes)
[ 0.949802] TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
[ 0.951429] TCP: Hash tables configured (established 524288 bind 65536)
[ 0.951467] TCP reno registered
[ 0.951509] UDP hash table entries: 4096 (order: 3, 131072 bytes)
[ 0.951717] UDP-Lite hash table entries: 4096 (order: 3, 131072 bytes)
[ 0.952083] NET: Registered protocol family 1
[ 0.952531] pci 0000:00:03.0: Firmware left e100 interrupts
enabled; disabling
[ 0.952926] PCI: CLS 128 bytes, default 128
[ 0.953016] Unpacking initramfs...
[ 1.430879] Freeing initrd memory: 13600kB freed
[ 1.431195] perfmon: version 2.0 IRQ 238
[ 1.431235] perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4
counters (47 bits)
[ 1.431951] perfmon: added sampling format default_format
[ 1.431986] perfmon_default_smpl: default_format v2.0 registered
[ 1.432161] audit: initializing netlink socket (disabled)
[ 1.432214] type 00 audit(1262979966.430:1): initialized
[ 1.432758] HugeTLB registered 256 MB page size, pre-allocated 0 pages
[ 1.434543] VFS: Disk quotas dquot_6.5.2
[ 1.434644] Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[ 1.434823] msgmni has been set to 12163
[ 1.435189] alg: No test for stdrng (krng)
[ 1.435296] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[ 1.435345] io scheduler noop registered
[ 1.435377] io scheduler deadline registered
[ 1.435480] io scheduler cfq registered (default)
[ 1.435739] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 1.435786] ACPI: Power Button [PWRF]
[ 1.435884] input: Sleep Button as
/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[ 1.435930] ACPI: Sleep Button [SLPF]
[ 1.525958] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.525999] ACPI: Thermal Zone [THM0] (27 C)
[ 1.527282] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.527558] 00:04: ttyS0 at MMIO 0xff5e0000 (irq = 50) is a 16550A
[ 1.527690] 00:05: ttyS1 at MMIO 0xff5e2000 (irq = 51) is a 16550A
[ 1.527924] mice: PS/2 mouse device common for all mice
[ 1.528017] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[ 1.528430] TCP cubic registered
[ 1.528464] NET: Registered protocol family 17
[ 1.528566] registered taskstats version 1
[ 1.533567] rtc-efi rtc-efi: setting system clock to 2010-01-08
19:46:06 UTC (1262979966)
[ 1.533641] Freeing unused kernel memory: 848kB freed
[ 1.751965] usbcore: registered new interface driver usbfs
[ 1.752054] usbcore: registered new interface driver hub
[ 1.752136] usbcore: registered new device driver usb
[ 1.754190] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.759422] GSI 18 (level, low) -> CPU 1 (0x0100) vector 52
[ 1.759467] ehci_hcd 0000:00:01.2: PCI INT C -> GSI 18 (level, low) -> IRQ 52
[ 1.759543] ehci_hcd 0000:00:01.2: EHCI Host Controller
[ 1.759612] ehci_hcd 0000:00:01.2: new USB bus registered, assigned
bus number 1
[ 1.781636] SCSI subsystem initialized
[ 1.782372] ehci_hcd 0000:00:01.2: irq 52, io mem 0x80021000
[ 1.785208] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.785245] e100: Copyright(c) 1999-2006 Intel Corporation
[ 1.805005] ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 0.95
[ 1.805081] usb usb1: New USB device found, idVendor\x1d6b, idProduct\002
[ 1.805117] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 1.805163] usb usb1: Product: EHCI Host Controller
[ 1.805196] usb usb1: Manufacturer: Linux 2.6.33-rc3 ehci_hcd
[ 1.805231] usb usb1: SerialNumber: 0000:00:01.2
[ 1.805386] hub 1-0:1.0: USB hub found
[ 1.805428] hub 1-0:1.0: 5 ports detected
[ 1.805646] Uniform Multi-Platform E-IDE driver
[ 1.805692] GSI 20 (level, low) -> CPU 0 (0x0000) vector 53
[ 1.805729] e100 0000:00:03.0: PCI INT A -> GSI 20 (level, low) -> IRQ 53
[ 1.811584] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.824434] tg3.c:v3.105 (December 2, 2009)
[ 1.824671] GSI 29 (level, low) -> CPU 1 (0x0100) vector 54
[ 1.824707] tg3 0000:20:02.0: PCI INT A -> GSI 29 (level, low) -> IRQ 54
[ 1.825939] Fusion MPT base driver 3.04.13
[ 1.825971] Copyright (c) 1999-2008 LSI Corporation
[ 1.837992] Fusion MPT SPI Host driver 3.04.13
[ 1.902968] e100 0000:00:03.0: PME# disabled
[ 1.903318] e100: eth0: e100_probe: addr 0x80020000, irq 53, MAC
addr 00:30:6e:4a:d3:ab
[ 1.903393] cmd64x 0000:00:02.0: IDE controller (0x1095:0x0649 rev 0x02)
[ 1.903568] GSI 21 (level, low) -> CPU 0 (0x0000) vector 55
[ 1.903604] CMD64x_IDE 0000:00:02.0: PCI INT A -> GSI 21 (level,
low) -> IRQ 55
[ 1.903747] cmd64x 0000:00:02.0: IDE port disabled
[ 1.903884] cmd64x 0000:00:02.0: 100% native mode on irq 55
[ 1.903957] ide0: BM-DMA at 0x0d40-0x0d47
[ 1.904027] Probing IDE interface ide0...
[ 2.305571] hda: DV-28E-B, ATAPI CD/DVD-ROM drive
[ 2.977324] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 2.982899] hda: UDMA/33 mode selected
[ 2.983189] ide0 at 0xd58-0xd5f,0xd66 on irq 55
[ 2.983475] GSI 16 (level, low) -> CPU 1 (0x0100) vector 56
[ 2.983511] ohci_hcd 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 56
[ 2.983581] ohci_hcd 0000:00:01.0: OHCI Host Controller
[ 2.983632] ohci_hcd 0000:00:01.0: new USB bus registered, assigned
bus number 2
[ 2.983695] ohci_hcd 0000:00:01.0: irq 56, io mem 0x80023000
[ 3.203987] eth1: Tigon3 [partno(BCM95700A6) rev 0105]
(PCI:66MHz:64-bit) MAC address 00:30:6e:4a:d2:bd
[ 3.204038] eth1: attached PHY is 5701 (10/100/1000Base-T Ethernet)
(WireSpeed[1])
[ 3.204086] eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[0]
[ 3.204121] eth1: dma_rwctrl[76ff2d0f] dma_mask[64-bit]
[ 3.204929] GSI 27 (level, low) -> CPU 0 (0x0000) vector 57
[ 3.204965] mptspi 0000:20:01.0: PCI INT A -> GSI 27 (level, low) -> IRQ 57
[ 3.205205] mptbase: ioc0: Initiating bringup
[ 3.551349] usb usb2: New USB device found, idVendor\x1d6b, idProduct\001
[ 3.551386] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 3.551432] usb usb2: Product: OHCI Host Controller
[ 3.551466] usb usb2: Manufacturer: Linux 2.6.33-rc3 ohci_hcd
[ 3.551500] usb usb2: SerialNumber: 0000:00:01.0
[ 3.551700] hub 2-0:1.0: USB hub found
[ 3.551738] hub 2-0:1.0: 3 ports detected
[ 3.554316] GSI 17 (level, low) -> CPU 1 (0x0100) vector 58
[ 3.554352] ohci_hcd 0000:00:01.1: PCI INT B -> GSI 17 (level, low) -> IRQ 58
[ 3.554422] ohci_hcd 0000:00:01.1: OHCI Host Controller
[ 3.554466] ohci_hcd 0000:00:01.1: new USB bus registered, assigned
bus number 3
[ 3.554540] ohci_hcd 0000:00:01.1: irq 58, io mem 0x80022000
[ 3.583979] libata version 3.00 loaded.
[ 3.689304] ioc0: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 4.120147] usb usb3: New USB device found, idVendor\x1d6b, idProduct\001
[ 4.120183] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.120229] usb usb3: Product: OHCI Host Controller
[ 4.120263] usb usb3: Manufacturer: Linux 2.6.33-rc3 ohci_hcd
[ 4.120297] usb usb3: SerialNumber: 0000:00:01.1
[ 4.120483] hub 3-0:1.0: USB hub found
[ 4.120520] hub 3-0:1.0: 2 ports detected
[ 4.128848] ide-cd driver 5.00
[ 4.134843] ide-cd: hda: ATAPI 24X DVD-ROM drive, 256kB Cache
[ 4.134943] Uniform CD-ROM driver Revision: 3.20
[ 4.293269] usb 2-1: new low speed USB device using ohci_hcd and address 2
[ 4.371725] scsi0 : ioc0: LSI53C1030 B2, FwRev\x01032300h, Ports=1,
MaxQ%5, IRQW
[ 4.468320] usb 2-1: New USB device found, idVendor\x045e, idProduct\040
[ 4.468357] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.468393] usb 2-1: Product: Microsoft Wheel Mouse Optical®
[ 4.468428] usb 2-1: Manufacturer: Microsoft
[ 4.483770] usbcore: registered new interface driver hiddev
[ 4.492436] input: Microsoft Microsoft Wheel Mouse Optical® as
/devices/pci0000:00/0000:00:01.0/usb2/2-1/2-1:1.0/input/input2
[ 4.492539] generic-usb 0003:045E:0040.0001: input,hidraw0: USB HID
v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical®] on
usb-0000:00:01.0-1/input0
[ 4.492611] usbcore: registered new interface driver usbhid
[ 4.492645] usbhid: USB HID core driver
[ 4.858077] usb 3-1: new low speed USB device using ohci_hcd and address 2
[ 5.008988] GSI 28 (level, low) -> CPU 0 (0x0000) vector 59
[ 5.009024] mptspi 0000:20:01.1: PCI INT B -> GSI 28 (level, low) -> IRQ 59
[ 5.009301] mptbase: ioc1: Initiating bringup
[ 5.027103] usb 3-1: New USB device found, idVendor\x03f0, idProduct\024
[ 5.027140] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.027176] usb 3-1: Product: HP Basic USB Keyboard
[ 5.027209] usb 3-1: Manufacturer: CHICONY
[ 5.039294] input: CHICONY HP Basic USB Keyboard as
/devices/pci0000:00/0000:00:01.1/usb3/3-1/3-1:1.0/input/input3
[ 5.039379] generic-usb 0003:03F0:0024.0002: input,hidraw1: USB HID
v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on
usb-0000:00:01.1-1/input0
[ 5.486081] ioc1: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 6.168599] scsi1 : ioc1: LSI53C1030 B2, FwRev\x01032300h, Ports=1,
MaxQ%5, IRQY
[ 6.169263] scsi 0:0:0:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 6.169321] scsi target0:0:0: Beginning Domain Validation
[ 6.828927] scsi target0:0:0: Ending Domain Validation
[ 6.829033] scsi target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 6.831838] scsi 0:0:1:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 6.831889] scsi target0:0:1: Beginning Domain Validation
[ 6.846907] scsi target0:0:1: Ending Domain Validation
[ 6.847010] scsi target0:0:1: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 7.316677] scsi 1:0:2:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 7.316729] scsi target1:0:2: Beginning Domain Validation
[ 7.331717] scsi target1:0:2: Ending Domain Validation
[ 7.332426] scsi target1:0:2: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 10.108993] sd 0:0:0:0: [sda] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.109067] sd 0:0:1:0: [sdb] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.110322] sd 0:0:0:0: [sda] Write Protect is off
[ 10.110356] sd 0:0:0:0: [sda] Mode Sense: d3 00 10 08
[ 10.110374] sd 0:0:1:0: [sdb] Write Protect is off
[ 10.110408] sd 0:0:1:0: [sdb] Mode Sense: d3 00 10 08
[ 10.111931] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.112040] sd 0:0:1:0: [sdb] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.115421] sda:
[ 10.115523] sdb: sda1 sda2 sda3
[ 10.139924] sdb1 sdb2 sdb3
[ 10.143754] sd 0:0:1:0: [sdb] Attached SCSI disk
[ 10.144146] sd 0:0:0:0: [sda] Attached SCSI disk
[ 10.335779] sd 1:0:2:0: [sdc] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.337286] sd 1:0:2:0: [sdc] Write Protect is off
[ 10.337321] sd 1:0:2:0: [sdc] Mode Sense: d3 00 10 08
[ 10.338905] sd 1:0:2:0: [sdc] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.342342] sdc: sdc1 sdc2 sdc3
[ 10.370285] sd 1:0:2:0: [sdc] Attached SCSI disk
[ 10.555814] EXT4-fs (sdb2): mounted filesystem with ordered data mode
[ 11.891231] udev: starting version 149
[ 12.306131] gameport: FM801 is pci0000:40:01.1/gameport0, io
0x3080, speed 876kHz
[ 12.838590] Linux video capture interface: v2.00
[ 13.371189] GSI 38 (level, low) -> CPU 1 (0x0100) vector 60
[ 13.371246] FM801 0000:40:01.0: PCI INT A -> GSI 38 (level, low) -> IRQ 60
[ 13.737422] Adding 2000768k swap on /dev/sdb3. Priority:-1
extents:1 across:2000768k
[ 13.930385] Linux agpgart interface v0.103
[ 14.036636] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 14.036674] GART at 0xe000004080ec0000
[ 14.036706] read cookie at 0xe000004080ec0000: 0xbadbadc0ffee
[ 14.037359] (null): AGP aperture is 512M @ 0x60000000
[ 14.037394] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 14.037429] GART at 0xe000004080ec0000
[ 14.037460] read cookie at 0xe000004080ec0000: 0x0
[ 14.037492] agpgart: No reserved IO PDIR entry found; GART disabled
[ 15.240421] fuse init (API version 7.13)
[ 17.233719] NET: Registered protocol family 10
[ 17.234377] lo: Disabled Privacy Extensions
[ 17.235267] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 17.727728] tg3: eth1: Link is up at 10 Mbps, half duplex.
[ 17.727780] tg3: eth1: Flow control is off for TX and off for RX.
[ 17.731467] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 18.171995] lp: driver loaded but no devices found
[ 18.178499] ppdev: user-space parallel port driver
[ 20.167832] GSI 60 (level, low) -> CPU 0 (0x0000) vector 61
[ 20.167840] pci 0000:80:00.0: PCI INT A -> GSI 60 (level, low) -> IRQ 61
[ 26.289194] [drm] Initialized drm 1.1.0 20060810
[ 26.605406] [drm] radeon defaulting to userspace modesetting.
[ 26.605413] [drm:drm_init],
[ 26.605616] [drm:drm_get_dev],
[ 26.605885] [drm:drm_get_minor],
[ 26.606047] [drm:drm_get_minor], new minor assigned 0
[ 26.606222] [drm:drm_addmap_core], offset = 0xd8030000, size 0x00010000, type = 1
[ 26.606233] [drm:radeon_driver_load], AGP card detected
[ 26.606238] [drm] Initialized radeon 1.31.0 20080528 for
0000:80:00.0 on minor 0
[ 26.606905] [drm:drm_stub_open],
[ 26.606910] [drm:drm_open_helper], pid = 1592, minor = 0
[ 26.606915] [drm:radeon_driver_open],
[ 26.606921] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.606952] [drm:drm_addmap_core], 65536 16 a000000203600000
[ 26.606959] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.606966] [drm:drm_setup],
[ 26.607027] [drm:drm_ioctl], pid\x1592, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.607041] [drm:drm_ioctl], pid\x1592, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.607052] [drm:drm_ioctl], pid\x1592, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.607095] [drm:drm_ioctl], pid\x1592, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.607102] [drm:drm_ioctl], pid\x1592, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.607195] [drm:drm_release], open_count = 1
[ 26.607198] [drm:drm_release], pid = 1592, device = 0xe200, open_count = 1
[ 26.607210] [drm:drm_lastclose],
[ 26.607215] [drm:radeon_do_cleanup_cp],
[ 26.607218] [drm:drm_lastclose], driver lastclose completed
[ 26.607224] [drm:drm_lastclose], lastclose completed
[ 26.912021] [drm:drm_stub_open],
[ 26.912024] [drm:drm_open_helper], pid = 1592, minor = 0
[ 26.912029] [drm:radeon_driver_open],
[ 26.912033] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.912066] [drm:drm_addmap_core], 65536 16 a000000203700000
[ 26.912072] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.912078] [drm:drm_setup],
[ 26.912096] [drm:drm_ioctl], pid\x1592, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.912104] [drm:drm_ioctl], pid\x1592, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.912115] [drm:drm_release], open_count = 1
[ 26.912118] [drm:drm_release], pid = 1592, device = 0xe200, open_count = 1
[ 26.912127] [drm:drm_lastclose],
[ 26.912132] [drm:radeon_do_cleanup_cp],
[ 26.912134] [drm:drm_lastclose], driver lastclose completed
[ 26.912139] [drm:drm_lastclose], lastclose completed
[ 26.912174] [drm:drm_stub_open],
[ 26.912177] [drm:drm_open_helper], pid = 1592, minor = 0
[ 26.912182] [drm:radeon_driver_open],
[ 26.912185] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.912216] [drm:drm_addmap_core], 65536 16 a000000203800000
[ 26.912221] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.912227] [drm:drm_setup],
[ 26.912241] [drm:drm_ioctl], pid\x1592, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.912247] [drm:drm_ioctl], pid\x1592, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.912256] [drm:drm_release], open_count = 1
[ 26.912259] [drm:drm_release], pid = 1592, device = 0xe200, open_count = 1
[ 26.912267] [drm:drm_lastclose],
[ 26.912271] [drm:radeon_do_cleanup_cp],
[ 26.912274] [drm:drm_lastclose], driver lastclose completed
[ 26.912278] [drm:drm_lastclose], lastclose completed
[ 26.912306] [drm:drm_stub_open],
[ 26.912309] [drm:drm_open_helper], pid = 1592, minor = 0
[ 26.912313] [drm:radeon_driver_open],
[ 26.912317] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.912347] [drm:drm_addmap_core], 65536 16 a000000203900000
[ 26.912352] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.912358] [drm:drm_setup],
[ 26.912378] [drm:drm_ioctl], pid\x1592, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.912386] [drm:drm_ioctl], pid\x1592, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.912392] [drm:drm_ioctl], pid\x1592, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.912410] [drm:drm_ioctl], pid\x1592, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.912428] [drm:drm_ioctl], pid\x1592, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 26.912434] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.912452] [drm:drm_mmap_locked], start = 0x200000000d500000, end
= 0x200000000d510000, page offset = 0x3dc0
[ 26.912458] [drm:drm_mmap_locked] *ERROR* Could not find map
[ 26.912482] [drm:drm_ioctl], pid\x1592, cmd=0x4028641b, nr=0x1b, dev
0xe200, auth=1
[ 26.912488] [drm:drm_ioctl], ret = ffffffea
[ 26.912503] [drm:drm_release], open_count = 1
[ 26.912506] [drm:drm_release], pid = 1592, device = 0xe200, open_count = 1
[ 26.912515] [drm:drm_lastclose],
[ 26.912519] [drm:radeon_do_cleanup_cp],
[ 26.912522] [drm:drm_lastclose], driver lastclose completed
[ 26.912526] [drm:drm_lastclose], lastclose completed
[ 28.106133] eth1: no IPv6 routers present
And please find below the output of lspci -vv:
00:01.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (250ns min, 10500ns max), Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 56
Region 0: Memory at 80023000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ohci_hcd
00:01.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (250ns min, 10500ns max), Cache Line Size: 128 bytes
Interrupt: pin B routed to IRQ 58
Region 0: Memory at 80022000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ohci_hcd
00:01.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])
Subsystem: NEC Corporation USB 2.0
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (4000ns min, 8500ns max), Cache Line Size: 128 bytes
Interrupt: pin C routed to IRQ 52
Region 0: Memory at 80021000 (32-bit, non-prefetchable) [size%6]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ehci_hcd
00:02.0 IDE interface: Silicon Image, Inc. SiI 0649 Ultra ATA/100 PCI
to ATA Host Controller (rev 02) (prog-if 8f [Master SecP SecO PriP
PriO])
Subsystem: Silicon Image, Inc. SiI 0649 Ultra ATA/100 PCI to ATA Host
Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 55
Region 0: I/O ports at 0d58 [size=8]
Region 1: I/O ports at 0d64 [size=4]
Region 2: I/O ports at 0d50 [size=8]
Region 3: I/O ports at 0d60 [size=4]
Region 4: I/O ports at 0d40 [size\x16]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=3 PME-
Kernel driver in use: CMD64x_IDE
00:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 0d)
Subsystem: Hewlett-Packard Company Device 1274
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (2000ns min, 14000ns max)
Interrupt: pin A routed to IRQ 53
Region 0: Memory at 80020000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 0d00 [sized]
Region 2: Memory at 80000000 (32-bit, non-prefetchable) [size\x128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
Kernel driver in use: e100
20:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030
PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
Subsystem: LSI Logic / Symbios Logic Device 1000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 192 (4250ns min, 4500ns max), Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 57
Region 0: I/O ports at 2100 [size%6]
Region 1: Memory at 90840000 (64-bit, non-prefetchable) [sizedK]
Region 3: Memory at 90830000 (64-bit, non-prefetchable) [sizedK]
Expansion ROM at 90400000 [disabled] [size=4M]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Kernel driver in use: mptspi
20:01.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1030
PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
Subsystem: LSI Logic / Symbios Logic Device 1000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 192 (4250ns min, 4500ns max), Cache Line Size: 128 bytes
Interrupt: pin B routed to IRQ 59
Region 0: I/O ports at 2000 [size%6]
Region 1: Memory at 90820000 (64-bit, non-prefetchable) [sizedK]
Region 3: Memory at 90810000 (64-bit, non-prefetchable) [sizedK]
Expansion ROM at 90000000 [disabled] [size=4M]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Kernel driver in use: mptspi
20:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701
Gigabit Ethernet (rev 15)
Subsystem: Hewlett-Packard Company Core Lan 1000Base-T
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 192 (16000ns min), Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 54
Region 0: Memory at 90800000 (64-bit, non-prefetchable) [sizedK]
Capabilities: [40] PCI-X non-bridge device
Command: DPERE- ERO+ RBCQ2 OST=1
Status: Devÿ:1f.1 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBCQ2
DMOST=1 DMCRS=8 RSCEM- 266MHz- 533MHz-
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Product Name: Broadcom NetXtreme Gigabit Ethernet Controller
Read-only fields:
[PN] Part number: BCM95700A6
[EC] Engineering changes: 106679-15
[SN] Serial number: 0123456789
[MN] Manufacture ID: 31 34 65 34
[RV] Reserved: checksum bad, 26 byte(s) reserved
Read/write fields:
[YA] Asset tag: XYZ01234567
[RW] Read-write area: 107 byte(s) free
End
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Address: 189721380f6b5204 Data: 1ba0
Kernel driver in use: tg3
40:01.0 Multimedia audio controller: Fortemedia, Inc Xwave QS3000A
[FM801] (rev b2)
Subsystem: Fortemedia, Inc FM801 PCI Audio
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (1000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 60
Region 0: I/O ports at 3000 [size\x128]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: FM801
40:01.1 Input device controller: Fortemedia, Inc Xwave QS3000A [FM801
game port] (rev b2)
Subsystem: Fortemedia, Inc FM801 PCI Joystick
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (1000ns min, 10000ns max)
Region 0: I/O ports at 3080 [size\x16]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1+,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: FM801_gameport
80:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 NG
[FireGL X1] (rev 80) (prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc Device 0152
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 192 (2000ns min), Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 61
Region 0: Memory at d0000000 (32-bit, prefetchable) [size\x128M]
Region 1: I/O ports at 8000 [size%6]
Region 2: Memory at d8030000 (32-bit, non-prefetchable) [sizedK]
Expansion ROM at d8000000 [disabled] [size\x128K]
Capabilities: [58] AGP version 2.0
Status: RQ€ Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit-
FW+ AGP3- Rate=x1,x2,x4
Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
80:00.1 Display controller: ATI Technologies Inc Radeon R300 [FireGL
X1] (Secondary) (rev 80)
Subsystem: ATI Technologies Inc Device 0153
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 192 (2000ns min), Cache Line Size: 128 bytes
Region 0: Memory at c8000000 (32-bit, prefetchable) [size\x128M]
Region 1: Memory at d8020000 (32-bit, non-prefetchable) [sizedK]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Thank you for your time.
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (3 preceding siblings ...)
2010-01-08 20:06 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-08 23:55 ` Bjorn Helgaas
2010-01-09 11:46 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-08 23:55 UTC (permalink / raw)
To: linux-ia64
On Friday 08 January 2010 01:06:07 pm Émeric Maschino wrote:
> Sure. Please find below the entire dmesg log with drm.debug=1 (BTW, is
> this the right way to post such a huge output to the list?):
This is perfect.
> [ 0.705195] ioc_iova_init() IOV page size 16K pdir e000004080e80000 size 80000
> [ 0.707381] IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
> [ 0.707417] put cookie at 0xe000004080ec0000: 0xbadbadc0ffee
> [ 0.707453] ioc_resource_init() res_size 0x1000
> [ 0.707488] ioc_resource_init() res_map 1000 e000004080e2c000
> [ 0.707525] IOC: zx1 2.3 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
> [ 13.930385] Linux agpgart interface v0.103
> [ 14.036636] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 14.036674] GART at 0xe000004080ec0000
> [ 14.036706] read cookie at 0xe000004080ec0000: 0xbadbadc0ffee
> [ 14.037359] (null): AGP aperture is 512M @ 0x60000000
Perfectly normal so far. We called hp_zx1_setup() and agp_add_bridge(),
which clears the GATT (in .create_gatt_table), which blows away the
cookie at gatt[0].
> [ 14.037394] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 14.037429] GART at 0xe000004080ec0000
> [ 14.037460] read cookie at 0xe000004080ec0000: 0x0
> [ 14.037492] agpgart: No reserved IO PDIR entry found; GART disabled
Then for some reason we must be calling hp_zx1_setup() again, and this
time it failed because the cookie is gone. This could happen if
agp_add_bridge() failed, but I don't see a way it could fail after
printing the "AGP aperture is 512M" message.
Can you try the attached patch, please?
Bjorn
commit 7beeef993b8b5c66084f5b025419914992101595
Author: Bjorn Helgaas <bjorn.helgaas@hp.com>
Date: Thu Jan 7 16:23:45 2010 -0700
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
index e14c492..8f205d8 100644
--- a/arch/ia64/hp/common/sba_iommu.c
+++ b/arch/ia64/hp/common/sba_iommu.c
@@ -95,7 +95,7 @@ extern int swiotlb_late_init_with_default_size (size_t size);
** longer guaranteed to stay in sync. The sanity checking code isn't going to
** like that.
*/
-#undef DEBUG_SBA_INIT
+#define DEBUG_SBA_INIT
#undef DEBUG_SBA_RUN
#undef DEBUG_SBA_RUN_SG
#undef DEBUG_SBA_RESOURCE
@@ -1656,11 +1656,15 @@ ioc_iova_init(struct ioc *ioc)
for_each_pci_dev(device)
agp_found |= pci_find_capability(device, PCI_CAP_ID_AGP);
+ agp_found = 1;
if (agp_found && reserve_sba_gart) {
printk(KERN_INFO PFX "reserving %dMb of IOVA space at 0x%lx for agpgart\n",
ioc->iov_size/2 >> 20, ioc->ibase + ioc->iov_size/2);
ioc->pdir_size /= 2;
((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE;
+ printk("put cookie at 0x%p: 0x%llx\n",
+ &((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)],
+ ((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)]);
}
#ifdef FULL_VALID_PDIR
/*
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c
index a56ca08..5a7a529 100644
--- a/drivers/char/agp/backend.c
+++ b/drivers/char/agp/backend.c
@@ -320,6 +320,7 @@ int agp_add_bridge(struct agp_bridge_data *bridge)
}
list_add(&bridge->list, &agp_bridges);
+ printk("%s: returning 0 (success)\n", __func__);
return 0;
frontend_err:
@@ -327,6 +328,7 @@ frontend_err:
err_out:
module_put(bridge->driver->owner);
agp_put_bridge(bridge);
+ printk("%s: returning %d (failure)\n", __func__, error);
return error;
}
EXPORT_SYMBOL_GPL(agp_add_bridge);
diff --git a/drivers/char/agp/hp-agp.c b/drivers/char/agp/hp-agp.c
index 58752b7..3a02bdb 100644
--- a/drivers/char/agp/hp-agp.c
+++ b/drivers/char/agp/hp-agp.c
@@ -110,6 +110,8 @@ static int __init hp_zx1_ioc_shared(void)
hp->io_pdir = phys_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE));
hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)];
+ printk("GART at 0x%p\n", hp->gatt);
+ printk("read cookie at 0x%p: 0x%llx\n", &hp->gatt[0], hp->gatt[0]);
if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) {
/* Normal case when no AGP device in system */
hp->gatt = NULL;
@@ -266,6 +268,7 @@ hp_zx1_cleanup (void)
{
struct _hp_private *hp = &hp_private;
+ printk("%s\n", __func__);
if (hp->ioc_regs) {
if (hp->io_pdir_owner) {
writeq(0, hp->ioc_regs+HP_ZX1_IBASE);
@@ -292,6 +295,7 @@ hp_zx1_create_gatt_table (struct agp_bridge_data *bridge)
struct _hp_private *hp = &hp_private;
int i;
+ printk("%s\n", __func__);
if (hp->io_pdir_owner) {
hp->io_pdir = (u64 *) __get_free_pages(GFP_KERNEL,
get_order(hp->io_pdir_size));
@@ -319,6 +323,7 @@ hp_zx1_free_gatt_table (struct agp_bridge_data *bridge)
{
struct _hp_private *hp = &hp_private;
+ printk("%s\n", __func__);
if (hp->io_pdir_owner)
free_pages((unsigned long) hp->io_pdir,
get_order(hp->io_pdir_size));
@@ -465,6 +470,7 @@ hp_zx1_setup (u64 ioc_hpa, u64 lba_hpa)
bridge->dev = &fake_bridge_dev;
error = agp_add_bridge(bridge);
+ printk("%s: agp_add_bridge returned %d\n", __func__, error);
fail:
if (error)
hp_zx1_cleanup();
@@ -479,6 +485,7 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
struct acpi_device_info *info;
u64 lba_hpa, sba_hpa, length;
int match;
+ int error;
status = hp_acpi_csr_space(obj, &lba_hpa, &length);
if (ACPI_FAILURE(status))
@@ -511,7 +518,9 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
if (ACPI_FAILURE(status))
return AE_OK; /* found no enclosing IOC */
- if (hp_zx1_setup(sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa))
+ error = hp_zx1_setup(sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
+ printk("%s: hp_zx1_setup returned %d\n", __func__, error);
+ if (error)
return AE_OK;
printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
@@ -525,6 +534,7 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
static int __init
agp_hp_init (void)
{
+ printk("%s\n", __func__);
if (agp_off)
return -EINVAL;
^ permalink raw reply related [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (4 preceding siblings ...)
2010-01-08 23:55 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-09 11:46 ` Émeric Maschino
2010-01-11 17:54 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-09 11:46 UTC (permalink / raw)
To: linux-ia64
> 2010/1/9 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> Then for some reason we must be calling hp_zx1_setup() again, and this
> time it failed because the cookie is gone. This could happen if
> agp_add_bridge() failed, but I don't see a way it could fail after
> printing the "AGP aperture is 512M" message.
>
> Can you try the attached patch, please?
Please find below the dmesg output with the patches attached in your
previous message. I don't have the impression that hp_zx1_setup() is
called twice:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.33-rc3 (root@longspeak) (gcc version
4.3.4 (Debian 4.3.4-6) ) #2 SMP Fri Jan 8 20:36:36 CET 2010
[ 0.000000] EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI
2.0=0x3fb2e000 SMBIOS=0x3fb3a000 HCDP=0x3fb2c000
[ 0.000000] booting generic kernel on platform hpzx1
[ 0.000000] PCDP: v0 at 0x3fb2c000
[ 0.000000] ACPI: RSDP 000000003fb2e000 00028 (v02 HP)
[ 0.000000] ACPI: XSDT 000000003fb2e02c 00094 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: FACP 000000003fb36800 000F4 (v03 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI Warning: 32/64X length mismatch in Gpe0Block:
32/16 (20091214/tbfadt-526)
[ 0.000000] ACPI Warning: 32/64X length mismatch in Gpe1Block:
32/16 (20091214/tbfadt-526)
[ 0.000000] ACPI: DSDT 000000003fb2e0e0 05781 (v01 HP zx6000
00000007 INTL 02012044)
[ 0.000000] ACPI: FACS 000000003fb368f8 00040
[ 0.000000] ACPI: SPCR 000000003fb36938 00050 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: DBGP 000000003fb36988 00034 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: APIC 000000003fb36a48 000B0 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: SPMI 000000003fb369c0 00050 (v04 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: CPEP 000000003fb36a10 00034 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: SSDT 000000003fb33870 001D6 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb33a50 00342 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb33da0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb347c0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb351e0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb35c00 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb36620 000EB (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb36710 000EF (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: Local APIC address c0000000fee00000
[ 0.000000] 2 CPUs available, 2 CPUs total
[ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.000000] Initial ramdisk at: 0xe0000040fe247000 (13945232 bytes)
[ 0.000000] SAL 3.1: HP version 2.31
[ 0.000000] SAL Platform features: None
[ 0.000000] SAL: AP wakeup using external interrupt vector 0xff
[ 0.000000] ACPI: Local APIC address c0000000fee00000
[ 0.000000] GSI 36 (level, low) -> CPU 0 (0x0000) vector 49
[ 0.000000] MCA related initialization done
[ 0.000000] Virtual mem_map starts at 0xa0007fffc7200000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000400 -> 0x00040000
[ 0.000000] Normal 0x00040000 -> 0x01040000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[6] active PFN ranges
[ 0.000000] 0: 0x00000400 -> 0x0000fd79
[ 0.000000] 0: 0x0000fec0 -> 0x0000fecb
[ 0.000000] 0: 0x00040000 -> 0x00060000
[ 0.000000] 0: 0x01010000 -> 0x0103ff5a
[ 0.000000] 0: 0x0103ff69 -> 0x0103ff84
[ 0.000000] 0: 0x0103ffa0 -> 0x0103fff0
[ 0.000000] On node 0 totalpages: 391497
[ 0.000000] free_area_init_node: node 0, pgdat e000000001300000,
node_mem_map a0007fffc720e000
[ 0.000000] DMA zone: 893 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 62983 pages, LIFO batch:7
[ 0.000000] Normal zone: 57344 pages used for memmap
[ 0.000000] Normal zone: 270277 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s30104 r8192 d27240 u65536 alloc=4*16384
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 333260
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line:
BOOT_IMAGE=scsi1:/EFI/debian/vmlinuz root=/dev/sdb2 drm.debug=1 ro
[ 0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes)
[ 0.000000] Memory: 6213952k/6238512k available (7026k code, 50000k
reserved, 3489k data, 848k init)
[ 0.000000] SLUB: Genslabs\x16, HWalign\x128, Order=0-3,
MinObjects=0, CPUs=2, Nodes%6
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:1024
[ 0.000000] CPU 0: base freq 0.000MHz, ITC ratio\x15/2, ITC
freq\x1500.000MHz+/-750ppm
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.004000] Calibrating delay loop... 2244.60 BogoMIPS (lpjD89216)
[ 0.100063] Security Framework initialized
[ 0.100101] SELinux: Disabled at boot.
[ 0.100429] Dentry cache hash table entries: 1048576 (order: 9,
8388608 bytes)
[ 0.107579] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes)
[ 0.111507] Mount-cache hash table entries: 1024
[ 0.111832] Initializing cgroup subsys ns
[ 0.111868] Initializing cgroup subsys cpuacct
[ 0.111905] Initializing cgroup subsys devices
[ 0.111938] Initializing cgroup subsys freezer
[ 0.111971] Initializing cgroup subsys net_cls
[ 0.112038] ACPI: Core revision 20091214
[ 0.114973] Boot processor id 0x0/0x0
[ 0.000000] Fixed BSP b0 value from CPU 1
[ 0.000000] CPU 1: synchronized ITC with CPU 0 (last diff -40
cycles, maxerr 680 cycles)
[ 0.000000] CPU 1: base freq 0.000MHz, ITC ratio\x15/2, ITC
freq\x1500.000MHz+/-750ppm
[ 0.117275] Brought up 2 CPUs
[ 0.117309] Total of 2 processors activated (4489.21 BogoMIPS).
[ 0.118319] DMI 2.3 present.
[ 0.118494] regulator: core version 0.5
[ 0.118582] NET: Registered protocol family 16
[ 0.118734] ACPI: bus type pci registered
[ 0.119355] bio: create slab <bio-0> at 0
[ 0.120235] ACPI: EC: Look up EC in DSDT
[ 0.129186] ACPI: Interpreter enabled
[ 0.129218] ACPI: (supports S0 S5)
[ 0.129290] ACPI: Using IOSAPIC for interrupt routing
[ 0.268369] ACPI: No dock devices found.
[ 0.281593] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.307985] pci_root HWP0002:00: host bridge window [io 0x0000-0x03af]
[ 0.308006] pci_root HWP0002:00: host bridge window [io 0x03e0-0x1fff]
[ 0.308042] pci_root HWP0002:00: host bridge window [mem
0x80000000-0x8fffffff]
[ 0.308089] pci_root HWP0002:00: host bridge window [mem
0x80004000000-0x80103fffffe]
[ 0.308730] pci 0000:00:01.0: reg 10: [mem 0x80023000-0x80023fff]
[ 0.309898] pci 0000:00:01.0: supports D1 D2
[ 0.309901] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
[ 0.309966] pci 0000:00:01.0: PME# disabled
[ 0.310611] pci 0000:00:01.1: reg 10: [mem 0x80022000-0x80022fff]
[ 0.311770] pci 0000:00:01.1: supports D1 D2
[ 0.311773] pci 0000:00:01.1: PME# supported from D0 D1 D2 D3hot
[ 0.311838] pci 0000:00:01.1: PME# disabled
[ 0.312493] pci 0000:00:01.2: reg 10: [mem 0x80021000-0x800210ff]
[ 0.313652] pci 0000:00:01.2: supports D1 D2
[ 0.313655] pci 0000:00:01.2: PME# supported from D0 D1 D2 D3hot
[ 0.313719] pci 0000:00:01.2: PME# disabled
[ 0.314515] pci 0000:00:02.0: reg 10: [io 0x0d58-0x0d5f]
[ 0.314641] pci 0000:00:02.0: reg 14: [io 0x0d64-0x0d67]
[ 0.314766] pci 0000:00:02.0: reg 18: [io 0x0d50-0x0d57]
[ 0.314892] pci 0000:00:02.0: reg 1c: [io 0x0d60-0x0d63]
[ 0.315017] pci 0000:00:02.0: reg 20: [io 0x0d40-0x0d4f]
[ 0.315718] pci 0000:00:02.0: supports D1 D2
[ 0.316372] pci 0000:00:03.0: reg 10: [mem 0x80020000-0x80020fff]
[ 0.316497] pci 0000:00:03.0: reg 14: [io 0x0d00-0x0d3f]
[ 0.316626] pci 0000:00:03.0: reg 18: [mem 0x80000000-0x8001ffff]
[ 0.317541] pci 0000:00:03.0: supports D1 D2
[ 0.317544] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.317608] pci 0000:00:03.0: PME# disabled
[ 0.318595] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI0._PRT]
[ 0.335756] ACPI: PCI Root Bridge [PCI1] (0000:20)
[ 0.366411] pci_root HWP0002:01: host bridge window [mem
0xff5e0000-0xff5e0007]
[ 0.366458] pci_root HWP0002:01: host bridge window [mem
0xff5e2000-0xff5e2007]
[ 0.366506] pci_root HWP0002:01: host bridge window [io 0x2000-0x2fff]
[ 0.366543] pci_root HWP0002:01: host bridge window [mem
0x90000000-0x97ffffff]
[ 0.366590] pci_root HWP0002:01: host bridge window [mem
0x90004000000-0x90103fffffe]
[ 0.367455] pci 0000:20:01.0: reg 10: [io 0x2100-0x21ff]
[ 0.367748] pci 0000:20:01.0: reg 14: [mem 0x90840000-0x9084ffff 64bit]
[ 0.368041] pci 0000:20:01.0: reg 1c: [mem 0x90830000-0x9083ffff 64bit]
[ 0.368334] pci 0000:20:01.0: reg 30: [mem 0x90400000-0x907fffff pref]
[ 0.368986] pci 0000:20:01.0: supports D1 D2
[ 0.369965] pci 0000:20:01.1: reg 10: [io 0x2000-0x20ff]
[ 0.370258] pci 0000:20:01.1: reg 14: [mem 0x90820000-0x9082ffff 64bit]
[ 0.370551] pci 0000:20:01.1: reg 1c: [mem 0x90810000-0x9081ffff 64bit]
[ 0.370843] pci 0000:20:01.1: reg 30: [mem 0x90000000-0x903fffff pref]
[ 0.371495] pci 0000:20:01.1: supports D1 D2
[ 0.372907] pci 0000:20:02.0: reg 10: [mem 0x90800000-0x9080ffff 64bit]
[ 0.374390] pci 0000:20:02.0: PME# supported from D3hot D3cold
[ 0.374466] pci 0000:20:02.0: PME# disabled
[ 0.375777] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI1._PRT]
[ 0.397173] ACPI: PCI Root Bridge [PCI2] (0000:40)
[ 0.421301] pci_root HWP0002:02: host bridge window [io 0x3000-0x5fff]
[ 0.421338] pci_root HWP0002:02: host bridge window [mem
0x98000000-0xafffffff]
[ 0.421384] pci_root HWP0002:02: host bridge window [mem
0xa0004000000-0xa0103fffffe]
[ 0.422244] pci 0000:40:01.0: reg 10: [io 0x3000-0x307f]
[ 0.423892] pci 0000:40:01.0: supports D2
[ 0.424742] pci 0000:40:01.1: reg 10: [io 0x3080-0x308f]
[ 0.426390] pci 0000:40:01.1: supports D1
[ 0.426393] pci 0000:40:01.1: PME# supported from D1 D3hot
[ 0.426482] pci 0000:40:01.1: PME# disabled
[ 0.428222] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI2._PRT]
[ 0.483307] ACPI: PCI Root Bridge [PCI3] (0000:60)
[ 0.507391] pci_root HWP0002:03: host bridge window [io 0x6000-0x7fff]
[ 0.507427] pci_root HWP0002:03: host bridge window [mem
0xb0000000-0xc7ffffff]
[ 0.507474] pci_root HWP0002:03: host bridge window [mem
0xb0004000000-0xb0103fffffe]
[ 0.509080] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI3._PRT]
[ 0.531258] ACPI: PCI Root Bridge [PCI4] (0000:80)
[ 0.560668] pci_root HWP0003:00: host bridge window [io 0x03b0-0x03df]
[ 0.560706] pci_root HWP0003:00: host bridge window [io 0x8000-0xbfff]
[ 0.560742] pci_root HWP0003:00: host bridge window [mem
0x000a0000-0x000fffff]
[ 0.560789] pci_root HWP0003:00: host bridge window [mem
0xc8000000-0xdfffffff]
[ 0.560836] pci_root HWP0003:00: host bridge window [mem
0xc0004000000-0xc0103fffffe]
[ 0.562074] pci 0000:80:00.0: reg 10: [mem 0xd0000000-0xd7ffffff pref]
[ 0.562299] pci 0000:80:00.0: reg 14: [io 0x8000-0x80ff]
[ 0.562523] pci 0000:80:00.0: reg 18: [mem 0xd8030000-0xd803ffff]
[ 0.563411] pci 0000:80:00.0: reg 30: [mem 0xd8000000-0xd801ffff pref]
[ 0.563580] pci 0000:80:00.0: Boot video device
[ 0.564555] pci 0000:80:00.0: supports D1 D2
[ 0.565780] pci 0000:80:00.1: reg 10: [mem 0xc8000000-0xcfffffff pref]
[ 0.566005] pci 0000:80:00.1: reg 14: [mem 0xd8020000-0xd802ffff]
[ 0.567885] pci 0000:80:00.1: supports D1 D2
[ 0.570162] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI4._PRT]
[ 0.624616] ACPI: PCI Root Bridge [PCI6] (0000:c0)
[ 0.648717] pci_root HWP0002:04: host bridge window [io 0xc000-0xdfff]
[ 0.648753] pci_root HWP0002:04: host bridge window [mem
0xe0000000-0xefffffff]
[ 0.648800] pci_root HWP0002:04: host bridge window [mem
0xe0004000000-0xe0103fffffe]
[ 0.650897] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI6._PRT]
[ 0.658456] vgaarb: device added:
PCI:0000:80:00.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.658504] vgaarb: loaded
[ 0.704879] ioc_init: PAGE_SIZE 16K, iovp_size 16K
[ 0.704915] ioc_iova_init() hpa c0000000fed01000 IOV base
0x40000000 mask 0xffffffffc0000000 (1024MB)
[ 0.705190] ioc_iova_init() IOV page size 16K pdir e000004080e80000
size 80000
[ 0.707376] IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
[ 0.707412] put cookie at 0xe000004080ec0000: 0xbadbadc0ffee
[ 0.707447] ioc_resource_init() res_size 0x1000
[ 0.707483] ioc_resource_init() res_map 1000 e000004080e2c000
[ 0.707520] IOC: zx1 2.3 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
[ 0.757834] Switching to clocksource itc
[ 0.759042] pnp: PnP ACPI init
[ 0.759098] ACPI: bus type pnp registered
[ 0.839790] GSI 34 (edge, high) -> CPU 1 (0x0100) vector 50
[ 0.840841] GSI 35 (edge, high) -> CPU 0 (0x0000) vector 51
[ 0.941055] pnp: PnP ACPI: found 10 devices
[ 0.941088] ACPI: ACPI bus type pnp unregistered
[ 0.941319] NET: Registered protocol family 2
[ 0.941502] IP route cache hash table entries: 262144 (order: 7,
2097152 bytes)
[ 0.942606] TCP established hash table entries: 524288 (order: 9,
8388608 bytes)
[ 0.949820] TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
[ 0.951445] TCP: Hash tables configured (established 524288 bind 65536)
[ 0.951483] TCP reno registered
[ 0.951525] UDP hash table entries: 4096 (order: 3, 131072 bytes)
[ 0.951736] UDP-Lite hash table entries: 4096 (order: 3, 131072 bytes)
[ 0.952099] NET: Registered protocol family 1
[ 0.952547] pci 0000:00:03.0: Firmware left e100 interrupts
enabled; disabling
[ 0.952942] PCI: CLS 128 bytes, default 128
[ 0.953031] Unpacking initramfs...
[ 1.430886] Freeing initrd memory: 13600kB freed
[ 1.431202] perfmon: version 2.0 IRQ 238
[ 1.431242] perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4
counters (47 bits)
[ 1.431961] perfmon: added sampling format default_format
[ 1.431996] perfmon_default_smpl: default_format v2.0 registered
[ 1.432172] audit: initializing netlink socket (disabled)
[ 1.432224] type 00 audit(1263036540.430:1): initialized
[ 1.432770] HugeTLB registered 256 MB page size, pre-allocated 0 pages
[ 1.434556] VFS: Disk quotas dquot_6.5.2
[ 1.434656] Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[ 1.434837] msgmni has been set to 12163
[ 1.435192] alg: No test for stdrng (krng)
[ 1.435289] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[ 1.435337] io scheduler noop registered
[ 1.435370] io scheduler deadline registered
[ 1.435473] io scheduler cfq registered (default)
[ 1.435732] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 1.435779] ACPI: Power Button [PWRF]
[ 1.435877] input: Sleep Button as
/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[ 1.435923] ACPI: Sleep Button [SLPF]
[ 1.525966] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.526007] ACPI: Thermal Zone [THM0] (27 C)
[ 1.527291] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.527566] 00:04: ttyS0 at MMIO 0xff5e0000 (irq = 50) is a 16550A
[ 1.527698] 00:05: ttyS1 at MMIO 0xff5e2000 (irq = 51) is a 16550A
[ 1.527932] mice: PS/2 mouse device common for all mice
[ 1.528026] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[ 1.528440] TCP cubic registered
[ 1.528473] NET: Registered protocol family 17
[ 1.528576] registered taskstats version 1
[ 1.533576] rtc-efi rtc-efi: setting system clock to 2010-01-09
11:29:01 UTC (1263036541)
[ 1.533650] Freeing unused kernel memory: 848kB freed
[ 1.751380] usbcore: registered new interface driver usbfs
[ 1.751587] usbcore: registered new interface driver hub
[ 1.751661] usbcore: registered new device driver usb
[ 1.774483] SCSI subsystem initialized
[ 1.782395] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.782457] e100: Copyright(c) 1999-2006 Intel Corporation
[ 1.782736] GSI 20 (level, low) -> CPU 1 (0x0100) vector 52
[ 1.782772] e100 0000:00:03.0: PCI INT A -> GSI 20 (level, low) -> IRQ 52
[ 1.798620] Uniform Multi-Platform E-IDE driver
[ 1.809171] Fusion MPT base driver 3.04.13
[ 1.809203] Copyright (c) 1999-2008 LSI Corporation
[ 1.821022] Fusion MPT SPI Host driver 3.04.13
[ 1.824000] GSI 27 (level, low) -> CPU 0 (0x0000) vector 53
[ 1.824036] mptspi 0000:20:01.0: PCI INT A -> GSI 27 (level, low) -> IRQ 53
[ 1.824164] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.824350] mptbase: ioc0: Initiating bringup
[ 1.879955] e100 0000:00:03.0: PME# disabled
[ 1.880317] e100: eth0: e100_probe: addr 0x80020000, irq 52, MAC
addr 00:30:6e:4a:d3:ab
[ 1.880393] cmd64x 0000:00:02.0: IDE controller (0x1095:0x0649 rev 0x02)
[ 1.880571] GSI 21 (level, low) -> CPU 1 (0x0100) vector 54
[ 1.880608] CMD64x_IDE 0000:00:02.0: PCI INT A -> GSI 21 (level,
low) -> IRQ 54
[ 1.880750] cmd64x 0000:00:02.0: IDE port disabled
[ 1.880891] cmd64x 0000:00:02.0: 100% native mode on irq 54
[ 1.880964] ide0: BM-DMA at 0x0d40-0x0d47
[ 1.881034] Probing IDE interface ide0...
[ 2.282378] hda: DV-28E-B, ATAPI CD/DVD-ROM drive
[ 2.305238] ioc0: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 2.954146] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 2.959720] hda: UDMA/33 mode selected
[ 2.960014] ide0 at 0xd58-0xd5f,0xd66 on irq 54
[ 2.960301] GSI 18 (level, low) -> CPU 0 (0x0000) vector 55
[ 2.960336] ehci_hcd 0000:00:01.2: PCI INT C -> GSI 18 (level, low) -> IRQ 55
[ 2.960407] ehci_hcd 0000:00:01.2: EHCI Host Controller
[ 2.960465] ehci_hcd 0000:00:01.2: new USB bus registered, assigned
bus number 1
[ 2.982162] ehci_hcd 0000:00:01.2: irq 55, io mem 0x80021000
[ 2.987680] scsi0 : ioc0: LSI53C1030 B2, FwRev\x01032300h, Ports=1,
MaxQ%5, IRQS
[ 2.994254] ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 0.95
[ 2.994323] usb usb1: New USB device found, idVendor\x1d6b, idProduct\002
[ 2.994360] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 2.994406] usb usb1: Product: EHCI Host Controller
[ 2.994439] usb usb1: Manufacturer: Linux 2.6.33-rc3 ehci_hcd
[ 2.994473] usb usb1: SerialNumber: 0000:00:01.2
[ 2.994613] hub 1-0:1.0: USB hub found
[ 2.994648] hub 1-0:1.0: 5 ports detected
[ 3.027220] libata version 3.00 loaded.
[ 3.029134] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.029334] GSI 16 (level, low) -> CPU 1 (0x0100) vector 56
[ 3.029370] ohci_hcd 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 56
[ 3.029443] ohci_hcd 0000:00:01.0: OHCI Host Controller
[ 3.029491] ohci_hcd 0000:00:01.0: new USB bus registered, assigned
bus number 2
[ 3.029561] ohci_hcd 0000:00:01.0: irq 56, io mem 0x80023000
[ 3.595325] usb usb2: New USB device found, idVendor\x1d6b, idProduct\001
[ 3.595362] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 3.595408] usb usb2: Product: OHCI Host Controller
[ 3.595441] usb usb2: Manufacturer: Linux 2.6.33-rc3 ohci_hcd
[ 3.595475] usb usb2: SerialNumber: 0000:00:01.0
[ 3.595704] hub 2-0:1.0: USB hub found
[ 3.595742] hub 2-0:1.0: 3 ports detected
[ 3.595990] GSI 17 (level, low) -> CPU 0 (0x0000) vector 57
[ 3.596026] ohci_hcd 0000:00:01.1: PCI INT B -> GSI 17 (level, low) -> IRQ 57
[ 3.596095] ohci_hcd 0000:00:01.1: OHCI Host Controller
[ 3.596273] ohci_hcd 0000:00:01.1: new USB bus registered, assigned
bus number 3
[ 3.596340] ohci_hcd 0000:00:01.1: irq 57, io mem 0x80022000
[ 3.604083] ide-cd driver 5.00
[ 3.610250] ide-cd: hda: ATAPI 24X DVD-ROM drive, 256kB Cache
[ 3.610351] Uniform CD-ROM driver Revision: 3.20
[ 3.635313] tg3.c:v3.105 (December 2, 2009)
[ 3.635545] GSI 29 (level, low) -> CPU 1 (0x0100) vector 58
[ 3.635582] tg3 0000:20:02.0: PCI INT A -> GSI 29 (level, low) -> IRQ 58
[ 4.147303] scsi 0:0:0:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 4.147363] scsi target0:0:0: Beginning Domain Validation
[ 4.162350] scsi target0:0:0: Ending Domain Validation
[ 4.162455] scsi target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 4.163328] usb usb3: New USB device found, idVendor\x1d6b, idProduct\001
[ 4.163364] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.163410] usb usb3: Product: OHCI Host Controller
[ 4.163443] usb usb3: Manufacturer: Linux 2.6.33-rc3 ohci_hcd
[ 4.163477] usb usb3: SerialNumber: 0000:00:01.1
[ 4.163831] hub 3-0:1.0: USB hub found
[ 4.163871] hub 3-0:1.0: 2 ports detected
[ 4.165273] scsi 0:0:1:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 4.165325] scsi target0:0:1: Beginning Domain Validation
[ 4.180334] scsi target0:0:1: Ending Domain Validation
[ 4.180438] scsi target0:0:1: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 4.390075] usb 2-1: new low speed USB device using ohci_hcd and address 2
[ 4.565278] usb 2-1: New USB device found, idVendor\x045e, idProduct\040
[ 4.565315] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.565351] usb 2-1: Product: Microsoft Wheel Mouse Optical®
[ 4.565385] usb 2-1: Manufacturer: Microsoft
[ 4.580881] usbcore: registered new interface driver hiddev
[ 4.589431] input: Microsoft Microsoft Wheel Mouse Optical® as
/devices/pci0000:00/0000:00:01.0/usb2/2-1/2-1:1.0/input/input2
[ 4.589594] generic-usb 0003:045E:0040.0001: input,hidraw0: USB HID
v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical®] on
usb-0000:00:01.0-1/input0
[ 4.589747] usbcore: registered new interface driver usbhid
[ 4.589781] usbhid: USB HID core driver
[ 4.902081] usb 3-1: new low speed USB device using ohci_hcd and address 2
[ 5.012003] eth1: Tigon3 [partno(BCM95700A6) rev 0105]
(PCI:66MHz:64-bit) MAC address 00:30:6e:4a:d2:bd
[ 5.012054] eth1: attached PHY is 5701 (10/100/1000Base-T Ethernet)
(WireSpeed[1])
[ 5.012101] eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[0]
[ 5.012136] eth1: dma_rwctrl[76ff2d0f] dma_mask[64-bit]
[ 5.012364] GSI 28 (level, low) -> CPU 0 (0x0000) vector 59
[ 5.012399] mptspi 0000:20:01.1: PCI INT B -> GSI 28 (level, low) -> IRQ 59
[ 5.012765] mptbase: ioc1: Initiating bringup
[ 5.073281] usb 3-1: New USB device found, idVendor\x03f0, idProduct\024
[ 5.073318] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.073354] usb 3-1: Product: HP Basic USB Keyboard
[ 5.073387] usb 3-1: Manufacturer: CHICONY
[ 5.085466] input: CHICONY HP Basic USB Keyboard as
/devices/pci0000:00/0000:00:01.1/usb3/3-1/3-1:1.0/input/input3
[ 5.085551] generic-usb 0003:03F0:0024.0002: input,hidraw1: USB HID
v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on
usb-0000:00:01.1-1/input0
[ 5.490083] ioc1: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 6.172539] scsi1 : ioc1: LSI53C1030 B2, FwRev\x01032300h, Ports=1,
MaxQ%5, IRQY
[ 7.318529] scsi 1:0:2:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 7.318584] scsi target1:0:2: Beginning Domain Validation
[ 7.333576] scsi target1:0:2: Ending Domain Validation
[ 7.334291] scsi target1:0:2: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 8.818796] sd 0:0:0:0: [sda] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 8.818864] sd 0:0:1:0: [sdb] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 8.820119] sd 0:0:0:0: [sda] Write Protect is off
[ 8.820153] sd 0:0:0:0: [sda] Mode Sense: d3 00 10 08
[ 8.820172] sd 0:0:1:0: [sdb] Write Protect is off
[ 8.820206] sd 0:0:1:0: [sdb] Mode Sense: d3 00 10 08
[ 8.821729] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 8.821837] sd 0:0:1:0: [sdb] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 8.825206] sda:
[ 8.825311] sdb: sda1 sda2 sda3
[ 8.847910] sdb1 sdb2 sdb3
[ 8.851789] sd 0:0:1:0: [sdb] Attached SCSI disk
[ 8.851837] sd 0:0:0:0: [sda] Attached SCSI disk
[ 9.251795] EXT4-fs (sdb2): mounted filesystem with ordered data mode
[ 10.337911] sd 1:0:2:0: [sdc] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.339235] sd 1:0:2:0: [sdc] Write Protect is off
[ 10.339269] sd 1:0:2:0: [sdc] Mode Sense: d3 00 10 08
[ 10.340843] sd 1:0:2:0: [sdc] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.344283] sdc: sdc1 sdc2 sdc3
[ 10.371658] sd 1:0:2:0: [sdc] Attached SCSI disk
[ 10.611198] udev: starting version 149
[ 11.142119] gameport: FM801 is pci0000:40:01.1/gameport0, io
0x3080, speed 875kHz
[ 11.830450] Linux video capture interface: v2.00
[ 12.099487] GSI 38 (level, low) -> CPU 1 (0x0100) vector 60
[ 12.099532] FM801 0000:40:01.0: PCI INT A -> GSI 38 (level, low) -> IRQ 60
[ 12.569300] Adding 2000768k swap on /dev/sdb3. Priority:-1
extents:1 across:2000768k
[ 12.778181] Linux agpgart interface v0.103
[ 12.786149] agp_hp_init
[ 12.885078] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 12.885115] GART at 0xe000004080ec0000
[ 12.885147] read cookie at 0xe000004080ec0000: 0xbadbadc0ffee
[ 12.885187] hp_zx1_create_gatt_table
[ 12.885833] (null): AGP aperture is 512M @ 0x60000000
[ 12.885866] agp_add_bridge: returning 0 (success)
[ 12.885899] hp_zx1_setup: agp_add_bridge returned 0
[ 12.885932] zx1_gart_probe: hp_zx1_setup returned 0
[ 12.885966] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 12.886001] GART at 0xe000004080ec0000
[ 12.886032] read cookie at 0xe000004080ec0000: 0x0
[ 12.886065] agpgart: No reserved IO PDIR entry found; GART disabled
[ 12.886099] hp_zx1_cleanup
[ 14.424347] fuse init (API version 7.13)
[ 16.119589] NET: Registered protocol family 10
[ 16.120235] lo: Disabled Privacy Extensions
[ 16.121127] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 16.311791] tg3: eth1: Link is up at 10 Mbps, half duplex.
[ 16.311836] tg3: eth1: Flow control is off for TX and off for RX.
[ 16.315552] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 17.025669] lp: driver loaded but no devices found
[ 17.031747] ppdev: user-space parallel port driver
[ 18.999705] GSI 60 (level, low) -> CPU 0 (0x0000) vector 61
[ 18.999711] pci 0000:80:00.0: PCI INT A -> GSI 60 (level, low) -> IRQ 61
[ 25.324840] [drm] Initialized drm 1.1.0 20060810
[ 25.641972] [drm] radeon defaulting to userspace modesetting.
[ 25.641979] [drm:drm_init],
[ 25.642056] [drm:drm_get_dev],
[ 25.642401] [drm:drm_get_minor],
[ 25.643105] [drm:drm_get_minor], new minor assigned 0
[ 25.643279] [drm:drm_addmap_core], offset = 0xd8030000, size 0x00010000, type = 1
[ 25.643290] [drm:radeon_driver_load], AGP card detected
[ 25.643295] [drm] Initialized radeon 1.31.0 20080528 for
0000:80:00.0 on minor 0
[ 25.644026] [drm:drm_stub_open],
[ 25.644031] [drm:drm_open_helper], pid = 1614, minor = 0
[ 25.644036] [drm:radeon_driver_open],
[ 25.644042] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 25.644074] [drm:drm_addmap_core], 65536 16 a000000203600000
[ 25.644081] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 25.644087] [drm:drm_setup],
[ 25.644149] [drm:drm_ioctl], pid\x1614, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 25.644164] [drm:drm_ioctl], pid\x1614, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 25.644174] [drm:drm_ioctl], pid\x1614, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 25.644217] [drm:drm_ioctl], pid\x1614, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.644224] [drm:drm_ioctl], pid\x1614, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.644314] [drm:drm_release], open_count = 1
[ 25.644318] [drm:drm_release], pid = 1614, device = 0xe200, open_count = 1
[ 25.644330] [drm:drm_lastclose],
[ 25.644336] [drm:radeon_do_cleanup_cp],
[ 25.644339] [drm:drm_lastclose], driver lastclose completed
[ 25.644345] [drm:drm_lastclose], lastclose completed
[ 25.939746] [drm:drm_stub_open],
[ 25.939750] [drm:drm_open_helper], pid = 1614, minor = 0
[ 25.939754] [drm:radeon_driver_open],
[ 25.939759] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 25.939793] [drm:drm_addmap_core], 65536 16 a000000203700000
[ 25.939799] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 25.939805] [drm:drm_setup],
[ 25.939823] [drm:drm_ioctl], pid\x1614, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.939830] [drm:drm_ioctl], pid\x1614, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.939841] [drm:drm_release], open_count = 1
[ 25.939845] [drm:drm_release], pid = 1614, device = 0xe200, open_count = 1
[ 25.939853] [drm:drm_lastclose],
[ 25.939858] [drm:radeon_do_cleanup_cp],
[ 25.939861] [drm:drm_lastclose], driver lastclose completed
[ 25.939865] [drm:drm_lastclose], lastclose completed
[ 25.939901] [drm:drm_stub_open],
[ 25.939904] [drm:drm_open_helper], pid = 1614, minor = 0
[ 25.939908] [drm:radeon_driver_open],
[ 25.939912] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 25.939942] [drm:drm_addmap_core], 65536 16 a000000203800000
[ 25.939947] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 25.939953] [drm:drm_setup],
[ 25.939967] [drm:drm_ioctl], pid\x1614, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.939973] [drm:drm_ioctl], pid\x1614, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.939982] [drm:drm_release], open_count = 1
[ 25.939985] [drm:drm_release], pid = 1614, device = 0xe200, open_count = 1
[ 25.939993] [drm:drm_lastclose],
[ 25.939998] [drm:radeon_do_cleanup_cp],
[ 25.940000] [drm:drm_lastclose], driver lastclose completed
[ 25.940004] [drm:drm_lastclose], lastclose completed
[ 25.940032] [drm:drm_stub_open],
[ 25.940035] [drm:drm_open_helper], pid = 1614, minor = 0
[ 25.940039] [drm:radeon_driver_open],
[ 25.940043] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 25.940073] [drm:drm_addmap_core], 65536 16 a000000203900000
[ 25.940078] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 25.940084] [drm:drm_setup],
[ 25.940104] [drm:drm_ioctl], pid\x1614, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 25.940112] [drm:drm_ioctl], pid\x1614, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 25.940118] [drm:drm_ioctl], pid\x1614, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 25.940136] [drm:drm_ioctl], pid\x1614, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 25.940154] [drm:drm_ioctl], pid\x1614, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 25.940160] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 25.940177] [drm:drm_mmap_locked], start = 0x200000000d500000, end
= 0x200000000d510000, page offset = 0x3dc0
[ 25.940183] [drm:drm_mmap_locked] *ERROR* Could not find map
[ 25.940208] [drm:drm_ioctl], pid\x1614, cmd=0x4028641b, nr=0x1b, dev
0xe200, auth=1
[ 25.940213] [drm:drm_ioctl], ret = ffffffea
[ 25.940227] [drm:drm_release], open_count = 1
[ 25.940230] [drm:drm_release], pid = 1614, device = 0xe200, open_count = 1
[ 25.940239] [drm:drm_lastclose],
[ 25.940243] [drm:radeon_do_cleanup_cp],
[ 25.940246] [drm:drm_lastclose], driver lastclose completed
[ 25.940250] [drm:drm_lastclose], lastclose completed
[ 27.298167] eth1: no IPv6 routers present
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (5 preceding siblings ...)
2010-01-09 11:46 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-11 17:54 ` Bjorn Helgaas
2010-01-11 18:23 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Luck, Tony
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-11 17:54 UTC (permalink / raw)
To: linux-ia64
On Saturday 09 January 2010 04:46:55 am Émeric Maschino wrote:
> > 2010/1/9 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> > Then for some reason we must be calling hp_zx1_setup() again, and this
> > time it failed because the cookie is gone. This could happen if
> > agp_add_bridge() failed, but I don't see a way it could fail after
> > printing the "AGP aperture is 512M" message.
> >
> > Can you try the attached patch, please?
>
> Please find below the dmesg output with the patches attached in your
> previous message. I don't have the impression that hp_zx1_setup() is
> called twice:
> [ 12.778181] Linux agpgart interface v0.103
> [ 12.786149] agp_hp_init
> [ 12.885078] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 12.885115] GART at 0xe000004080ec0000
> [ 12.885147] read cookie at 0xe000004080ec0000: 0xbadbadc0ffee
> [ 12.885187] hp_zx1_create_gatt_table
> [ 12.885833] (null): AGP aperture is 512M @ 0x60000000
> [ 12.885866] agp_add_bridge: returning 0 (success)
> [ 12.885899] hp_zx1_setup: agp_add_bridge returned 0
Here's what I don't understand. My code looks like this:
error = hp_zx1_setup(sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
printk("%s: hp_zx1_setup returned %d\n", __func__, error);
if (error)
return AE_OK;
printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
"(ioc=%llx, lba=%llx)\n", (char *)context,
sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
If hp_zx1_setup returned 0, we should see the "Detected HP ZX1
HWP0003 AGP chipset" message next, but we don't:
> [ 12.885932] zx1_gart_probe: hp_zx1_setup returned 0
> [ 12.885966] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 12.886001] GART at 0xe000004080ec0000
> [ 12.886032] read cookie at 0xe000004080ec0000: 0x0
> [ 12.886065] agpgart: No reserved IO PDIR entry found; GART disabled
> [ 12.886099] hp_zx1_cleanup
Is your code different? Can you instrument this area and figure
out what's going on? From the output, it seems like we're taking
the "return AE_OK" path, but we shouldn't be.
Bjorn
^ permalink raw reply [flat|nested] 20+ messages in thread* RE: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (6 preceding siblings ...)
2010-01-11 17:54 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-11 18:23 ` Luck, Tony
2010-01-11 18:35 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Luck, Tony @ 2010-01-11 18:23 UTC (permalink / raw)
To: linux-ia64
> printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
> "(ioc=%llx, lba=%llx)\n", (char *)context,
> sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
>
>If hp_zx1_setup returned 0, we should see the "Detected HP ZX1
>HWP0003 AGP chipset" message next, but we don't
Perhaps KERN_INFO is below the priority level of kernel
messages being logged?
-Tony
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (7 preceding siblings ...)
2010-01-11 18:23 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Luck, Tony
@ 2010-01-11 18:35 ` Bjorn Helgaas
2010-01-11 21:18 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-11 18:35 UTC (permalink / raw)
To: linux-ia64
On Monday 11 January 2010 11:23:30 am Luck, Tony wrote:
> > printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
> > "(ioc=%llx, lba=%llx)\n", (char *)context,
> > sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
> >
> >If hp_zx1_setup returned 0, we should see the "Detected HP ZX1
> >HWP0003 AGP chipset" message next, but we don't
>
> Perhaps KERN_INFO is below the priority level of kernel
> messages being logged?
Oh, crap, I bet you're right. I was assuming these were dmesg logs,
where everything would appear, but I bet they're console logs.
Émeric, can you grab the dmesg log instead, please?
Bjorn
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (8 preceding siblings ...)
2010-01-11 18:35 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-11 21:18 ` Émeric Maschino
2010-01-11 21:40 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-11 21:18 UTC (permalink / raw)
To: linux-ia64
2010/1/11 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> On Monday 11 January 2010 11:23:30 am Luck, Tony wrote:
>> > printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
>> > "(ioc=%llx, lba=%llx)\n", (char *)context,
>> > sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
>> >
>> >If hp_zx1_setup returned 0, we should see the "Detected HP ZX1
>> >HWP0003 AGP chipset" message next, but we don't
Sorry guys, my mistake: I had the return AE_OK line; duplicated!
> Émeric, can you grab the dmesg log instead, please?
OK, please find below the contents of /var/log/dmesg:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.33-rc3 (root@longspeak) (gcc version
4.3.4 (Debian 4.3.4-6) ) #2 SMP Fri Jan 8 20:36:36 CET 2010
[ 0.000000] EFI v1.10 by HP: SALsystab=0x3fb38000 ACPI
2.0=0x3fb2e000 SMBIOS=0x3fb3a000 HCDP=0x3fb2c000
[ 0.000000] booting generic kernel on platform hpzx1
[ 0.000000] PCDP: v0 at 0x3fb2c000
[ 0.000000] ACPI: RSDP 000000003fb2e000 00028 (v02 HP)
[ 0.000000] ACPI: XSDT 000000003fb2e02c 00094 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: FACP 000000003fb36800 000F4 (v03 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI Warning: 32/64X length mismatch in Gpe0Block:
32/16 (20091214/tbfadt-526)
[ 0.000000] ACPI Warning: 32/64X length mismatch in Gpe1Block:
32/16 (20091214/tbfadt-526)
[ 0.000000] ACPI: DSDT 000000003fb2e0e0 05781 (v01 HP zx6000
00000007 INTL 02012044)
[ 0.000000] ACPI: FACS 000000003fb368f8 00040
[ 0.000000] ACPI: SPCR 000000003fb36938 00050 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: DBGP 000000003fb36988 00034 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: APIC 000000003fb36a48 000B0 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: SPMI 000000003fb369c0 00050 (v04 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: CPEP 000000003fb36a10 00034 (v01 HP zx6000
00000000 HP 00000000)
[ 0.000000] ACPI: SSDT 000000003fb33870 001D6 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb33a50 00342 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb33da0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb347c0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb351e0 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb35c00 00A16 (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb36620 000EB (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: SSDT 000000003fb36710 000EF (v01 HP zx6000
00000006 INTL 02012044)
[ 0.000000] ACPI: Local APIC address c0000000fee00000
[ 0.000000] 2 CPUs available, 2 CPUs total
[ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.000000] Initial ramdisk at: 0xe0000040fe247000 (13944150 bytes)
[ 0.000000] SAL 3.1: HP version 2.31
[ 0.000000] SAL Platform features: None
[ 0.000000] SAL: AP wakeup using external interrupt vector 0xff
[ 0.000000] ACPI: Local APIC address c0000000fee00000
[ 0.000000] GSI 36 (level, low) -> CPU 0 (0x0000) vector 49
[ 0.000000] MCA related initialization done
[ 0.000000] Virtual mem_map starts at 0xa0007fffc7200000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000400 -> 0x00040000
[ 0.000000] Normal 0x00040000 -> 0x01040000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[6] active PFN ranges
[ 0.000000] 0: 0x00000400 -> 0x0000fd79
[ 0.000000] 0: 0x0000fec0 -> 0x0000fecb
[ 0.000000] 0: 0x00040000 -> 0x00060000
[ 0.000000] 0: 0x01010000 -> 0x0103ff5a
[ 0.000000] 0: 0x0103ff69 -> 0x0103ff84
[ 0.000000] 0: 0x0103ffa0 -> 0x0103fff0
[ 0.000000] On node 0 totalpages: 391497
[ 0.000000] free_area_init_node: node 0, pgdat e000000001300000,
node_mem_map a0007fffc720e000
[ 0.000000] DMA zone: 893 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 62983 pages, LIFO batch:7
[ 0.000000] Normal zone: 57344 pages used for memmap
[ 0.000000] Normal zone: 270277 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s30104 r8192 d27240 u65536 alloc=4*16384
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 333260
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line:
BOOT_IMAGE=scsi1:/EFI/debian/vmlinuz root=/dev/sdb2 drm.debug=1 ro
[ 0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes)
[ 0.000000] Memory: 6213952k/6238512k available (7026k code, 50000k
reserved, 3489k data, 848k init)
[ 0.000000] SLUB: Genslabs\x16, HWalign\x128, Order=0-3,
MinObjects=0, CPUs=2, Nodes%6
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:1024
[ 0.000000] CPU 0: base freq 0.000MHz, ITC ratio\x15/2, ITC
freq\x1500.000MHz+/-750ppm
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.004000] Calibrating delay loop... 2244.60 BogoMIPS (lpjD89216)
[ 0.100064] Security Framework initialized
[ 0.100102] SELinux: Disabled at boot.
[ 0.100430] Dentry cache hash table entries: 1048576 (order: 9,
8388608 bytes)
[ 0.107583] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes)
[ 0.111506] Mount-cache hash table entries: 1024
[ 0.111829] Initializing cgroup subsys ns
[ 0.111866] Initializing cgroup subsys cpuacct
[ 0.111902] Initializing cgroup subsys devices
[ 0.111936] Initializing cgroup subsys freezer
[ 0.111969] Initializing cgroup subsys net_cls
[ 0.112038] ACPI: Core revision 20091214
[ 0.114975] Boot processor id 0x0/0x0
[ 0.000000] Fixed BSP b0 value from CPU 1
[ 0.000000] CPU 1: synchronized ITC with CPU 0 (last diff -31
cycles, maxerr 669 cycles)
[ 0.000000] CPU 1: base freq 0.000MHz, ITC ratio\x15/2, ITC
freq\x1500.000MHz+/-750ppm
[ 0.117273] Brought up 2 CPUs
[ 0.117307] Total of 2 processors activated (4489.21 BogoMIPS).
[ 0.118318] DMI 2.3 present.
[ 0.118494] regulator: core version 0.5
[ 0.118581] NET: Registered protocol family 16
[ 0.118734] ACPI: bus type pci registered
[ 0.119357] bio: create slab <bio-0> at 0
[ 0.120238] ACPI: EC: Look up EC in DSDT
[ 0.129188] ACPI: Interpreter enabled
[ 0.129220] ACPI: (supports S0 S5)
[ 0.129292] ACPI: Using IOSAPIC for interrupt routing
[ 0.268370] ACPI: No dock devices found.
[ 0.281593] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.307987] pci_root HWP0002:00: host bridge window [io 0x0000-0x03af]
[ 0.308006] pci_root HWP0002:00: host bridge window [io 0x03e0-0x1fff]
[ 0.308042] pci_root HWP0002:00: host bridge window [mem
0x80000000-0x8fffffff]
[ 0.308089] pci_root HWP0002:00: host bridge window [mem
0x80004000000-0x80103fffffe]
[ 0.308730] pci 0000:00:01.0: reg 10: [mem 0x80023000-0x80023fff]
[ 0.309898] pci 0000:00:01.0: supports D1 D2
[ 0.309901] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
[ 0.309966] pci 0000:00:01.0: PME# disabled
[ 0.310612] pci 0000:00:01.1: reg 10: [mem 0x80022000-0x80022fff]
[ 0.311770] pci 0000:00:01.1: supports D1 D2
[ 0.311773] pci 0000:00:01.1: PME# supported from D0 D1 D2 D3hot
[ 0.311837] pci 0000:00:01.1: PME# disabled
[ 0.312493] pci 0000:00:01.2: reg 10: [mem 0x80021000-0x800210ff]
[ 0.313652] pci 0000:00:01.2: supports D1 D2
[ 0.313655] pci 0000:00:01.2: PME# supported from D0 D1 D2 D3hot
[ 0.313719] pci 0000:00:01.2: PME# disabled
[ 0.314515] pci 0000:00:02.0: reg 10: [io 0x0d58-0x0d5f]
[ 0.314640] pci 0000:00:02.0: reg 14: [io 0x0d64-0x0d67]
[ 0.314766] pci 0000:00:02.0: reg 18: [io 0x0d50-0x0d57]
[ 0.314891] pci 0000:00:02.0: reg 1c: [io 0x0d60-0x0d63]
[ 0.315017] pci 0000:00:02.0: reg 20: [io 0x0d40-0x0d4f]
[ 0.315718] pci 0000:00:02.0: supports D1 D2
[ 0.316372] pci 0000:00:03.0: reg 10: [mem 0x80020000-0x80020fff]
[ 0.316497] pci 0000:00:03.0: reg 14: [io 0x0d00-0x0d3f]
[ 0.316626] pci 0000:00:03.0: reg 18: [mem 0x80000000-0x8001ffff]
[ 0.317541] pci 0000:00:03.0: supports D1 D2
[ 0.317544] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.317608] pci 0000:00:03.0: PME# disabled
[ 0.318595] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI0._PRT]
[ 0.335756] ACPI: PCI Root Bridge [PCI1] (0000:20)
[ 0.366412] pci_root HWP0002:01: host bridge window [mem
0xff5e0000-0xff5e0007]
[ 0.366459] pci_root HWP0002:01: host bridge window [mem
0xff5e2000-0xff5e2007]
[ 0.366507] pci_root HWP0002:01: host bridge window [io 0x2000-0x2fff]
[ 0.366544] pci_root HWP0002:01: host bridge window [mem
0x90000000-0x97ffffff]
[ 0.366591] pci_root HWP0002:01: host bridge window [mem
0x90004000000-0x90103fffffe]
[ 0.367456] pci 0000:20:01.0: reg 10: [io 0x2100-0x21ff]
[ 0.367749] pci 0000:20:01.0: reg 14: [mem 0x90840000-0x9084ffff 64bit]
[ 0.368041] pci 0000:20:01.0: reg 1c: [mem 0x90830000-0x9083ffff 64bit]
[ 0.368334] pci 0000:20:01.0: reg 30: [mem 0x90400000-0x907fffff pref]
[ 0.368986] pci 0000:20:01.0: supports D1 D2
[ 0.369965] pci 0000:20:01.1: reg 10: [io 0x2000-0x20ff]
[ 0.370257] pci 0000:20:01.1: reg 14: [mem 0x90820000-0x9082ffff 64bit]
[ 0.370550] pci 0000:20:01.1: reg 1c: [mem 0x90810000-0x9081ffff 64bit]
[ 0.370843] pci 0000:20:01.1: reg 30: [mem 0x90000000-0x903fffff pref]
[ 0.371495] pci 0000:20:01.1: supports D1 D2
[ 0.372907] pci 0000:20:02.0: reg 10: [mem 0x90800000-0x9080ffff 64bit]
[ 0.374393] pci 0000:20:02.0: PME# supported from D3hot D3cold
[ 0.374469] pci 0000:20:02.0: PME# disabled
[ 0.375776] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI1._PRT]
[ 0.397173] ACPI: PCI Root Bridge [PCI2] (0000:40)
[ 0.421300] pci_root HWP0002:02: host bridge window [io 0x3000-0x5fff]
[ 0.421337] pci_root HWP0002:02: host bridge window [mem
0x98000000-0xafffffff]
[ 0.421384] pci_root HWP0002:02: host bridge window [mem
0xa0004000000-0xa0103fffffe]
[ 0.422243] pci 0000:40:01.0: reg 10: [io 0x3000-0x307f]
[ 0.423891] pci 0000:40:01.0: supports D2
[ 0.424742] pci 0000:40:01.1: reg 10: [io 0x3080-0x308f]
[ 0.426389] pci 0000:40:01.1: supports D1
[ 0.426393] pci 0000:40:01.1: PME# supported from D1 D3hot
[ 0.426482] pci 0000:40:01.1: PME# disabled
[ 0.428222] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI2._PRT]
[ 0.483306] ACPI: PCI Root Bridge [PCI3] (0000:60)
[ 0.507389] pci_root HWP0002:03: host bridge window [io 0x6000-0x7fff]
[ 0.507426] pci_root HWP0002:03: host bridge window [mem
0xb0000000-0xc7ffffff]
[ 0.507473] pci_root HWP0002:03: host bridge window [mem
0xb0004000000-0xb0103fffffe]
[ 0.509080] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI3._PRT]
[ 0.531256] ACPI: PCI Root Bridge [PCI4] (0000:80)
[ 0.560665] pci_root HWP0003:00: host bridge window [io 0x03b0-0x03df]
[ 0.560703] pci_root HWP0003:00: host bridge window [io 0x8000-0xbfff]
[ 0.560739] pci_root HWP0003:00: host bridge window [mem
0x000a0000-0x000fffff]
[ 0.560786] pci_root HWP0003:00: host bridge window [mem
0xc8000000-0xdfffffff]
[ 0.560833] pci_root HWP0003:00: host bridge window [mem
0xc0004000000-0xc0103fffffe]
[ 0.562070] pci 0000:80:00.0: reg 10: [mem 0xd0000000-0xd7ffffff pref]
[ 0.562295] pci 0000:80:00.0: reg 14: [io 0x8000-0x80ff]
[ 0.562520] pci 0000:80:00.0: reg 18: [mem 0xd8030000-0xd803ffff]
[ 0.563407] pci 0000:80:00.0: reg 30: [mem 0xd8000000-0xd801ffff pref]
[ 0.563577] pci 0000:80:00.0: Boot video device
[ 0.564555] pci 0000:80:00.0: supports D1 D2
[ 0.565779] pci 0000:80:00.1: reg 10: [mem 0xc8000000-0xcfffffff pref]
[ 0.566005] pci 0000:80:00.1: reg 14: [mem 0xd8020000-0xd802ffff]
[ 0.567884] pci 0000:80:00.1: supports D1 D2
[ 0.570162] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI4._PRT]
[ 0.624610] ACPI: PCI Root Bridge [PCI6] (0000:c0)
[ 0.648710] pci_root HWP0002:04: host bridge window [io 0xc000-0xdfff]
[ 0.648747] pci_root HWP0002:04: host bridge window [mem
0xe0000000-0xefffffff]
[ 0.648794] pci_root HWP0002:04: host bridge window [mem
0xe0004000000-0xe0103fffffe]
[ 0.650891] ACPI: PCI Interrupt Routing Table [\_SB_.SBA0.PCI6._PRT]
[ 0.658449] vgaarb: device added:
PCI:0000:80:00.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.658497] vgaarb: loaded
[ 0.704871] ioc_init: PAGE_SIZE 16K, iovp_size 16K
[ 0.704907] ioc_iova_init() hpa c0000000fed01000 IOV base
0x40000000 mask 0xffffffffc0000000 (1024MB)
[ 0.705183] ioc_iova_init() IOV page size 16K pdir e000004080e80000
size 80000
[ 0.707369] IOC: reserving 512Mb of IOVA space at 0x60000000 for agpgart
[ 0.707405] put cookie at 0xe000004080ec0000: 0xbadbadc0ffee
[ 0.707440] ioc_resource_init() res_size 0x1000
[ 0.707476] ioc_resource_init() res_map 1000 e000004080e2c000
[ 0.707512] IOC: zx1 2.3 HPA 0xfed01000 IOVA space 1024Mb at 0x40000000
[ 0.757826] Switching to clocksource itc
[ 0.759043] pnp: PnP ACPI init
[ 0.759099] ACPI: bus type pnp registered
[ 0.839792] GSI 34 (edge, high) -> CPU 1 (0x0100) vector 50
[ 0.840842] GSI 35 (edge, high) -> CPU 0 (0x0000) vector 51
[ 0.941058] pnp: PnP ACPI: found 10 devices
[ 0.941090] ACPI: ACPI bus type pnp unregistered
[ 0.941321] NET: Registered protocol family 2
[ 0.941505] IP route cache hash table entries: 262144 (order: 7,
2097152 bytes)
[ 0.942609] TCP established hash table entries: 524288 (order: 9,
8388608 bytes)
[ 0.949804] TCP bind hash table entries: 65536 (order: 6, 1048576 bytes)
[ 0.951430] TCP: Hash tables configured (established 524288 bind 65536)
[ 0.951468] TCP reno registered
[ 0.951510] UDP hash table entries: 4096 (order: 3, 131072 bytes)
[ 0.951720] UDP-Lite hash table entries: 4096 (order: 3, 131072 bytes)
[ 0.952086] NET: Registered protocol family 1
[ 0.952534] pci 0000:00:03.0: Firmware left e100 interrupts
enabled; disabling
[ 0.952929] PCI: CLS 128 bytes, default 128
[ 0.953019] Unpacking initramfs...
[ 1.430372] Freeing initrd memory: 13600kB freed
[ 1.430688] perfmon: version 2.0 IRQ 238
[ 1.430729] perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4
counters (47 bits)
[ 1.431445] perfmon: added sampling format default_format
[ 1.431480] perfmon_default_smpl: default_format v2.0 registered
[ 1.431657] audit: initializing netlink socket (disabled)
[ 1.431709] type 00 audit(1263243355.430:1): initialized
[ 1.432254] HugeTLB registered 256 MB page size, pre-allocated 0 pages
[ 1.434043] VFS: Disk quotas dquot_6.5.2
[ 1.434145] Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[ 1.434325] msgmni has been set to 12163
[ 1.434681] alg: No test for stdrng (krng)
[ 1.434779] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[ 1.434827] io scheduler noop registered
[ 1.434859] io scheduler deadline registered
[ 1.434962] io scheduler cfq registered (default)
[ 1.435220] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 1.435267] ACPI: Power Button [PWRF]
[ 1.435365] input: Sleep Button as
/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[ 1.435411] ACPI: Sleep Button [SLPF]
[ 1.525453] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.525493] ACPI: Thermal Zone [THM0] (27 C)
[ 1.526776] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.527052] 00:04: ttyS0 at MMIO 0xff5e0000 (irq = 50) is a 16550A
[ 1.527184] 00:05: ttyS1 at MMIO 0xff5e2000 (irq = 51) is a 16550A
[ 1.527418] mice: PS/2 mouse device common for all mice
[ 1.527512] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[ 1.527926] TCP cubic registered
[ 1.527959] NET: Registered protocol family 17
[ 1.528062] registered taskstats version 1
[ 1.533062] rtc-efi rtc-efi: setting system clock to 2010-01-11
20:55:55 UTC (1263243355)
[ 1.533136] Freeing unused kernel memory: 848kB freed
[ 1.752397] usbcore: registered new interface driver usbfs
[ 1.752523] usbcore: registered new interface driver hub
[ 1.752836] usbcore: registered new device driver usb
[ 1.755324] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.757308] GSI 18 (level, low) -> CPU 1 (0x0100) vector 52
[ 1.757345] ehci_hcd 0000:00:01.2: PCI INT C -> GSI 18 (level, low) -> IRQ 52
[ 1.757420] ehci_hcd 0000:00:01.2: EHCI Host Controller
[ 1.757478] ehci_hcd 0000:00:01.2: new USB bus registered, assigned
bus number 1
[ 1.759149] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.759187] e100: Copyright(c) 1999-2006 Intel Corporation
[ 1.786466] ehci_hcd 0000:00:01.2: irq 52, io mem 0x80021000
[ 1.787701] SCSI subsystem initialized
[ 1.806901] ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 0.95
[ 1.806976] usb usb1: New USB device found, idVendor\x1d6b, idProduct\002
[ 1.807012] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 1.807058] usb usb1: Product: EHCI Host Controller
[ 1.807092] usb usb1: Manufacturer: Linux 2.6.33-rc3 ehci_hcd
[ 1.807126] usb usb1: SerialNumber: 0000:00:01.2
[ 1.807262] hub 1-0:1.0: USB hub found
[ 1.807298] hub 1-0:1.0: 5 ports detected
[ 1.807626] GSI 20 (level, low) -> CPU 0 (0x0000) vector 53
[ 1.807663] e100 0000:00:03.0: PCI INT A -> GSI 20 (level, low) -> IRQ 53
[ 1.807722] Uniform Multi-Platform E-IDE driver
[ 1.821772] tg3.c:v3.105 (December 2, 2009)
[ 1.821975] GSI 29 (level, low) -> CPU 1 (0x0100) vector 54
[ 1.822011] tg3 0000:20:02.0: PCI INT A -> GSI 29 (level, low) -> IRQ 54
[ 1.823232] Fusion MPT base driver 3.04.13
[ 1.823264] Copyright (c) 1999-2008 LSI Corporation
[ 1.831985] Fusion MPT SPI Host driver 3.04.13
[ 1.840008] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.904896] e100 0000:00:03.0: PME# disabled
[ 1.905258] e100: eth0: e100_probe: addr 0x80020000, irq 53, MAC
addr 00:30:6e:4a:d3:ab
[ 1.905333] cmd64x 0000:00:02.0: IDE controller (0x1095:0x0649 rev 0x02)
[ 1.905517] GSI 21 (level, low) -> CPU 0 (0x0000) vector 55
[ 1.905553] CMD64x_IDE 0000:00:02.0: PCI INT A -> GSI 21 (level,
low) -> IRQ 55
[ 1.905696] cmd64x 0000:00:02.0: IDE port disabled
[ 1.905834] cmd64x 0000:00:02.0: 100% native mode on irq 55
[ 1.905905] ide0: BM-DMA at 0x0d40-0x0d47
[ 1.905975] Probing IDE interface ide0...
[ 2.309559] hda: DV-28E-B, ATAPI CD/DVD-ROM drive
[ 2.981312] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 2.986886] hda: UDMA/33 mode selected
[ 2.987175] ide0 at 0xd58-0xd5f,0xd66 on irq 55
[ 2.987456] GSI 16 (level, low) -> CPU 1 (0x0100) vector 56
[ 2.987492] ohci_hcd 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 56
[ 2.987562] ohci_hcd 0000:00:01.0: OHCI Host Controller
[ 2.987606] ohci_hcd 0000:00:01.0: new USB bus registered, assigned
bus number 2
[ 2.987670] ohci_hcd 0000:00:01.0: irq 56, io mem 0x80023000
[ 3.203986] eth1: Tigon3 [partno(BCM95700A6) rev 0105]
(PCI:66MHz:64-bit) MAC address 00:30:6e:4a:d2:bd
[ 3.204037] eth1: attached PHY is 5701 (10/100/1000Base-T Ethernet)
(WireSpeed[1])
[ 3.204085] eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[0]
[ 3.204120] eth1: dma_rwctrl[76ff2d0f] dma_mask[64-bit]
[ 3.204938] GSI 27 (level, low) -> CPU 0 (0x0000) vector 57
[ 3.204974] mptspi 0000:20:01.0: PCI INT A -> GSI 27 (level, low) -> IRQ 57
[ 3.205224] mptbase: ioc0: Initiating bringup
[ 3.555307] usb usb2: New USB device found, idVendor\x1d6b, idProduct\001
[ 3.555344] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 3.555390] usb usb2: Product: OHCI Host Controller
[ 3.555423] usb usb2: Manufacturer: Linux 2.6.33-rc3 ohci_hcd
[ 3.555457] usb usb2: SerialNumber: 0000:00:01.0
[ 3.555652] hub 2-0:1.0: USB hub found
[ 3.555691] hub 2-0:1.0: 3 ports detected
[ 3.562321] GSI 17 (level, low) -> CPU 1 (0x0100) vector 58
[ 3.562358] ohci_hcd 0000:00:01.1: PCI INT B -> GSI 17 (level, low) -> IRQ 58
[ 3.562428] ohci_hcd 0000:00:01.1: OHCI Host Controller
[ 3.562477] ohci_hcd 0000:00:01.1: new USB bus registered, assigned
bus number 3
[ 3.562552] ohci_hcd 0000:00:01.1: irq 58, io mem 0x80022000
[ 3.587876] libata version 3.00 loaded.
[ 3.813250] ioc0: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 4.128151] usb usb3: New USB device found, idVendor\x1d6b, idProduct\001
[ 4.128188] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.128234] usb usb3: Product: OHCI Host Controller
[ 4.128267] usb usb3: Manufacturer: Linux 2.6.33-rc3 ohci_hcd
[ 4.128301] usb usb3: SerialNumber: 0000:00:01.1
[ 4.128496] hub 3-0:1.0: USB hub found
[ 4.128533] hub 3-0:1.0: 2 ports detected
[ 4.136839] ide-cd driver 5.00
[ 4.142826] ide-cd: hda: ATAPI 24X DVD-ROM drive, 256kB Cache
[ 4.142926] Uniform CD-ROM driver Revision: 3.20
[ 4.297256] usb 2-1: new low speed USB device using ohci_hcd and address 2
[ 4.473279] usb 2-1: New USB device found, idVendor\x045e, idProduct\040
[ 4.473316] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.473353] usb 2-1: Product: Microsoft Wheel Mouse Optical®
[ 4.473387] usb 2-1: Manufacturer: Microsoft
[ 4.488769] usbcore: registered new interface driver hiddev
[ 4.495905] scsi0 : ioc0: LSI53C1030 B2, FwRev\x01032300h, Ports=1,
MaxQ%5, IRQW
[ 4.497398] input: Microsoft Microsoft Wheel Mouse Optical® as
/devices/pci0000:00/0000:00:01.0/usb2/2-1/2-1:1.0/input/input2
[ 4.497500] generic-usb 0003:045E:0040.0001: input,hidraw0: USB HID
v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical®] on
usb-0000:00:01.0-1/input0
[ 4.497586] usbcore: registered new interface driver usbhid
[ 4.497620] usbhid: USB HID core driver
[ 4.866083] usb 3-1: new low speed USB device using ohci_hcd and address 2
[ 5.035108] usb 3-1: New USB device found, idVendor\x03f0, idProduct\024
[ 5.035145] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.035181] usb 3-1: Product: HP Basic USB Keyboard
[ 5.035214] usb 3-1: Manufacturer: CHICONY
[ 5.047299] input: CHICONY HP Basic USB Keyboard as
/devices/pci0000:00/0000:00:01.1/usb3/3-1/3-1:1.0/input/input3
[ 5.047384] generic-usb 0003:03F0:0024.0002: input,hidraw1: USB HID
v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on
usb-0000:00:01.1-1/input0
[ 5.131526] GSI 28 (level, low) -> CPU 0 (0x0000) vector 59
[ 5.131562] mptspi 0000:20:01.1: PCI INT B -> GSI 28 (level, low) -> IRQ 59
[ 5.131830] mptbase: ioc1: Initiating bringup
[ 5.610086] ioc1: LSI53C1030 B2: Capabilities={Initiator,Target}
[ 6.292603] scsi1 : ioc1: LSI53C1030 B2, FwRev\x01032300h, Ports=1,
MaxQ%5, IRQY
[ 6.293267] scsi 0:0:0:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 6.293325] scsi target0:0:0: Beginning Domain Validation
[ 6.952930] scsi target0:0:0: Ending Domain Validation
[ 6.953034] scsi target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 6.955828] scsi 0:0:1:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 6.955879] scsi target0:0:1: Beginning Domain Validation
[ 6.970884] scsi target0:0:1: Ending Domain Validation
[ 6.970985] scsi target0:0:1: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 7.436537] scsi 1:0:2:0: Direct-Access HP 73.4G ST373453LC
HPC5 PQ: 0 ANSI: 3
[ 7.436589] scsi target1:0:2: Beginning Domain Validation
[ 7.451587] scsi target1:0:2: Ending Domain Validation
[ 7.452295] scsi target1:0:2: FAST-160 WIDE SCSI 320.0 MB/s DT IU
QAS RTI WRFLOW PCOMP (6.25 ns, offset 63)
[ 10.232934] sd 0:0:0:0: [sda] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.233101] sd 0:0:1:0: [sdb] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.234256] sd 0:0:0:0: [sda] Write Protect is off
[ 10.234290] sd 0:0:0:0: [sda] Mode Sense: d3 00 10 08
[ 10.234413] sd 0:0:1:0: [sdb] Write Protect is off
[ 10.234447] sd 0:0:1:0: [sdb] Mode Sense: d3 00 10 08
[ 10.235862] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.236018] sd 0:0:1:0: [sdb] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.239322] sda:
[ 10.239450] sdb: sda1 sda2 sda3
[ 10.263652] sdb1 sdb2 sdb3
[ 10.264570] sd 0:0:0:0: [sda] Attached SCSI disk
[ 10.268270] sd 0:0:1:0: [sdb] Attached SCSI disk
[ 10.455713] sd 1:0:2:0: [sdc] 143374738 512-byte logical blocks:
(73.4 GB/68.3 GiB)
[ 10.457160] sd 1:0:2:0: [sdc] Write Protect is off
[ 10.457194] sd 1:0:2:0: [sdc] Mode Sense: d3 00 10 08
[ 10.458770] sd 1:0:2:0: [sdc] Write cache: disabled, read cache:
enabled, supports DPO and FUA
[ 10.462219] sdc: sdc1 sdc2 sdc3
[ 10.490504] sd 1:0:2:0: [sdc] Attached SCSI disk
[ 10.635614] EXT4-fs (sdb2): mounted filesystem with ordered data mode
[ 11.943029] udev: starting version 149
[ 12.366136] gameport: FM801 is pci0000:40:01.1/gameport0, io
0x3080, speed 875kHz
[ 13.015603] Linux video capture interface: v2.00
[ 13.222727] GSI 38 (level, low) -> CPU 1 (0x0100) vector 60
[ 13.222767] FM801 0000:40:01.0: PCI INT A -> GSI 38 (level, low) -> IRQ 60
[ 13.781229] Adding 2000768k swap on /dev/sdb3. Priority:-1
extents:1 across:2000768k
[ 13.986234] Linux agpgart interface v0.103
[ 13.992347] agp_hp_init
[ 14.091509] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 14.091546] GART at 0xe000004080ec0000
[ 14.091577] read cookie at 0xe000004080ec0000: 0xbadbadc0ffee
[ 14.091618] hp_zx1_create_gatt_table
[ 14.092261] (null): AGP aperture is 512M @ 0x60000000
[ 14.092295] agp_add_bridge: returning 0 (success)
[ 14.092328] hp_zx1_setup: agp_add_bridge returned 0
[ 14.092361] zx1_gart_probe: hp_zx1_setup returned 0
[ 14.092394] agpgart: Detected HP ZX1 HWP0003 AGP chipset
(iocþd01000, lbaþd28000)
[ 15.170624] fuse init (API version 7.13)
[ 17.241305] NET: Registered protocol family 10
[ 17.242003] lo: Disabled Privacy Extensions
[ 17.242896] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 17.687542] tg3: eth1: Link is up at 10 Mbps, half duplex.
[ 17.687594] tg3: eth1: Flow control is off for TX and off for RX.
[ 17.691303] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 18.173271] lp: driver loaded but no devices found
[ 18.179094] ppdev: user-space parallel port driver
Looks as expected this time :-)
I've initially posted the dmesg command output because drm-related
messages don't seem to be logged in /var/log/dmesg. We thus could have
the impression that everything is fine, but the dmesg command output
reveals that the drm_mmap_locked error is still there:
[ 26.337042] [drm] Initialized drm 1.1.0 20060810
[ 26.654034] [drm] radeon defaulting to userspace modesetting.
[ 26.654042] [drm:drm_init],
[ 26.654119] [drm:drm_get_dev],
[ 26.654674] [drm:drm_get_minor],
[ 26.656293] [drm:drm_get_minor], new minor assigned 0
[ 26.656468] [drm:drm_addmap_core], offset = 0xd8030000, size 0x00010000, type = 1
[ 26.656478] [drm:radeon_driver_load], AGP card detected
[ 26.656483] [drm] Initialized radeon 1.31.0 20080528 for
0000:80:00.0 on minor 0
[ 26.657092] [drm:drm_stub_open],
[ 26.657097] [drm:drm_open_helper], pid = 1576, minor = 0
[ 26.657102] [drm:radeon_driver_open],
[ 26.657107] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.657140] [drm:drm_addmap_core], 65536 16 a000000203600000
[ 26.657147] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.657154] [drm:drm_setup],
[ 26.657215] [drm:drm_ioctl], pid\x1576, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.657230] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.657240] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.657284] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.657291] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.657383] [drm:drm_release], open_count = 1
[ 26.657387] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
[ 26.657398] [drm:drm_lastclose],
[ 26.657404] [drm:radeon_do_cleanup_cp],
[ 26.657407] [drm:drm_lastclose], driver lastclose completed
[ 26.657413] [drm:drm_lastclose], lastclose completed
[ 26.963807] [drm:drm_stub_open],
[ 26.963811] [drm:drm_open_helper], pid = 1576, minor = 0
[ 26.963816] [drm:radeon_driver_open],
[ 26.963820] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.963855] [drm:drm_addmap_core], 65536 16 a000000203700000
[ 26.963860] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.963866] [drm:drm_setup],
[ 26.963885] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.963892] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.963903] [drm:drm_release], open_count = 1
[ 26.963906] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
[ 26.963915] [drm:drm_lastclose],
[ 26.963919] [drm:radeon_do_cleanup_cp],
[ 26.963923] [drm:drm_lastclose], driver lastclose completed
[ 26.963927] [drm:drm_lastclose], lastclose completed
[ 26.963963] [drm:drm_stub_open],
[ 26.963966] [drm:drm_open_helper], pid = 1576, minor = 0
[ 26.963970] [drm:radeon_driver_open],
[ 26.963974] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.964005] [drm:drm_addmap_core], 65536 16 a000000203800000
[ 26.964010] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.964016] [drm:drm_setup],
[ 26.964029] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.964036] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.964044] [drm:drm_release], open_count = 1
[ 26.964048] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
[ 26.964056] [drm:drm_lastclose],
[ 26.964060] [drm:radeon_do_cleanup_cp],
[ 26.964063] [drm:drm_lastclose], driver lastclose completed
[ 26.964067] [drm:drm_lastclose], lastclose completed
[ 26.964095] [drm:drm_stub_open],
[ 26.964098] [drm:drm_open_helper], pid = 1576, minor = 0
[ 26.964102] [drm:radeon_driver_open],
[ 26.964106] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.964136] [drm:drm_addmap_core], 65536 16 a000000203900000
[ 26.964141] [drm:drm_addmap_core], offset = 0xd0000000, size 0x08000000, type = 0
[ 26.964147] [drm:drm_setup],
[ 26.964167] [drm:drm_ioctl], pid\x1576, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.964175] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.964181] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.964199] [drm:drm_ioctl], pid\x1576, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.964217] [drm:drm_ioctl], pid\x1576, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 26.964223] [drm:drm_addmap_core], offset = 0x00000000, size 0x00010000, type = 2
[ 26.964241] [drm:drm_mmap_locked], start = 0x200000000d500000, end
= 0x200000000d510000, page offset = 0x3dc0
[ 26.964247] [drm:drm_mmap_locked] *ERROR* Could not find map
[ 26.964271] [drm:drm_ioctl], pid\x1576, cmd=0x4028641b, nr=0x1b, dev
0xe200, auth=1
[ 26.964277] [drm:drm_ioctl], ret = ffffffea
[ 26.964291] [drm:drm_release], open_count = 1
[ 26.964294] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
[ 26.964302] [drm:drm_lastclose],
[ 26.964307] [drm:radeon_do_cleanup_cp],
[ 26.964310] [drm:drm_lastclose], driver lastclose completed
[ 26.964314] [drm:drm_lastclose], lastclose completed
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (9 preceding siblings ...)
2010-01-11 21:18 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-11 21:40 ` Bjorn Helgaas
2010-01-13 7:15 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-11 21:40 UTC (permalink / raw)
To: linux-ia64
On Monday 11 January 2010 02:18:11 pm Émeric Maschino wrote:
> 2010/1/11 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> > On Monday 11 January 2010 11:23:30 am Luck, Tony wrote:
> >> > printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
> >> > "(ioc=%llx, lba=%llx)\n", (char *)context,
> >> > sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
> >> >
> >> >If hp_zx1_setup returned 0, we should see the "Detected HP ZX1
> >> >HWP0003 AGP chipset" message next, but we don't
>
> Sorry guys, my mistake: I had the return AE_OK line; duplicated!
Probably my fault for sending you an additional patch; sometimes
"patch" adds things twice if things don't match up exactly right.
> [ 13.986234] Linux agpgart interface v0.103
> [ 13.992347] agp_hp_init
> [ 14.091509] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
> [ 14.091546] GART at 0xe000004080ec0000
> [ 14.091577] read cookie at 0xe000004080ec0000: 0xbadbadc0ffee
> [ 14.091618] hp_zx1_create_gatt_table
> [ 14.092261] (null): AGP aperture is 512M @ 0x60000000
> [ 14.092295] agp_add_bridge: returning 0 (success)
> [ 14.092328] hp_zx1_setup: agp_add_bridge returned 0
> [ 14.092361] zx1_gart_probe: hp_zx1_setup returned 0
> [ 14.092394] agpgart: Detected HP ZX1 HWP0003 AGP chipset
> (iocþd01000, lbaþd28000)
> Looks as expected this time :-)
Yep! So you should be able to remove the debug patches and go back to
the plain upstream kernel + the "ACPICA: acpi_get_object_info(): fixup
array -> pointer conversion" bug fix.
Right? I'm a bit confused because that should have been what you were
testing here: http://marc.info/?l=linux-ia64&m\x126290536216298&w=2,
unless you applied the patch by hand and made a mistake.
> I've initially posted the dmesg command output because drm-related
> messages don't seem to be logged in /var/log/dmesg. We thus could have
> the impression that everything is fine, but the dmesg command output
> reveals that the drm_mmap_locked error is still there:
I'm afraid I won't be much help with the DRM issue below. I think
you'll have better luck with the dri-devel people now. If this is
a regression and you can identify an old working kernel, that might
help.
Bjorn
> [ 26.337042] [drm] Initialized drm 1.1.0 20060810
> [ 26.654034] [drm] radeon defaulting to userspace modesetting.
> [ 26.654042] [drm:drm_init],
> [ 26.654119] [drm:drm_get_dev],
> [ 26.654674] [drm:drm_get_minor],
> [ 26.656293] [drm:drm_get_minor], new minor assigned 0
> [ 26.656468] [drm:drm_addmap_core], offset = 0xd8030000, size > 0x00010000, type = 1
> [ 26.656478] [drm:radeon_driver_load], AGP card detected
> [ 26.656483] [drm] Initialized radeon 1.31.0 20080528 for
> 0000:80:00.0 on minor 0
> [ 26.657092] [drm:drm_stub_open],
> [ 26.657097] [drm:drm_open_helper], pid = 1576, minor = 0
> [ 26.657102] [drm:radeon_driver_open],
> [ 26.657107] [drm:drm_addmap_core], offset = 0x00000000, size > 0x00010000, type = 2
> [ 26.657140] [drm:drm_addmap_core], 65536 16 a000000203600000
> [ 26.657147] [drm:drm_addmap_core], offset = 0xd0000000, size > 0x08000000, type = 0
> [ 26.657154] [drm:drm_setup],
> [ 26.657215] [drm:drm_ioctl], pid\x1576, cmd=0xc0106407, nr=0x07, dev
> 0xe200, auth=1
> [ 26.657230] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
> 0xe200, auth=1
> [ 26.657240] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
> 0xe200, auth=1
> [ 26.657284] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
> 0xe200, auth=1
> [ 26.657291] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
> 0xe200, auth=1
> [ 26.657383] [drm:drm_release], open_count = 1
> [ 26.657387] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
> [ 26.657398] [drm:drm_lastclose],
> [ 26.657404] [drm:radeon_do_cleanup_cp],
> [ 26.657407] [drm:drm_lastclose], driver lastclose completed
> [ 26.657413] [drm:drm_lastclose], lastclose completed
> [ 26.963807] [drm:drm_stub_open],
> [ 26.963811] [drm:drm_open_helper], pid = 1576, minor = 0
> [ 26.963816] [drm:radeon_driver_open],
> [ 26.963820] [drm:drm_addmap_core], offset = 0x00000000, size > 0x00010000, type = 2
> [ 26.963855] [drm:drm_addmap_core], 65536 16 a000000203700000
> [ 26.963860] [drm:drm_addmap_core], offset = 0xd0000000, size > 0x08000000, type = 0
> [ 26.963866] [drm:drm_setup],
> [ 26.963885] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
> 0xe200, auth=1
> [ 26.963892] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
> 0xe200, auth=1
> [ 26.963903] [drm:drm_release], open_count = 1
> [ 26.963906] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
> [ 26.963915] [drm:drm_lastclose],
> [ 26.963919] [drm:radeon_do_cleanup_cp],
> [ 26.963923] [drm:drm_lastclose], driver lastclose completed
> [ 26.963927] [drm:drm_lastclose], lastclose completed
> [ 26.963963] [drm:drm_stub_open],
> [ 26.963966] [drm:drm_open_helper], pid = 1576, minor = 0
> [ 26.963970] [drm:radeon_driver_open],
> [ 26.963974] [drm:drm_addmap_core], offset = 0x00000000, size > 0x00010000, type = 2
> [ 26.964005] [drm:drm_addmap_core], 65536 16 a000000203800000
> [ 26.964010] [drm:drm_addmap_core], offset = 0xd0000000, size > 0x08000000, type = 0
> [ 26.964016] [drm:drm_setup],
> [ 26.964029] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
> 0xe200, auth=1
> [ 26.964036] [drm:drm_ioctl], pid\x1576, cmd=0xc0406400, nr=0x00, dev
> 0xe200, auth=1
> [ 26.964044] [drm:drm_release], open_count = 1
> [ 26.964048] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
> [ 26.964056] [drm:drm_lastclose],
> [ 26.964060] [drm:radeon_do_cleanup_cp],
> [ 26.964063] [drm:drm_lastclose], driver lastclose completed
> [ 26.964067] [drm:drm_lastclose], lastclose completed
> [ 26.964095] [drm:drm_stub_open],
> [ 26.964098] [drm:drm_open_helper], pid = 1576, minor = 0
> [ 26.964102] [drm:radeon_driver_open],
> [ 26.964106] [drm:drm_addmap_core], offset = 0x00000000, size > 0x00010000, type = 2
> [ 26.964136] [drm:drm_addmap_core], 65536 16 a000000203900000
> [ 26.964141] [drm:drm_addmap_core], offset = 0xd0000000, size > 0x08000000, type = 0
> [ 26.964147] [drm:drm_setup],
> [ 26.964167] [drm:drm_ioctl], pid\x1576, cmd=0xc0106407, nr=0x07, dev
> 0xe200, auth=1
> [ 26.964175] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
> 0xe200, auth=1
> [ 26.964181] [drm:drm_ioctl], pid\x1576, cmd=0xc0106401, nr=0x01, dev
> 0xe200, auth=1
> [ 26.964199] [drm:drm_ioctl], pid\x1576, cmd=0xc0106407, nr=0x07, dev
> 0xe200, auth=1
> [ 26.964217] [drm:drm_ioctl], pid\x1576, cmd=0xc0286415, nr=0x15, dev
> 0xe200, auth=1
> [ 26.964223] [drm:drm_addmap_core], offset = 0x00000000, size > 0x00010000, type = 2
> [ 26.964241] [drm:drm_mmap_locked], start = 0x200000000d500000, end
> = 0x200000000d510000, page offset = 0x3dc0
> [ 26.964247] [drm:drm_mmap_locked] *ERROR* Could not find map
> [ 26.964271] [drm:drm_ioctl], pid\x1576, cmd=0x4028641b, nr=0x1b, dev
> 0xe200, auth=1
> [ 26.964277] [drm:drm_ioctl], ret = ffffffea
> [ 26.964291] [drm:drm_release], open_count = 1
> [ 26.964294] [drm:drm_release], pid = 1576, device = 0xe200, open_count = 1
> [ 26.964302] [drm:drm_lastclose],
> [ 26.964307] [drm:radeon_do_cleanup_cp],
> [ 26.964310] [drm:drm_lastclose], driver lastclose completed
> [ 26.964314] [drm:drm_lastclose], lastclose completed
>
> Émeric
>
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (10 preceding siblings ...)
2010-01-11 21:40 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-13 7:15 ` Émeric Maschino
2010-01-13 17:13 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-13 7:15 UTC (permalink / raw)
To: linux-ia64
2010/1/11 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> Right? I'm a bit confused because that should have been what you were
> testing here: http://marc.info/?l=linux-ia64&m\x126290536216298&w=2,
> unless you applied the patch by hand and made a mistake.
I've probably incorrectly applied your patches without restarting from
the original file at each attempt. Anyway, it's fine now, thanks.
> I'm afraid I won't be much help with the DRM issue below. I think
> you'll have better luck with the dri-devel people now. If this is
> a regression and you can identify an old working kernel, that might
> help.
I've performed regression tests. The problem appears with kernel
2.6.30. Last working kernel is 2.6.29.6. I'm not a kernel developer,
but could this be due to this commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h•5b12def42e83287c1bdb1411d99451753c1391?
Please find below the output of the dmesg command (to have the drm:
messages recorded) of the failing kernel 2.6.30:
[ 13.514844] Linux agpgart interface v0.103
[ 13.621903] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 13.622262] <NULL>: AGP aperture is 512M @ 0x60000000
[ 13.622297] agpgart: Detected HP ZX1 HWP0003 AGP chipset
(iocþd01000, lbaþd28000)
<snip>
[ 19.646054] pci 0000:80:00.0: PCI INT A -> GSI 60 (level, low) -> IRQ 60
[ 25.955964] [drm] Initialized drm 1.1.0 20060810
[ 25.990291] [drm:drm_init]
[ 25.990371] [drm:drm_get_dev]
[ 25.990629] [drm:drm_get_minor]
[ 25.990754] [drm:drm_get_minor] new minor assigned 0
[ 25.990926] [drm:drm_addmap_core] offset = 0xd8030000, size 0x00010000, type = 1
[ 25.990937] [drm:radeon_driver_load] AGP card detected
[ 25.990941] [drm] Initialized radeon 1.30.0 20080528 for
0000:80:00.0 on minor 0
[ 25.992136] [drm:drm_stub_open]
[ 25.992141] [drm:drm_open_helper] pid = 1774, minor = 0
[ 25.992145] [drm:radeon_driver_open]
[ 25.992150] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 25.992173] [drm:drm_addmap_core] 65536 16 a000000202eb8000
[ 25.992178] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 25.992190] [drm:drm_setup]
[ 25.992241] [drm:drm_ioctl] pid\x1774, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 25.992254] [drm:drm_ioctl] pid\x1774, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 25.992262] [drm:drm_ioctl] pid\x1774, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 25.992300] [drm:drm_ioctl] pid\x1774, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.992307] [drm:drm_ioctl] pid\x1774, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 25.992393] [drm:drm_release] open_count = 1
[ 25.992397] [drm:drm_release] pid = 1774, device = 0xe200, open_count = 1
[ 25.992408] [drm:drm_lastclose]
[ 25.992413] [drm:radeon_do_cleanup_cp]
[ 25.992416] [drm:drm_lastclose] driver lastclose completed
[ 25.992421] [drm:drm_lastclose] lastclose completed
[ 26.302448] [drm:drm_stub_open]
[ 26.302452] [drm:drm_open_helper] pid = 1774, minor = 0
[ 26.302455] [drm:radeon_driver_open]
[ 26.302460] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 26.302484] [drm:drm_addmap_core] 65536 16 a000000202ed0000
[ 26.302488] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 26.302493] [drm:drm_setup]
[ 26.302512] [drm:drm_ioctl] pid\x1774, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.302519] [drm:drm_ioctl] pid\x1774, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.302528] [drm:drm_release] open_count = 1
[ 26.302531] [drm:drm_release] pid = 1774, device = 0xe200, open_count = 1
[ 26.302538] [drm:drm_lastclose]
[ 26.302542] [drm:radeon_do_cleanup_cp]
[ 26.302545] [drm:drm_lastclose] driver lastclose completed
[ 26.302548] [drm:drm_lastclose] lastclose completed
[ 26.302583] [drm:drm_stub_open]
[ 26.302586] [drm:drm_open_helper] pid = 1774, minor = 0
[ 26.302589] [drm:radeon_driver_open]
[ 26.302593] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 26.302613] [drm:drm_addmap_core] 65536 16 a000000202ee8000
[ 26.302617] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 26.302621] [drm:drm_setup]
[ 26.302636] [drm:drm_ioctl] pid\x1774, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.302642] [drm:drm_ioctl] pid\x1774, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.302648] [drm:drm_release] open_count = 1
[ 26.302652] [drm:drm_release] pid = 1774, device = 0xe200, open_count = 1
[ 26.302658] [drm:drm_lastclose]
[ 26.302662] [drm:radeon_do_cleanup_cp]
[ 26.302665] [drm:drm_lastclose] driver lastclose completed
[ 26.302668] [drm:drm_lastclose] lastclose completed
[ 26.302695] [drm:drm_stub_open]
[ 26.302698] [drm:drm_open_helper] pid = 1774, minor = 0
[ 26.302702] [drm:radeon_driver_open]
[ 26.302706] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 26.302726] [drm:drm_addmap_core] 65536 16 a000000202f00000
[ 26.302730] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 26.302735] [drm:drm_setup]
[ 26.302756] [drm:drm_ioctl] pid\x1774, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.302763] [drm:drm_ioctl] pid\x1774, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.302768] [drm:drm_ioctl] pid\x1774, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.302786] [drm:drm_ioctl] pid\x1774, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.302803] [drm:drm_ioctl] pid\x1774, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 26.302808] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 26.302825] [drm:drm_mmap_locked] start = 0x200000000d500000, end 0x200000000d510000, page offset = 0x3dc0
[ 26.302829] [drm:drm_mmap_locked] *ERROR* Could not find map
[ 26.302854] [drm:drm_ioctl] pid\x1774, cmd=0x4028641b, nr=0x1b, dev
0xe200, auth=1
[ 26.302858] [drm:drm_ioctl] ret = ffffffea
[ 26.302871] [drm:drm_release] open_count = 1
[ 26.302874] [drm:drm_release] pid = 1774, device = 0xe200, open_count = 1
[ 26.302881] [drm:drm_lastclose]
[ 26.302885] [drm:radeon_do_cleanup_cp]
[ 26.302887] [drm:drm_lastclose] driver lastclose completed
[ 26.302891] [drm:drm_lastclose] lastclose completed
And by contrast, here's the output of the working 2.6.29.6 kernel:
[ 14.702815] Linux agpgart interface v0.103
[ 14.816300] agpgart: HP ZX1 IOC: IOPDIR shared with sba_iommu
[ 14.816653] : AGP aperture is 512M @ 0x60000000
[ 14.816687] agpgart: Detected HP ZX1 HWP0003 AGP chipset
(iocþd01000, lbaþd28000)
<snip>
[ 20.592635] pci 0000:80:00.0: PCI INT A -> GSI 60 (level, low) -> IRQ 60
[ 26.873849] [drm] Initialized drm 1.1.0 20060810
[ 26.901139] [drm:drm_init]
[ 26.901213] [drm:drm_get_dev]
[ 26.901471] [drm:drm_get_minor]
[ 26.901585] [drm:drm_get_minor] new minor assigned 0
[ 26.901757] [drm:drm_addmap_core] offset = 0xd8030000, size 0x00010000, type = 1
[ 26.901765] [drm:radeon_driver_load] AGP card detected
[ 26.901768] [drm] Initialized radeon 1.29.0 20080528 on minor 0
[ 26.902633] [drm:drm_stub_open]
[ 26.902637] [drm:drm_open_helper] pid = 1843, minor = 0
[ 26.902641] [drm:radeon_driver_open]
[ 26.902645] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 26.902669] [drm:drm_addmap_core] 65536 16 a000000202f20000
[ 26.902674] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 26.902678] [drm:drm_setup]
[ 26.902721] [drm:drm_ioctl] pid\x1843, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 26.902732] [drm:drm_ioctl] pid\x1843, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.902739] [drm:drm_ioctl] pid\x1843, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 26.902772] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.902778] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 26.902862] [drm:drm_release] open_count = 1
[ 26.902865] [drm:drm_release] pid = 1843, device = 0xe200, open_count = 1
[ 26.902875] [drm:drm_lastclose]
[ 26.902880] [drm:radeon_do_cleanup_cp]
[ 26.902882] [drm:drm_lastclose] driver lastclose completed
[ 26.902887] [drm:drm_lastclose] lastclose completed
[ 27.208991] [drm:drm_stub_open]
[ 27.208994] [drm:drm_open_helper] pid = 1843, minor = 0
[ 27.208996] [drm:radeon_driver_open]
[ 27.209000] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 27.209025] [drm:drm_addmap_core] 65536 16 a000000202f38000
[ 27.209029] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 27.209033] [drm:drm_setup]
[ 27.209051] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.209057] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.209066] [drm:drm_release] open_count = 1
[ 27.209069] [drm:drm_release] pid = 1843, device = 0xe200, open_count = 1
[ 27.209075] [drm:drm_lastclose]
[ 27.209079] [drm:radeon_do_cleanup_cp]
[ 27.209081] [drm:drm_lastclose] driver lastclose completed
[ 27.209084] [drm:drm_lastclose] lastclose completed
[ 27.209118] [drm:drm_stub_open]
[ 27.209121] [drm:drm_open_helper] pid = 1843, minor = 0
[ 27.209123] [drm:radeon_driver_open]
[ 27.209127] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 27.209147] [drm:drm_addmap_core] 65536 16 a000000202f50000
[ 27.209151] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 27.209158] [drm:drm_setup]
[ 27.209171] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.209177] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.209183] [drm:drm_release] open_count = 1
[ 27.209186] [drm:drm_release] pid = 1843, device = 0xe200, open_count = 1
[ 27.209192] [drm:drm_lastclose]
[ 27.209195] [drm:radeon_do_cleanup_cp]
[ 27.209197] [drm:drm_lastclose] driver lastclose completed
[ 27.209201] [drm:drm_lastclose] lastclose completed
[ 27.209227] [drm:drm_stub_open]
[ 27.209229] [drm:drm_open_helper] pid = 1843, minor = 0
[ 27.209232] [drm:radeon_driver_open]
[ 27.209235] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 27.209254] [drm:drm_addmap_core] 65536 16 a000000202f68000
[ 27.209258] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 27.209262] [drm:drm_setup]
[ 27.209282] [drm:drm_ioctl] pid\x1843, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 27.209288] [drm:drm_ioctl] pid\x1843, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 27.209293] [drm:drm_ioctl] pid\x1843, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 27.209310] [drm:drm_ioctl] pid\x1843, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 27.209327] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.209331] [drm:drm_addmap_core] offset = 0x00000000, size 0x00010000, type = 2
[ 27.209347] [drm:drm_mmap_locked] start = 0x200000000d500000, end 0x200000000d510000, page offset = 0x8ffb
[ 27.209352] [drm:drm_vm_open_locked] 0x200000000d500000,0x00010000
[ 27.209361] [drm:drm_do_vm_shm_fault] shm_fault 0x0
[ 27.209366] [drm:drm_do_vm_shm_fault] shm_fault 0x4000
[ 27.209374] [drm:drm_do_vm_shm_fault] shm_fault 0x8000
[ 27.209379] [drm:drm_do_vm_shm_fault] shm_fault 0xc000
[ 27.209410] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.209414] [drm:drm_addmap_core] offset = 0xd0000000, size 0x08000000, type = 0
[ 27.209432] [drm:drm_ioctl] pid\x1843, cmd=0xc0106426, nr=0x26, dev
0xe200, auth=1
[ 27.209438] [drm:drm_ioctl] pid\x1843, cmd=0xc0106426, nr=0x26, dev
0xe200, auth=1
[ 27.209475] [drm:drm_ioctl] pid\x1843, cmd=0xc0086420, nr=0x20, dev
0xe200, auth=1
[ 27.209486] [drm:drm_addctx] 1
[ 27.209495] [drm:drm_ioctl] pid\x1843, cmd=0x40086422, nr=0x22, dev
0xe200, auth=1
[ 27.209515] [drm:drm_ioctl] pid\x1843, cmd=0x4008642a, nr=0x2a, dev
0xe200, auth=1
[ 27.209519] [drm:drm_lock] 1 (pid 1843) requests lock (0x00000000),
flags = 0x00000000
[ 27.209523] [drm:drm_lock] 1 has lock
[ 27.209545] [drm:drm_fasync] fd = 7, device = 0xe200
[ 27.209574] [drm:drm_ioctl] pid\x1843, cmd=0x6430, nr=0x30, dev 0xe200, auth=1
[ 27.209583] [drm:drm_ioctl] pid\x1843, cmd=0x80386433, nr=0x33, dev
0xe200, auth=1
[ 27.209592] [drm:drm_ioctl] pid\x1843, cmd=0x80386433, nr=0x33, dev
0xe200, auth=1
[ 27.209599] [drm:drm_ioctl] pid\x1843, cmd=0x80386433, nr=0x33, dev
0xe200, auth=1
[ 27.209631] [drm:drm_ioctl] pid\x1843, cmd=0x40086432, nr=0x32, dev
0xe200, auth=1
[ 27.211781] pci 0000:80:00.0: putting AGP V2 device into 2x mode
[ 27.212072] [drm:drm_ioctl] pid\x1843, cmd=0xc0206434, nr=0x34, dev
0xe200, auth=1
[ 27.230746] [drm:drm_ioctl] pid\x1843, cmd=0x40106436, nr=0x36, dev
0xe200, auth=1
[ 27.230819] [drm:drm_agp_bind] base = 0x60000000 entry->bound = 0x60000000
[ 27.230826] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.230830] [drm:drm_addmap_core] offset = 0x00000000, size 0x00104000, type = 3
[ 27.230834] [drm:drm_addmap_core] AGP offset = 0x60000000, size = 0x00104000
[ 27.230853] [drm:drm_mmap_locked] start = 0x200000000d600000, end 0x200000000d704000, page offset = 0x18000
[ 27.230858] [drm:drm_vm_open_locked] 0x200000000d600000,0x00104000
[ 27.230872] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.230876] [drm:drm_addmap_core] offset = 0x00104000, size 0x00004000, type = 3
[ 27.230879] [drm:drm_addmap_core] AGP offset = 0x60104000, size = 0x00004000
[ 27.230893] [drm:drm_mmap_locked] start = 0x200000000d800000, end 0x200000000d804000, page offset = 0x18041
[ 27.230897] [drm:drm_vm_open_locked] 0x200000000d800000,0x00004000
[ 27.230910] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.230914] [drm:drm_addmap_core] offset = 0x00108000, size 0x00200000, type = 3
[ 27.230917] [drm:drm_addmap_core] AGP offset = 0x60108000, size = 0x00200000
[ 27.230931] [drm:drm_mmap_locked] start = 0x200000000d900000, end 0x200000000db00000, page offset = 0x18042
[ 27.230935] [drm:drm_vm_open_locked] 0x200000000d900000,0x00200000
[ 27.230948] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.230952] [drm:drm_addmap_core] offset = 0x00308000, size 0x01c80000, type = 3
[ 27.230955] [drm:drm_addmap_core] AGP offset = 0x60308000, size = 0x01c80000
[ 27.230969] [drm:drm_mmap_locked] start = 0x200000000db00000, end 0x200000000f780000, page offset = 0x180c2
[ 27.230973] [drm:drm_vm_open_locked] 0x200000000db00000,0x01c80000
[ 27.230989] [drm:drm_ioctl] pid\x1843, cmd=0x80386433, nr=0x33, dev
0xe200, auth=1
[ 27.230994] [drm:drm_ioctl] pid\x1843, cmd=0xc0286415, nr=0x15, dev
0xe200, auth=1
[ 27.230998] [drm:drm_addmap_core] offset = 0xd8030000, size 0x00010000, type = 1
[ 27.231036] [drm:drm_ioctl] pid\x1843, cmd=0x40106459, nr=0x59, dev
0xe200, auth=1
[ 27.452149] [drm:drm_ioctl] pid\x1843, cmd=0x40786440, nr=0x40, dev
0xe200, auth=1
[ 27.452163] [drm:radeon_do_init_cp]
[ 27.452224] [drm] Setting GART location based on new memory map
[ 27.452228] [drm:radeon_do_init_cp] dev_priv->gart_size 33554432
[ 27.452230] [drm:radeon_do_init_cp] dev_priv->gart_vm_start 0x60000000
[ 27.452233] [drm:radeon_do_init_cp] dev_priv->gart_buffers_offset 0x60108000
[ 27.452238] [drm:radeon_cp_load_microcode]
[ 27.452243] [drm] Loading R300 Microcode
[ 27.452301] [drm:radeon_do_engine_reset]
[ 27.452308] [drm] Num pipes: 2
[ 27.452314] [drm:radeon_do_cp_reset]
[ 27.452318] [drm] writeback test succeeded in 1 usecs
[ 27.452336] [drm:drm_ioctl] pid\x1843, cmd=0xc0206416, nr=0x16, dev
0xe200, auth=1
[ 27.452340] [drm:drm_addbufs_agp] count: 32
[ 27.452342] [drm:drm_addbufs_agp] order: 16
[ 27.452344] [drm:drm_addbufs_agp] size: 65536
[ 27.452347] [drm:drm_addbufs_agp] agp_offset: 60108000
[ 27.452349] [drm:drm_addbufs_agp] alignment: 65536
[ 27.452351] [drm:drm_addbufs_agp] page_order: 2
[ 27.452353] [drm:drm_addbufs_agp] total: 65536
[ 27.452358] [drm:drm_addbufs_agp] buffer 0 @ 0000000060108000
[ 27.452361] [drm:drm_addbufs_agp] buffer 1 @ 0000000060118000
[ 27.452364] [drm:drm_addbufs_agp] buffer 2 @ 0000000060128000
[ 27.452366] [drm:drm_addbufs_agp] buffer 3 @ 0000000060138000
[ 27.452369] [drm:drm_addbufs_agp] buffer 4 @ 0000000060148000
[ 27.452372] [drm:drm_addbufs_agp] buffer 5 @ 0000000060158000
[ 27.452375] [drm:drm_addbufs_agp] buffer 6 @ 0000000060168000
[ 27.452377] [drm:drm_addbufs_agp] buffer 7 @ 0000000060178000
[ 27.452380] [drm:drm_addbufs_agp] buffer 8 @ 0000000060188000
[ 27.452383] [drm:drm_addbufs_agp] buffer 9 @ 0000000060198000
[ 27.452385] [drm:drm_addbufs_agp] buffer 10 @ 00000000601a8000
[ 27.452388] [drm:drm_addbufs_agp] buffer 11 @ 00000000601b8000
[ 27.452392] [drm:drm_addbufs_agp] buffer 12 @ 00000000601c8000
[ 27.452395] [drm:drm_addbufs_agp] buffer 13 @ 00000000601d8000
[ 27.452398] [drm:drm_addbufs_agp] buffer 14 @ 00000000601e8000
[ 27.452400] [drm:drm_addbufs_agp] buffer 15 @ 00000000601f8000
[ 27.452403] [drm:drm_addbufs_agp] buffer 16 @ 0000000060208000
[ 27.452406] [drm:drm_addbufs_agp] buffer 17 @ 0000000060218000
[ 27.452409] [drm:drm_addbufs_agp] buffer 18 @ 0000000060228000
[ 27.452411] [drm:drm_addbufs_agp] buffer 19 @ 0000000060238000
[ 27.452414] [drm:drm_addbufs_agp] buffer 20 @ 0000000060248000
[ 27.452417] [drm:drm_addbufs_agp] buffer 21 @ 0000000060258000
[ 27.452419] [drm:drm_addbufs_agp] buffer 22 @ 0000000060268000
[ 27.452422] [drm:drm_addbufs_agp] buffer 23 @ 0000000060278000
[ 27.452425] [drm:drm_addbufs_agp] buffer 24 @ 0000000060288000
[ 27.452428] [drm:drm_addbufs_agp] buffer 25 @ 0000000060298000
[ 27.452430] [drm:drm_addbufs_agp] buffer 26 @ 00000000602a8000
[ 27.452433] [drm:drm_addbufs_agp] buffer 27 @ 00000000602b8000
[ 27.452436] [drm:drm_addbufs_agp] buffer 28 @ 00000000602c8000
[ 27.452438] [drm:drm_addbufs_agp] buffer 29 @ 00000000602d8000
[ 27.452441] [drm:drm_addbufs_agp] buffer 30 @ 00000000602e8000
[ 27.452444] [drm:drm_addbufs_agp] buffer 31 @ 00000000602f8000
[ 27.452446] [drm:drm_addbufs_agp] byte_count: 2097152
[ 27.452449] [drm:drm_addbufs_agp] dma->buf_count : 32
[ 27.452452] [drm:drm_addbufs_agp] entry->buf_count : 32
[ 27.452470] [drm:drm_ioctl] pid\x1843, cmd=0xc0186419, nr=0x19, dev
0xe200, auth=1
[ 27.452475] [drm:drm_mapbufs] 32 buffers, retcode = 0
[ 27.452479] [drm:drm_ioctl] pid\x1843, cmd=0xc0186419, nr=0x19, dev
0xe200, auth=1
[ 27.452485] [drm:drm_mmap_locked] start = 0x200000000f800000, end 0x200000000fa00000, page offset = 0x18042
[ 27.452489] [drm:drm_vm_open_locked] 0x200000000f800000,0x00200000
[ 27.452496] [drm:drm_mapbufs] 32 buffers, retcode = 0
[ 27.452515] [drm:drm_ioctl] pid\x1843, cmd=0xc0106403, nr=0x03, dev
0xe200, auth=1
[ 27.452519] [drm:drm_irq_by_busid] 128:0:0 => IRQ 60
[ 27.452526] [drm:drm_ioctl] pid\x1843, cmd=0x40086414, nr=0x14, dev
0xe200, auth=1
[ 27.452531] [drm:drm_irq_install] irq`
[ 27.452558] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.452563] [drm:drm_vblank_get] enabling vblank on crtc 0, ret: 0
[ 27.452567] [drm:drm_update_vblank_count] enabling vblank
interrupts on crtc 0, missed 48746
[ 27.452572] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.452589] [drm:drm_ioctl] pid\x1843, cmd=0x400c6455, nr=0x55, dev
0xe200, auth=1
[ 27.452606] [drm:drm_ioctl] pid\x1843, cmd=0x6441, nr=0x41, dev 0xe200, auth=1
[ 27.452609] [drm:radeon_cp_start]
[ 27.452611] [drm:radeon_do_cp_start]
[ 27.452624] [drm:drm_ioctl] pid\x1843, cmd=0x40106459, nr=0x59, dev
0xe200, auth=1
[ 27.560123] [drm:drm_ioctl] pid\x1843, cmd=0x40106459, nr=0x59, dev
0xe200, auth=1
[ 27.560126] [drm:radeon_cp_setparam] color tiling enabled
[ 27.560133] [drm:drm_ioctl] pid\x1843, cmd=0x4004645b, nr=0x5b, dev
0xe200, auth=1
[ 27.560137] [drm:drm_ioctl] ret = ffffffea
[ 27.560144] [drm:drm_ioctl] pid\x1843, cmd=0x4004645b, nr=0x5b, dev
0xe200, auth=1
[ 27.560147] [drm:drm_ioctl] ret = ffffffea
[ 27.560151] [drm:drm_ioctl] pid\x1843, cmd=0x4004645b, nr=0x5b, dev
0xe200, auth=1
[ 27.560155] [drm:drm_ioctl] ret = ffffffea
[ 27.560158] [drm:drm_ioctl] pid\x1843, cmd=0x400c645a, nr=0x5a, dev
0xe200, auth=1
[ 27.560162] [drm:radeon_do_cp_idle]
[ 27.560244] [drm:drm_ioctl] pid\x1843, cmd=0xc0106451, nr=0x51, dev
0xe200, auth=1
[ 27.560248] [drm:radeon_cp_getparam] pid\x1843
[ 27.709239] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.709247] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.709251] [drm:drm_vblank_get] enabling vblank on crtc 1, ret: 0
[ 27.709255] [drm:drm_update_vblank_count] enabling vblank
interrupts on crtc 1, missed 0
[ 27.709264] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 27.709268] [drm:radeon_cp_idle]
[ 27.709269] [drm:radeon_do_cp_idle]
[ 27.709320] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.872179] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.872234] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 27.943500] [drm:drm_stub_open]
[ 27.943503] [drm:drm_open_helper] pid = 1843, minor = 0
[ 27.943507] [drm:radeon_driver_open]
[ 27.943520] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.943526] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.943532] [drm:drm_release] open_count = 2
[ 27.943535] [drm:drm_release] pid = 1843, device = 0xe200, open_count = 2
[ 27.943563] [drm:drm_stub_open]
[ 27.943566] [drm:drm_open_helper] pid = 1843, minor = 0
[ 27.943568] [drm:radeon_driver_open]
[ 27.943587] [drm:drm_ioctl] pid\x1843, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[ 27.943590] [drm:drm_ioctl] ret = fffffff3
[ 27.943594] [drm:drm_ioctl] pid\x1843, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 27.943599] [drm:drm_ioctl] pid\x1843, cmd=0xc0106401, nr=0x01, dev
0xe200, auth=1
[ 27.943620] [drm:drm_ioctl] pid\x1843, cmd=0x80046402, nr=0x02, dev
0xe200, auth=1
[ 27.943624] [drm:drm_add_magic] 1
[ 27.943626] [drm:drm_getmagic] 1
[ 27.943634] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.943639] [drm:drm_ioctl] pid\x1843, cmd=0xc0406400, nr=0x00, dev
0xe200, auth=1
[ 27.943653] [drm:drm_ioctl] pid\x1843, cmd=0x40046411, nr=0x11, dev
0xe200, auth=1
[ 27.943656] [drm:drm_authmagic] 1
[ 27.943658] [drm:drm_remove_magic] 1
[ 27.980598] [drm:drm_mmap_locked] start = 0x2000000010100000, end 0x2000000018100000, page offset = 0x34000
[ 27.980704] [drm:drm_mmap_locked] Type = 0; start 0x2000000010100000, end = 0x2000000018100000, offset = 0xd0000000
[ 27.980708] [drm:drm_vm_open_locked] 0x2000000010100000,0x08000000
[ 27.980714] [drm:drm_mmap_locked] start = 0x2000000018100000, end 0x2000000018110000, page offset = 0x8ffb
[ 27.980718] [drm:drm_vm_open_locked] 0x2000000018100000,0x00010000
[ 27.999586] [drm:drm_ioctl] pid\x1843, cmd=0xc0106451, nr=0x51, dev
0xe200, auth=1
[ 27.999590] [drm:radeon_cp_getparam] pid\x1843
[ 27.999594] [drm:drm_ioctl] pid\x1843, cmd=0xc0106451, nr=0x51, dev
0xe200, auth=1
[ 27.999597] [drm:radeon_cp_getparam] pid\x1843
[ 27.999601] [drm:drm_ioctl] pid\x1843, cmd=0xc0106451, nr=0x51, dev
0xe200, auth=1
[ 27.999604] [drm:radeon_cp_getparam] pid\x1843
[ 27.999614] [drm:drm_mmap_locked] start = 0x2000000018200000, end 0x2000000018210000, page offset = 0xbffe
[ 27.999619] [drm:drm_mmap_locked] Type = 1; start 0x2000000018200000, end = 0x2000000018210000, offset = 0xd8030000
[ 27.999623] [drm:drm_vm_open_locked] 0x2000000018200000,0x00010000
[ 27.999628] [drm:drm_mmap_locked] start = 0x2000000018300000, end 0x2000000018304000, page offset = 0x18041
[ 27.999632] [drm:drm_vm_open_locked] 0x2000000018300000,0x00004000
[ 27.999640] [drm:drm_ioctl] pid\x1843, cmd=0xc0186419, nr=0x19, dev
0xe200, auth=1
[ 27.999643] [drm:drm_mapbufs] 32 buffers, retcode = 0
[ 27.999648] [drm:drm_ioctl] pid\x1843, cmd=0xc0186419, nr=0x19, dev
0xe200, auth=1
[ 27.999653] [drm:drm_mmap_locked] start = 0x2000000018400000, end 0x2000000018600000, page offset = 0x18042
[ 27.999657] [drm:drm_vm_open_locked] 0x2000000018400000,0x00200000
[ 27.999663] [drm:drm_mapbufs] 32 buffers, retcode = 0
[ 27.999669] [drm:drm_mmap_locked] start = 0x2000000018600000, end 0x200000001a280000, page offset = 0x180c2
[ 27.999673] [drm:drm_vm_open_locked] 0x2000000018600000,0x01c80000
[ 27.999678] [drm:drm_ioctl] pid\x1843, cmd=0xc0106451, nr=0x51, dev
0xe200, auth=1
[ 27.999681] [drm:radeon_cp_getparam] pid\x1843
[ 27.999687] [drm:drm_ioctl] pid\x1843, cmd=0xc0106451, nr=0x51, dev
0xe200, auth=1
[ 27.999690] [drm:radeon_cp_getparam] pid\x1843
[ 27.999697] [drm:drm_ioctl] pid\x1843, cmd=0x40106459, nr=0x59, dev
0xe200, auth=1
[ 28.001371] [drm:drm_do_vm_shm_fault] shm_fault 0x0
[ 28.291803] [drm:drm_ioctl] pid\x1843, cmd=0xc0406429, nr=0x29, dev
0xe200, auth=1
[ 28.291809] [drm:radeon_freelist_get] done_age = -559038737
[ 28.291819] [drm:drm_do_vm_fault] baddr = 0x60118000 page 0xe000004083c64000, offset = 0x46, count=3
[ 28.319244] [drm:drm_vm_open_locked] 0x200000000d500000,0x00010000
[ 28.319248] [drm:drm_vm_open_locked] 0x200000000d600000,0x00104000
[ 28.319252] [drm:drm_vm_open_locked] 0x200000000d800000,0x00004000
[ 28.319256] [drm:drm_vm_open_locked] 0x200000000d900000,0x00200000
[ 28.319259] [drm:drm_vm_open_locked] 0x200000000db00000,0x01c80000
[ 28.319265] [drm:drm_vm_open_locked] 0x200000000f800000,0x00200000
[ 28.319513] [drm:drm_vm_open_locked] 0x2000000010100000,0x08000000
[ 28.319517] [drm:drm_vm_open_locked] 0x2000000018100000,0x00010000
[ 28.319521] [drm:drm_vm_open_locked] 0x2000000018200000,0x00010000
[ 28.319525] [drm:drm_vm_open_locked] 0x2000000018300000,0x00004000
[ 28.319528] [drm:drm_vm_open_locked] 0x2000000018400000,0x00200000
[ 28.319532] [drm:drm_vm_open_locked] 0x2000000018600000,0x01c80000
[ 28.320943] [drm:drm_vm_shm_close] 0x200000000d500000,0x00010000
[ 28.320952] [drm:drm_vm_close] 0x200000000d600000,0x00104000
[ 28.320955] [drm:drm_vm_close] 0x200000000d800000,0x00004000
[ 28.320958] [drm:drm_vm_close] 0x200000000d900000,0x00200000
[ 28.320962] [drm:drm_vm_close] 0x200000000db00000,0x01c80000
[ 28.320965] [drm:drm_vm_close] 0x200000000f800000,0x00200000
[ 28.320969] [drm:drm_vm_close] 0x2000000010100000,0x08000000
[ 28.320972] [drm:drm_vm_shm_close] 0x2000000018100000,0x00010000
[ 28.320975] [drm:drm_vm_close] 0x2000000018200000,0x00010000
[ 28.320978] [drm:drm_vm_close] 0x2000000018300000,0x00004000
[ 28.320981] [drm:drm_vm_close] 0x2000000018400000,0x00200000
[ 28.320984] [drm:drm_vm_close] 0x2000000018600000,0x01c80000
[ 28.598456] [drm:drm_ioctl] pid\x1843, cmd=0xc010644d, nr=0x4d, dev
0xe200, auth=1
[ 28.598463] [drm:radeon_cp_indirect] idx=1 s=0 e– d=1
[ 28.598469] [drm:radeon_cp_dispatch_indirect] buf=1 s=0x0 e=0x60
[ 28.637978] [drm:drm_vm_open_locked] 0x200000000d500000,0x00010000
[ 28.637983] [drm:drm_vm_open_locked] 0x200000000d600000,0x00104000
[ 28.637987] [drm:drm_vm_open_locked] 0x200000000d800000,0x00004000
[ 28.637990] [drm:drm_vm_open_locked] 0x200000000d900000,0x00200000
[ 28.637994] [drm:drm_vm_open_locked] 0x200000000db00000,0x01c80000
[ 28.637997] [drm:drm_vm_open_locked] 0x200000000f800000,0x00200000
[ 28.638244] [drm:drm_vm_open_locked] 0x2000000010100000,0x08000000
[ 28.638248] [drm:drm_vm_open_locked] 0x2000000018100000,0x00010000
[ 28.638252] [drm:drm_vm_open_locked] 0x2000000018200000,0x00010000
[ 28.638255] [drm:drm_vm_open_locked] 0x2000000018300000,0x00004000
[ 28.638259] [drm:drm_vm_open_locked] 0x2000000018400000,0x00200000
[ 28.638262] [drm:drm_vm_open_locked] 0x2000000018600000,0x01c80000
[ 28.639599] [drm:drm_vm_shm_close] 0x200000000d500000,0x00010000
[ 28.639605] [drm:drm_vm_close] 0x200000000d600000,0x00104000
[ 28.639608] [drm:drm_vm_close] 0x200000000d800000,0x00004000
[ 28.639611] [drm:drm_vm_close] 0x200000000d900000,0x00200000
[ 28.639614] [drm:drm_vm_close] 0x200000000db00000,0x01c80000
[ 28.639617] [drm:drm_vm_close] 0x200000000f800000,0x00200000
[ 28.639624] [drm:drm_vm_close] 0x2000000010100000,0x08000000
[ 28.639627] [drm:drm_vm_shm_close] 0x2000000018100000,0x00010000
[ 28.639630] [drm:drm_vm_close] 0x2000000018200000,0x00010000
[ 28.639633] [drm:drm_vm_close] 0x2000000018300000,0x00004000
[ 28.639636] [drm:drm_vm_close] 0x2000000018400000,0x00200000
[ 28.639639] [drm:drm_vm_close] 0x2000000018600000,0x01c80000
[ 28.721769] [drm:drm_vm_open_locked] 0x200000000d500000,0x00010000
[ 28.721773] [drm:drm_vm_open_locked] 0x200000000d600000,0x00104000
[ 28.721777] [drm:drm_vm_open_locked] 0x200000000d800000,0x00004000
[ 28.721780] [drm:drm_vm_open_locked] 0x200000000d900000,0x00200000
[ 28.721784] [drm:drm_vm_open_locked] 0x200000000db00000,0x01c80000
[ 28.721788] [drm:drm_vm_open_locked] 0x200000000f800000,0x00200000
[ 28.721991] [drm:drm_vm_open_locked] 0x2000000010100000,0x08000000
[ 28.721995] [drm:drm_vm_open_locked] 0x2000000018100000,0x00010000
[ 28.722000] [drm:drm_vm_open_locked] 0x2000000018200000,0x00010000
[ 28.722003] [drm:drm_vm_open_locked] 0x2000000018300000,0x00004000
[ 28.722007] [drm:drm_vm_open_locked] 0x2000000018400000,0x00200000
[ 28.722011] [drm:drm_vm_open_locked] 0x2000000018600000,0x01c80000
[ 28.723272] [drm:drm_vm_shm_close] 0x200000000d500000,0x00010000
[ 28.723277] [drm:drm_vm_close] 0x200000000d600000,0x00104000
[ 28.723281] [drm:drm_vm_close] 0x200000000d800000,0x00004000
[ 28.723284] [drm:drm_vm_close] 0x200000000d900000,0x00200000
[ 28.723287] [drm:drm_vm_close] 0x200000000db00000,0x01c80000
[ 28.723292] [drm:drm_vm_close] 0x200000000f800000,0x00200000
[ 28.723297] [drm:drm_vm_close] 0x2000000010100000,0x08000000
[ 28.723300] [drm:drm_vm_shm_close] 0x2000000018100000,0x00010000
[ 28.723303] [drm:drm_vm_close] 0x2000000018200000,0x00010000
[ 28.723307] [drm:drm_vm_close] 0x2000000018300000,0x00004000
[ 28.723310] [drm:drm_vm_close] 0x2000000018400000,0x00200000
[ 28.723313] [drm:drm_vm_close] 0x2000000018600000,0x01c80000
[ 28.794390] [drm:drm_vm_open_locked] 0x200000000d500000,0x00010000
[ 28.794394] [drm:drm_vm_open_locked] 0x200000000d600000,0x00104000
[ 28.794398] [drm:drm_vm_open_locked] 0x200000000d800000,0x00004000
[ 28.794401] [drm:drm_vm_open_locked] 0x200000000d900000,0x00200000
[ 28.794405] [drm:drm_vm_open_locked] 0x200000000db00000,0x01c80000
[ 28.794408] [drm:drm_vm_open_locked] 0x200000000f800000,0x00200000
[ 28.794655] [drm:drm_vm_open_locked] 0x2000000010100000,0x08000000
[ 28.794659] [drm:drm_vm_open_locked] 0x2000000018100000,0x00010000
[ 28.794663] [drm:drm_vm_open_locked] 0x2000000018200000,0x00010000
[ 28.794666] [drm:drm_vm_open_locked] 0x2000000018300000,0x00004000
[ 28.794670] [drm:drm_vm_open_locked] 0x2000000018400000,0x00200000
[ 28.794673] [drm:drm_vm_open_locked] 0x2000000018600000,0x01c80000
[ 28.796038] [drm:drm_vm_shm_close] 0x200000000d500000,0x00010000
[ 28.796045] [drm:drm_vm_close] 0x200000000d600000,0x00104000
[ 28.796048] [drm:drm_vm_close] 0x200000000d800000,0x00004000
[ 28.796051] [drm:drm_vm_close] 0x200000000d900000,0x00200000
[ 28.796054] [drm:drm_vm_close] 0x200000000db00000,0x01c80000
[ 28.796058] [drm:drm_vm_close] 0x200000000f800000,0x00200000
[ 28.796062] [drm:drm_vm_close] 0x2000000010100000,0x08000000
[ 28.796065] [drm:drm_vm_shm_close] 0x2000000018100000,0x00010000
[ 28.796068] [drm:drm_vm_close] 0x2000000018200000,0x00010000
[ 28.796071] [drm:drm_vm_close] 0x2000000018300000,0x00004000
[ 28.796074] [drm:drm_vm_close] 0x2000000018400000,0x00200000
[ 28.796077] [drm:drm_vm_close] 0x2000000018600000,0x01c80000
[ 28.937822] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 28.937826] [drm:radeon_cp_idle]
[ 28.937829] [drm:radeon_do_cp_idle]
[ 28.938758] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 28.938761] [drm:radeon_cp_idle]
[ 28.938763] [drm:radeon_do_cp_idle]
[ 28.939548] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 28.939550] [drm:radeon_cp_idle]
[ 28.939552] [drm:radeon_do_cp_idle]
[ 29.232847] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.232854] [drm:radeon_cp_idle]
[ 29.232857] [drm:radeon_do_cp_idle]
[ 29.233330] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.233333] [drm:radeon_cp_idle]
[ 29.233335] [drm:radeon_do_cp_idle]
[ 29.233774] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.233777] [drm:radeon_cp_idle]
[ 29.233778] [drm:radeon_do_cp_idle]
[ 29.234217] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.234220] [drm:radeon_cp_idle]
[ 29.234221] [drm:radeon_do_cp_idle]
[ 29.320200] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.320203] [drm:radeon_cp_idle]
[ 29.320205] [drm:radeon_do_cp_idle]
[ 29.321066] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.321069] [drm:radeon_cp_idle]
[ 29.321070] [drm:radeon_do_cp_idle]
[ 29.321497] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.321499] [drm:radeon_cp_idle]
[ 29.321501] [drm:radeon_do_cp_idle]
[ 29.321928] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.321931] [drm:radeon_cp_idle]
[ 29.321933] [drm:radeon_do_cp_idle]
[ 29.427881] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.427885] [drm:radeon_cp_idle]
[ 29.427886] [drm:radeon_do_cp_idle]
[ 29.436593] [drm:drm_ioctl] pid\x1843, cmd=0xc0406429, nr=0x29, dev
0xe200, auth=1
[ 29.436599] [drm:radeon_freelist_get] done_age = 1
[ 29.436611] [drm:drm_do_vm_fault] baddr = 0x60128000 page 0xe000004083c74000, offset = 0x4a, count=3
[ 29.436638] [drm:drm_ioctl] pid\x1843, cmd=0xc010644d, nr=0x4d, dev
0xe200, auth=1
[ 29.436643] [drm:radeon_cp_indirect] idx=2 s=0 e\x112 d=1
[ 29.436647] [drm:radeon_cp_dispatch_indirect] buf=2 s=0x0 e=0x70
[ 29.860164] [drm:drm_ioctl] pid\x1843, cmd=0x6444, nr=0x44, dev 0xe200, auth=1
[ 29.860168] [drm:radeon_cp_idle]
[ 29.860171] [drm:radeon_do_cp_idle]
[ 29.860186] [drm:drm_ioctl] pid\x1843, cmd=0x40106459, nr=0x59, dev
0xe200, auth=1
[ 29.860203] [drm:drm_ioctl] pid\x1843, cmd=0x40086442, nr=0x42, dev
0xe200, auth=1
[ 29.860207] [drm:radeon_cp_stop]
[ 29.860209] [drm:radeon_do_cp_flush]
[ 29.860211] [drm:radeon_do_cp_idle]
[ 29.860217] [drm:radeon_do_cp_stop]
[ 29.860219] [drm:radeon_do_engine_reset]
[ 29.860226] [drm] Num pipes: 2
[ 29.860233] [drm:radeon_do_cp_reset]
[ 29.860286] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 29.860296] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 30.252112] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 30.252125] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 30.268533] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
[ 30.268539] [drm:drm_ioctl] pid\x1843, cmd=0x40086408, nr=0x08, dev
0xe200, auth=1
<...>
I can see that drm version has changed, but that's all I can understand :-(
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related?
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (11 preceding siblings ...)
2010-01-13 7:15 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-13 17:13 ` Bjorn Helgaas
2010-01-14 0:10 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this Dave Airlie
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Bjorn Helgaas @ 2010-01-13 17:13 UTC (permalink / raw)
To: linux-ia64
On Wednesday 13 January 2010 12:15:00 am Émeric Maschino wrote:
> 2010/1/11 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> > Right? I'm a bit confused because that should have been what you were
> > testing here: http://marc.info/?l=linux-ia64&m\x126290536216298&w=2,
> > unless you applied the patch by hand and made a mistake.
>
> I've probably incorrectly applied your patches without restarting from
> the original file at each attempt. Anyway, it's fine now, thanks.
>
> > I'm afraid I won't be much help with the DRM issue below. I think
> > you'll have better luck with the dri-devel people now. If this is
> > a regression and you can identify an old working kernel, that might
> > help.
>
> I've performed regression tests. The problem appears with kernel
> 2.6.30. Last working kernel is 2.6.29.6. I'm not a kernel developer,
> but could this be due to this commit
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h•5b12def42e83287c1bdb1411d99451753c1391?
Nice work identifying working and non-working versions!
I don't know how much time and energy you want to devote to this, but
I think there are two ways we can make progress:
1) Try to convince DRM folks to help debug this.
2) Use git bisect[1] between v2.6.29 and v2.6.30. This looks like
about 13 kernel rebuild/test cycles. I don't see the stable
releases like 2.6.29.6 in the git repo, but you won't lose much
by starting with 2.6.29.
[1] http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
Bjorn
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (12 preceding siblings ...)
2010-01-13 17:13 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be kernel-related? Bjorn Helgaas
@ 2010-01-14 0:10 ` Dave Airlie
2010-01-14 8:50 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Dave Airlie @ 2010-01-14 0:10 UTC (permalink / raw)
To: linux-ia64
On Wed, 2010-01-13 at 10:13 -0700, Bjorn Helgaas wrote:
> On Wednesday 13 January 2010 12:15:00 am Émeric Maschino wrote:
> > 2010/1/11 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> > > Right? I'm a bit confused because that should have been what you were
> > > testing here: http://marc.info/?l=linux-ia64&m\x126290536216298&w=2,
> > > unless you applied the patch by hand and made a mistake.
> >
> > I've probably incorrectly applied your patches without restarting from
> > the original file at each attempt. Anyway, it's fine now, thanks.
> >
> > > I'm afraid I won't be much help with the DRM issue below. I think
> > > you'll have better luck with the dri-devel people now. If this is
> > > a regression and you can identify an old working kernel, that might
> > > help.
> >
> > I've performed regression tests. The problem appears with kernel
> > 2.6.30. Last working kernel is 2.6.29.6. I'm not a kernel developer,
> > but could this be due to this commit
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h•5b12def42e83287c1bdb1411d99451753c1391?
>
> Nice work identifying working and non-working versions!
>
> I don't know how much time and energy you want to devote to this, but
> I think there are two ways we can make progress:
>
> 1) Try to convince DRM folks to help debug this.
If I had to guess I'd go with
b674137755bbe2750f997a2a1264db3cdf8abcb3
But maybe a bisect would be more definite.
Dave.
>
> 2) Use git bisect[1] between v2.6.29 and v2.6.30. This looks like
> about 13 kernel rebuild/test cycles. I don't see the stable
> releases like 2.6.29.6 in the git repo, but you won't lose much
> by starting with 2.6.29.
>
> [1] http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
>
> Bjorn
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (13 preceding siblings ...)
2010-01-14 0:10 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this Dave Airlie
@ 2010-01-14 8:50 ` Émeric Maschino
2010-01-14 8:54 ` Émeric Maschino
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-14 8:50 UTC (permalink / raw)
To: linux-ia64
2010/1/13 Bjorn Helgaas <bjorn.helgaas@hp.com>:
> Nice work identifying working and non-working versions!
>
> I don't know how much time and energy you want to devote to this, but
Well, I'll take the time it needs ;-)
Indeed, more and more desktop environments provide graphical effects
needing DRI. While I consider these just "fun demos" at this time, it
seems that the future of desktop environment will require working DRI.
I've tried e.g. the GnomeShell 2.28 package currently in Debian
"Squeeze" Testing, and it's completely unusable at this time. Since
GnomeShell (http://live.gnome.org/GnomeShell) appears to be the
default environment in the GNOME 3.0 release, it would be nice if I
can help fix DRI on Itanium by September 2010.
> I think there are two ways we can make progress:
>
> 1) Try to convince DRM folks to help debug this.
>
> 2) Use git bisect[1] between v2.6.29 and v2.6.30. This looks like
> about 13 kernel rebuild/test cycles. I don't see the stable
> releases like 2.6.29.6 in the git repo, but you won't lose much
> by starting with 2.6.29.
I'll try the git bisect route first, and then ask for help when I have
the bad commit identified.
Emeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (14 preceding siblings ...)
2010-01-14 8:50 ` [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
@ 2010-01-14 8:54 ` Émeric Maschino
2010-01-18 15:44 ` Émeric Maschino
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-14 8:54 UTC (permalink / raw)
To: linux-ia64
2010/1/14 Dave Airlie <airlied@redhat.com>:
> If I had to guess I'd go with
>
> b674137755bbe2750f997a2a1264db3cdf8abcb3
>
> But maybe a bisect would be more definite.
OK, git bisect pending.
Emeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (15 preceding siblings ...)
2010-01-14 8:54 ` Émeric Maschino
@ 2010-01-18 15:44 ` Émeric Maschino
2010-01-22 22:19 ` Émeric Maschino
2010-02-02 21:05 ` Émeric Maschino
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-18 15:44 UTC (permalink / raw)
To: linux-ia64
2010/1/14 Émeric Maschino <emeric.maschino@gmail.com>:
> 2010/1/14 Dave Airlie <airlied@redhat.com>:
>> If I had to guess I'd go with
>>
>> b674137755bbe2750f997a2a1264db3cdf8abcb3
>>
>> But maybe a bisect would be more definite.
>
> OK, git bisect pending.
git bisect complete. Here's the result:
f1a2a9b6189f9f5c27672d4d32fec9492c6486b2 is the first bad commit
commit f1a2a9b6189f9f5c27672d4d32fec9492c6486b2
Author: David Miller <davem@davemloft.net>
Date: Wed Feb 18 15:41:02 2009 -0800
drm: Preserve SHMLBA bits in hash key for _DRM_SHM mappings.
Platforms such as sparc64 have D-cache aliasing issues. We
cannot allow virtual mappings in different contexts to be such
that two cache lines can be loaded for the same backing data.
Updates to one cache line won't be seen by accesses to the other
cache line.
Code in sparc64 and other architectures solve this problem by
making sure that all userland mappings of MAP_SHARED objects have
the same virtual address base. They implement this by keying
off of the page offset, and using that to choose a suitably
consistent virtual address for mmap() requests.
Making things even worse, getting this wrong on sparc64 can result
in hangs during DRM lock acquisition. This is because, at least on
UltraSPARC-III, normal loads consult the D-cache but atomics such
as 'cas' (which is what cmpxchg() is implement using) only consult
the L2 cache. So if a D-cache alias is inserted, the load can
see different data than the atomic, and we'll loop forever because
the atomic compare-and-exchange will never complete successfully.
So to make this all work properly, we need to make sure that the
hash address computed by drm_map_handle() preserves the SHMLBA
relevant bits, and that's what this patch does for _DRM_SHM mappings.
As a historical note, many years ago this bug didn't exist because we
used to just use the low 32-bits of the address as the hash and just
hope for the best. This preserved the SHMLBA bits properly. But when
the hashtab code was added to DRM, this was no longer the case.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
:040000 040000 ee229f793d981e8991d34826e0ddbc18e4cd9531
f39f75d780bbb1bab844a755886ae81601d9fac5 M drivers
And here are the diffs:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;hña2a9b6189f9f5c27672d4d32fec9492c6486b2
Should I try to simply revert this patch and see if the "interesting
behaviour" is gone? Will it work with actual 2.6.33 kernel
architecture?
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (16 preceding siblings ...)
2010-01-18 15:44 ` Émeric Maschino
@ 2010-01-22 22:19 ` Émeric Maschino
2010-02-02 21:05 ` Émeric Maschino
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-01-22 22:19 UTC (permalink / raw)
To: linux-ia64
2010/1/18 Émeric Maschino <emeric.maschino@gmail.com>:
> f1a2a9b6189f9f5c27672d4d32fec9492c6486b2 is the first bad commit
> commit f1a2a9b6189f9f5c27672d4d32fec9492c6486b2
> Author: David Miller <davem@davemloft.net>
> Date: Wed Feb 18 15:41:02 2009 -0800
>
> drm: Preserve SHMLBA bits in hash key for _DRM_SHM mappings.
>
> Platforms such as sparc64 have D-cache aliasing issues. We
> cannot allow virtual mappings in different contexts to be such
> that two cache lines can be loaded for the same backing data.
> Updates to one cache line won't be seen by accesses to the other
> cache line.
>
> Code in sparc64 and other architectures solve this problem by
> making sure that all userland mappings of MAP_SHARED objects have
> the same virtual address base. They implement this by keying
> off of the page offset, and using that to choose a suitably
> consistent virtual address for mmap() requests.
>
> Making things even worse, getting this wrong on sparc64 can result
> in hangs during DRM lock acquisition. This is because, at least on
> UltraSPARC-III, normal loads consult the D-cache but atomics such
> as 'cas' (which is what cmpxchg() is implement using) only consult
> the L2 cache. So if a D-cache alias is inserted, the load can
> see different data than the atomic, and we'll loop forever because
> the atomic compare-and-exchange will never complete successfully.
>
> So to make this all work properly, we need to make sure that the
> hash address computed by drm_map_handle() preserves the SHMLBA
> relevant bits, and that's what this patch does for _DRM_SHM mappings.
>
> As a historical note, many years ago this bug didn't exist because we
> used to just use the low 32-bits of the address as the hash and just
> hope for the best. This preserved the SHMLBA bits properly. But when
> the hashtab code was added to DRM, this was no longer the case.
>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> Signed-off-by: Dave Airlie <airlied@redhat.com>
>
> :040000 040000 ee229f793d981e8991d34826e0ddbc18e4cd9531
> f39f75d780bbb1bab844a755886ae81601d9fac5 M drivers
Simply reverting commit f1a2a9b6189f9f5c27672d4d32fec9492c6486b2 from
kernel 2.6.33-rc4 makes the problem go away. But I bet this is not the
right way to fix it ;-)
Is there something else I can try?
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be
2010-01-04 22:40 [drm:drm_mmap_locked] *ERROR* Could not find map: Could this be Émeric Maschino
` (17 preceding siblings ...)
2010-01-22 22:19 ` Émeric Maschino
@ 2010-02-02 21:05 ` Émeric Maschino
18 siblings, 0 replies; 20+ messages in thread
From: Émeric Maschino @ 2010-02-02 21:05 UTC (permalink / raw)
To: linux-ia64
> Simply reverting commit f1a2a9b6189f9f5c27672d4d32fec9492c6486b2 from
> kernel 2.6.33-rc4 makes the problem go away. But I bet this is not the
> right way to fix it ;-)
>
> Is there something else I can try?
I've been asked at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bugT6655#51 to file a
bug report to track this issue. Here's the link:
http://bugzilla.kernel.org/show_bug.cgi?id\x15212
Émeric
^ permalink raw reply [flat|nested] 20+ messages in thread