Re: Gentoo problem compiling modules

2003-09-13 Thread David A. Bandel
On Thu, 11 Sep 2003 20:31:26 -0400
Brett I. Holcomb [EMAIL PROTECTED] wrote:

 You run make menuconfig which gives you a menu of stuff that you can 
 change.  When you exit and save the file .config in /usr/src/linux is 
 created or modified.  It uses that to figure out what to build.

Yes, but .config should _not_ be edited by hand.  There are dependency
issues and you can more likely than not configure a kernel that won't
compile (which is what `make [x|menu]config` is designed to handle.  A
non-compilable kernel is much less likely using the tools provided.

But knock yourself out!

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
Nemesis Racing Team motto
GPG key autoresponder:  mailto:[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-13 Thread Brett I. Holcomb
Exactly my point.  The orignal poster of this thread was wondering about 
editing .config by hand.  In one of my posts I told him it's not 
recommended.  This post was in response to how the process worked.

David A. Bandel wrote:

 On Thu, 11 Sep 2003 20:31:26 -0400
 Brett I. Holcomb [EMAIL PROTECTED] wrote:
 
 You run make menuconfig which gives you a menu of stuff that you can
 change.  When you exit and save the file .config in /usr/src/linux is
 created or modified.  It uses that to figure out what to build.
 
 Yes, but .config should _not_ be edited by hand.  There are dependency
 issues and you can more likely than not configure a kernel that won't
 compile (which is what `make [x|menu]config` is designed to handle.  A
 non-compilable kernel is much less likely using the tools provided.
 
 But knock yourself out!
 
 Ciao,
 
 David A. Bandel

-- 
Brett I. Holcomb
[EMAIL PROTECTED]
AKA Grunt 
Registered Linux User #188143
Remove R777 to email
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-13 Thread Collins Richey
On Sat, 13 Sep 2003 06:53:07 -0500
David A. Bandel [EMAIL PROTECTED] wrote:

 On Thu, 11 Sep 2003 20:31:26 -0400
 Brett I. Holcomb [EMAIL PROTECTED] wrote:
 
  You run make menuconfig which gives you a menu of stuff that you can
  
  change.  When you exit and save the file .config in /usr/src/linux
  is created or modified.  It uses that to figure out what to build.
 
 Yes, but .config should _not_ be edited by hand.  There are dependency
 issues and you can more likely than not configure a kernel that won't
 compile (which is what `make [x|menu]config` is designed to handle.  A
 non-compilable kernel is much less likely using the tools provided.
 
 But knock yourself out!

Yep, change was a little too much shorthand.  change means, as I
posted earlier,  make xxxconfig, load a saved config file, make changes,
save the config to your saved config file, save to .config by exiting. 
Sorry for the confusion.


-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-12 Thread Brett I. Holcomb
You run make menuconfig which gives you a menu of stuff that you can 
change.  When you exit and save the file .config in /usr/src/linux is 
created or modified.  It uses that to figure out what to build.


Alan Jackson wrote:

 On Thu, 11 Sep 2003 10:50:37 -0700
 Condon Thomas A KPWA [EMAIL PROTECTED] wrote:
 
 Alan Jackson wrote:
  I installed Gentoo a week ago, and it has mostly been quite smooth.
  printer.o file created. Any suggestions?
 
 Did you run make modules first?
 
 
 Yes.
 
 I'm closer to the problem, though. For some reason, in my
 /etc/kernels/default_config
 the usb printer is disabled. I tried editing this file and
 recompiling, but that doesn't do it. What command does
 gentoo expect for me to update whatever file knows which
 modules to compile?
 
 

-- 
Brett I. Holcomb
[EMAIL PROTECTED]
AKA Grunt 
Registered Linux User #188143
Remove R777 to email
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


RE: Gentoo problem compiling modules

2003-09-11 Thread Condon Thomas A KPWA
Alan Jackson wrote:
 I installed Gentoo a week ago, and it has mostly been quite smooth.
 
 However some, but not all, of my modules missed getting compiled.
 In particular, usb/printer doesn't seem to want to compile. I ran
 make modules_install
 and it didn't help. I get no errors, I just don't get a
 printer.o file created. Any suggestions?

Did you run make modules first?


Tom  :-})

Thomas A. Condon

Plain Text Emails Don't Spread Virii!
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Brett I. Holcomb
Did you use makeconfig to define whatever it takes to make the module 
compile?

Alan Jackson wrote:

 I installed Gentoo a week ago, and it has mostly been quite smooth.
 
 However some, but not all, of my modules missed getting compiled. In
 particular, usb/printer doesn't seem to want to compile. I ran
 make modules_install
 and it didn't help. I get no errors, I just don't get a
 printer.o file created. Any suggestions?
 
 This is making it hard for me to print!
 

-- 
Brett I. Holcomb
[EMAIL PROTECTED]
AKA Grunt 
Registered Linux User #188143
Remove R777 to email
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Alan Jackson
On Thu, 11 Sep 2003 10:50:37 -0700
Condon Thomas A KPWA [EMAIL PROTECTED] wrote:

 Alan Jackson wrote:
  I installed Gentoo a week ago, and it has mostly been quite smooth.
  
  However some, but not all, of my modules missed getting compiled.
  In particular, usb/printer doesn't seem to want to compile. I ran
  make modules_install
  and it didn't help. I get no errors, I just don't get a
  printer.o file created. Any suggestions?
 
 Did you run make modules first?
 

Yes.

I'm closer to the problem, though. For some reason, in my 
/etc/kernels/default_config
the usb printer is disabled. I tried editing this file and
recompiling, but that doesn't do it. What command does
gentoo expect for me to update whatever file knows which
modules to compile?


-- 
---
| Alan K. Jackson| To see a World in a Grain of Sand  |
| [EMAIL PROTECTED]  | And a Heaven in a Wild Flower, |
| www.ajackson.org   | Hold Infinity in the palm of your hand |
| Houston, Texas | And Eternity in an hour. - Blake   |
---
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Collins Richey
On Wed, 10 Sep 2003 22:02:09 -0500
Alan Jackson [EMAIL PROTECTED] wrote:

 I installed Gentoo a week ago, and it has mostly been quite smooth.
 
 However some, but not all, of my modules missed getting compiled.
 In particular, usb/printer doesn't seem to want to compile. I ran 
 make modules_install 
 and it didn't help. I get no errors, I just don't get a
 printer.o file created. Any suggestions?
 
 This is making it hard for me to print!
 

Never heard of this.  Which of the many kernel offerings on gentoo are
you using?  Have you tried with the plain vanilla kernel?  You mentioned
make modules_install.  Did you do make modules first?

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Collins Richey
On Thu, 11 Sep 2003 18:40:39 -0500
Alan Jackson [EMAIL PROTECTED] wrote:

 On Thu, 11 Sep 2003 10:50:37 -0700
 Condon Thomas A KPWA [EMAIL PROTECTED] wrote:
 
  Alan Jackson wrote:
   I installed Gentoo a week ago, and it has mostly been quite
   smooth.
   
   However some, but not all, of my modules missed getting
   compiled. In particular, usb/printer doesn't seem to want to
   compile. I ran make modules_install
   and it didn't help. I get no errors, I just don't get a
   printer.o file created. Any suggestions?
  
  Did you run make modules first?
  
 
 Yes.
 
 I'm closer to the problem, though. For some reason, in my 
 /etc/kernels/default_config
 the usb printer is disabled. I tried editing this file and
 recompiling, but that doesn't do it. What command does
 gentoo expect for me to update whatever file knows which
 modules to compile?
 

The normal action (for me) is 

1) make menuconfig
scroll to the bottom of the choices and load your existing config
make your changes
scroll to the bottom again and save your config where you got it
from.
Save your actual .config on exit

2) make dep  make bzImage  make modules  make modules_install

