kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Kernel compilation
@ 2011-01-05  5:34 scott
  2011-01-05  6:46 ` Mulyadi Santosa
  2011-01-05  7:37 ` Robert P. J. Day
  0 siblings, 2 replies; 6+ messages in thread
From: scott @ 2011-01-05  5:34 UTC (permalink / raw)
  To: kernelnewbies

I'm new to the list and would like to say hello to everyone. Now on to 
the meat.

I have tried to compile a kernel with a grsec patch 5 times now using a
couple of different methods and I keep getting a "No init found" and
"Couldn't support optional features" errors every time at bootup.
I'm trying to use a vanilla 2.6.32.27 kernel on 10.04 Ubuntu and it 
compiles fine,
just will not boot.

I've tried "CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg
--initrd --append-to-version=-custom kernel_image kernel_headers",
"CONCURRENCY_LEVEL=3 make-kpkg --initrd --append-to-version=-586
kernel_image kernel_headers modules_image".

I have all the reqs for building kernels such as build-essentials, fakeroot,
kernel-package, kernel-wedge, nurces-dev and qt for xconfig.

These are the steps I've taken. DL the kernel image from kernels.org, get
the patch from grsec.net, untar the kernel, cd into the directory created,
do a 'cp /boot/config-`uname -r` .config', 'make oldconfig', apply the
patch, then either 'make menuconfig' or 'make xconfig'. Then I do a
'make-kpkg clean' and run one of the commands in the first paragraph above.

I get the debs built and can install them just fine, but I keep getting the
same errors. I've cut out as many "Experimental" options I thought might
cause a problem and still get a kernel panic at boot.

Anyone have a clue what I'm doing wrong?
Scott

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Sleep and Wake up
@ 2011-05-02 18:32 Abu Rasheda
  2011-05-02 19:40 ` Kernel compilation Ezequiel García
  0 siblings, 1 reply; 6+ messages in thread
From: Abu Rasheda @ 2011-05-02 18:32 UTC (permalink / raw)
  To: kernelnewbies

I am testing my driver on much faster host processor and facing
following issues:

My host is too powerful and it can fill up device buffer queue very fast.

I get best performance when I do busy wait, but this is not desirable
and is bad design.

I need to sleep and wake up quickly and predictability. Indication
from device that queue has space, is coming in form of memory write
(device writes to a memory location of i86 processor).

I tried using wait_event_interruptible_timeout, I am depending on 2nd
parameter of the function but it wake up is too slow, even tried using
value of 1.

Any suggestions ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-05 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05  5:34 Kernel compilation scott
2011-01-05  6:46 ` Mulyadi Santosa
2011-01-05  7:10   ` scott
2011-01-05  7:37 ` Robert P. J. Day
  -- strict thread matches above, loose matches on Subject: below --
2011-05-02 18:32 Sleep and Wake up Abu Rasheda
2011-05-02 19:40 ` Kernel compilation Ezequiel García
2011-05-05 14:15   ` Pico Geyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).