today's cvsup introduces kernel build error

2009-07-30 Thread Scott Bennett
 After running cvsup a few minutes ago, an attempt to build a new kernel
failed with:

===> zyd (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
-I/usr/src/sys/i386/compile/hellas 
/usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c
cc -c -O -pipe -march=prescott -std=c99 -g -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror  ../../../dev/ata/ata-all.c
../../../dev/ata/ata-all.c: In function 'ata_device_ioctl':
../../../dev/ata/ata-all.c:454: error: request for member 'max_iosize' in 
something not a structure or union
../../../dev/ata/ata-all.c:454: error: request for member 'max_iosize' in 
something not a structure or union
*** Error code 1

Stop in /usr/src/sys/i386/compile/hellas.
hellas#


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: PAE kernel build error

2005-12-14 Thread nick
Iso images was uploaded from
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/

FreeBSD was installed with Developer option as usual.
After that RAID-1 was created according Dru Lavigne's tips from
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
(two MAXTOR ATLAS 15K2 73G SCSI HDD drives on integrated Adatec AIC-7902
Ultra320SCSI adapter)
 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Lowell Gilbert
Sent: Tuesday, December 13, 2005 11:13 PM
To: nick
Subject: Re: PAE kernel build error

Don't top-post, please.

"nick" <[EMAIL PROTECTED]> writes:

> OS version FreeBSD 6.0 RELEASE
> Platform - dual Intel Xeon 3.4 on Supermicro SUPER X6DH8-G2 (Lindenherst
> Chipset) motherboard with 8G RAM 
> There are no any problem with i386 GENERIC or SMP kernels.
> 
> make buildkernel KERNCONF=PAE
> generate error above.
> Original PAE conf file:
> 
> include GENERIC
> device acpi
> makeoptions NO_MODULES=yes
> and lot of nodevice options.

The default PAE kernel builds for me on 6-STABLE, and the release
records look like the kernel built then.  Have you changed anything
from the stock kernel configurations?  What sources do you have
installed, and how did you install them?

> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Lowell Gilbert
> Sent: Monday, December 12, 2005 5:49 PM
> To: nick
> Subject: Re: PAE kernel build error
> 
> "nick" <[EMAIL PROTECTED]> writes:
> 
> > Can't build PAE kernel.
> > make buildkernel KERNCONF=PAE
> > generate error:
> > 
> > I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
> -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100
> --param large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Werror  /usr/src/sys/dev/fdc/fdc_pccard.c
> > cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
> -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq
> -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf
> -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd
> -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Werror  /usr/src/sys/dev/hptmv/entry.c
> > /usr/src/sys/dev/hptmv/entry.c: In function `fOsBuildSgl':
> > /usr/src/sys/dev/hptmv/entry.c:2476: warning: cast to pointer from
integer
> of different size
> > /usr/src/sys/dev/hptmv/entry.c: In function `hpt_io_dmamap_callback':
> > /usr/src/sys/dev/hptmv/entry.c:2606: warning: cast to pointer from
integer
> of different size
> > /usr/src/sys/dev/hptmv/entry.c: In function `OsSendCommand':
> > /usr/src/sys/dev/hptmv/entry.c:2758: warning: cast to pointer from
integer
> of different size
> > *** Error code 1
> > 
> > Stop in /usr/obj/usr/src/sys/PAE.
> > *** Error code 1
> > 
> > Stop in /usr/src.
> > *** Error code 1
> > 
> > Stop in /usr/src.
> 
> That isn't really enough information to work with.
> Try reading the following:
>
http://www.ru.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ind
> ex.html
> 
> 
> 

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/



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


PAE kernel build error

2005-12-10 Thread nick
Can't build PAE kernel.
make buildkernel KERNCONF=PAE
generate error:

I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Werror  /usr/src/sys/dev/fdc/fdc_pccard.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions 
-std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Werror  /usr/src/sys/dev/hptmv/entry.c
/usr/src/sys/dev/hptmv/entry.c: In function `fOsBuildSgl':
/usr/src/sys/dev/hptmv/entry.c:2476: warning: cast to pointer from integer of 
different size
/usr/src/sys/dev/hptmv/entry.c: In function `hpt_io_dmamap_callback':
/usr/src/sys/dev/hptmv/entry.c:2606: warning: cast to pointer from integer of 
different size
/usr/src/sys/dev/hptmv/entry.c: In function `OsSendCommand':
/usr/src/sys/dev/hptmv/entry.c:2758: warning: cast to pointer from integer of 
different size
*** Error code 1

Stop in /usr/obj/usr/src/sys/PAE.
*** Error code 1

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

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


Re: Kernel build error

2004-06-18 Thread Jorn Argelo
Mark wrote:
I am trying to build a new kernel after csvuping a 4.10 box 
error -->config: line 69: fdc 0 not defined
*** Error code 1

lines from config file 
# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

I had built a new kernel on 4.10 with the same lines.
It has been working fine. any ideas?
 

Umm, I believe you shouldn't add the 0's. So just type fd and fdc. The 0 
just represents the master drive (so 1 is the slave drive). If you have 
two floppy drives for instance, you will have fd0 and fd1, and of course 
its respective slices.

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


Kernel build error

2004-06-18 Thread Mark
I am trying to build a new kernel after csvuping a 4.10 box 
error -->config: line 69: fdc 0 not defined
*** Error code 1

lines from config file 
# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

I had built a new kernel on 4.10 with the same lines.
It has been working fine. any ideas?

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