Re: Upgrading to amd64 requires recompilation of ports?

2007-06-17 Thread Roland Smith
On Sat, Jun 16, 2007 at 06:21:40PM -0400, Indigo 23 wrote:
  Does anyone think that its worth the hassle? If you do manage to get
  it up and running, will you see any noticeable advantages or is it
  better to just stick with i386? The only caveat that I can see is a
  recompilation of all the ports.  Any thoughts?

You don't really _need_ it unless you've got more than four gigs of RAM
and are routinely running out of memory on i386. Then again, I installed
amd64 instead of i386 because I could. :-) No regrets so far.

Some stuff like binary drivers, flash player, is not available on
amd64 (not necessarily a bad thing :-). I think i386 has more ports
available as packages.

Amd 64 will use some more disk space and RAM.

Doing a clean reinstall instead of an upgrade will probably less of a hassle.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpOA3r7si6wO.pgp
Description: PGP signature


Re: Upgrading to amd64 requires recompilation of ports?

2007-06-17 Thread Kris Kennaway
On Sun, Jun 17, 2007 at 12:04:01PM +0200, Roland Smith wrote:
 On Sat, Jun 16, 2007 at 06:21:40PM -0400, Indigo 23 wrote:
   Does anyone think that its worth the hassle? If you do manage to get
   it up and running, will you see any noticeable advantages or is it
   better to just stick with i386? The only caveat that I can see is a
   recompilation of all the ports.  Any thoughts?
 
 You don't really _need_ it unless you've got more than four gigs of RAM
 and are routinely running out of memory on i386. Then again, I installed
 amd64 instead of i386 because I could. :-) No regrets so far.

s/'ve got more than four gigs of RAM and//.  Regardless of amount of
RAM, lack of virtual address space on i386 is crippling for certain
uses, for example ZFS.

 Some stuff like binary drivers, flash player, is not available on
 amd64 (not necessarily a bad thing :-). I think i386 has more ports
 available as packages.
 
 Amd 64 will use some more disk space and RAM.

Certain CPU-intensive applications will be faster when compiled for
amd64 (because of e.g. more registers being available).  Other
applications may be slower because of increased time required to copy
64-bit pointers compared to 32-bit.  There are other architectural
differences (e.g. 4 levels of page tables) that may also cause
different performance characteristics, plus and minus.

It all depends on your workload, so you have to test it and see.

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


Re: Upgrading to amd64 requires recompilation of ports?

2007-06-17 Thread Michael Schuh

Hi,

i have another Way that might be good, also for remote
take over.

You know Colin's depenguinator?
I have made my own new depenguinator, that could install
a complete base-system by building it on another box.

Anyone interested? I have written an Howto, that is at the time
not online.

cheers

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


Re: Upgrading to amd64 requires recompilation of ports?

2007-06-17 Thread Mike Andrews

On Sat, 16 Jun 2007, Kris Kennaway wrote:


I may have had to use the statically linked /rescue to do some things,
I don't remember.  It's not completely trivial, but someone who knows
their way around a FreeBSD system can do it.

We did it by using miniroot on swap partition of the system disk.
This approach has an advantage of keeping at least one good bootable
base system installation in any moment. Also, it allows move in both
directions, i.e. i386 - amd64.


Yeah, that's a neat trick to remember.  Another trick for doing
i386-amd64 is to install your new world into a DESTDIR, tar it up,
put the tarball onto the root filesystem, boot the new amd64 kernel
into single-user mode and use /rescue/tar to spam the amd64 tarball
over the i386 world.


I've used the miniroot-on-swap approach before.  Another trick I used this 
week (when I had to do four i386-amd64 migrations) was to build a 
netbootable amd64 system, PXE-boot that, and then installworld to the 
local disks that way.

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


Buildkernel error in acpi_hpet.c

2007-06-17 Thread Mike Jakubik
cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I-  
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common  
-I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -Wno-uninitialized -c 
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_ec.c
cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I-  
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common  
-I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -Wno-uninitialized -c 
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c: In 
function `acpi_hpet_table_probe':
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: `ACPI_TABLE_HPET' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: for each function it appears in.)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: `hpet' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:96: 
error: `ACPI_SIG_HPET' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:96: 
warning: passing arg 3 of `AcpiGetTable' from incompatible pointer type
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:104: 
error: syntax error before ')' token

*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Listing tar archives from tape (was Re: Unrecognized archive format with RELENG_6_2 and RELENG_6)

2007-06-17 Thread Tim Kientzle

After that I try to read/list the tar from tape with tar -t:
$ sudo tar -tf /dev/sa0
archive.dmp
tar: Unrecognized archive format: Inappropriate file type or format

But when I extract the archive from tape, it works perfectly:
$ sudo tar -xvf /dev/sa0


Please try the most recent -STABLE version of libarchive
and bsdtar, with the attached patch.

This simply disables the skip optimization when
reading archives from character or block
devices.

Tim Kientzle
Index: archive_read_open_filename.c
===
--- archive_read_open_filename.c	(revision 124)
+++ archive_read_open_filename.c	(working copy)
@@ -165,6 +165,15 @@
 	struct read_file_data *mine = (struct read_file_data *)client_data;
 	off_t old_offset, new_offset;
 
