|
unable to map unsafe buffer, 64K limit in sa1111_map_single: msg#00114linux.ports.arm.general
Dear all, I connected a pencam (stv0680) to an ADS bitsy board. I have added the driver for the stv0680 to the kernel, and everything is fine, except that I get the message 'unable to map unsafe buffer'. The buffer requested by the video driver is just over 77k. sa1111_map_single() includes a comment /* we assume here that a buffer will never be >=64k */ and alloc_safe_buffer does not seem to like buffers over 16K. I can get it to work by increasing SIZE_LARGE to 128 Kbyte, but I have no idea whether that violates any page constraints or whether that wastes a lot of memory. Does anyone know a proper way to get around this error message? Do I need an XL pool? I use the 2.4.9 kernel (the last one patched by ADS), but poking around in recent kernels suggests that this part hasn't changed. Thanks in advance, Henk Muller University of Bristol, MV Building, Woodland Road, Bristol, BS8 1UB, UK. +441179545137 http://www.cs.bris.ac.uk/~henkm/ henkm@xxxxxxxxxxxxx _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm http://www.arm.linux.org.uk/armlinux/mailinglists.php Please visit the above addresses for information on this list. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | (no subject): 00114, jasdeep randhawa |
|---|---|
| Next by Date: | Re: glibc2.2.4 link error: 00114, mpsuzuki |
| Previous by Thread: | Trouble building gdbserver from Insight for ARMi: 00114, Jonathan Marks |
| Next by Thread: | How to use redboot on assabet?: 00114, swimming_fisher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |