Re: Compiling -CURRENT and PCMCIA support.

2002-11-22 Thread M. Warner Losh
In message: <1037904653.74226.21.camel@lobo>
Ryan Sommers <[EMAIL PROTECTED]> writes:
: Is the kernel on the 5.0SP2 ISO built with PCCard support? 

Yes.

: I installed
: from CD-ROM onto a Compaq laptop only to notice nothing about the PCMCIA
: Ethernet card I had in the dmesg output. 

Can you send me the dmesg.

: section of the release notes and I'm wondering if this has anything to
: do with it.
: 
: I'm probably going to have to compile a kernel with either the OLDCARD
: support or some other options so my next question, is it possible to
: build a -CURRENT kernel on 4.7?

Yes, but you have to use buildkernel, and you have to have a 5.0
config file, not a 4.x config file (which is a common source of the
errors that you've reported).

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



[Fwd: Compiling -CURRENT and PCMCIA support.]

2002-11-22 Thread Ryan Sommers
I got this back so I will try resending/asking it.

-Forwarded Message-

> From: Ryan Sommers <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Compiling -CURRENT and PCMCIA support.
> Date: 21 Nov 2002 12:50:53 -0600
> 
> ?On Tue, 2002-11-19 at 22:13, Ryan Sommers wrote:
> > My question is could I keep and build the CURRENT source tree on the
> > FreeBSD desktop, mount it over NFS to the laptop, and install it over
> > the NFS mount? 
> 
> Is the kernel on the 5.0SP2 ISO built with PCCard support? I installed
> from CD-ROM onto a Compaq laptop only to notice nothing about the PCMCIA
> Ethernet card I had in the dmesg output. I saw the PCCARD Support
> section of the release notes and I'm wondering if this has anything to
> do with it.
> 
> I'm probably going to have to compile a kernel with either the OLDCARD
> support or some other options so my next question, is it possible to
> build a -CURRENT kernel on 4.7? I'm getting the following when I tried
> to build a kernel for the laptop on my 4.7 workstation. Note: I
> installed net/cvsup-mirror and then fetched current with the following
> supfile and all of this is run as my cvs user:
> 
> *default host=localhost
> 
> *default prefix=/usr/home/cvs/
> *default base=/usr/home/cvs/
> *default release=cvs delete use-rel-suffix
> *default tag=.
> 
> #cvs-all
> src-all
> 
> 
> 
> bash-2.05a$ uname -a
> FreeBSD lobo 4.7-RELEASE FreeBSD 4.7-RELEASE #5: Fri Nov  8 15:29:17 CST
> 2002 ryans@lobo:/usr/obj/usr/src/sys/LOBO  i386
> bash-2.05a$ make buildkernel KERNCONF=LAPTOP MAKEOBJDIRPREFIX=~
> make: no target to make.
> "/usr/home/cvs/src/Makefile.inc1", line 141: warning: "make -f /dev/null
> -m /usr/home/cvs/src/share/mk  CPUTYPE=dummy -V CPUTYPE" returned
> non-zero status
> 
> --
> >>> Kernel build for LAPTOP started on Thu Nov 21 09:37:05 CST 2002
> --
> ===> LAPTOP
> mkdir -p /usr/home/cvs/usr/home/cvs/src/sys
> cd /usr/home/cvs/src/sys/i386/conf; 
> 
>PATH=/usr/home/cvs/usr/home/cvs/src/i386/usr/sbin:/usr/home/cvs/usr/home/cvs/src/i386/usr/bin:/usr/home/cvs/usr/home/cvs/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>  config  -d /usr/home/cvs/usr/home/cvs/src/sys/LAPTOP  
>/usr/home/cvs/src/sys/i386/conf/LAPTOP
> ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or
> standard
> Your version of config(8) is out of sync with your kernel source.
> *** Error code 1
> 
> Stop in /usr/home/cvs/src.
> *** Error code 1
> 
> Stop in /usr/home/cvs/src.
> bash-2.05a$
> 
> Ryan.
> 
> -- 
> Ryan "leadZERO" Sommers
> [EMAIL PROTECTED]
> ICQ: 1019590   AIM/MSN: leadZERO
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
-- 
Ryan "leadZERO" Sommers
[EMAIL PROTECTED]
ICQ: 1019590   AIM/MSN: leadZERO




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Compiling -CURRENT and PCMCIA support.

2002-11-21 Thread Ryan Sommers
?On Tue, 2002-11-19 at 22:13, Ryan Sommers wrote:
> My question is could I keep and build the CURRENT source tree on the
> FreeBSD desktop, mount it over NFS to the laptop, and install it over
> the NFS mount? 

Is the kernel on the 5.0SP2 ISO built with PCCard support? I installed
from CD-ROM onto a Compaq laptop only to notice nothing about the PCMCIA
Ethernet card I had in the dmesg output. I saw the PCCARD Support
section of the release notes and I'm wondering if this has anything to
do with it.

I'm probably going to have to compile a kernel with either the OLDCARD
support or some other options so my next question, is it possible to
build a -CURRENT kernel on 4.7? I'm getting the following when I tried
to build a kernel for the laptop on my 4.7 workstation. Note: I
installed net/cvsup-mirror and then fetched current with the following
supfile and all of this is run as my cvs user:

*default host=localhost

*default prefix=/usr/home/cvs/
*default base=/usr/home/cvs/
*default release=cvs delete use-rel-suffix
*default tag=.

#cvs-all
src-all



bash-2.05a$ uname -a
FreeBSD lobo 4.7-RELEASE FreeBSD 4.7-RELEASE #5: Fri Nov  8 15:29:17 CST
2002 ryans@lobo:/usr/obj/usr/src/sys/LOBO  i386
bash-2.05a$ make buildkernel KERNCONF=LAPTOP MAKEOBJDIRPREFIX=~
make: no target to make.
"/usr/home/cvs/src/Makefile.inc1", line 141: warning: "make -f /dev/null
-m /usr/home/cvs/src/share/mk  CPUTYPE=dummy -V CPUTYPE" returned
non-zero status

--
>>> Kernel build for LAPTOP started on Thu Nov 21 09:37:05 CST 2002
--
===> LAPTOP
mkdir -p /usr/home/cvs/usr/home/cvs/src/sys
cd /usr/home/cvs/src/sys/i386/conf; 
PATH=/usr/home/cvs/usr/home/cvs/src/i386/usr/sbin:/usr/home/cvs/usr/home/cvs/src/i386/usr/bin:/usr/home/cvs/usr/home/cvs/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  config  -d /usr/home/cvs/usr/home/cvs/src/sys/LAPTOP  
/usr/home/cvs/src/sys/i386/conf/LAPTOP
../../conf/files: coda/coda_fbsd.c must be optional, mandatory or
standard
Your version of config(8) is out of sync with your kernel source.
*** Error code 1

Stop in /usr/home/cvs/src.
*** Error code 1

Stop in /usr/home/cvs/src.
bash-2.05a$

Ryan.

-- 
Ryan "leadZERO" Sommers
[EMAIL PROTECTED]
ICQ: 1019590   AIM/MSN: leadZERO




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message