> Hi, > > I am using a custom board based on PLX PEX8311 device. > I have two 32MB BAR (BAR2 and BAR3) which I try to map using pci_iomap. > > First bar get mapped correctly but for the second It fails . In the dmesg > I get the following error message : > > [ 410.361410] alloc_vmap_area: 30 callbacks suppressed > [ 410.361412] vmap allocation for size 33558528 failed: use > vmalloc=<size> to increase size. > [ 410.362585] [CPRE_drv] : error while mapping LSPACE1 > > I am using 2.6.38 kernel from latest Ubuntu release. > > This mapping used to work with previous version (Yet I am unable to give a > precise version). > > What can I do to have the driver works in all cases ? Is there a known > solution using vmalloc to map PCI BARS ? > > I have been trying to google my problem but I haven't found a solution. > Can you give me pointers ? Yes, do what the message says. Boot your kernel with "vmalloc=256M" as argument. Maybe more, I don't know what the default is on your system. Eike -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html