* Re: A compiling procedure question.
A compiling procedure question Dan Murphy
@ ` Janina Sajka
` Steve Holmes
` Terry Cudney
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Speakup mailing list
Open your /usr/src/linux/.config file in your favorite text editor and
find the line where you said 'n' rather than 'y.' Delete the entire line.
and then do:
make dep bzImage modules modules_install install
PS: Why are you using 2.4.5? 2.4.17 is current.
PSS; I'm not sure anyone understands everything in .config.
On Sat, 12
Jan 2002, Dan Murphy wrote:
> Hi again folks.
> Although I have read the howto on compiling kernels, and I have done
> it successfully before, I don't understand some of the science behind
> some of the procedures, so here's my question.
> I compiled the 2.4.5 kernel, but during make config, I got distracted,
> and in the sound section I pressed n instead of y.
> I didn't realize this UN till later. Is there a way I can go back in
> and do it again without blowing away my whole source tree and starting
> fresh? If not, I don't mind, but I am hoping there's an easier way.
> Some of the information in the kernel howto was a bit over my head.
> thanks.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Janina Sajka, Director
Technology Research and Development
Governmental Relations Group
American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: A compiling procedure question.
` Janina Sajka
@ ` Steve Holmes
0 siblings, 0 replies; 9+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: Speakup mailing list
Shouldn't he do a "make oldconfig" first? This way he'll get prompted for
the sound support again and he can now answer the question correctly.
On Sat, 12 Jan 2002, Janina Sajka wrote:
> Open your /usr/src/linux/.config file in your favorite text editor and
> find the line where you said 'n' rather than 'y.' Delete the entire line.
> and then do:
>
> make dep bzImage modules modules_install install
>
>
> PS: Why are you using 2.4.5? 2.4.17 is current.
>
> PSS; I'm not sure anyone understands everything in .config.
>
> On Sat, 12
> Jan 2002, Dan Murphy wrote:
>
> > Hi again folks.
> > Although I have read the howto on compiling kernels, and I have done
> > it successfully before, I don't understand some of the science behind
> > some of the procedures, so here's my question.
> > I compiled the 2.4.5 kernel, but during make config, I got distracted,
> > and in the sound section I pressed n instead of y.
> > I didn't realize this UN till later. Is there a way I can go back in
> > and do it again without blowing away my whole source tree and starting
> > fresh? If not, I don't mind, but I am hoping there's an easier way.
> > Some of the information in the kernel howto was a bit over my head.
> > thanks.
> >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: A compiling procedure question.
A compiling procedure question Dan Murphy
` Janina Sajka
@ ` Terry Cudney
` Gregory Nowak
` Thomas Ward
3 siblings, 0 replies; 9+ messages in thread
From: Terry Cudney @ UTC (permalink / raw)
To: Speakup mailing list
Hi Dan,
There is a way to do this, although you must be careful not to alter anything else in the .config file:
1) make a backup copy of the .config file from your /usr/src/linux directory:
cp .config ../config-backup
2) edit the file: /usr/src/linux/.config deleting the section containing the erroneously configured option.
3) do a: 'make oldconfig' - this will only prompt you for the options that you deleted in your earlier editing session
4) continue with the rest of the steps for compiling the kernel (ie make dep / make bzImage / make modules / make modules_install)
HTH,
--terry
You wrote:
-=> Hi again folks.
-=> Although I have read the howto on compiling kernels, and I have done
-=> it successfully before, I don't understand some of the science behind
-=> some of the procedures, so here's my question.
-=> I compiled the 2.4.5 kernel, but during make config, I got distracted,
-=> and in the sound section I pressed n instead of y.
-=> I didn't realize this UN till later. Is there a way I can go back in
-=> and do it again without blowing away my whole source tree and starting
-=> fresh? If not, I don't mind, but I am hoping there's an easier way.
-=> Some of the information in the kernel howto was a bit over my head.
-=> thanks.
-=>
-=>
-=>
-=> _______________________________________________
-=> Speakup mailing list
-=> Speakup@braille.uwo.ca
-=> http://speech.braille.uwo.ca/mailman/listinfo/speakup
-=>
Name: Terry D. Cudney
Phone: (905)735-6127
E-mail: tcudney@sympatico.ca
Web: www3.sympatico.ca/tcudney
Smart people speak from experience.
Smarter people, from experience, listen.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: A compiling procedure question.
A compiling procedure question Dan Murphy
` Janina Sajka
` Terry Cudney
@ ` Gregory Nowak
` Raul A. Gallegos
` Thomas Ward
3 siblings, 1 reply; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Just do a "make config" until you get to the prompt you missed, and answer y.
Alternatively, you can do "make menuconfig" but I've found doing that to be somewhat confusing. Hth.
Greg
On Sat, Jan 12, 2002 at 09:17:31PM -0500, Dan Murphy wrote:
> Hi again folks.
> Although I have read the howto on compiling kernels, and I have done
> it successfully before, I don't understand some of the science behind
> some of the procedures, so here's my question.
> I compiled the 2.4.5 kernel, but during make config, I got distracted,
> and in the sound section I pressed n instead of y.
> I didn't realize this UN till later. Is there a way I can go back in
> and do it again without blowing away my whole source tree and starting
> fresh? If not, I don't mind, but I am hoping there's an easier way.
> Some of the information in the kernel howto was a bit over my head.
> thanks.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: A compiling procedure question.
` Gregory Nowak
@ ` Raul A. Gallegos
` Gregory Nowak
` Geoff Shang
0 siblings, 2 replies; 9+ messages in thread
From: Raul A. Gallegos @ UTC (permalink / raw)
To: speakup
Gregory Nowak said the following on Sat, Jan 12, 2002 at 11:22:38PM -0600:
>
> Just do a "make config" until you get to the prompt you missed, and answer y.
> Alternatively, you can do "make menuconfig" but I've found doing that to be somewhat confusing. Hth.
> Greg
Greg. If you want to retain all answers though you need to edit .config
and do make oldconfig as it was stated. Simply doing make config will
blow away your existing .config and prompt you for everything again.
*smile*.
Take care.
--
We are writing this e-mail to inform you that the mail server is down.
Please do not call the help desk for assistance. To see the progress of
any outage refer to your e-mail notifications.
Raul A. Gallegos - http://www.asmodean.net
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: A compiling procedure question.
` Raul A. Gallegos
@ ` Gregory Nowak
` Geoff Shang
1 sibling, 0 replies; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Yeah, I've thought of that after I wrote my message.
Greg
On Sun, Jan 13, 2002 at 05:12:12PM -0600, Raul A. Gallegos wrote:
> Gregory Nowak said the following on Sat, Jan 12, 2002 at 11:22:38PM -0600:
> >
> > Just do a "make config" until you get to the prompt you missed, and answer y.
> > Alternatively, you can do "make menuconfig" but I've found doing that to be somewhat confusing. Hth.
> > Greg
>
> Greg. If you want to retain all answers though you need to edit .config
> and do make oldconfig as it was stated. Simply doing make config will
> blow away your existing .config and prompt you for everything again.
> *smile*.
>
> Take care.
>
> --
> We are writing this e-mail to inform you that the mail server is down.
> Please do not call the help desk for assistance. To see the progress of
> any outage refer to your e-mail notifications.
> Raul A. Gallegos - http://www.asmodean.net
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: A compiling procedure question.
` Raul A. Gallegos
` Gregory Nowak
@ ` Geoff Shang
1 sibling, 0 replies; 9+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
On Sun, 13 Jan 2002, Raul A. Gallegos wrote:
> Greg. If you want to retain all answers though you need to edit .config
> and do make oldconfig as it was stated. Simply doing make config will
> blow away your existing .config and prompt you for everything again.
This is *NOT!!!* correct. Yes, 'make config' will prompt you for
everything again, but your current answers are given as defaults and
hitting enter will retain them. I've gone through 'make config' a few
times in the early days when I had to fix one answer. It's tedious but you
can do it. 'make oldconfig' will only prompt you for new questions, and is
designed to be run on a newer release kernel than the one it was previously
run for (so you only get asked the new questions). 'make config' and 'make
menuconfig' will edit your existing setup.
AFAIK, the only commands that will blow away your .config are 'make
mrproper' and 'rm .config'.
Geoff.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: A compiling procedure question.
A compiling procedure question Dan Murphy
` (2 preceding siblings ...)
` Gregory Nowak
@ ` Thomas Ward
3 siblings, 0 replies; 9+ messages in thread
From: Thomas Ward @ UTC (permalink / raw)
To: speakup
Hi, I would use make menuconfig. That way you can change sections that you
want without having to answer every bloody question in the make config.
----- Original Message -----
From: Dan Murphy <mweeby@nycap.rr.com>
To: Speakup mailing list <speakup@braille.uwo.ca>
Sent: Saturday, January 12, 2002 9:17 PM
Subject: A compiling procedure question.
> Hi again folks.
> Although I have read the howto on compiling kernels, and I have done
> it successfully before, I don't understand some of the science behind
> some of the procedures, so here's my question.
> I compiled the 2.4.5 kernel, but during make config, I got distracted,
> and in the sound section I pressed n instead of y.
> I didn't realize this UN till later. Is there a way I can go back in
> and do it again without blowing away my whole source tree and starting
> fresh? If not, I don't mind, but I am hoping there's an easier way.
> Some of the information in the kernel howto was a bit over my head.
> thanks.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 9+ messages in thread