Date: Fri, 6 Aug 2004 23:16:21 -0500 From: Andrew Lankford <andrew.lankford@verizon.net> To: Robert Watson <rwatson@FreeBSD.org> Cc: current@freebsd.org Subject: Re:cvs commit: src/sys/amd64/amd64 mp_machdep.c Message-ID: <20040807041621.JWTS24490.out014.verizon.net@outgoing.verizon.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] >Hmm. I was able to build an amd64 SMP kernel and an amd64 > UP kernel on sledge.freebsd.org following the last batch >of commits. Could you confirm your source is in sync: in > particular, sys/amd64/amd64/mem.c is revision >1.120, and sys/conf/files.amd64 is revision 1.44? In my >local source snapshot, M_DECLARE(M_MEMDESC) appears in >memrange.h, and the M_DEFINE(M_MEMDESC, ...) is in mem.c. Yes, yes, and yes, assuming you meant "MALLOC_DEFINE" instead of "M_DEFINE",etc . I just uncommented "device mem" and "device io" from my kernel config and the kernel built and installed ok, along with mem.ko (even though I can't see what purpose itt would serve when it's already compiled in statically). Once again, I'll attach the kernel config file that caused buildkernel to stop and complain. Andrew Lankford Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research [-- Attachment #2 --] # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.412 2004/07/11 03:09:53 marcel Exp $ machine amd64 cpu HAMMER ident ARL_AMD64 # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler #options ADAPTIVE_MUTEXES # mutexes first spin lock, then sleep options INET # InterNETworking #options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options NTFS # NT File System #options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem #options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework #options GEOM_GPT # GUID Partition Tables. options IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=0 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev # output. Adds ~215k to driver. options PFIL_HOOKS # pfil(9) framework # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. #options INVARIANTS # Enable calls of extra sanity checking #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS # Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed options IPFIREWALL options IPFIREWALL_VERBOSE_LIMIT=5 #limit verbosity # Make an SMP-capable kernel by default #options SMP # Symmetric MultiProcessor Kernel # Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150) device atpic # 8259A compatability options NO_MIXED_MODE # Don't penalize working chipsets # Bus support. Do not remove isa, even if you have no isa slots #device acpi device isa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals #device scbus # SCSI bus (required for SCSI) #device da # Direct Access (disks) #device cd # CD #device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver #device agp # agp interface device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Console preferences # Many of these ought to be boot-time tunables options MAXCONS=4 # number of virtual consoles options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode #options SC_DFLT_FONT # compile font in #makeoptions SC_DFLT_FONT=cp850 #options SC_DISABLE_DDBKEY # disable `debug' key #options SC_DISABLE_REBOOT # disable reboot key sequence options SC_HISTORY_SIZE=200 # number of history buffer lines options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor options SC_PIXEL_MODE # add support for the raster text mode # The following options will let you change the default colors of syscons. options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_BLACK|BG_GREEN)" #options SC_KERNEL_CONS_ATTR="(FG_BROWN|BG_BLACK)" #options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_BROWN)" # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # ICH Sound card support device sound device snd_ich # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): device puc # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 # Wireless NIC cards #device wlan # 802.11 support #device an # Aironet 4500/4800 802.11 wireless NICs. #device awi # BayStack 660 and others #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices - the number indicates how many units to allocate. device loop # Network loopback #device mem # Memory and kernel memory devices #device io # I/O device device random # Entropy device device ether # Ethernet support device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support #device uhci # UHCI PCI->USB interface. prob dont need device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices #device ugen # Generic #device uhid # "Human Interface Devices" #device ukbd # Keyboard #device ulpt # Printer #device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device uscanner # Scanners # FireWire support -- disabled because I don't want it yet #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040807041621.JWTS24490.out014.verizon.net>