3) Copy your new arch/i386/boot/bzImage to /boot under a new name
Copy your new System.map to /boot under a new name
remake your link for /boot/System.map

4) make appropriate changes to lilo or grub.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Brett I. Holcomb
You can edit .config but I wouldn't recommend it.  Simply answer just the 
questions you need.  The config file has what your current setup is.  If 
you want to add the printer that's all you have to modify.  When you add 
other stuff you just answer the questions that pertain to that item.

Alan Jackson wrote:

 On Thu, 11 Sep 2003 19:04:41 -0400
 Brett I. Holcomb [EMAIL PROTECTED] wrote:
 
 Did you use makeconfig to define whatever it takes to make the module
 compile?
 
 Alan Jackson wrote:
 
  I installed Gentoo a week ago, and it has mostly been quite smooth.
  
  However some, but not all, of my modules missed getting compiled.
  In particular, usb/printer doesn't seem to want to compile. I ran
  make modules_install
  and it didn't help. I get no errors, I just don't get a
  printer.o file created. Any suggestions?
  
  This is making it hard for me to print!
  
 
 
 Thanks!
 
 What it took was
 make config
 make dep
 make modules
 
 Is there a file I could edit instead of running make config? It has *way*
 too many questions!
 
 

-- 
Brett I. Holcomb
[EMAIL PROTECTED]
AKA Grunt 
Registered Linux User #188143
Remove R777 to email
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Alan Jackson
On Thu, 11 Sep 2003 19:50:07 -0600
Collins Richey [EMAIL PROTECTED] wrote:

 On Wed, 10 Sep 2003 22:02:09 -0500
 Alan Jackson [EMAIL PROTECTED] wrote:
 
  I installed Gentoo a week ago, and it has mostly been quite smooth.
  
  However some, but not all, of my modules missed getting compiled.
  In particular, usb/printer doesn't seem to want to compile. I ran 
  make modules_install 
  and it didn't help. I get no errors, I just don't get a
  printer.o file created. Any suggestions?
  
  This is making it hard for me to print!
  
 
 Never heard of this.  Which of the many kernel offerings on gentoo are
 you using?  Have you tried with the plain vanilla kernel?  You mentioned
 make modules_install.  Did you do make modules first?

