Hi,
I am trying to build and to install a kernel module into UML. The UML
kernel is built from linux 2.6.2, 32-bit i386. The rootfs is
Debian-Squeeze-x86-root_fs. I was able to build the kernel module
successful. But when I tried to insmod, I got the kernel panic.
After some debugging, I foun
On Thu, Mar 14, 2013 at 10:24 PM, Toralf Förster wrote:
> On 03/14/2013 10:21 PM, Dave Jones wrote:
>> hah, strndup_user taking a signed long instead of a size_t as it's length
>> arg.
>>
>> either it needs to change, or it needs an explicit check for < 1
>>
>> I wonder how many other paths make
On 03/14/2013 10:21 PM, Dave Jones wrote:
> hah, strndup_user taking a signed long instead of a size_t as it's length arg.
>
> either it needs to change, or it needs an explicit check for < 1
>
> I wonder how many other paths make it possible to pass negative numbers here.
just for the statistic
On Thu, Mar 14, 2013 at 09:58:31PM +0100, Toralf Förster wrote:
> On 03/14/2013 09:51 PM, richard -rw- weinberger wrote:
> > Can you please re-run with the attached patch.
> > I'm wondering how much memory is requested.
> >>From reading the source I'd say it must be less than PAGE_SIZE.
> > Bu
On 03/14/2013 09:51 PM, richard -rw- weinberger wrote:
> Can you please re-run with the attached patch.
> I'm wondering how much memory is requested.
>>From reading the source I'd say it must be less than PAGE_SIZE.
> But such a small allocation would not trigger the WARN_ON()...
2013-03-14T21:56
On Thu, Mar 14, 2013 at 8:07 PM, Toralf Förster wrote:
> The following WARNING: can be triggered sometimes with trinity [1] under a
> user mode linux image
> using the SLUB allocator (and not with SLAB)
>
>
> 2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here
> ]
>
On Thu, Mar 14, 2013 at 8:07 PM, Toralf Förster wrote:
> The following WARNING: can be triggered sometimes with trinity [1] under a
> user mode linux image
> using the SLUB allocator (and not with SLAB)
>
>
> 2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here
> ]
>
The following WARNING: can be triggered sometimes with trinity [1] under a user
mode linux image
using the SLUB allocator (and not with SLAB)
2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here
]
2013-03-14T19:09:51.071+01:00 trinity kernel: WARNING: at mm/page_allo