Hi, all.
I have found something very strange to me... It is a problem with static
allocating size of buffer where jail param is going to be coppied, using
jail_getv function from the libjails. Well for example:
buff[size];
jail_getv(0, "name", "1", "host.hostname", buff, NULL);
the result for si
Hi,
I want to allocate one (or more) pages in kernel space.
I'm not sure what is the api in freebsd (something which
is similar to __get_free_pages() of linux).
Would malloc(4096, ...) guarantee that the returned
address is aligned on page boundary?
Thanks and regards,
-Kalash
__
Hi,
I want to allocate one (or more) pages in kernel space.
I'm not sure what is the api in freebsd (something which
is similar to __get_free_pages() of linux).
Would malloc(4096, ...) guarantee that the returned
address is aligned on page boundary?
Thanks and regards,
-Kalash
__
on 11/07/2010 15:23 Andriy Gapon said the following:
> on 11/07/2010 14:54 Andriy Gapon said the following:
>> For completeness, here is a patch that simply drops the inline assembly and
>> the
>> comment about it, and GCC-generated assembly and its diff:
>> http://people.freebsd.org/~avg/dpcpu/pc
On Thu, Jul 15, 2010 at 02:25:26PM +0300, Andriy Gapon wrote:
> on 11/07/2010 15:23 Andriy Gapon said the following:
> > on 11/07/2010 14:54 Andriy Gapon said the following:
> >> For completeness, here is a patch that simply drops the inline assembly
> >> and the
> >> comment about it, and GCC-gen
Hello,
what about using contigmalloc(9), there you can specify
alignment and boundary.
HTH,
Marc
>Hi,
>
>I want to allocate one (or more) pages in kernel space.
>I'm not sure what is the api in freebsd (something which
>is similar to __get_free_pages() of linux).
>
>Would malloc(4096, ...) guara
on 15/07/2010 14:39 Kostik Belousov said the following:
>
> Is new behaviour completely identical to the behaviour of the newer
> ld ?
No, it's not completely identical.
__start_SECNAME placement would be identical, but our ld would still assign the
symbol while latest upstream binutils PROVIDES
On Wednesday, July 14, 2010 11:25:29 am Andrew Heybey wrote:
> Got the following in /var/log/messages on my one-week-old amd64 box running
> 8.1RC2:
>
> Jul 13 20:30:17 spaten kernel: MCA: Global Cap 0x0106, Status
> 0x
> Jul 13 20:30:17 spaten kernel: MCA: Vendor "Au
On Thursday, July 15, 2010 6:28:53 am kalash nainwal wrote:
> Hi,
>
> I want to allocate one (or more) pages in kernel space.
> I'm not sure what is the api in freebsd (something which
> is similar to __get_free_pages() of linux).
>
> Would malloc(4096, ...) guarantee that the returned
> address
On Jul 15, 2010, at 8:07 AM, John Baldwin wrote:
> On Wednesday, July 14, 2010 11:25:29 am Andrew Heybey wrote:
>> Got the following in /var/log/messages on my one-week-old amd64 box running
>> 8.1RC2:
>>
>> Jul 13 20:30:17 spaten kernel: MCA: Global Cap 0x0106, Status
>> 0x
On 07/14/10 18:27, Jerry Toung wrote:
> On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn
> wrote:
>
>>
>>
>> Rather than commenting out the code try setting the sysctl
>> vfs.hirunningspace to various powers-of-two. Default seems to be
>> 1MB. I just changed it on the command line as a test to 2
On Thursday, July 15, 2010 8:42:09 am Andrew Heybey wrote:
> On Jul 15, 2010, at 8:07 AM, John Baldwin wrote:
>
> > On Wednesday, July 14, 2010 11:25:29 am Andrew Heybey wrote:
> >> Got the following in /var/log/messages on my one-week-old amd64 box
> >> running 8.1RC2:
> >>
> >> Jul 13 20:30:17
Hello Hackers,
I have a question about kernel linker.
Please take a look at an example of simple module:
#include
#include
#include
#include
#include
#include
#include
/* DECLARING A FUNCTION JUST TO AVOID WARNIN
On Thu, Jul 15, 2010 at 06:07:36PM +0400, Dmitry Krivenok wrote:
> Hello Hackers,
>
> I have a question about kernel linker.
> Please take a look at an example of simple module:
>
>
> #include
> #include
> #include
>
On Thu, Jul 15, 2010 at 4:46 PM, "Marc Lörner" wrote:
> Hello,
> what about using contigmalloc(9), there you can specify
> alignment and boundary.
>
> HTH,
> Marc
>
Thanks Marc.
I had thought of using contigmalloc, but was not sure what would be
the other args (boundary, low, high etc.) in my ca
On Thu, Jul 15, 2010 at 5:41 PM, John Baldwin wrote:
> On Thursday, July 15, 2010 6:28:53 am kalash nainwal wrote:
>> Hi,
>>
>> I want to allocate one (or more) pages in kernel space.
>> I'm not sure what is the api in freebsd (something which
>> is similar to __get_free_pages() of linux).
>>
>> W
On Thu, Jul 15, 2010 at 08:24:53PM +0530, kalash nainwal wrote:
> On Thu, Jul 15, 2010 at 5:41 PM, John Baldwin wrote:
> > On Thursday, July 15, 2010 6:28:53 am kalash nainwal wrote:
> >> Hi,
> >>
> >> I want to allocate one (or more) pages in kernel space.
> >> I'm not sure what is the api in fre
On Thu, Jul 15, 2010 at 05:32:35PM +0300, Kostik Belousov wrote:
> On Thu, Jul 15, 2010 at 06:07:36PM +0400, Dmitry Krivenok wrote:
> > Hello Hackers,
> >
> > I have a question about kernel linker.
> > Please take a look at an example of simple module:
> >
> >
2010/7/15 Kostik Belousov :
> On Thu, Jul 15, 2010 at 08:24:53PM +0530, kalash nainwal wrote:
>> On Thu, Jul 15, 2010 at 5:41 PM, John Baldwin wrote:
>> > On Thursday, July 15, 2010 6:28:53 am kalash nainwal wrote:
>> >> Hi,
>> >>
>> >> I want to allocate one (or more) pages in kernel space.
>> >>
Unfortunately, one can easily miss such problems during build of the module.
I'm working on a system which consists of lots of user-space programs
and kernel modules and
uses it's own complicated build system.
gcc option -Werror is not used by the build system (I believe it
should), that's why we j
On Thu, Jul 15, 2010 at 10:13:54PM +0400, Dmitry Krivenok wrote:
> Unfortunately, one can easily miss such problems during build of the module.
> I'm working on a system which consists of lots of user-space programs
> and kernel modules and
> uses it's own complicated build system.
> gcc option -We
On 15.07.2010 18:32, Kostik Belousov wrote:
> The kernel linker ignores weak attribute of the symbol, as you see.
> There is more bugs in this department, in regard of the list of
> exported symbols from the modules.
>
> I have a patch that fixes the issues, but I am leery to commit it, since
> th
On Thu, Jul 15, 2010 at 8:01 AM, Ivan Voras wrote:
> On 07/14/10 18:27, Jerry Toung wrote:
> > On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn
> > wrote:
> >
> >>
> >>
> >> Rather than commenting out the code try setting the sysctl
> >> vfs.hirunningspace to various powers-of-two. Default seems
On Thu, Jul 15, 2010 at 10:36:04PM +0400, Andrey V. Elsukov wrote:
> On 15.07.2010 18:32, Kostik Belousov wrote:
> > The kernel linker ignores weak attribute of the symbol, as you see.
> > There is more bugs in this department, in regard of the list of
> > exported symbols from the modules.
> >
>
On 07/15/10 04:12, Stanislav Uzunchev wrote:
I have found something very strange to me... It is a problem with static
allocating size of buffer where jail param is going to be coppied, using
jail_getv function from the libjails. Well for example:
buff[size];
jail_getv(0, "name", "1", "host.host
Em 2010.07.13. 16:05, pluknet escreveu:
#ifndef _SYS_SYSPROTO_H_
struct setjlimit_args {
jid_t jid;
int resource;
struct rlimit *rlp;
};
#endif
int
setjlimit(td, uap)
struct thread *td;
struct setjlimit_args /* {
jid_t jid;
Just wondering if there is some constraints to using printf() calls
inside a kernel thread (created by kthread_create()). I'm currently
trying to debug a worker thread but the printf's are coming out
garbled. Not entirely sure why this could be occurring.
OS: FreeBSD 7.3 on an Intel Xeon with
Through 3 recent ``buildkernel'' runs I have logged the following. The
build logs are available to those with interest.
I have tested this with three variations to the environment i.e.
make.conf, src.conf, make -j{N}, & a vanilla build. The errors come up
the same way but with a variation of the
I should probably note that this is on stable/8 i386 r210115. And that
this was before the 210145:210147 commits.
Regards,
--
jhell,v
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubsc
2010/7/15 Alan Cox :
> On Thu, Jul 15, 2010 at 8:01 AM, Ivan Voras wrote:
>
>> On 07/14/10 18:27, Jerry Toung wrote:
>> > On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn
>> > wrote:
>> >
>> >>
>> >>
>> >> Rather than commenting out the code try setting the sysctl
>> >> vfs.hirunningspace to vario
Patrick Mahan wrote:
Just wondering if there is some constraints to using printf() calls
inside a kernel thread (created by kthread_create()). I'm currently
trying to debug a worker thread but the printf's are coming out
garbled. Not entirely sure why this could be occurring.
OS: FreeBSD 7.3
On Thu, 15 Jul 2010 20:02:01 -0400
jhell wrote:
>
> I should probably note that this is on stable/8 i386 r210115. And that
> this was before the 210145:210147 commits.
>
This is a message from ctfconvert bogusly trying to read non-existent
data from .bss. I have fix for this which I forwarded t
On 07/16/2010 00:31, Alexander Kabaev wrote:
> On Thu, 15 Jul 2010 20:02:01 -0400
> jhell wrote:
>
>>
>> I should probably note that this is on stable/8 i386 r210115. And that
>> this was before the 210145:210147 commits.
>>
> This is a message from ctfconvert bogusly trying to read non-existent
33 matches
Mail list logo