I got the gentoo CD and followed the directions for a stage 3 install
with a vanilla kernel. Nothing fancy. Going through make config I see
that, curiously, the default for usb printers is no. I'm pretty sure
the standard install never gave me an opportunity to tell it to compile
that module. Or maybe I just missed it.


-- 
---
| Alan K. Jackson| To see a World in a Grain of Sand  |
| [EMAIL PROTECTED]  | And a Heaven in a Wild Flower, |
| www.ajackson.org   | Hold Infinity in the palm of your hand |
| Houston, Texas | And Eternity in an hour. - Blake   |
---
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Collins Richey
On Thu, 11 Sep 2003 20:52:17 -0500
Alan Jackson [EMAIL PROTECTED] wrote:

 On Thu, 11 Sep 2003 19:04:41 -0400
 Brett I. Holcomb [EMAIL PROTECTED] wrote:
 
  Did you use makeconfig to define whatever it takes to make the
  module compile?
  
  Alan Jackson wrote:
  
   I installed Gentoo a week ago, and it has mostly been quite
   smooth.
   
   However some, but not all, of my modules missed getting
   compiled. In particular, usb/printer doesn't seem to want to
   compile. I ran make modules_install
   and it didn't help. I get no errors, I just don't get a
   printer.o file created. Any suggestions?
   
   This is making it hard for me to print!
   
  
 
 Thanks!
 
 What it took was
 make config
 make dep
 make modules
 
 Is there a file I could edit instead of running make config? It has
 *way* too many questions!
 

Read my previous post a little more carefully, but then maybe I was too
cryptic.  make menuconfig allows you to reload a config that you have
saved, then make a few changes, then save your changes under your
preferred name, then save the .config for make dep ...

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Gentoo problem compiling modules

2003-09-11 Thread Collins Richey
On Thu, 11 Sep 2003 21:05:37 -0500
Alan Jackson [EMAIL PROTECTED] wrote:

 On Thu, 11 Sep 2003 19:50:07 -0600
 Collins Richey [EMAIL PROTECTED] wrote:
 
  On Wed, 10 Sep 2003 22:02:09 -0500
  Alan Jackson [EMAIL PROTECTED] wrote:
  
   I installed Gentoo a week ago, and it has mostly been quite
   smooth.
   
   However some, but not all, of my modules missed getting
   compiled. In particular, usb/printer doesn't seem to want to
   compile. I ran make modules_install 
   and it didn't help. I get no errors, I just don't get a
   printer.o file created. Any suggestions?
   
   This is making it hard for me to print!
   
  
  Never heard of this.  Which of the many kernel offerings on gentoo
  are you using?  Have you tried with the plain vanilla kernel?  You
  mentioned make modules_install.  Did you do make modules first?
 
 I got the gentoo CD and followed the directions for a stage 3 install
 with a vanilla kernel. Nothing fancy. Going through make config I see
 that, curiously, the default for usb printers is no. I'm pretty sure
 the standard install never gave me an opportunity to tell it to
 compile that module. Or maybe I just missed it.
 
 

It's a long story.  Basically, the gentoo distro presumes a lot of
knowledge on your part, most especially with respect to building a
kernel.  Perhaps they will offer pre-built kernels some day.

Once you've gone through the procedure of building a kernel once or
twice, you'll get the picture.

Just keep asking questions.  Building a kernel is a learned activity;
none of us were born with that knowledge.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users