Re: Kernel build failure - on joy.sh?

2003-12-19 Thread Ceri Davies
On Thu, Dec 18, 2003 at 07:18:52PM -0800, Kent Stewart wrote:
 On Thursday 18 December 2003 06:49 pm, The Bean wrote:

  So this is a make problem, not a config file problem. What's odd is that my
  attempt to make installkernel worked when I upgraded, but make
  installkernel KERNCONF=MyGENERIC fails, even though the only differences
  are options IPFIREWALL,
  options IPFIREWALL_VERBOSE, and options IPDIVERT. Perhaps the different
  config file cause make to do more work, and that triggered the problem.
  Interesting.
 
 I didn't look into that. I saw that joy.sh had been moved to the attic on the 
 cvs-repository and stopped at that point. FWIW, my config file doesn't have 
 anything to say about a joy.

joy.sh has not been deleted from RELENG_4, only HEAD.

Ceri

-- 


pgp0.pgp
Description: PGP signature


Kernel build failure - on joy.sh?

2003-12-18 Thread The Bean
Hi all,

I recently updated my source to 4.9-Stable from 4.2-Release. 
I did everything according the Handbook, and it seems to be
working fine.

I'm now trying to enable the kernel for firewalls. I made a copy of
GENERIC  made the attendant changes. 

make buildkernel KERNCONF=MyNewfile works fine. 

make installkernel KERNCONF=MyNewfile fails, with this message:

  install: /usr/src/sys/modules/joy/joy.sh: No such file or directory

Googling on this, I found two cases. One guy got no responses. The other
got one response which said If I had to guess, you updated the sources 
but were only building the kernel.  Don't do that. 

True, I updated my source, but I also did a buildworld on that source, 
and actually built a new kernel as part of that process (as recommended 
by the handbook). 

Does anyone know what the problem might be? Also, doing man joy 
(tee hee) tells me that joy.sh is used to load the joystick module. I
don't care about the joystick, so can I just disable this?

Thanks,
The Bean


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel build failure - on joy.sh?

2003-12-18 Thread Kent Stewart
On Thursday 18 December 2003 05:21 pm, The Bean wrote:
 Hi all,

 I recently updated my source to 4.9-Stable from 4.2-Release.
 I did everything according the Handbook, and it seems to be
 working fine.

 I'm now trying to enable the kernel for firewalls. I made a copy of
 GENERIC  made the attendant changes.

 make buildkernel KERNCONF=MyNewfile works fine.

 make installkernel KERNCONF=MyNewfile fails, with this message:

   install: /usr/src/sys/modules/joy/joy.sh: No such file or directory

 Googling on this, I found two cases. One guy got no responses. The other
 got one response which said If I had to guess, you updated the sources
 but were only building the kernel.  Don't do that.

 True, I updated my source, but I also did a buildworld on that source,
 and actually built a new kernel as part of that process (as recommended
 by the handbook).

 Does anyone know what the problem might be? Also, doing man joy
 (tee hee) tells me that joy.sh is used to load the joystick module. I
 don't care about the joystick, so can I just disable this?


Joy.sh was retired but the Makefile still refers to it as an afterinstall 
option. The joy.sh script was never removed from my /usr/src by cvsup. 

You could grab joy.sh from the attic. The script that I still have, simply 
does kldload joy.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel build failure - on joy.sh?

2003-12-18 Thread The Bean

--- Kent Stewart [EMAIL PROTECTED] wrote:
 Joy.sh was retired but the Makefile still refers to it as an afterinstall 
 option. The joy.sh script was never removed from my /usr/src by cvsup. 
 
 You could grab joy.sh from the attic. The script that I still have, simply 
 does kldload joy.

Thank you Kent, for your awfully prompt resposne! This confused me at first, 
but I believe you're saying that either I can go to the attic and get joy.sh . . . 
OR, I can simply make a one-liner that says 'kldload joy.sh'. If I don't care about
joy then I suppose a 0-liner would work too, as long as make finds something. Since
I don't know what the attic is, it might be vi time (or perhaps just touch).



So this is a make problem, not a config file problem. What's odd is that my attempt
to make installkernel worked when I upgraded, but make installkernel KERNCONF=MyGENERIC
fails, even though the only differences are options IPFIREWALL, 
options IPFIREWALL_VERBOSE, and options IPDIVERT. Perhaps the different config file
cause make to do more work, and that triggered the problem. Interesting.

Should the make file be changed so that it doesn't try to install a module that it
doesn't build? Or is there a legitimate reason to try it?

Thanks again Kent!
Chris

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel build failure - on joy.sh?

2003-12-18 Thread Kent Stewart
On Thursday 18 December 2003 06:49 pm, The Bean wrote:
 --- Kent Stewart [EMAIL PROTECTED] wrote:
  Joy.sh was retired but the Makefile still refers to it as an afterinstall
  option. The joy.sh script was never removed from my /usr/src by cvsup.
 
  You could grab joy.sh from the attic. The script that I still have,
  simply does kldload joy.

 Thank you Kent, for your awfully prompt resposne! This confused me at
 first, but I believe you're saying that either I can go to the attic and
 get joy.sh . . . OR, I can simply make a one-liner that says 'kldload
 joy.sh'. If I don't care about joy then I suppose a 0-liner would work too,
 as long as make finds something. Since I don't know what the attic is, it
 might be vi time (or perhaps just touch).


Well, what is there is the following

#!/bin/sh
# $FreeBSD: src/sys/modules/joy/joy.sh,v 1.5 1999/08/28 00:47:23 peter Exp $

kldload joy

The permissions are
-rw-r--r--  1 root  wheel  100 Aug 27  1999 /usr/src/sys/modules/joy/joy.sh



 So this is a make problem, not a config file problem. What's odd is that my
 attempt to make installkernel worked when I upgraded, but make
 installkernel KERNCONF=MyGENERIC fails, even though the only differences
 are options IPFIREWALL,
 options IPFIREWALL_VERBOSE, and options IPDIVERT. Perhaps the different
 config file cause make to do more work, and that triggered the problem.
 Interesting.

I didn't look into that. I saw that joy.sh had been moved to the attic on the 
cvs-repository and stopped at that point. FWIW, my config file doesn't have 
anything to say about a joy.


 Should the make file be changed so that it doesn't try to install a module
 that it doesn't build? Or is there a legitimate reason to try it?

It doesn't make sense for joy/Makefile to even be used but if you delete the 
reference in modules/Makefile, cvsup will replace it. If you add joy.sh, you 
shouldn't have the problem.

Kent


 Thanks again Kent!
 Chris

 __
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing.
 http://photos.yahoo.com/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]