[linux-dvb] Kernel oops loading cx88 drivers when two WinTV-HVR4000 cards present
awalls at radix.net
Mon Jan 5 00:51:26 CET 2009
On Sun, 2009-01-04 at 20:54 +0000, Thomas Keil wrote:
> Hello Andy,
> > You need to fix this.
> > Check the output of
> > $ cat /proc/meminfo
> > and look for how much vmalloc space you have total to work with and how much is used and what is the largest chunk available.
> > $ cat /proc/iomem
> > and see what size of vmalloc allocations HVR4000 devices are claiming
> > for PCI MMIO mappings.
> Let's see.
> VmallocTotal: 114680 kB
> VmallocUsed: 110756 kB
> VmallocChunk: 3868 kB
> db000000-dbffffff : 0000:04:07.0
> db000000-dbffffff : cx88
> dc000000-dcffffff : 0000:04:07.1
> dc000000-dcffffff : cx88
> dd000000-ddffffff : 0000:04:07.2
> dd000000-ddffffff : cx88
> de000000-deffffff : 0000:04:07.4
> Am I right in the assumption that cx88 allocates full 16M?
Yes. It needs them for registers (and maybe on-card memory) mappings
from the PCI bus into virtual memory.
> Starting with 112M and having just ~4M free it seems reasonable that
> loading the driver fails.
> I added vmalloc=256M (less didn't work)
vmalloc space is used for PCI MMIO mappings, mapping physical pages for
loadable modules, and perhaps other allocations of physical memory.
Just make sure you've got some head room.
> to the kernel parameters - and
> it worked :-)
> The driver loaded, both cards are present!
Great! (Copying the list. So others can see the result.)
> Thanks a lot!!
More information about the linux-dvb