Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build failure - port amd64 - sys/kern/subr_autoconf.c
From sources updated on 2008-03-05 at 12:21:24 UTC
# compile ZIPPY/subr_autoconf.o
/usr/obj/tooldir/x86_64/amd64/bin/x86_64--netbsd-gcc -mcmodel=kernel
-mno-red-zone -ffreestanding -fno-zero-initialized-in-bss -g -O2
-fno-omit-frame-pointer -std=gnu99 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Werror
-Damd64 -Dx86_64 -I. -I/build/src/sys/../common/include -I/build/src/sys/arch
-I/build/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL
-D_KERNEL_OPT -I/build/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/build/src/sys/lib/libkern/../../../common/lib/libc/string
-I/build/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I/build/src/sys/dist/ipf -c /build/src/sys/kern/subr_autoconf.c
cc1: warnings being treated as errors
/build/src/sys/kern/subr_autoconf.c: In function 'deviter_init':
/build/src/sys/kern/subr_autoconf.c:2255: warning: 'rw' is used uninitialized
in this function
1 error
This is a custom kernel config, but there's really nothing special about
it. It's just a very stripped-down version of GENERIC. The config file
is attached to this message just in case it does make a difference.
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------
include "arch/amd64/conf/std.amd64"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.200 $"
ident "ZIPPY (ECS nFORCE4M-A) 2008-03-05 12:21:24"
maxusers 64 # estimated number of users
options INSECURE # disable kernel security levels - X needs this
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
#options SYSTRACE # system call vetting via systrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=2048 # 2048 pages is the default
options P1003_1B_SEMAPHORE
options LKM # loadable kernel modules
options USERCONF # userconf(4) support
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
options POWERNOW_K8
options SOFTDEP # FFS soft updates support.
options QUOTA # UFS quotas
options EXEC_ELF32
options COMPAT_NETBSD32
options COMPAT_BSDPTY # .dev/[pt]ty?? ptys.
options COMPAT_40
options DIAGNOSTIC # expensive kernel consistency checks
#options DEBUG # expensive debugging checks/support
options KMEMSTATS # kernel memory statistics (vmstat -m)
# Because gcc omits the frame pointer for any -O level, the line below
# is needed to make backtraces in DDB work.
#
makeoptions COPTS="-O2 -fno-omit-frame-pointer"
options DDB # in-kernel debugger
#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
makeoptions DEBUG="-g" # compile full symbol table
# File systems
file-system FFS # UFS
file-system MFS # memory file system
file-system NFS # Network File System client
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system PROCFS # /proc
file-system PTYFS # /dev/pts/N support
file-system TMPFS # Efficient memory file-system
# Networking options
options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
options IPFILTER_LOOKUP # ippool(8) support
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options ACPIVERBOSE # verbose ACPI configuration messages
#options MIIVERBOSE # verbose PHY autoconfig messages
options PCIVERBOSE # verbose PCI device autoconfig messages
#options SCSIVERBOSE # human readable SCSI error messages
options USBVERBOSE # verbose USB device autoconfig messages
#
# wscons options
#
options WSEMUL_VT100 # VT100 / VT220 emulation
options WS_KERNEL_FG=WSCOL_GREEN
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options PCDISPLAY_SOFTCURSOR
options WSDISPLAY_SCROLLSUPPORT
config netbsd root on wd0a type ffs
#
# Pseudo-Devices
#
# crypto pseudo-devices
pseudo-device crypto # /dev/crypto device
pseudo-device swcrypto # software crypto implementation
# disk/mass storage pseudo-devices
pseudo-device cgd 4 # cryptographic disk devices
#pseudo-device fss 4 # file system snapshot device
pseudo-device md 1 # memory disk device (ramdisk)
pseudo-device vnd # disk-like interface to files
#options VND_COMPRESSION # compressed vnd(4)
# network pseudo-devices
pseudo-device bpfilter # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device sequencer 1 # MIDI sequencer
pseudo-device rnd # /dev/random and in-kernel generator
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
pseudo-device lockstat
pseudo-device drvctl
# wscons pseudo-devices
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_ASLR=0 # PaX Address Space Layout Randomization
options DKWEDGE_AUTODISCOVER
options DKWEDGE_METHOD_GPT
#
# Device configuration
#
# Mainbus configuration
mainbus0 at root
cpu0 at mainbus0
cpu1 at mainbus0
ioapic0 at mainbus0
acpi0 at mainbus0
options ACPI_SCANPCI
options MULTIPROCESSOR # use all available CPUs
pci0 at mainbus0 bus 0
pci1 at ppb1 bus 1
pci2 at ppb2 bus 2
pci3 at ppb3 bus 3
pci4 at ppb4 bus 4
pci5 at ppb5 bus 5
# ACPI devices
acpibut0 at acpi0 # ACPI Button
acpitz0 at acpi0 # ACPI Thermal Zone
aiboost0 at acpi0
com0 at acpi0
lpt0 at acpi0
attimer0 at acpi0
pckbc0 at acpi0
pcppi0 at acpi0
midi0 at pcppi0
sysbeep0 at pcppi0
acpiec0 at acpi0 # ???
acpiecdt0 at acpi0
#npx0 at acpi0
#fdc0 at acpi0
#fd0 at fdc0
# PCI Bus configuration
pcib0 at pci0 dev 1 function 0
isa0 at pcib0
ohci0 at pci0 dev 2 function 0
ehci0 at pci0 dev 2 function 1
auich0 at pci0 dev 4 function 0
audio0 at auich0
viaide0 at pci0 dev 6 function 0
viaide1 at pci0 dev 7 function 0
viaide2 at pci0 dev 8 function 0
ppb1 at pci0 dev 9 function 0
nfe0 at pci0 dev 10 function 0
rlphy0 at nfe0 phy 1
ukphy* at mii? phy ?
ppb2 at pci0 dev 11 function 0
ppb3 at pci0 dev 12 function 0
ppb4 at pci0 dev 13 function 0
ppb5 at pci0 dev 14 function 0
pchb0 at pci0 dev 24 function 0 # PCI host bridges
pchb1 at pci0 dev 24 function 1
pchb2 at pci0 dev 24 function 2
pchb3 at pci0 dev 24 function 3
re0 at pci1 dev 7 function 0
vga0 at pci5 dev 0 function 0
wsdisplay0 at vga0 kbdmux 1
# IDE Disk/CD/Tape configuration
atabus0 at viaide0 channel 0 # P-ATA Primary - Blue
atabus1 at viaide0 channel 1 # P-ATA Secondary - White
atabus2 at viaide1 channel 0 # S-ATA 1 Top - Rear
atabus3 at viaide1 channel 1 # S-ATA 2 Top - Front
atabus4 at viaide2 channel 0 # S-ATA 3 Bottom - Rear
atabus5 at viaide2 channel 1 # S-ATA 4 Bottom - Front
wd0 at atabus4 drive 0
wd1 at atabus? drive ?
# USB keyboard, mouse, and printer
usb0 at ohci0
usb1 at ehci0
uhub0 at usb0
uhub1 at usb1
uhub* at uhub? port ?
uhidev* at uhub? port ? configuration ? interface ?
ukbd* at uhidev? reportid ?
wskbd* at ukbd? console ? mux 1
ums* at uhidev? reportid ?
wsmouse* at ums? mux 0
ulpt* at uhub? port ? configuration ? interface ?
uhid* at uhidev? reportid ?
ugen* at uhub? port ?
options UGEN_BULK_RA_WB
umass* at uhub? port ? configuration ? interface ?
scsibus* at umass?
sd* at scsibus?
# PS/2 keyboard and mouse
pckbd0 at pckbc0
wskbd0 at pckbd0 mux 1
pms0 at pckbc0
wsmouse0 at pms0 mux 0
# NVIDIA nForce2/3/4 SMBus controller
nfsmbc0 at pci0 dev 1 function 1
nfsmb0 at nfsmbc0
iic0 at nfsmb0
nfsmb1 at nfsmbc0
iic1 at nfsmb1
spdmem0 at iic0 addr 0x50
spdmem1 at iic0 addr 0x51
spdmem2 at iic0 addr 0x52
spdmem3 at iic0 addr 0x53
options DDB_ONPANIC=0
options DDB_COMMANDONENTER="bt"
Home |
Main Index |
Thread Index |
Old Index