From owner-freebsd-sparc Sun Feb 24 23:58: 7 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3CA4737B417 for ; Sun, 24 Feb 2002 23:58:00 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1P7w0m15229 for sparc@freebsd.org; Sun, 24 Feb 2002 23:58:00 -0800 (PST) (envelope-from obrien) Date: Sun, 24 Feb 2002 23:58:00 -0800 From: "David O'Brien" To: sparc@freebsd.org Subject: changes to GENERIC Message-ID: <20020224235800.A15219@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This kernel booted. I would like to update GENERIC to the following: Index: GENERIC =================================================================== RCS file: /home/ncvs/src/sys/sparc64/conf/GENERIC,v retrieving revision 1.7 diff -u -r1.7 GENERIC --- GENERIC 24 Feb 2002 18:49:38 -0000 1.7 +++ GENERIC 25 Feb 2002 07:57:27 -0000 @@ -34,19 +34,19 @@ # Platforms supported # At this time all platforms are supported, as-is. -#options INET #InterNETworking +options INET #InterNETworking #options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem #options SOFTUPDATES #Enable FFS soft updates support #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 root device +options NFSCLIENT #Network Filesystem Client +options NFSSERVER #Network Filesystem Server +options NFS_ROOT #NFS usable as root device #options MSDOSFS #MSDOS Filesystem -#options CD9660 #ISO 9660 Filesystem -#options PROCFS #Process filesystem (requires PSEUDOFS) -#options PSEUDOFS #Pseudo-filesystem framework +options CD9660 #ISO 9660 Filesystem +options PROCFS #Process filesystem (requires PSEUDOFS) +options PSEUDOFS #Pseudo-filesystem framework #options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI #options UCONSOLE #Allow users to grab the console @@ -59,6 +59,7 @@ # Debugging for use in -current options DDB #Enable the kernel debugger +options BREAK_TO_DEBUGGER #a BREAK on a comconsole drops to DDB options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS #Enable mutex checks to detects deadlocks and cycles @@ -67,30 +68,34 @@ #options SMP # Symmetric MultiProcessor Kernel # Standard busses -#device isa -#device pci +device apb # Sun APB PCI-PCI bridge +device ebus +device isa +device pci +device sbus # Floppy drives #device fdc # ATA and ATAPI devices -#device ata -#device atadisk # ATA disk drives -#device atapicd # ATAPI CDROM drives +device ata +device atadisk # ATA disk drives +device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives # SCSI Controllers -#device ahc # AHA2940 and onboard AIC7xxx devices +device ahc # AHA2940 and onboard AIC7xxx devices #device esp # 53C94 & friends, not CAM-ified -#device isp # Qlogic family +device isp # Qlogic family +device ispfw # Firmware module for Qlogic host adapters #device ncr # NCR/Symbios Logic -#device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') +device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') # SCSI peripherals -#device scbus # SCSI bus (required) +device scbus # SCSI bus (required) #device ch # SCSI media changers -#device da # Direct Access (disks) +device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct SCSI access) @@ -119,8 +124,13 @@ # real time clock #device mcclock +# Builtin hardware +device genclock # generic clock interface +device eeprom # eeprom (really an ebus driver for the mk48txx) +device "mk48txx" # Mostek MK48T02, MK48T08, MK48T59 clock + # Serial (COM) ports -#device sio # 8250, 16[45]50 based serial ports +device sio # 8250, 16[45]50 based serial ports ## Parallel port #device ppc @@ -137,9 +147,11 @@ #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. -#device miibus # MII bus support +device miibus # MII bus support #device dc # DEC/Intel 21143 and workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) +device gem # Sun GEM/Sun ERI/Apple HMAC +device hme # Sun HME (Happy Meal Ethernet) #device pcn # AMD Am79C97x PCI 10/100 NICs #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') @@ -151,13 +163,13 @@ #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices - the number indicates how many units to allocated. -#device random # Entropy device -#device loop # Network loopback -#device ether # Ethernet support +device random # Entropy device +device loop # Network loopback +device ether # Ethernet support #device sl # Kernel SLIP #device ppp 1 # Kernel PPP #device tun # Packet tunnel. -#device pty # Pseudo-ttys (telnet etc) +device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying/(translation) @@ -185,3 +197,6 @@ # Tempary things until things are farther along. makeoptions NO_MODULES=does_not_compile_yet options MD_ROOT_SIZE=64 +options SUN_DISKLABEL # Use SUN_DISKLABEL or NETBSD_DISKLABEL +options PCI_ENABLE_IO_MODES # Enable all PCI resources +options ATA_ENABLE_BUSMASTER # Force busmaster support if available To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Feb 26 20:49:26 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 6B23A37B405 for ; Tue, 26 Feb 2002 20:49:17 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1R4XW067653 for sparc@freebsd.org; Tue, 26 Feb 2002 20:33:32 -0800 (PST) (envelope-from obrien) Date: Tue, 26 Feb 2002 20:33:32 -0800 From: "David O'Brien" To: sparc@freebsd.org Subject: hosted toolchain! Message-ID: <20020226203332.A67463@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have posted a working hosted[*] toolchain. I and tmm are able to boot kernels built with it. Pick it up as http://people.freebsd.org/~obrien/sparc64/native-uberbaum_20020224.tar.bz2 , untar it in / . If you want to give this a spin, `doperl5.sh' (run on x86 or Alpha box), `kern.mk.diff' and `nawk.bz2' may be helpful. All these are also at http://people.freebsd.org/~obrien/sparc64/. [*] I am using "hosted" to mean runs on sparc64, and produces sparc64 binaries. I am purposefully not using the term "native" as I think that implies built from /usr/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Feb 27 16:39:48 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from asmodean.nks.net (asmodean.nks.net [216.139.201.16]) by hub.freebsd.org (Postfix) with ESMTP id 3F7C437B405 for ; Wed, 27 Feb 2002 16:39:45 -0800 (PST) Received: from localhost (joeo@localhost) by asmodean.nks.net (8.9.3/8.9.3) with ESMTP id IAA06204 for ; Thu, 28 Feb 2002 08:42:49 -0500 Date: Thu, 28 Feb 2002 08:42:49 -0500 (EST) From: X-Sender: To: Subject: wanted; freebsd-sparc64 tarball for netbooting In-Reply-To: <20020226203332.A67463@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Does one of these exist? Or is it still necessary to find a working set of cross tools to build one for ones self. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Feb 27 20:11:55 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id BC3FE37B400 for ; Wed, 27 Feb 2002 20:11:52 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1S4BZ724353; Wed, 27 Feb 2002 20:11:35 -0800 (PST) (envelope-from obrien) Date: Wed, 27 Feb 2002 20:07:32 -0800 From: "David O'Brien" To: joeo@cracktown.com Cc: sparc@FreeBSD.ORG Subject: Re: wanted; freebsd-sparc64 tarball for netbooting Message-ID: <20020227200732.A24316@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020226203332.A67463@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from joeo@cracktown.com on Thu, Feb 28, 2002 at 08:42:49AM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 28, 2002 at 08:42:49AM -0500, joeo@cracktown.com wrote: > Does one of these exist? yes -- at http://people.freebsd.org/~jake/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Feb 28 20:54:50 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from asmodean.nks.net (asmodean.nks.net [216.139.201.16]) by hub.freebsd.org (Postfix) with ESMTP id 8C7CD37B402; Thu, 28 Feb 2002 20:54:35 -0800 (PST) Received: from localhost (joeo@localhost) by asmodean.nks.net (8.9.3/8.9.3) with ESMTP id MAA12886; Fri, 1 Mar 2002 12:57:43 -0500 Date: Fri, 1 Mar 2002 12:57:43 -0500 (EST) From: X-Sender: To: "David O'Brien" Cc: Subject: Re: wanted; freebsd-sparc64 tarball for netbooting In-Reply-To: <20020227200732.A24316@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the pointer and Wow! this has come a long way. Kluged the boot process up a bit to get it to run haltingly (pun intended) off a local ata drive after loading the kernel, init, and running sh and mount via tftp/nfs Took a while to gen the DSA keys... Rebooting... Resetting ... Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz), No Keyboard OpenBoot 3.11, 128 MB memory installed, Serial #9360338. Ethernet address 8:0:20:8e:d3:d2, Host ID: 808ed3d2. Rebooting with command: boot /pci@1f,0/pci@1,1/network@1,1 Boot device: /pci@1f,0/pci@1,1/network@1,1 File and args: 20c00 Console: OpenFirmware console FreeBSD/sparc64 loader bootpath="/pci@1f,0/pci@1,1/network@1,1" loaddev=net0: boot: ethernet address: 08:00:20:8e:d3:d2 net_open: server addr: 192.168.1.39 net_open: server path: /opt/clubfoot /boot/kernel/kernel.ko data=0x1c3a08+0xe48b8 syms=[0x8+0x35928+0x8+0x29ea5] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel.ko]... nothing to autoload yet. jumping to kernel entry at 0x80030000. Copyright (c) 1992-2002 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.0-CURRENT #113: Mon Feb 18 23:34:20 EST 2002 jake@k7.locore.ca:/usr/p4/sparc64/sys/sparc64/compile/SUN4U Preloaded elf kernel "/boot/kernel/kernel.ko" at 0x8030a000. Timecounter "tick" frequency 269789796 Hz CPU: Sun Microsystems UltraSparc-IIi Processor (269.79 MHZ CPU) nexus0: pcib0: on nexus0 pcib0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 255; PCI bus 0 DVMA map: c0000000 to dfffffff pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 1.1 on pci0 pci2: on pcib2 ebus0: revision 0x01 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at dev ice 1.0 on pci2 hme0: Ethernet address: 08:00:20:8e:d3:d2 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: at device 2.0 (no driver attached) atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00 010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 irq 32 at device 3.0 on pci2 ata2: at 0xc00000 on atapci0 ata3: at 0xc00010 on atapci0 ad0: 14655MB [29777/16/63] at ata2-master WDMA2 acd0: CDROM at ata3-master PIO4 bootpc_init: wired to interface 'hme0' Sending DHCP Discover packet from interface hme0 (08:00:20:8e:d3:d2) Received BOOTP Reply packet on hme0 from 192.168.1.39 (accepted) (got root path) hme0 at 192.168.1.68 server 192.168.1.39 server name watcher.nks.net subnet mask 255.255.255.0 router 192.168.1.253 rootfs 192.168.1.39:/opt/clubfoot Adjusted interface hme0 Mounting root from ufs:/dev/ad0a Entropy harvesting: interrupts ethernet point_to_point. swapon: adding /dev/ad0b as swap device Automatic boot in progress... /dev/ad0a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0a: clean, 88732 free (12 frags, 11090 blocks, 0.0% fragmentation) /dev/ad0d: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0d: clean, 396853 free (45 frags, 49601 blocks, 0.0% fragmentation) /dev/ad0f: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0f: clean, 10046137 free (209 frags, 1255741 blocks, 0.0% fragmentation) Doing initial network setup: hostname. lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Additional routing options:. Routing daemons:. Additional daemons: syslogdMar 1 04:35:24 clubfoot syslogd: kernel boot file is /kernel . Doing additional network setup:. Starting final network daemons: creating ssh RSA host key Generating public/private rsa1 key pair. Your identification has been saved in /etc/ssh/ssh_host_key. Your public key has been saved in /etc/ssh/ssh_host_key.pub. The key fingerprint is: c1:df:e1:e4:0d:95:c5:fa:07:08:24:9e:3d:26:40:d8 root@clubfoot.nks.net creating ssh DSA host key Generating public/private dsa key pair. Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: a0:66:01:f9:30:fb:15:fa:89:05:c7:08:44:5c:c7:d4 root@clubfoot.nks.net . ELF ldconfig path: /usr/lib /usr/lib/compat Starting standard daemons: inetd cron sshd sendmail-outbound sendmail-submit sen dmail-clientmqueuecan not chdir(/var/spool/clientmqueue/): Permission denied Mar 1 04:35:58 clubfoot sm-msp-queue[110]: NOQUEUE: SYSERR(root): can not chdir (/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. . Initial rc.sparc64 initialization:. Configuring syscons: blanktime/etc/rc.syscons: cannot open /dev/ttyv0: no such f ile . Additional ABI support:. Local package initialization:. Additional TCP options:. Starting background filesystem checks Fri Mar 1 04:35:59 GMT 2002 FreeBSD/sparc64 (clubfoot.nks.net) (ofwcons) login: On Wed, 27 Feb 2002, David O'Brien wrote: > On Thu, Feb 28, 2002 at 08:42:49AM -0500, joeo@cracktown.com wrote: > > Does one of these exist? > > yes -- at http://people.freebsd.org/~jake/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message