RE: toolchain compilation error in gcc-3.4.4-2.16.1

2012-06-22 Thread Jeff Haran
From: kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org [mailto:kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org] On Behalf Of sanjay das Sent: Friday, June 22, 2012 5:50 PM To: kernelnewbies@kernelnewbies.org Subject: Re: toolchain compilation error in gcc-3.4.4-2.16.1

Re: toolchain compilation error in gcc-3.4.4-2.16.1

2012-06-22 Thread sanjay das
I am trying to compile it under ubuntu 11.10 On Sat, Jun 23, 2012 at 5:47 AM, sanjay das wrote: > Hello everyone, > > I was trying to compile toochain gcc-3.4.4-2.16.1 for Atheros AP83 > board(toolchain have support for this) but after a certain point of time i > get the below error > where i am

toolchain compilation error in gcc-3.4.4-2.16.1

2012-06-22 Thread sanjay das
Hello everyone, I was trying to compile toochain gcc-3.4.4-2.16.1 for Atheros AP83 board(toolchain have support for this) but after a certain point of time i get the below error where i am stuck .Please me know if anyone knows how to get it resolved and what is the issue behind this.

Re: Kernel Memory

2012-06-22 Thread Vijay Chauhan
Thanks everyone. I think i got enough information for further study. Thanks, Vijay On Thu, Jun 21, 2012 at 7:10 PM, kishore sheik ahamed wrote: > Hey Vijay > > I am a newbie too. Just sharing what I could go through. > > It is said that Kernel or atleast a part of kernel needs to be non paged fo

Re: geting weird semi-random panic on kmalloc

2012-06-22 Thread Mulyadi Santosa
Hi... On Fri, Jun 22, 2012 at 11:27 PM, NorthPole wrote: > Hi... > > The virtual machine is supposed to run on 128 mb ram and according to the > batman folks its more than enough > > How can I force a backtrace? When it hangs, AFAIK in gdb, press ctrl-c...it will get you back to gdb prompt ... t

Re: geting weird semi-random panic on kmalloc

2012-06-22 Thread NorthPole
Hi... The virtual machine is supposed to run on 128 mb ram and according to the batman folks its more than enough How can I force a backtrace? (kfree is supposed to be called on the list after the desired number of nodes is allocated but it never gets there ) On Fri, Jun 22, 2012 at 7:18 PM, M

Re: geting weird semi-random panic on kmalloc

2012-06-22 Thread Mulyadi Santosa
Hi... On Fri, Jun 22, 2012 at 7:50 AM, NorthPole wrote: > when I run the kernel code on an open-wrt build for x86 which is run > virtualized under a standard qemu running on debian squeeze produces this > output > http://pastebin.com/tY3Vkzvw > (in short it prints everything as its supposed to do

Re: explanation of __va() and __pa() macros.

2012-06-22 Thread AFT
Bjørn Mork writes: > AFT writes: > >> My source is from 2.6 git tree. In LDD3 its said that a logical address >> is mapped to physical address and vice versa by the macros __va() and >> __pa(). >> >> In my source tree they are defined as follows: >> >> > > There's an important comment in the be

Re: explanation of __va() and __pa() macros.

2012-06-22 Thread AFT
Vlad Dogaru writes: > On Fri, Jun 22, 2012 at 2:49 PM, AFT wrote: >> >> Hi, >> >> My source is from 2.6 git tree. In LDD3 its said that a logical address >> is mapped to physical address and vice versa by the macros __va() and >> __pa(). >> >> In my source tree they are defined as follows: >> >>

Re: explanation of __va() and __pa() macros.

2012-06-22 Thread Bjørn Mork
AFT writes: > My source is from 2.6 git tree. In LDD3 its said that a logical address > is mapped to physical address and vice versa by the macros __va() and > __pa(). > > In my source tree they are defined as follows: > > There's an important comment in the beginning of that file: /* * Gener

Re: geting weird semi-random panic on kmalloc

2012-06-22 Thread NorthPole
yes but the guy who answered came back empty (it was midnight though) their code is correct since i'm using the version they are shipping with the kernel. so the error is in my part but how can the kernel crash in a kmalloc? I dont get it On Fri, Jun 22, 2012 at 2:55 PM, Jonathan Neuschäfer wrote

Re: explanation of __va() and __pa() macros.

2012-06-22 Thread Vlad Dogaru
On Fri, Jun 22, 2012 at 2:49 PM, AFT wrote: > > Hi, > > My source is from 2.6 git tree. In LDD3 its said that a logical address > is mapped to physical address and vice versa by the macros __va() and > __pa(). > > In my source tree they are defined as follows: > > > > #define __va(x) ((void *)((u

explanation of __va() and __pa() macros.

2012-06-22 Thread AFT
Hi, My source is from 2.6 git tree. In LDD3 its said that a logical address is mapped to physical address and vice versa by the macros __va() and __pa(). In my source tree they are defined as follows: #define __va(x) ((void *)((unsigned long) (x))) #define __pa(x) ((unsigned long) (x)) I'm

Re: geting weird semi-random panic on kmalloc

2012-06-22 Thread Jonathan Neuschäfer
On Fri, Jun 22, 2012 at 03:50:49AM +0300, NorthPole wrote: > for(i=0;i<250;i++) > registerTvlv(i,0x01,1,&batadv_ogm_packet->gw_flags,bat_priv,batadv_ogm_packet); Have you asked the people at irc.freenode.org #batman? ___ Kernelnewbies mailing list Kerne