Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Fwd: Re: [comedi] comedi / beagle / usbdux / ubuntu
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
superao...@gmail.com  
View profile   Translate to Translated (View Original)
 More options Jun 17 2010, 7:25 pm
From: superao...@gmail.com
Date: Fri, 18 Jun 2010 00:25:05 +0100
Local: Thurs, Jun 17 2010 7:25 pm
Subject: Re: Fwd: Re: [comedi] comedi / beagle / usbdux / ubuntu
Ok - I am trying to compile the kernel as suggested by Rafael, so far so good
(apart from lots of small niggles).

After many hours of compilation I finally have a comedi specific problem:

 CC [M]  drivers/staging/comedi/range.o
  CC [M]  drivers/staging/comedi/drivers.o
drivers/staging/comedi/drivers.c: In function ‘comedi_buf_alloc’:
drivers/staging/comedi/drivers.c:510: error: ‘PAGE_KERNEL_NOCACHE’ undeclared
(first use in this function)
drivers/staging/comedi/drivers.c:510: error: (Each undeclared identifier is
reported only once
drivers/staging/comedi/drivers.c:510: error: for each function it appears in.)
make[4]: *** [drivers/staging/comedi/drivers.o] Error 1
make[3]: *** [drivers/staging/comedi] Error 2
make[2]: *** [drivers/staging] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/root/linux-ti-omap-2.6.33'
make: *** [debian/stamp/build/kernel] Error 2

A quick bit of analysis reveals that the page protection
flag ‘PAGE_KERNEL_NOCACHE’ does not exist for the ARM port of the kernel.  I
don't know what I am doing but I have subsituted PAGE_KERNEL instead, because
looking at the options it appeared to be the most sensible.

I think this has come up before, in the context of the PPC port which had a
different fix. I think it needs a more qualified look at than I can give.
There must be an example somewhere in the kernel on how to allocate a large
DMA buffer in the kernel in a manner that is cross platform.

My quick hack (above) just took me to the next compile error which isn't
comedi related (a gcc bug hopefully side stepped by ditching the sound
drivers).

Cheers,

SA

Thanks,

SA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.