+	/*
+	 * Workaround for broken tape interfaces that don't support
+	 * seek(), but return success if you ask them to seek().  This
+	 * also, of course, slows down archive scanning significantly
+	 * on devices that can seek.  Yuck.
+	 */
+	if (S_ISCHR(mine-st_mode) || S_ISBLK(mine-st_mode))
+		return (0);
+
 	/* Reduce request to the next smallest multiple of block_size */
 	request = (request / mine-block_size) * mine-block_size;
 	/*
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

cxgb mfc is missing cxgb_include.h

2007-06-17 Thread Mike Jakubik
mkdep -f .depend -a   -nostdinc -DCONFIG_CHELSIO_T3_CORE -DDEFAULT_JUMBO 
-DCONFIG_DEFINED -D_KERNEL -DKLD_MODULE -I- 
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS 
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include 
-I/usr/obj/usr/src/sys/SPAMTOASTER 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc7323.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c if_cxgb.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c:34:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c:34:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c:34:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c:35:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c:35:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c:76:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:62:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:178:3: #error 
SGE_NUM_GENBITS must be 1 or 2
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c:53:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c:58:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c:53:26: 
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c:45:26: 
cxgb_include.h: No such file or directory

mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/cxgb.
*** Error code 1
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cxgb mfc is missing cxgb_include.h

2007-06-17 Thread Kip Macy

Oops - thanks.

On 6/17/07, Mike Jakubik [EMAIL PROTECTED] wrote:

mkdep -f .depend -a   -nostdinc -DCONFIG_CHELSIO_T3_CORE -DDEFAULT_JUMBO
-DCONFIG_DEFINED -D_KERNEL -DKLD_MODULE -I-
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include
-I/usr/obj/usr/src/sys/SPAMTOASTER
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc7323.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c if_cxgb.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c:34:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c:34:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c:34:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c:35:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c:35:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c:76:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:62:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:178:3: #error
SGE_NUM_GENBITS must be 1 or 2
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c:53:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c:58:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c:53:26:
cxgb_include.h: No such file or directory
/usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c:45:26:
cxgb_include.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/cxgb.
*** Error code 1
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: cxgb mfc is missing cxgb_include.h

2007-06-17 Thread Mike Jakubik

Kip Macy wrote:

Oops - thanks.


I've included the file from cvs on my box, however i now get this error 
while compiling.


---
cc -O2 -fno-strict-aliasing -pipe -march=prescott 
-DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc -I-  
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS 
-include /usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@ 
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  
-I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c
cc -O2 -fno-strict-aliasing -pipe -march=prescott 
-DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc -I-  
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS 
-include /usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@ 
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  
-I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c
In file included from 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_include.h:10,
from 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c:34:
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.h:83: warning: 
struct l2t_entry declared inside parameter list
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.h:83: warning: its 
scope is only this definition or declaration, which is probably not what 
you want

*** Error code 1

Stop in /usr/src/sys/modules/cxgb.
---

I then noticed that the contents of that file are all commented out, so 
i tried uncommenting but it fails during the depend stage.


---
mkdep -f .depend -a   -nostdinc -DCONFIG_CHELSIO_T3_CORE -DDEFAULT_JUMBO 
-DCONFIG_DEFINED -D_KERNEL -DKLD_MODULE -I- 
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS 
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include 
-I/usr/obj/usr/src/sys/SPAMTOASTER 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc7323.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c 
/usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c if_cxgb.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:178:3: #error 
SGE_NUM_GENBITS must be 1 or 2

mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/cxgb.
---
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cxgb mfc is missing cxgb_include.h

2007-06-17 Thread Kip Macy

I don't know. I just deleted dev/cxgb and recreated it from cvs and
LINT builds for me.

   -Kip


On 6/17/07, Mike Jakubik [EMAIL PROTECTED] wrote:

Kip Macy wrote:
 Oops - thanks.

I've included the file from cvs on my box, however i now get this error
while compiling.

---
cc -O2 -fno-strict-aliasing -pipe -march=prescott
-DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -Werror
-D_KERNEL -DKLD_MODULE -nostdinc -I-
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS
-include /usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common
-I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c
cc -O2 -fno-strict-aliasing -pipe -march=prescott
-DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -Werror
-D_KERNEL -DKLD_MODULE -nostdinc -I-
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS
-include /usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common
-I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c
In file included from
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_include.h:10,
 from
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c:34:
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.h:83: warning:
struct l2t_entry declared inside parameter list
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.h:83: warning: its
scope is only this definition or declaration, which is probably not what
you want
*** Error code 1

Stop in /usr/src/sys/modules/cxgb.
---

I then noticed that the contents of that file are all commented out, so
i tried uncommenting but it fails during the depend stage.

---
mkdep -f .depend -a   -nostdinc -DCONFIG_CHELSIO_T3_CORE -DDEFAULT_JUMBO
-DCONFIG_DEFINED -D_KERNEL -DKLD_MODULE -I-
-I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include
-I/usr/obj/usr/src/sys/SPAMTOASTER
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc7323.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c if_cxgb.c
/usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:178:3: #error
SGE_NUM_GENBITS must be 1 or 2
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/cxgb.
---


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


Re: cxgb mfc is missing cxgb_include.h

2007-06-17 Thread Mike Jakubik

Kip Macy wrote:

I don't know. I just deleted dev/cxgb and recreated it from cvs and
LINT builds for me.


Re-cvsupped your version from RELENG_6 and all is well now.

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


Re: cxgb mfc is missing cxgb_include.h

2007-06-17 Thread Kip Macy

On 6/17/07, Mike Jakubik [EMAIL PROTECTED] wrote:

Kip Macy wrote:
 I don't know. I just deleted dev/cxgb and recreated it from cvs and
 LINT builds for me.

Re-cvsupped your version from RELENG_6 and all is well now.



Good to hear. Thanks.

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