|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
debian realtime kernel config 2.6.25.8.rt7I 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/kernel/v2.6/linux-2.6.25.8.tar.bz2 # get rt-patch wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.25.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 ############################################################# ############################################################# _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7Emanuel Rumpf wrote:
> 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/kernel/v2.6/linux-2.6.25.8.tar.bz2 > > # get rt-patch > wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.25.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 > > > > > ############################################################# > ############################################################# > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user > > Don't you build a linux-headers file? _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt72008/7/7 schoappied <schoappied@...>:
> Emanuel Rumpf wrote: small mistake: >> tar xfj patch-2.6.25.8-rt7.bz2 is no tar file! use bunzip2 patch-2.6.25.8-rt7.bz2 instead (or install unp !!) > > Don't you build a linux-headers file? > I never needed them. Maybe because I always kept the source in /usr/src/linux which does have them anyway. I you need them for building modules make them: make-kpkg kernel_headers _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7Emanuel Rumpf wrote:
> 2008/7/7 schoappied <schoappied@...>: > >> Emanuel Rumpf wrote: >> > > small mistake: > > >>> tar xfj patch-2.6.25.8-rt7.bz2 >>> > > is no tar file! use > bunzip2 patch-2.6.25.8-rt7.bz2 > instead > > (or install unp !!) > >> Don't you build a linux-headers file? >> >> > > I never needed them. Maybe because > I always kept the source in /usr/src/linux > which does have them anyway. > > I you need them for building modules make them: > make-kpkg kernel_headers > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user > > Followed the steps. checked it for a while with make oldconfig and make xconfig but I didn't change anything... Same message, same errors.... _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt72008/7/7 Emanuel Rumpf <xbran@...>:
> 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). <snip> > tar xfj patch-2.6.25.8-rt7.bz2 > zcat ../config.gz > ./.config </snip> You can use those compressed files directly/in-line by using the z/bz prefixed version of cat, i.e.: bzcat ../patch-2.6.25.8-rt7.bz2 | patch -p1 and zcat ../config.gz >./.config It saves a little bit of space, handy to know when you're short of it ;) Cheers _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt72008/7/7 schoappied <schoappied@...>:
> Emanuel Rumpf wrote: >> >> 2008/7/7 schoappied <schoappied@...>: > > Same message, same errors.... > those IIRC ?: ---------------------------------- 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) ------------------------------------- I don't have a sollution here. maybe you should try as suggested: e2fsck -b 8193 /dev/hda2 _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt72008/7/7 Giuseppe Zompatori <siliconjoe@...>:
> > You can use those compressed files directly/in-line by using the z/bz > prefixed version of cat, i.e.: > > bzcat ../patch-2.6.25.8-rt7.bz2 | patch -p1 > ah.. there's also bzcat thanks for the hint :) _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7Emanuel Rumpf wrote:
> 2008/7/7 schoappied <schoappied@...>: > >> Emanuel Rumpf wrote: >> >>> 2008/7/7 schoappied <schoappied@...>: >>> >> Same message, same errors.... >> >> > > those IIRC ?: > ---------------------------------- > 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) > ------------------------------------- > > > I don't have a sollution here. > > maybe you should try as suggested: > e2fsck -b 8193 /dev/hda2 > _______________________________________________ > > Yes, same garbage... I'll check the e2fsck... Thanks anyway, also for your howto. I'm gonna stick with the praised 64studio so I wouldn't complain... allthough.. spend many many hours to get it right.... About oldconfig and menu config: When I want to use exactly the same config file as you have (copied that .config to the new to build kernel folder)... Should I do oldconfig and/or xconfig? or just start to build that kernel? And what if the .config file is from a much older kernel? what will happen with the new kernel configure options? And when you do make oldconfig.. what should be the answer to the ask questions? just hit ENTER or N, y, m ? Thanks in advance, And _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7schoappied wrote:
> Emanuel Rumpf wrote: > >> 2008/7/7 schoappied <schoappied@...>: >> >> >>> Emanuel Rumpf wrote: >>> >>> >>>> 2008/7/7 schoappied <schoappied@...>: >>>> >>>> >>> Same message, same errors.... >>> >>> >>> >> those IIRC ?: >> ---------------------------------- >> 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) >> ------------------------------------- >> >> >> I don't have a sollution here. >> >> maybe you should try as suggested: >> e2fsck -b 8193 /dev/hda2 >> _______________________________________________ >> >> >> > > Yes, same garbage... > > I'll check the e2fsck... > > Thanks anyway, also for your howto. > I'm gonna stick with the praised 64studio *kernel* so I will not complain... > allthough.. spend many many hours to get it right.... > > About oldconfig and menu config: > > When I want to use exactly the same config file as you have (copied that > .config to the new to build kernel folder)... Should I do oldconfig > and/or xconfig? or just start to build that kernel? And what if the > .config file is from a much older kernel? what will happen with the new > kernel configure options? And when you do make oldconfig.. what should > be the answer to the ask questions? just hit ENTER or N, y, m ? > > Thanks in advance, > > > And > > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user > > _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7schoappied wrote:
> Emanuel Rumpf wrote: > >> 2008/7/7 schoappied <schoappied@...>: >> >> >>> Emanuel Rumpf wrote: >>> >>> >>>> 2008/7/7 schoappied <schoappied@...>: >>>> >>>> >>> Same message, same errors.... >>> >>> >>> >> those IIRC ?: >> ---------------------------------- >> 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) >> ------------------------------------- >> >> >> I don't have a sollution here. >> >> maybe you should try as suggested: >> e2fsck -b 8193 /dev/hda2 >> _______________________________________________ >> >> >> > > Yes, same garbage... > > I'll check the e2fsck... > > Thanks anyway, also for your howto. > I'm gonna stick with the praised 64studio so I wouldn't complain... > allthough.. spend many many hours to get it right.... > > About oldconfig and menu config: > > When I want to use exactly the same config file as you have (copied that > .config to the new to build kernel folder)... Should I do oldconfig > and/or xconfig? or just start to build that kernel? And what if the > .config file is from a much older kernel? what will happen with the new > kernel configure options? And when you do make oldconfig.. what should > be the answer to the ask questions? just hit ENTER or N, y, m ? > > Thanks in advance, > > > And > > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user > > works just fine. So its not totally my fault ;) :) Then the cause is my system, Dell Precision 360 ... maybe the initrd.img-, maybe ATA? _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt72008/7/8 schoappied <schoappied@...>:
> About oldconfig and menu config: > > When I want to use exactly the same config file as you have (copied that > .config to the new to build kernel folder)... Should I do oldconfig and/or > xconfig? if the config-file matches the kernel version a copy should be enough as I understand it, oldconfig is only required with a new or modified kernel-version i.O. to update it for new config-options. > or just start to build that kernel? And what if the .config file is > from a much older kernel? it doesn't have all the config options then; I would expect make to fail > what will happen with the new kernel configure > options? And when you do make oldconfig.. what should be the answer to the > ask questions? just hit ENTER or N, y, m ? with some exeptions m should be ok, but just hitting enter, without understanding what happens can blaot/break your kernel config (with incompatible/unrecommended options etc.) so it's a good idea to "?" first. I would expect [enter] to choose a reasonable default, but who knows... regarding your problem: I would guess a misconfiguration of your system ( maybe it's grub, maybe fstab, initrd.img, ... ) and btw.: please don't always quote the whole message on reply just necessary phrases with direct relation. in general we all know, what has been written before in the discussion-thread... _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
|
|
|
Re: debian realtime kernel config 2.6.25.8.rt7On Thursday 10 July 2008 20:44:38 Emanuel Rumpf wrote:
> 2008/7/10 David Baron <d_baron@...>: > > What about intel 32-bit? > > My system is 32-bit. And the config I provided too. > I'm not informed, if and what would be required to be changed for 64-bit. > -- If that was your question ? > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user be created (I have to do this myself with debian's stuff) when making the kernel. ~$ ls /usr/src/linux-source-2.6.23-rt1/arch alpha blackfin h8300 m32r mips ppc sh64 um xtensa arm cris i386 m68k parisc s390 sparc v850 avr32 frv ia64 m68knommu powerpc sh sparc64 x86_64 -$ ls /usr/src/linux-2.6.25.8/arch alpha blackfin h8300 m32r mips powerpc sh um xtensa arm cris ia64 m68k mn10300 ppc sparc v850 avr32 frv Kconfig m68knommu parisc s390 sparc64 x86 I guess the "x86" would be it. _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt72008/7/10 David Baron <d_baron@...>:
> In the arch subdirectory, there is no i386 folder. This symlink to this would > be created (I have to do this myself with debian's stuff) when making the > kernel. > > ~$ ls /usr/src/linux-source-2.6.23-rt1/arch > alpha blackfin h8300 m32r mips ppc sh64 um xtensa > arm cris i386 m68k parisc s390 sparc v850 > avr32 frv ia64 m68knommu powerpc sh sparc64 x86_64 > -$ ls /usr/src/linux-2.6.25.8/arch > alpha blackfin h8300 m32r mips powerpc sh um xtensa > arm cris ia64 m68k mn10300 ppc sparc v850 > avr32 frv Kconfig m68knommu parisc s390 sparc64 x86 > > I guess the "x86" would be it. I haven't had to symlink anything there. In my src-folder, the i386 dir is present (at least after compilation): $/usr/src/linux-2.6.25.8/arch# ls alpha blackfin h8300 Kconfig m68knommu parisc s390 sparc64 x86 arm cris i386 m32r mips powerpc sh um xtensa avr32 frv ia64 m68k mn10300 ppc sparc v850 Make shure your download is valid (not broken). hint: The config assumes pentium4 or later. For anything below/incompatible run "make menuconfig" and select your architecture (in processor type/features). _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7On Friday 11 July 2008 08:35:55 Emanuel Rumpf wrote:
> 2008/7/10 David Baron <d_baron@...>: > > In the arch subdirectory, there is no i386 folder. This symlink to this > > would be created (I have to do this myself with debian's stuff) when > > making the kernel. > > > > ~$ ls /usr/src/linux-source-2.6.23-rt1/arch > > alpha blackfin h8300 m32r mips ppc sh64 um xtensa > > arm cris i386 m68k parisc s390 sparc v850 > > avr32 frv ia64 m68knommu powerpc sh sparc64 x86_64 > > -$ ls /usr/src/linux-2.6.25.8/arch > > alpha blackfin h8300 m32r mips powerpc sh um > > xtensa arm cris ia64 m68k mn10300 ppc sparc > > v850 avr32 frv Kconfig m68knommu parisc s390 sparc64 x86 > > > > I guess the "x86" would be it. > > I haven't had to symlink anything there. > In my src-folder, the i386 dir is present (at least after compilation): > > $/usr/src/linux-2.6.25.8/arch# ls > alpha blackfin h8300 Kconfig m68knommu parisc s390 sparc64 x86 > arm cris i386 m32r mips powerpc sh um xtensa > avr32 frv ia64 m68k mn10300 ppc sparc v850 > > Make shure your download is valid (not broken). > hint: The config assumes pentium4 or later. For anything > below/incompatible run "make menuconfig" > and select your architecture (in processor type/features). > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@... > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user Download is OK, patch works OK. I am set up for 32 bit and PIII=Y The compilation is running, is using arch/x86 _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: debian realtime kernel config 2.6.25.8.rt7On Monday 07 July 2008 23:31:30 Giuseppe Zompatori wrote:
> 2008/7/7 Emanuel Rumpf <xbran@...>: > > 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). > > <snip> > > > tar xfj patch-2.6.25.8-rt7.bz2 > > zcat ../config.gz > ./.config > > </snip> > > You can use those compressed files directly/in-line by using the z/bz > prefixed version of cat, i.e.: > > bzcat ../patch-2.6.25.8-rt7.bz2 | patch -p1 > 1. realtime apparently cannot be set to be modularized as in previous versions. WIll NOT accept: CONFIG_SECURITY_CAPABILITIES=m CONFIG_REALTIME_CAPABILITIES=m but insists on CONG_SECURITY_CAPABILITIES=y I have not objection to rlimits but cannot find this. 2. My old nvidia driver will not compile. I can check back on their site for an upgrade but this is for an older mx400 card! _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
|