searching for a debian testing/sid kernel

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
studio32

searching for a debian testing/sid kernel

Post by studio32 »

Hi,

I m searching for a good realtime kernel for debian.

I'm using now one of musix, but the wireless internet connection seems to be much more worse then on a normal kernel
becks
Established Member
Posts: 51
Joined: Thu May 29, 2008 6:52 pm
Location: Italy
Contact:

Post by becks »

on my debian, i use only vanilla kernel + rt patch
this is my way, maybe the wrong, but it works

ciao ;)
studio32

Post by studio32 »

vanilla?

I try to build a kernel now:
http://forums.debian.net/viewtopic.php?t=17035
brummer

Post by brummer »

Hi

http://sidux.com/PNphpBB2-viewtopic-t-9396.html

aktuell is linux-image-2.6.25-9.makke-rt7.1-sidux-686_2.6.25-36rt7_i386.deb

:lol:
studio32

Post by studio32 »

I tried it, but didn't work on my system debian lenny sid
studio32

Post by studio32 »

jriej89tq4urt843uq3 ru0 mrc03r92~!!!!!!!!!!!!!

argh... try to build kernels for a whole day now... and it failes constantly..

I'm gonna use this place as a backup from the thing I do/did:

http://newbiedoc.sourceforge.net/system ... KERNEL-PKG
http://forums.debian.net/viewtopic.php?t=17035

Code: Select all

mkdir KERNEL 
 cd KERNEL 
 wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.4.tar.bz2 
 wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.25.4-rt3.bz2 
 wget http://fatcat.ftj.agh.edu.pl/~przyboro/other/bootsplash/bootsplash-3.1.6a-2.6.25.diff 
 unp linux-2.6.25.4.tar.bz2 
 mv linux-2.6.25.4 linux-2.6.25.4-rt3 
 cd linux-2.6.25.4-rt3 
 bzcat ../patch-2.6.25.4-rt3.bz2 |patch -p1 
 patch -p1<../bootsplash-3.1.6a-2.6.25.diff 

Code: Select all

make oldconfig
and skipped all the questions with ENTER

Code: Select all

make xconfig

- Processor type and features> Preemption Mode (Complete Preemption (Real-Time))
- Processor type and features>Timer frequency (1000 HZ)

Code: Select all

$ make-kpkg clean ; export VER=$(date +'%Y%m%d') NAMEEXT="-$(hostname)-$(dpkg-architecture -qDEB_HOST_ARCH)"; make-kpkg --revision=$VER --append-to-version=$NAMEEXT --rootcmd fakeroot --initrd kernel_image kernel_headers
(kp mantra is, like, make-kpkg clean ; export VER=$(date +'%Y%m%d') NAMEEXT="-$(hostname)-$(dpkg-architecture -qDEB_HOST_ARCH)"; make-kpkg --revision=$VER --append-to-version=$NAMEEXT --rootcmd fakeroot kernel_image modules_image . Add --initrd before kernel_image if you need an initrd. )

another howto:
I thought, it would probably help some of you, if I uploaded
my rt-config for a 2.6.25.8 realtime kernel (debian system).

# get my kernel config:
wget http://branwelt.de/download/config.gz

(this is all without any warrenty, use at your own risc)

Below is also a kind of script, that should do the whole procedure
for creating a 2.6.25.8 realtime kernel on a debian based system.

I have not testet this script.
I would recommend, to past command for command, and see if it is
working for you. (it should)
This is how I build the kernel I'm currently using.

Note: The config has the realtime-patch applied, but is not
strictly configured for realtime:
I let enabled acpi and cpu-frequency scaling,
because performance was good enough for my requirements
(2.67ms latency at 48000hz samplerate according to qjackctl).
If you encounter xruns, disable these options with "make menuconfig"
(see bottom)

I tried to keep the config general, so it may be usable on other
systems as well.
It is based on a sidux ~ 2.6.21 configuration, including updates for 2.6.25


start of the command list:
#############################################################
#############################################################


mkdir my_realtime_kernel
cd my_realtime_kernel



# get my kernel config
wget http://branwelt.de/download/config.gz

# get the kernel
wget http://www.eu.kernel.org/pub/linux/kern ... .8.tar.bz2

# get rt-patch
wget http://www.kernel.org/pub/linux/kernel/ ... .8-rt7.bz2


# unpack
tar xfj linux-2.6.25.8.tar.bz2
tar xfj patch-2.6.25.8-rt7.bz2

# create a symbolic link
ln -s linux-2.6.25.8 linux
cd linux



# apply patch
patch -p1 < ../patch-2.6.25.8-rt7

# move config to right place
zcat ../config.gz > ./.config


# now edit the Makefile
# change the line with EXTRAVERSION (without #) to:
# EXTRAVERSION = .8.rt7.em1


# optionally do make oldconfig
# or make menuconfig here


# make the kernel
make-kpkg --initrd kernel_image
cd ..


# finally install the kernel with a command like
# dpkg -i linux-image-2.6.25.8.rt7.em1_2.6.25.8.rt7.em1-10.00.Custom_i386.deb




#############################################################
#############################################################
Last edited by studio32 on Mon Jul 07, 2008 4:28 pm, edited 2 times in total.
studio32

Post by studio32 »

Hi,

I try do build my first real time kernel. When I start booting I get several errors which are not there when booting the normal kernel .25.2 debian/lenny/sid...

HElp = needed here!
Thanks in advance

Post Posted: 2008-07-07 09:22 Post subject: Reply with quote
I get these errors, but not with the normal 25.2 kernel:

When booting process starts:


resume: libgcrypt version: 1.4.1
> > resume: couldn't not stat the resume device file '/dev/hda3'
> > please type in the full path name to try again
> > or press ENTER to boot the system


when I press enter, I get after a few seconds booting:

fsck.ext3: no such file or directory while trying to open /dev/hda2
/dev/hda2
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else) then the superblock
is corrupt, and you might try running e2fsk with an alternate superblock:
e2fsck -b 8193 <device>

fsck died with exit status 8
failed (code 8 )
studio32

Post by studio32 »

studio32 wrote:Hi,

I try do build my first real time kernel. When I start booting I get several errors which are not there when booting the normal kernel .25.2 debian/lenny/sid...

HElp = needed here!
Thanks in advance

Post Posted: 2008-07-07 09:22 Post subject: Reply with quote
I get these errors, but not with the normal 25.2 kernel:

When booting process starts:


resume: libgcrypt version: 1.4.1
> > resume: couldn't not stat the resume device file '/dev/hda3'
> > please type in the full path name to try again
> > or press ENTER to boot the system


when I press enter, I get after a few seconds booting:

fsck.ext3: no such file or directory while trying to open /dev/hda2
/dev/hda2
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else) then the superblock
is corrupt, and you might try running e2fsk with an alternate superblock:
e2fsck -b 8193 <device>

fsck died with exit status 8
failed (code 8 )
don't understand why I get these errors...

I've installed the 64studio kernel..
http://renewableenergyinsurance.com/node/91
Post Reply