From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 6 06:19:29 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAA4116A4CE for ; Wed, 6 Oct 2004 06:19:29 +0000 (GMT) Received: from bender.flyingweasel.com (102Net-240.sou.edu [140.211.102.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53D6B43D58 for ; Wed, 6 Oct 2004 06:19:29 +0000 (GMT) (envelope-from jason@flyingweasel.com) Received: from flyingweasel.com (66-169-242-20.or.charter.com [66.169.242.20]) i966JNsJ022875 for ; Tue, 5 Oct 2004 23:19:24 -0700 (PDT) (envelope-from jason@flyingweasel.com) Date: Tue, 5 Oct 2004 23:15:40 -0700 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed From: Jason Moreland To: freebsd-sparc64@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <25D03B22-175F-11D9-9B47-000502D39E8D@flyingweasel.com> X-Mailer: Apple Mail (2.552) X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on bender.flyingweasel.com X-Virus-Scanned: clamd / ClamAV version devel-20040522, clamav-milter version 0.71 X-Virus-Status: Clean Subject: X.org on Ultra 60 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 06:19:29 -0000 I built X.org on my Ultra 60 running 5.3-BETA7, but realized that I had not included syscon support in the kernel, therefore X would not start. When I try to compile sc in the kernel however, I receive an error. Attached is the output from my kernel build, my kernel config, and the output from dmesg. I was under the impression that syscon and X are now supported in 5.3. If I am mistaken, please let me know. Any help, pointers, or tips will be very appreciated (Sorry about the long email). Thank you very much -Jason buildkernel output: -------------------------------------------------------------- >>> Kernel build for SPARKY started on Mon Oct 4 19:08:11 PDT 2004 -------------------------------------------------------------- ===> SPARKY mkdir -p /usr/obj/usr/src/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------- cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -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/cont rib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finlin e-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medlow -msoft-float -ffreestanding -Werror vers.c linking kernel kbd.o(.text+0x878): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x89c): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x8a0): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x8a4): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x8a8): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x8b4): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x8b8): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x9f4): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xa1c): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xa20): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xa24): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xa28): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xa34): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xa38): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xd90): In function `kbd_configure': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xdb4): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x8b4): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x8b8): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x9f4): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xa1c): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xa20): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xa24): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xa28): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xa34): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xa38): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xd90): In function `kbd_configure': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xdb4): In function `kbd_configure': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xdb8): In function `kbd_configure': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xdbc): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xdc0): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xdcc): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xdd0): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' *** Error code 1 Stop in /usr/obj/usr/src/sys/SPARKY. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. kernel config: # # GENERIC -- Generic kernel configuration file for FreeBSD/sparc64 # # 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. # # For hardware specific information check HARDWARE.TXT # # $FreeBSD: src/sys/sparc64/conf/GENERIC,v 1.78.2.3 2004/09/22 19:23:39 andre Exp $ machine sparc64 cpu SUN4U ident SPARKY # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. # Platforms supported # At this time all platforms are supported, as-is. options SCHED_4BSD # 4BSD scheduler 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 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 COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Keep this for a while options SCSI_DELAY=15000 # 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 # To make an SMP kernel, the next line is needed options SMP # Symmetric MultiProcessor Kernel # Standard busses device ebus device isa device pci device sbus device central device fhc # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives # Do NOT enable ATA_STATIC_ID -- cmd646 controller will be !ata2!, # and you will not mount an ATA /. #options ATA_STATIC_ID # Static device numbering # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices device isp # Qlogic family device ispfw # Firmware module for Qlogic host adapters #device mpt # LSI-Logic MPT-Fusion (not yet) #device ncr # NCR/Symbios Logic device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') device esp # NCR53c9x (FEPS/FAS366) # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers #device amr # AMI MegaRAID #device mlx # Mylex DAC960 family # syscons is the default console driver, resembling an SCO console device sc device creator # Creator, Creator3D and Elite3D graphics cards device splash # Splash screen and screen saver support options KBD_INSTALL_CDEV # install a CDEV entry in /dev device ofw_console # Open Firmware console device # Builtin hardware device genclock # Generic clock interface device eeprom # eeprom (really a front-end for the MK48Txx) device "mk48txx" # Mostek MK48T02, MK48T08, MK48T59 clock # Serial (COM) ports device sab # Siemens SAB82532 based serial ports device zs # Zilog 8530 based serial ports #device uart # Multi-uart driver #device puc # Multi-channel uarts # 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 # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device ixgb # Intel PRO/10GbE Ethernet Card #device lnc # NE2100, NE32-VL Lance Ethernet cards #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # 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 dc # DEC/Intel 21143 and various workalikes device fxp # Intel EtherExpress PRO/100B (82557, 82558) device gem # Sun GEM/Sun ERI/Apple GMAC device hme # Sun HME (Happy Meal Ethernet) #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc') device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP 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 #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 urio # Diamond Rio 500 MP3 player #device uscanner # Scanners # USB Ethernet, requires mii #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) dmesg output: stray vector interrupt 2029 Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-BETA7 #5: Mon Oct 4 05:30:19 PDT 2004 root@sparky.home.flyingweasel.com:/usr/obj/usr/src/sys/SPARKY Timecounter "tick" frequency 296017515 Hz quality 0 real memory = 1342177280 (1280 MB) avail memory = 1272250368 (1213 MB) cpu0: Sun Microsystems UltraSparc-II Processor (296.02 MHz CPU) cpu1: Sun Microsystems UltraSparc-II Processor (296.02 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs nexus0: pcib0: on nexus0 pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] initializing counter-timer Timecounter "counter-timer" frequency 1000000 Hz quality 0 pcib0 dvma: DVMA map: 0xfc000000 to 0xffffffff pci0: on pcib0 ebus0: mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000- 0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no dri ver attached) ebus0: addr 0x1400724000-0x1400724003 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) ebus0: addr 0x1400500000-0x1400500007 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sab0: [FAST] sabtty0: on sab0 sabtty1: on sab0 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc- 0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0- 0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80aa9634 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000- 0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attach ed) hme0: mem 0x100000-0x107fff at device 1.1 on pci0 miibus0: on hme0 qsphy0: on miibus0 qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:aa:96:34 hme0: if_start running deferred for Giant hme0: [GIANT-LOCKED] sym0: <875> port 0x1000-0x10ff mem 0x10a000-0x10afff,0x108000-0x1080ff at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: [GIANT-LOCKED] sym1: <875> port 0x1400-0x14ff mem 0x10e000-0x10efff,0x10c000-0x10c0ff at device 3.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: [GIANT-LOCKED] pci0: at device 4.0 (no driver attached) pcib1: on nexus0 pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A pci1: on pcib1 nexus0: , type display (no driver attached) Timecounters tick every 10.000 msec Waiting 15 seconds for SCSI devices to settle cd0 at sym0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: cd present [502424 x 512 byte records] da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 8637MB (17689267 512 byte sectors: 255H 63S/T 1101C) da1 at sym0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 8682MB (17781521 512 byte sectors: 255H 63S/T 1106C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0a --- Jason Moreland ************************************************************************ Email: jason@flyingweasel.com HANDLE WITH CARE: This email contains small electrically-charged particles moving at speeds of over 500,000,000 miles per hour.