LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-19-2005, 10:30 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Is it possible to start Slackware installation using own compiled kernel?


Is it possible to start Slackware installation using own compiled kernel, say, /boot/myNewImage? I didn't find any way to do that - only from CD/kernels dir. I just want to install 2.6.7 instead of 2.4.26. When I just choose the 2.6.7 during loading, there appear sound and other module's problems. I even couldn't use kppp. That's why I want to use "my own" kernel so that the system will configure everything properly during installation (working with my new 2.6.7).
 
Old 01-19-2005, 10:34 AM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
I still don't really get what you're saying there.. But if you want to always keep a copy of your 'kernel', you can just save its settings into a file (export it). Afterwards, whenever you reinstall, just get the kernel source again, stick in your configs, and recompile..

I used to do that with my desktop.. whenever i screw up anything, i just redownload Kernel 2.4.28 from slack.com, stick in my configs, recompile once, and everything's back to normal.

EDIT: Aah, just understood.. Short answer, Yes, its possible to replace or add stuff to the installation, but its a bit tricky, but there are several documentations and others who asked the question in LQ. Also.. I wonder if its possible to use 'checkinstall' instead of 'make install' when compiling, so that you have a package of your newly configured and compiled kernel which you can stick in a slackware installation cd (iso)... Maby..

Last edited by xushi; 01-19-2005 at 10:37 AM.
 
Old 01-19-2005, 10:55 AM   #3
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Well, I'll try to find... but may be you know how to find similar threads?
____
Can u tell me shortly how ad block works?
 
Old 01-19-2005, 11:53 AM   #4
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
I had bothered with searching. I type "slackware kernel install" to find, and it displays some Mandy s**t... I would better use my old 2.4.26
 
Old 01-21-2005, 11:15 AM   #5
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
After I recompiled kernel I saved it to floppy. Then reinstalled Slack10 and chose to install my floppy image. But when I typed "alsaconf" it recognized my AC'97 and almost installed. Sound works in KDE. But if I try to run alsamixer I get the next: alsamixer: function snd_ctl_open failed for default: No such device. AND EVERY HOUR WHILE xmms is playing oppears a window that tells me to check if no other app blocks sound. I press ok. Then I press play in xmms, it plays. But I never got such message-windows before. Sound errors were earlier, but xmms didn't stop playing - it just waited for sound device. Now it stops. Quite annoying to press play every hour. Any ideas on how to repair it?
__________
I chose ALSA, intel ICH8x0 and OSS as built-ins of the kernel.
 
Old 01-21-2005, 11:22 AM   #6
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
Quote:
Originally posted by kornerr
After I recompiled kernel I saved it to floppy. Then reinstalled Slack10 and chose to install my floppy image. But when I typed "alsaconf" it recognized my AC'97 and almost installed. Sound works in KDE. But if I try to run alsamixer I get the next: alsamixer: function snd_ctl_open failed for default: No such device. AND EVERY HOUR WHILE xmms is playing oppears a window that tells me to check if no other app blocks sound. I press ok. Then I press play in xmms, it plays. But I never got such message-windows before. Sound errors were earlier, but xmms didn't stop playing - it just waited for sound device. Now it stops. Quite annoying to press play every hour. Any ideas on how to repair it?
__________
I chose ALSA, intel ICH8x0 and OSS as built-ins of the kernel.
disable arts (kde sound system)

also it's more than recommended to recompile your alsa drivers after a kernel change.
 
Old 01-21-2005, 11:49 AM   #7
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
How to recompile alsa drvs?
 
Old 01-21-2005, 12:04 PM   #8
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
here is how to rebuild the modules for your kernel, if alsaconf says no card found.

1. go to alsa souncard matrix and find your card:
http://www.alsa-project.org/alsa-doc/

2.dl the version of alsa-driver from the alsa-project site, same version of whatever you have installed currently (check the version of the packages in pkgtool if you have too)

3. compile the drivers according to the website , run alsaconf, then alsamixer, and wala!!

for example************************************************************
lspci tells me:
Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

I find out from kpackage or pkgtool that i currently have alsa-1.0.7 installed (just done a swaret)

so i go to ftp://ftp.alsa-project.org/pub/driver/
and dl alsa-driver-1.0.7.tar.bz2

then i look up my card in the alsa matrix (link above) I find CMedia in the dropdown list. It takes me to a table with my chipset CMI8738. then i see in that table it uses the cmipci module http://www.alsa-project.org/alsa-doc...C-Media#matrix
i click on the cmipci module and it takes me to here:

http://www.alsa-project.org/alsa-doc...&module=cmipci

then i follow the instructions as per the page:

Code:
cd <to directory where i dl the alsa-driverpackage>
bunzip2 alsa-driver-xxx
        tar -xf alsa-driver-xxx
        cd alsa-driver-xxx
        ./configure --with-cards=cmipci --with-sequencer=yes;make;make install
I run:
alsaconf
**note** ::some cases you'll have to reboot after this::
and:
alsamixer

make sure i do a
alsactl store
so it will keep my alsamixer settings

that is all there is to it, this should work for new compiled kernels too. Try it!!
 
Old 01-22-2005, 10:30 AM   #9
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Thanks for such a GOOD answer! Will follow someday
___________
Cold silence has...
A tendency to...
Atrophy any...
Sense of compassion... - "Tool"
 
  


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
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1 Basel Slackware 4 09-09-2005 01:57 PM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 05:05 PM
kernel compiled no keyboard not found - toshiba/ slackware 9.1 noir911 Linux - Laptop and Netbook 0 09-23-2004 12:31 PM
slackware 10 compiled kernel migration questions mr_earswab Slackware 1 07-17-2004 03:51 PM
GMplayer - will not start, compiled correctly AFAIK XavierP Linux - Software 6 10-26-2003 10:40 AM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
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