LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-19-2004, 09:19 AM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Question Taking a kernel from another distro.


Hi! I'm a musician and i want to use a low-latency kernel in order to have a better performance(!). I installed the wonderful agnula distro:
http://agnula.org/
But as i want to use my main Slack install, i took the working agnula multimedia kernel and placed it in my /boot folder (and with the corresponding System.map). I took the /lib/modules/2.4.25-1-multimedia-k7 too. Then i modified lilo.conf and ran lilo. I rebooted, but when i booted with this kernel, i got the well-known message: kernel panic, can't mount VFS.
Both systems filesystems are reiserfs. Did i missed something?
I didn't find any 2.6 kernel low-latency patch, and the audioslack kernel is a 2.4.x serie, which don't support my wonderful ICE1712 based soundcard:
http://www.audioslack.com/
That's why i request your help.

Last edited by Linux.tar.gz; 12-20-2004 at 03:12 PM.
 
Old 12-19-2004, 09:52 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Didi you compile the agnula kernel yourself?
You know what I'm getting at, can you get the 2.4.25-1-multimedia-k7 source and recompile it on your slack system?
As you have said, this normally happens when you don't have reiser compiled into the kernel (not a module) so, all I can think is happening is that it needs to be compiled with the libraries on the slack box for it to work correctly. You're not using reiser4 on agnula are you?
 
Old 12-19-2004, 01:18 PM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
I didn't compile agnula's kernel. I can't find their kernel sources.
I don't know which reiserfs agnula is using. How can i know it?
I can mount the agnula's reiserfs partition under slack with the normal mount command.
Did the way i copy kernel and modules directory was a "normally working" way?
Thx.
 
Old 12-19-2004, 04:47 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
AFAIK there is no 2.6.x low-latency path as it was accepted into the main kernel. it should be an option within the kernel config.
 
Old 12-20-2004, 11:55 AM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
I didn't find it... .
 
Old 12-20-2004, 12:53 PM   #6
corfe
Member
 
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 15
I don't know much about agnula, but generally I tend to think that it's best to try to find their sources and compile it yourself for your kernel, or if you can't find their sources, then you can always try 2.6.9, and install con kolivas's low latency patchset (which I use myself, very nice patchset for desktop systems). However, I've never done music composition, and if agnula provides something beyond low latency features in their kernel, this might not be of any help to you.
 
Old 12-20-2004, 12:58 PM   #7
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

have u kept support for ext2 FS ,coz u ned that inspite of ur reiserfs
this is required at the beginning
also from where did u start building ur kenrel
i recommend it building from a working config file of ur last kernel that way u can not miss out some important things

regards

Last edited by masand; 12-20-2004 at 01:04 PM.
 
Old 12-20-2004, 03:06 PM   #8
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Thanks 4 replies.
I'll take a look to con koliva's patch. But i'm not really sure if it's what i need. And i don't like 2.6.9 too .
I don't understand why i should use ext2 as:
-I have no ext2 partition
-I can't modify the Agnula's kernel because i sadly don't have sources.
What i want to do is take the kernel from Agnula, because it works fine, and put it in Slackware. And i want to understand why copying kernel, system.map and modules don't work...
 
Old 12-20-2004, 10:43 PM   #9
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally posted by Linux.tar.gz
Thanks 4 replies.
I'll take a look to con koliva's patch. But i'm not really sure if it's what i need. And i don't like 2.6.9 too .
I don't understand why i should use ext2 as:
-I have no ext2 partition
-I can't modify the Agnula's kernel because i sadly don't have sources.
What i want to do is take the kernel from Agnula, because it works fine, and put it in Slackware. And i want to understand why copying kernel, system.map and modules don't work...
hi there
what i have seen is that
linux first loads the partiton as the ext2 FS and and then unloads it after the initrd proces
so u need that
i too got that error when i did not use ext2 FS

regards
 
Old 12-21-2004, 05:54 PM   #10
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Thanks, but it don't help me.
 
Old 12-21-2004, 06:47 PM   #11
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Yes, you missed a step. You will need to make a ramdisk image using the utility mkinitrd for the 2.4.25-1-multimedia-k7 kernel. After you use mkinitrd with the 2.4.25-1-multimedia-k7 kernel, decompress the file and mount it as a loop device. Then go into the loop device and make sure reiserfs.o.gz is decompressed. If its not there copy the module reiserfs.o.gz from 2.4.25-1-multimedia-k7 to the loop device in /lib/modules/ on the loop device and decompress it. You may need to configure some scripts in the loop device to load the module. Next unmount the loop device and compress the file using gzip. Do not use tar with the gzip option because it will not work.

IMO, grub is better because one mistake in the boot config (menu.lst) can easily be re-edited with grub's terminal or with a LIVE Linux CD distribution. LILO does not give you any chance to fix it. Its either you got it or you have hot paper weight when using LILO.

BTW, ALSA supports ICE1712, so you do not have to hop around finding kernels that does.
 
Old 12-22-2004, 12:58 PM   #12
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Wow! It's out of my knowledge!! So i have to do it . Just another short question: why?
BTW: Thanx again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket drivers won't load, then taking a kernel panic pjz Linux - Software 1 06-18-2005 10:09 AM
Taking kernel from livecd zaicheke Linux - General 2 03-20-2005 11:11 AM
Taking Kernel from Kernel.org to vmlinuz hobbes567 Linux - Newbie 2 06-17-2004 04:47 PM
Kernel Decompress Taking a long time v2-ncl Linux - Laptop and Netbook 0 11-10-2003 08:47 AM
is there a way to re-compile the modules in the kernel without taking out the oldones likid0 Linux - Software 3 06-29-2003 05:51 AM


All times are GMT -5. The time now is 12:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration