From owner-freebsd-sparc64@FreeBSD.ORG Sun Nov 30 17:31:52 2003 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 97A8116A4CE for ; Sun, 30 Nov 2003 17:31:52 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09DA643FAF for ; Sun, 30 Nov 2003 17:31:49 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hB11T9Mg073814 for ; Sun, 30 Nov 2003 20:29:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hB11T9R3073811 for ; Sun, 30 Nov 2003 20:29:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 30 Nov 2003 20:29:09 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: sparc@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC 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: Mon, 01 Dec 2003 01:31:52 -0000 Unfortunately, I didn't have dumps set up on this box. On the other hand, given that the panic was in the ata code, perhaps I wouldn't have got a dump anyway. This was with a November 18th GENERIC kernel on a blade100. dmesg also below. This appears to be highly reproduceable, and might be a property of the bgfsck running on the system. I'll try sliding forward to a more recent kernel, if I can keep the box up. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research db> show msgbuf msgbufp = 0xfffff80000407fe0 magic = 63062, size = 32736, r= 4790, w = 4860, ptr = 0xfffff80000400000, cksum= 377365 panic: trap: memory address not aligned cpuid = 0; Debugger("panic") ... db> trace panic() at panic+0x174 trap() at trap+0x3b4 -- memory address not aligned sfar=0xdedeadc0ee sfsr=0x40029 %o7=0xc007eda8 -- ata_prtdev() at ata_prtdev+0x14 ata_timeout() at ata_timeout+0x130 softclock() at softclock+0x1a0 ithread_loop() at ithread_loop+0x1b8 fork_exit() at fork_exit+0x84 fork_trampoline() at fork_trampoline+0x8 Copyright (c) 1992-2003 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.1-CURRENT #0: Tue Nov 18 22:49:09 EST 2003 rwatson@ray.rv.nailabs.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc04b2000. Timecounter "tick" frequency 502000000 Hz quality 0 real memory = 268435456 (256 MB) avail memory = 248004608 (236 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (502.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre (US-IIe) compatible, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [FAST] DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 ebus0: revision 0x01 ebus0: : incomplete ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at dev ice 12.0 on pci0 ebus0: addr 0-0xfffff (no driver attached) eeprom0: addr 0x100000000-0x100001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 830dd49f isab0: at device 7.0 on pci0 isa0: on isab0 gem0: mem 0x400000-0x41ffff at device 12.1 on pci0 miibus0: on gem0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: Ethernet address: 00:03:ba:0d:d4:9f, 2KB RX fifo, 2KB TX fifo fwohci0: vendor=108e, dev=1102 fwohci0: <1394 Open Host Controller Interface> mem 0x422000-0x4227ff,0x420000-0x 4207ff at device 12.2 on pci0 fwohci0: Could not allocate irq device_probe_and_attach: fwohci0 attach returned 6 pci0: at device 12.3 (no driver attached) pci0: at device 3.0 (no driver attached) pci0: at device 8.0 (no driver attached) atapci0: port 0xa20-0xa2f,0xa08-0xa0b,0xa10 -0xa17,0xa18-0xa1b,0xa00-0xa07 at device 13.0 on pci0 atapci0: [MPSAFE] ata2: at 0xa00 on atapci0 ata2: [MPSAFE] ata3: at 0xa10 on atapci0 ata3: [MPSAFE] pci0: at device 19.0 (no driver attached) pcib1: at device 5.0 on pci0 pci1: on pcib1 Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xfffff800006e68a0 ad0: 19458MB [39535/16/63] at ata2-master UDMA66 acd0: CDRW at ata2-slave PIO4 Mounting root from ufs:/dev/ad0a WARNING: / was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 4 files 1 /var: superblock summary recomputed From owner-freebsd-sparc64@FreeBSD.ORG Sun Nov 30 17:52:37 2003 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 493F216A4CE; Sun, 30 Nov 2003 17:52:37 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FA6543FE0; Sun, 30 Nov 2003 17:52:36 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hB11qZYR012220; Sun, 30 Nov 2003 20:52:35 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Sun, 30 Nov 2003 20:52:34 -0500 To: Robert Watson , sparc64@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC 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: Mon, 01 Dec 2003 01:52:37 -0000 At 8:29 PM -0500 11/30/03, Robert Watson wrote: >This was with a November 18th GENERIC kernel on a blade100. >dmesg also below. This appears to be highly reproduceable, >and might be a property of the bgfsck running on the system. > >I'll try sliding forward to a more recent kernel, if I can >keep the box up. If you put: background_fsck="NO" in /etc/rc.conf, does that change the panic probability? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 04:05:53 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id E8BDF16A4CF; Mon, 1 Dec 2003 04:05:53 -0800 (PST) Date: Mon, 1 Dec 2003 02:34:55 -0800 From: David O'Brien To: freebsd-sparc64@FreeBSD.org Message-ID: <20031201103455.GA2603@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-BETA 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 Resent-From: obrien@hub.freebsd.org Resent-Date: Mon, 1 Dec 2003 04:05:53 -0800 Resent-To: sparc64@freebsd.org Resent-Message-Id: <20031201120553.E8BDF16A4CF@hub.freebsd.org> Subject: WARNING: 5.2-BETA-sparc64-miniinst.iso bad X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 12:05:54 -0000 I haven't been able to get thru an install of using a burnt CD of 5.2-BETA-sparc64-miniinst.iso. The MD5 checksum of my local file matches that on ftp.freebsd.org, but I've found there to be a problem with a base file of the ISO: --- CHECKSUM.MD5 Wed Nov 26 16:36:01 2003 +++ /tmp/foo Mon Dec 1 02:24:10 2003 @@ -15 +15 @@ -MD5 (base.ao) = 1403f8ad1f88001a97425b5e025a12b0 +MD5 (base.ao) = daad0ea11cc284122e0ec90b4c43206d which is about where my install attempts keep bombing during the "base" extraction. -- -- David (obrien@FreeBSD.org) From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 04:09:28 2003 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 6C59F16A4CE for ; Mon, 1 Dec 2003 04:09:28 -0800 (PST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 10CB043FDD for ; Mon, 1 Dec 2003 04:09:25 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 26024 invoked by uid 65534); 1 Dec 2003 12:09:23 -0000 Received: from p508E7F32.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.127.50) by mail.gmx.net (mp016) with SMTP; 01 Dec 2003 13:09:23 +0100 X-Authenticated: #5374206 Received: by raven (Postfix, from userid 1001) id 4C6F473; Mon, 1 Dec 2003 13:09:23 +0100 (CET) Date: Mon, 1 Dec 2003 13:09:23 +0100 From: Thomas Moestl To: Robert Watson Message-ID: <20031201120923.GA3276@timesink.dyndns.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i cc: sparc@freebsd.org Subject: Re: panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC 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: Mon, 01 Dec 2003 12:09:28 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, 2003/11/30 at 20:29:09 -0500, Robert Watson wrote: > Unfortunately, I didn't have dumps set up on this box. On the other hand, > given that the panic was in the ata code, perhaps I wouldn't have got a > dump anyway. This was with a November 18th GENERIC kernel on a blade100. > dmesg also below. This appears to be highly reproduceable, and might be a > property of the bgfsck running on the system. > > [...] > > db> show msgbuf > msgbufp = 0xfffff80000407fe0 > magic = 63062, size = 32736, r= 4790, w = 4860, ptr = 0xfffff80000400000, > cksum= > 377365 > panic: trap: memory address not aligned > cpuid = 0; > Debugger("panic") > ... > db> trace > panic() at panic+0x174 > trap() at trap+0x3b4 > -- memory address not aligned sfar=0xdedeadc0ee sfsr=0x40029 > %o7=0xc007eda8 -- > ata_prtdev() at ata_prtdev+0x14 > ata_timeout() at ata_timeout+0x130 > softclock() at softclock+0x1a0 > ithread_loop() at ithread_loop+0x1b8 > fork_exit() at fork_exit+0x84 > fork_trampoline() at fork_trampoline+0x8 This can happen when an ATA operation times out, and is caused by an access to a freed structure. I have attached a workaround; IIRC sos is developing a more complete fix for this. ISTR the timeouts were caused by the fact that Blade 100s come with ATA66-capable disks and controllers, but a non-ATA66 (40 pin) cable, and that for some reason the driver check to catch this situation did not work. I am not seeing this on my machine because I replaced the cable long ago when I added another disk. Can you confirm that your box does only have a 40 pin cable? - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ata-timo.diff" Index: ata-queue.c =================================================================== RCS file: /vol/ncvs/src/sys/dev/ata/ata-queue.c,v retrieving revision 1.11 diff -u -r1.11 ata-queue.c --- ata-queue.c 20 Oct 2003 14:28:37 -0000 1.11 +++ ata-queue.c 20 Nov 2003 00:56:48 -0000 @@ -316,6 +316,8 @@ ata_timeout(struct ata_request *request) { struct ata_channel *ch = request->device->channel; + struct ata_device *reqdev = request->device; + char *reqstr = ata_cmd2str(request); int quiet = request->flags & ATA_R_QUIET; /* clear timeout etc */ @@ -324,10 +326,11 @@ /* call hw.interrupt to try finish up the command */ ch->hw.interrupt(request->device->channel); if (ch->running != request) { + /* request might already be freed - use copies. */ if (!quiet) - ata_prtdev(request->device, + ata_prtdev(reqdev, "WARNING - %s recovered from missing interrupt\n", - ata_cmd2str(request)); + reqstr); return; } --zYM0uCDKw75PZbzx-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 07:11:51 2003 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 C56D016A4CE for ; Mon, 1 Dec 2003 07:11:51 -0800 (PST) Received: from ahmler2.mail.eds.com (ahmler2.mail.eds.com [192.85.154.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FE7643FE3 for ; Mon, 1 Dec 2003 07:11:44 -0800 (PST) (envelope-from jim.small@eds.com) Received: from ahmlir4.mail.eds.com (ahmlir4-2.mail.eds.com [192.85.154.134]) by ahmler2.mail.eds.com (8.12.10/8.12.9) with ESMTP id hB1FBhGj011603 for ; Mon, 1 Dec 2003 10:11:44 -0500 Received: from ahmlir4.mail.eds.com (localhost [127.0.0.1]) by ahmlir4.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hB1FBhL31358 for ; Mon, 1 Dec 2003 10:11:43 -0500 Received: from usahm102.exmi01.exch.eds.com (usahm102.exmi01.exch.eds.com [207.37.138.190]) by ahmlir4.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hB1FBhf31352 for ; Mon, 1 Dec 2003 10:11:43 -0500 Received: by usahm102.exmi01.exch.eds.com with Internet Mail Service (5.5.2657.72) id ; Mon, 1 Dec 2003 10:11:44 -0500 Message-ID: <8AA870658244D4119AF600508BDF0A361BCECABF@usahm014.exmi01.exch.eds.com> From: "Small, Jim" To: freebsd-sparc64@freebsd.org Date: Mon, 1 Dec 2003 10:11:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Subject: Panic with FreeBSD 5.1 on Ultra 60 with hme, qfe, and bridging en abled 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: Mon, 01 Dec 2003 15:11:51 -0000 Hello, I have loaded FreeBSD 5.1 on an Ultra 60. The Ultra 60 has the standard builtin hme network interface as well as a PCI QFE card. BTW--It's sweet to be able to load FreeBSD on an UltraSPARC--Thanks! I would like to use bridging on this Ultra 60. I followed: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.h tml to enable briding. The only special option I have in my kernel configuration file is the option to enable briding: test60# diff KERNEL1 GENERIC 202,204d201 < < # Additional options < options BRIDGE The custom kernel to enable bridging is installed and appears to work fine unless I try to bridge interfaces. Whenever I bridge interfaces, I get a panic: test60# test60# sysctl net.link.ether.bridge=1 net.link.ether.bridge: 0 -> 1 test60# sysctl net.link.ether.bridge_cfg=hme0,hme1 net.link.ether.bridge_cfg: -> hme0,hme1 test60# Dec 1 09:57:03 test60 kernel: hme0: promiscuous mode enabled Dec 1 09:57:03 test60 kernel: hme1: promiscuous mode enabled test60# panic: trap: memory address not aligned cpuid = 0; syncing disks, buffers remaining... 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 giving up on 179 buffers Uptime: 15m22s Automatic reboot in 15 seconds - press a key on the console to abort The panic is consistent. I always get it within about 30 seconds of enabling bridging between multiple interfaces. The sysctl net.link.ether.bridge=1 doesn't seem to cause any problems. It's only when I do a sysctl net.link.ether.bridge_cfg=hme0,hme1 that I get the panic. Incidentally, the bridging appears to work for until the machine panics. I would be willing to debug if someone will help me. Any suggestions or volunteers to help me debug? Thanks, <> Jim PS: Here are the bootup messages for the machine (in case it helps): Sun Ultra 60 UPA/PCI (UltraSPARC-II 360MHz), No Keyboard OpenBoot 3.11, 2048 MB memory installed, Serial #10151570. Ethernet address 8:0:20:9a:e6:92, Host ID: 809ae692. Rebooting with command: boot /pci@1f,4000/scsi@3/disk@1,0:a Boot device: /pci@1f,4000/scsi@3/disk@1,0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,4000/scsi@3/disk@1,0:a Boot loader: /boot/loader Console: OpenFirmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 (root@sparkle.attlabs.net, Thu Jun 5 00:18:44 GMT 2003) bootpath="/pci@1f,4000/scsi@3/disk@1,0:a" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x34c208+0x4bd18 syms=[0x8+0x537f0+0x8+0x404f1] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... nothing to autoload yet. jumping to kernel entry at 0xc0040000. msgbuf stray vector interrupt 2029 cksum mismatch (read 82a44, calc 83e93) Copyright (c) 1992-2003 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.1-RELEASE #2: Wed Nov 26 19:08:45 EST 2003 root@test60.mitry.us.eds.com:/usr/obj/usr/src/sys/MYKERNEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc042e000. Timecounter "tick" frequency 360000625 Hz real memory = 2121293824 (2023 MB) avail memory = 2048688128 (1953 MB) cpu0: Sun Microsystems UltraSparc-II Processor (360.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B initialializing counter-timer Timecounter "counter-timer" frequency 1000000 Hz DVMA map: 0xfc000000 to 0xffffffff pci0: on pcib0 ebus0: revision 0x01 ebus0: mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a00 3,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver 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 sabtty0: on sab0 sabtty0: console 9600,8,n,1,- 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-0x14003043c b irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f 7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 809ae692 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200 f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0x8900000-0x8907fff irq 33 at device 1.1 on pci0 hme0: Ethernet address: 08:00:20:9a:e6:92 miibus0: on hme0 qsphy0: on miibus0 qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sym0: <875> port 0x1000-0x10ff mem 0x8909000-0x8909fff,0x8908000-0x89080ff irq 32 at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: <875> port 0x1400-0x14ff mem 0x890b000-0x890bfff,0x890a000-0x890a0ff irq 38 at device 3.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking pcib1: at device 5.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) hme1: mem 0x2800000-0x2807fff irq 29 at device 0.1 on pci1 hme1: Ethernet address: 08:00:20:9a:e6:92 miibus1: on hme1 qsphy1: on miibus1 qsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 1.0 (no driver attached) hme2: mem 0x4800000-0x4807fff irq 30 at device 1.1 on pci1 hme2: Ethernet address: 08:00:20:9a:e6:92 miibus2: on hme2 qsphy2: on miibus2 qsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 2.0 (no driver attached) hme3: mem 0x6800000-0x6807fff irq 31 at device 2.1 on pci1 hme3: Ethernet address: 08:00:20:9a:e6:92 miibus3: on hme3 qsphy3: on miibus3 qsphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 3.0 (no driver attached) hme4: mem 0x8800000-0x8807fff irq 28 at device 3.1 on pci1 hme4: Ethernet address: 08:00:20:9a:e6:92 miibus4: on hme4 qsphy4: on miibus4 qsphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: on nexus0 pcib2: Psycho, impl 0, version 4, ign 0x7c0, bus A pci2: on pcib2 nexus0: , type display (no driver attached) Timecounters tick every 10.000 msec BRIDGE 020214 loaded Waiting 15 seconds for SCSI devices to settle 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) cd0 at sym0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present 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: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) Mounting root from ufs:/dev/da1a WARNING: / was not properly dismounted Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point. swapon: adding /dev/da1b as swap device Starting file system checks: /dev/da1a: 811 files, 33464 used, 93523 free (763 frags, 11595 blocks, 0.6% fragmentation) /dev/da1e: DEFER FOR BACKGROUND CHECKING /dev/da1f: DEFER FOR BACKGROUND CHECKING /dev/da1d: DEFER FOR BACKGROUND CHECKING WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted Setting hostname: test60.mitry.us.eds.com. hme0: flags=8843 mtu 1500 inet 130.175.158.208 netmask 0xffffff00 broadcast 130.175.158.255 inet6 fe80::a00:20ff:fe9a:e692%hme0 prefixlen 64 tentative scopeid 0x1 ether 08:00:20:9a:e6:92 media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 130.175.158.1 Additional routing options:. hw.bus.devctl_disable: 0 -> 1 Mounting NFS file systems:. Starting syslogd. Dec 1 09:59:50 test60 syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib Starting local daemons:. Updating motd. Starting sshd. Starting sendmail. Initial sparc64 initialization:. Additional ABI support:. Starting cron. Local package initialization:. Additional TCP options:. Starting background file system checks in 60 seconds. Mon Dec 1 09:59:56 EST 2003 FreeBSD/sparc64 (test60.mydom.dom.com) (ttya) login: From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 10:48:25 2003 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 0864A16A4CE for ; Mon, 1 Dec 2003 10:48:25 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 94AB643FE5 for ; Mon, 1 Dec 2003 10:48:20 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 12010 invoked by uid 65534); 1 Dec 2003 18:48:19 -0000 Received: from p508E7F32.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.127.50) by mail.gmx.net (mp027) with SMTP; 01 Dec 2003 19:48:19 +0100 X-Authenticated: #5374206 Received: by rota (Postfix, from userid 1001) id 654BCEE; Mon, 1 Dec 2003 19:50:00 +0100 (CET) Date: Mon, 1 Dec 2003 19:49:59 +0100 From: Thomas Moestl To: David O'Brien Message-ID: <20031201184959.GA712@timesink.dyndns.org> Mail-Followup-To: David O'Brien , freebsd-sparc64@freebsd.org, scottl@freebsd.org References: <20031201103455.GA2603@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031201103455.GA2603@dragon.nuxi.com> User-Agent: Mutt/1.5.5.1i cc: scottl@freebsd.org cc: freebsd-sparc64@freebsd.org Subject: Re: WARNING: 5.2-BETA-sparc64-miniinst.iso bad 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: Mon, 01 Dec 2003 18:48:25 -0000 On Mon, 2003/12/01 at 02:34:55 -0800, David O'Brien wrote: > I haven't been able to get thru an install of using a burnt CD of > 5.2-BETA-sparc64-miniinst.iso. The MD5 checksum of my local file matches > that on ftp.freebsd.org, but I've found there to be a problem with a base > file of the ISO: > > --- CHECKSUM.MD5 Wed Nov 26 16:36:01 2003 > +++ /tmp/foo Mon Dec 1 02:24:10 2003 > @@ -15 +15 @@ > -MD5 (base.ao) = 1403f8ad1f88001a97425b5e025a12b0 > +MD5 (base.ao) = daad0ea11cc284122e0ec90b4c43206d That file seems to have been corrupted while creating the ISO file system. I've just redone the ISO, and now I've got corruption in another file. I'll investigate. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 11:02:12 2003 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 2251516A4CE for ; Mon, 1 Dec 2003 11:02:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF34143FB1 for ; Mon, 1 Dec 2003 11:01:34 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hB1J1YFY015832 for ; Mon, 1 Dec 2003 11:01:34 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hB1J1XFS015821 for freebsd-sparc64@freebsd.org; Mon, 1 Dec 2003 11:01:33 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 1 Dec 2003 11:01:33 -0800 (PST) Message-Id: <200312011901.hB1J1XFS015821@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Subject: Current problem reports assigned to you 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: Mon, 01 Dec 2003 19:02:12 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/24] sparc64/53670sparc64 pthreads implementation on 5.1-Release sp 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/02/03] sparc64/47845sparc64 4 second daily clock drift a [2003/10/10] sparc64/57856sparc64 sparc64: IDE Raid controller no detect di 2 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 12:26:22 2003 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 E18C316A4CE for ; Mon, 1 Dec 2003 12:26:22 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 74C8B43FF9 for ; Mon, 1 Dec 2003 12:25:20 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 30383 invoked by uid 65534); 1 Dec 2003 20:25:19 -0000 Received: from p508E7F32.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.127.50) by mail.gmx.net (mp013) with SMTP; 01 Dec 2003 21:25:19 +0100 X-Authenticated: #5374206 Received: by rota (Postfix, from userid 1001) id 46DBBEE; Mon, 1 Dec 2003 21:27:00 +0100 (CET) Date: Mon, 1 Dec 2003 21:27:00 +0100 From: Thomas Moestl To: David O'Brien , freebsd-sparc64@freebsd.org, scottl@freebsd.org Message-ID: <20031201202700.GB712@timesink.dyndns.org> Mail-Followup-To: David O'Brien , freebsd-sparc64@freebsd.org, scottl@freebsd.org References: <20031201103455.GA2603@dragon.nuxi.com> <20031201184959.GA712@timesink.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031201184959.GA712@timesink.dyndns.org> User-Agent: Mutt/1.5.5.1i Subject: Re: WARNING: 5.2-BETA-sparc64-miniinst.iso bad 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: Mon, 01 Dec 2003 20:26:23 -0000 On Mon, 2003/12/01 at 19:49:59 +0100, Thomas Moestl wrote: > On Mon, 2003/12/01 at 02:34:55 -0800, David O'Brien wrote: > > I haven't been able to get thru an install of using a burnt CD of > > 5.2-BETA-sparc64-miniinst.iso. The MD5 checksum of my local file matches > > that on ftp.freebsd.org, but I've found there to be a problem with a base > > file of the ISO: > > > > --- CHECKSUM.MD5 Wed Nov 26 16:36:01 2003 > > +++ /tmp/foo Mon Dec 1 02:24:10 2003 > > @@ -15 +15 @@ > > -MD5 (base.ao) = 1403f8ad1f88001a97425b5e025a12b0 > > +MD5 (base.ao) = daad0ea11cc284122e0ec90b4c43206d > > That file seems to have been corrupted while creating the ISO file > system. I've just redone the ISO, and now I've got corruption in > another file. I'll investigate. *Sigh*, this seemingly was disk trouble again (write errors happening under heavy load; limiting to ATA33 fixed that, I'm beginning to wonder whether the I/O adapter card on which the ATA connectors are placed in the Blade 100 is electrically unable to handle faster modes). The build should hopefully be unaffected by this, judging by the logs, but I have regenerated the tarballs and ISO images (which I have also verified this time). I'm going to start a new upload. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 19:25:57 2003 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 21D4816A4CE for ; Mon, 1 Dec 2003 19:25:57 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7353F43F93 for ; Mon, 1 Dec 2003 19:25:55 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hB23NCMg059774; Mon, 1 Dec 2003 22:23:12 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hB23NClh059771; Mon, 1 Dec 2003 22:23:12 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 1 Dec 2003 22:23:12 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Thomas Moestl In-Reply-To: <20031201120923.GA3276@timesink.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc@freebsd.org Subject: Re: panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC 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: Tue, 02 Dec 2003 03:25:57 -0000 On Mon, 1 Dec 2003, Thomas Moestl wrote: > This can happen when an ATA operation times out, and is caused by an > access to a freed structure. I have attached a workaround; IIRC sos is > developing a more complete fix for this. > > ISTR the timeouts were caused by the fact that Blade 100s come with > ATA66-capable disks and controllers, but a non-ATA66 (40 pin) cable, and > that for some reason the driver check to catch this situation did not > work. I am not seeing this on my machine because I replaced the cable > long ago when I added another disk. > > Can you confirm that your box does only have a 40 pin cable? Didn't get a chance to open up the box today, however, I did apply the patch. It doesn't panic, ... but it does now hang solid. FreeBSD/sparc64 (ray.rv.nailabs.com) (screen) login: ad0: WARNING - WRITE_DMA recovered from missing interrupt ad0: WARNING - READ_DMA recovered from missing interrupt I'll reset the box and rebuild the kernel with BREAK_TO_DEBUGGER, assuming I can keep it up that long. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 20:29:57 2003 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 B85C116A4CE for ; Mon, 1 Dec 2003 20:29:57 -0800 (PST) Received: from mighty.grot.org (66-117-150-96.web.lmi.net [66.117.150.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7394843FBD for ; Mon, 1 Dec 2003 20:29:55 -0800 (PST) (envelope-from aditya@grot.org) Received: by mighty.grot.org (Postfix, from userid 515) id 501E05D6B; Mon, 1 Dec 2003 20:29:55 -0800 (PST) Date: Mon, 1 Dec 2003 23:29:55 -0500 From: Aditya To: sparc@freebsd.org Message-ID: <20031202042955.GF39563@mighty.grot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: mounting a 4.x drive under 5.2-BETA 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: Tue, 02 Dec 2003 04:29:57 -0000 So I have a second drive in my 5.2-BETA running Netra X1 that I had in a 4-STABLE i386 box that I mounted as: /dev/ad2c /data ufs rw 0 3 I get a complaint when I tried to mount it. Since mount doesn't have any special options for mounting a UFS1 partition, I can't figure out what I might be doing wrong... Am I trying something that is impossible? some# mount /dev/ad1c /mnt mount: /dev/ad1c on /mnt: incorrect super block some# uname -a FreeBSD some.lan.grot.org 5.2-BETA FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 root@luthien.local:/usr/obj/usr/src/sys/GENERIC sparc64 some# bsdlabel -A -m i386 ad1 # /dev/ad1: type: unknown disk: trunk label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 155061 sectors/unit: 156301488 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 156301488 0 4.2BSD 2048 16384 89 # "raw" part, don't edit bsdlabel: partition c is not marked as unused! bsdlabel: An incorrect partition c may cause problems for standard system utilities Thanks, Adi From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 21:53:39 2003 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 1CFC016A4CE for ; Mon, 1 Dec 2003 21:53:39 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5A9C43FBF for ; Mon, 1 Dec 2003 21:53:37 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hB25otMg060926; Tue, 2 Dec 2003 00:50:55 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hB25osUB060922; Tue, 2 Dec 2003 00:50:54 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 2 Dec 2003 00:50:54 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Thomas Moestl In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc@freebsd.org Subject: Re: panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC 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: Tue, 02 Dec 2003 05:53:39 -0000 On Mon, 1 Dec 2003, Robert Watson wrote: > On Mon, 1 Dec 2003, Thomas Moestl wrote: > > > This can happen when an ATA operation times out, and is caused by an > > access to a freed structure. I have attached a workaround; IIRC sos is > > developing a more complete fix for this. > > > > ISTR the timeouts were caused by the fact that Blade 100s come with > > ATA66-capable disks and controllers, but a non-ATA66 (40 pin) cable, and > > that for some reason the driver check to catch this situation did not > > work. I am not seeing this on my machine because I replaced the cable > > long ago when I added another disk. > > > > Can you confirm that your box does only have a 40 pin cable? > > Didn't get a chance to open up the box today, however, I did apply the > patch. It doesn't panic, ... but it does now hang solid. > > FreeBSD/sparc64 (ray.rv.nailabs.com) (screen) > > login: ad0: WARNING - WRITE_DMA recovered from missing interrupt > ad0: WARNING - READ_DMA recovered from missing interrupt > > > I'll reset the box and rebuild the kernel with BREAK_TO_DEBUGGER, > assuming I can keep it up that long. Nope, can't seem to get into the debugger. It's obviously unhappy, and quite possibly pushing up the daisies. login: Dec 2 00:39:13 ray su: rwatson to root on /dev/ttyp0 ad0: WARNING - WRITE_DMA recovered from missing interrupt ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) ata2: resetting devices .. ad0: FAILURE - already active DMA on this device ad0: setting up DMA failed done ad0: WARNING - WRITE_DMA recovered from missing interrupt ad0: WARNING - READ_DMA recovered from missing interrupt Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 04:41:54 2003 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 8169816A4CE for ; Tue, 2 Dec 2003 04:41:54 -0800 (PST) Received: from Bizone.inar.ru (is.inar.ru [212.14.160.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020EE43F93 for ; Tue, 2 Dec 2003 04:41:51 -0800 (PST) (envelope-from seal@inar.ru) Received: from localhost ([212.14.161.12])hB2CfmVH022482 for ; Tue, 2 Dec 2003 15:41:49 +0300 (MSK) Date: Tue, 2 Dec 2003 15:41:42 +0300 From: Vyacheslav Silakov X-Mailer: The Bat! (v1.62q) Personal Organization: Internet-Arkhangelsk Company; +7 (8182) 650002; ICQ: 117086713 X-Priority: 3 (Normal) Message-ID: <1508164067.20031202154142@inar.ru> To: freebsd-sparc64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: FreeBSD-5.2 BETA & Davicom ethernet X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: seal List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 12:41:54 -0000 Hello I've read in October that problem with Davicom ethernet card (Sun Netra X1) is fixed under FreeBSD-5-CURRENT. Now I've booted fresh FreeBSD-5.2-BETA and found old bugs: [..] FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 root@luthien.local:/usr/obj/usr/src/sys/GENERIC [..] dc0: port 0x10000-0x100ff at device 12.0 on pci0 dc0: Ethernet address: 00:00:00:00:00:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [..] dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 dc1: Ethernet address: 00:00:00:00:00:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Any comments? From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 07:15:32 2003 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 EB66716A4CE for ; Tue, 2 Dec 2003 07:15:32 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6845943FE1 for ; Tue, 2 Dec 2003 07:15:21 -0800 (PST) (envelope-from freebsd-sparc@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ARCFD-0007pj-00 for ; Tue, 02 Dec 2003 16:15:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-sparc64@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARCFC-0007pa-00 for ; Tue, 02 Dec 2003 16:15:18 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ARCFC-0005c6-00 for ; Tue, 02 Dec 2003 16:15:18 +0100 From: Aditya Date: Tue, 02 Dec 2003 10:15:16 -0500 Organization: Grot Free Lines: 30 Message-ID: References: <1508164067.20031202154142@inar.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Archive: encrypt User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Common Lisp, i386--freebsd) Cancel-Lock: sha1:nansd5niYUl4M+6hNqUe0FCB1pY= Sender: news Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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: Tue, 02 Dec 2003 15:15:33 -0000 > On Tue, 2 Dec 2003 15:41:42 +0300, Vyacheslav Silakov said: > I've read in October that problem with Davicom ethernet card (Sun > Netra X1) is fixed under FreeBSD-5-CURRENT. Now I've booted fresh > FreeBSD-5.2-BETA and found old bugs: > > [..] FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 > root@luthien.local:/usr/obj/usr/src/sys/GENERIC [..] dc0: DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0 > dc0: Ethernet address: 00:00:00:00:00:00 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [..] dc1: 10/100BaseTX> port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 > on pci0 dc1: Ethernet address: 00:00:00:00:00:00 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I can confirm this on a Netra X1 that I just installed 5.2-BETA freshly using a FTP Passive install: FreeBSD some.lan.grot.org 5.2-BETA FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 root@luthien.local:/usr/obj/usr/src/sys/GENERIC sparc64 dc0: port 0x10000-0x100ff at device 12.0 on pci0 dc0: Ethernet address: 00:00:00:00:00:00 dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 dc1: Ethernet address: 00:00:00:00:00:00 Thanks, Adi From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 07:21:19 2003 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 7502916A4CE for ; Tue, 2 Dec 2003 07:21:19 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E31243F75 for ; Tue, 2 Dec 2003 07:21:16 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 8F52B2ED450; Tue, 2 Dec 2003 07:21:16 -0800 (PST) Date: Tue, 2 Dec 2003 16:21:16 +0100 From: Maxime Henrion To: Aditya Message-ID: <20031202152116.GN8404@elvis.mu.org> References: <1508164067.20031202154142@inar.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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: Tue, 02 Dec 2003 15:21:19 -0000 Aditya wrote: > > On Tue, 2 Dec 2003 15:41:42 +0300, Vyacheslav Silakov said: > > I've read in October that problem with Davicom ethernet card (Sun > > Netra X1) is fixed under FreeBSD-5-CURRENT. Now I've booted fresh > > FreeBSD-5.2-BETA and found old bugs: > > > > [..] FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 > > root@luthien.local:/usr/obj/usr/src/sys/GENERIC [..] dc0: > DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0 > > dc0: Ethernet address: 00:00:00:00:00:00 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [..] dc1: > 10/100BaseTX> port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 > > on pci0 dc1: Ethernet address: 00:00:00:00:00:00 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > I can confirm this on a Netra X1 that I just installed 5.2-BETA > freshly using a FTP Passive install: > > FreeBSD some.lan.grot.org 5.2-BETA FreeBSD 5.2-BETA #0: Wed Nov 26 > 23:53:05 GMT 2003 root@luthien.local:/usr/obj/usr/src/sys/GENERIC > sparc64 > > dc0: port 0x10000-0x100ff at device 12.0 on pci0 > dc0: Ethernet address: 00:00:00:00:00:00 > > dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 > dc1: Ethernet address: 00:00:00:00:00:00 This is expected for now. I coudln't find the time to add support for getting the MAC address from the OpenFirmware in dc(4) yet. With a bit of luck, this will be working soon, though probably not before 5.3-RELEASE, unless someone else tackles this issue. Cheers, Maxime From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 08:13:15 2003 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 3B86016A4CE; Tue, 2 Dec 2003 08:13:15 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2612C43FE5; Tue, 2 Dec 2003 08:13:11 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hB2GD9I2052100; Tue, 2 Dec 2003 17:13:09 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hB2GD4YR052099; Tue, 2 Dec 2003 17:13:04 +0100 (CET) (envelope-from marius) Date: Tue, 2 Dec 2003 17:13:04 +0100 From: Marius Strobl To: Maxime Henrion Message-ID: <20031202171304.A51744@newtrinity.zeist.de> References: <1508164067.20031202154142@inar.ru> <20031202152116.GN8404@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031202152116.GN8404@elvis.mu.org>; from mux@freebsd.org on Tue, Dec 02, 2003 at 04:21:16PM +0100 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.53 cc: Aditya cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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: Tue, 02 Dec 2003 16:13:15 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 02, 2003 at 04:21:16PM +0100, Maxime Henrion wrote: > Aditya wrote: > > > On Tue, 2 Dec 2003 15:41:42 +0300, Vyacheslav Silakov said: > > > I've read in October that problem with Davicom ethernet card (Sun > > > Netra X1) is fixed under FreeBSD-5-CURRENT. Now I've booted fresh > > > FreeBSD-5.2-BETA and found old bugs: > > > > > > [..] FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 > > > root@luthien.local:/usr/obj/usr/src/sys/GENERIC [..] dc0: > > DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0 > > > dc0: Ethernet address: 00:00:00:00:00:00 > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [..] dc1: > > 10/100BaseTX> port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 > > > on pci0 dc1: Ethernet address: 00:00:00:00:00:00 > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > I can confirm this on a Netra X1 that I just installed 5.2-BETA > > freshly using a FTP Passive install: > > > > FreeBSD some.lan.grot.org 5.2-BETA FreeBSD 5.2-BETA #0: Wed Nov 26 > > 23:53:05 GMT 2003 root@luthien.local:/usr/obj/usr/src/sys/GENERIC > > sparc64 > > > > dc0: port 0x10000-0x100ff at device 12.0 on pci0 > > dc0: Ethernet address: 00:00:00:00:00:00 > > > > dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 > > dc1: Ethernet address: 00:00:00:00:00:00 > > This is expected for now. I coudln't find the time to add support for > getting the MAC address from the OpenFirmware in dc(4) yet. With a bit > of luck, this will be working soon, though probably not before > 5.3-RELEASE, unless someone else tackles this issue. > A while ago I already sent you a patch similar to the attached one which gets the MAC address for Sun onboard NICs via OpenFirmware in dc(4). But you didn't like the MD ifdefs in if_dc.c and wanted to implement it some layers above. The patch has the problem that because of the check for OFW_NEWPCI dc(4) no longer can be built as a module on FreeBSD/sparc64. I tried to move the check for local-mac-address into OF_getetheraddr() so it would also work for hme(4) and gem(4) while dc(4) can be built as module but failed to do a version that works for both, sbus and pci, devices. --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sys_pci_if_dc.c.diff2" Index: if_dc.c =================================================================== RCS file: /usr/data/bsd/cvs/fbsd/src/sys/pci/if_dc.c,v retrieving revision 1.135 diff -u -r1.135 if_dc.c --- if_dc.c 14 Nov 2003 19:00:31 -0000 1.135 +++ if_dc.c 19 Nov 2003 22:50:26 -0000 @@ -124,6 +124,13 @@ #include #include +#ifdef __sparc64__ +#include "opt_ofw_pci.h" +#include +#include +#include +#endif + #define DC_USEIOSPACE #ifdef __alpha__ #define SRM_MEDIA @@ -2102,7 +2109,6 @@ case DC_TYPE_PNIC: dc_read_eeprom(sc, (caddr_t)&eaddr, 0, 3, 1); break; - case DC_TYPE_DM9102: case DC_TYPE_21143: case DC_TYPE_ASIX: dc_read_eeprom(sc, (caddr_t)&eaddr, DC_EE_NODEADDR, 3, 0); @@ -2115,6 +2121,25 @@ case DC_TYPE_CONEXANT: bcopy(sc->dc_srom + DC_CONEXANT_EE_NODEADDR, &eaddr, ETHER_ADDR_LEN); + break; + case DC_TYPE_DM9102: + dc_read_eeprom(sc, (caddr_t)&eaddr, DC_EE_NODEADDR, 3, 0); +#ifdef __sparc64__ + /* + * If this is an onboard dc(4) the station address read from + * the EEPROM is all zero and we have to get it from the fcode. + */ + for (i = 0; i < ETHER_ADDR_LEN; i++) + if (eaddr[i] != 0x00) + break; +#ifdef OFW_NEWPCI + if (OF_getprop(ofw_pci_get_node(dev), "local-mac-address", +#else + if (OF_getprop(ofw_pci_node(dev), "local-mac-address", +#endif + eaddr, sizeof(eaddr)) == -1) + OF_getetheraddr(dev, eaddr); +#endif break; case DC_TYPE_XIRCOM: /* The MAC comes from the CIS. */ --fUYQa+Pmc3FrFX/N-- From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 08:33:20 2003 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 BF58716A4CE for ; Tue, 2 Dec 2003 08:33:20 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8897543FB1 for ; Tue, 2 Dec 2003 08:33:19 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 758302ED46D; Tue, 2 Dec 2003 08:33:19 -0800 (PST) Date: Tue, 2 Dec 2003 17:33:19 +0100 From: Maxime Henrion To: Marius Strobl Message-ID: <20031202163319.GP8404@elvis.mu.org> References: <1508164067.20031202154142@inar.ru> <20031202152116.GN8404@elvis.mu.org> <20031202171304.A51744@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031202171304.A51744@newtrinity.zeist.de> User-Agent: Mutt/1.4.1i cc: Aditya cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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: Tue, 02 Dec 2003 16:33:20 -0000 Marius Strobl wrote: > On Tue, Dec 02, 2003 at 04:21:16PM +0100, Maxime Henrion wrote: > > Aditya wrote: > > > > On Tue, 2 Dec 2003 15:41:42 +0300, Vyacheslav Silakov said: > > > > I've read in October that problem with Davicom ethernet card (Sun > > > > Netra X1) is fixed under FreeBSD-5-CURRENT. Now I've booted fresh > > > > FreeBSD-5.2-BETA and found old bugs: > > > > > > > > [..] FreeBSD 5.2-BETA #0: Wed Nov 26 23:53:05 GMT 2003 > > > > root@luthien.local:/usr/obj/usr/src/sys/GENERIC [..] dc0: > > > DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0 > > > > dc0: Ethernet address: 00:00:00:00:00:00 > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [..] dc1: > > > 10/100BaseTX> port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 > > > > on pci0 dc1: Ethernet address: 00:00:00:00:00:00 > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > I can confirm this on a Netra X1 that I just installed 5.2-BETA > > > freshly using a FTP Passive install: > > > > > > FreeBSD some.lan.grot.org 5.2-BETA FreeBSD 5.2-BETA #0: Wed Nov 26 > > > 23:53:05 GMT 2003 root@luthien.local:/usr/obj/usr/src/sys/GENERIC > > > sparc64 > > > > > > dc0: port 0x10000-0x100ff at device 12.0 on pci0 > > > dc0: Ethernet address: 00:00:00:00:00:00 > > > > > > dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 > > > dc1: Ethernet address: 00:00:00:00:00:00 > > > > This is expected for now. I coudln't find the time to add support for > > getting the MAC address from the OpenFirmware in dc(4) yet. With a bit > > of luck, this will be working soon, though probably not before > > 5.3-RELEASE, unless someone else tackles this issue. > > > > A while ago I already sent you a patch similar to the attached one which > gets the MAC address for Sun onboard NICs via OpenFirmware in dc(4). But > you didn't like the MD ifdefs in if_dc.c and wanted to implement it some > layers above. Yes, I remember it. But as I said, it's an ugly hack, and needs to be done better. If people really need a MAC address they could use an "ifconfig dc0 ether xx:xx:xx:xx:xx:xx" command. Besides, there have been reports of crashes with dc(4) cards under sparc64 at high load. So I'm really reluctant to commit this. Which makes me wonder : do you experience these crashes? > The patch has the problem that because of the check for OFW_NEWPCI dc(4) > no longer can be built as a module on FreeBSD/sparc64. I tried to move > the check for local-mac-address into OF_getetheraddr() so it would also > work for hme(4) and gem(4) while dc(4) can be built as module but failed > to do a version that works for both, sbus and pci, devices. See below for another problem with this patch. > Index: if_dc.c > =================================================================== > RCS file: /usr/data/bsd/cvs/fbsd/src/sys/pci/if_dc.c,v > retrieving revision 1.135 > diff -u -r1.135 if_dc.c > --- if_dc.c 14 Nov 2003 19:00:31 -0000 1.135 > +++ if_dc.c 19 Nov 2003 22:50:26 -0000 > @@ -124,6 +124,13 @@ > #include > #include > > +#ifdef __sparc64__ > +#include "opt_ofw_pci.h" > +#include > +#include > +#include > +#endif > + > #define DC_USEIOSPACE > #ifdef __alpha__ > #define SRM_MEDIA > @@ -2102,7 +2109,6 @@ > case DC_TYPE_PNIC: > dc_read_eeprom(sc, (caddr_t)&eaddr, 0, 3, 1); > break; > - case DC_TYPE_DM9102: > case DC_TYPE_21143: > case DC_TYPE_ASIX: > dc_read_eeprom(sc, (caddr_t)&eaddr, DC_EE_NODEADDR, 3, 0); > @@ -2115,6 +2121,25 @@ > case DC_TYPE_CONEXANT: > bcopy(sc->dc_srom + DC_CONEXANT_EE_NODEADDR, &eaddr, > ETHER_ADDR_LEN); > + break; > + case DC_TYPE_DM9102: > + dc_read_eeprom(sc, (caddr_t)&eaddr, DC_EE_NODEADDR, 3, 0); > +#ifdef __sparc64__ > + /* > + * If this is an onboard dc(4) the station address read from > + * the EEPROM is all zero and we have to get it from the fcode. > + */ > + for (i = 0; i < ETHER_ADDR_LEN; i++) > + if (eaddr[i] != 0x00) > + break; AFAICT, the "break" here breaks out of the for loop, not out of the case statement, which is what you probably wanted. So, whether or not the MAC address is all zeros, you'll try to get the MAC address from OpenFirmware. You'd need a Davicom card which is not onboard in a sparc64 box to trigger the bug, so it's harmless in most cases, which is probably why you didn't notice it. You should probably add an "if (i == ETHER_ADDR_LEN) {" after the for loop and enclose all the below code in it. > +#ifdef OFW_NEWPCI > + if (OF_getprop(ofw_pci_get_node(dev), "local-mac-address", > +#else > + if (OF_getprop(ofw_pci_node(dev), "local-mac-address", > +#endif > + eaddr, sizeof(eaddr)) == -1) > + OF_getetheraddr(dev, eaddr); > +#endif > break; > case DC_TYPE_XIRCOM: > /* The MAC comes from the CIS. */ Cheers, Maxime From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 10:48:46 2003 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 9D86216A4CE; Tue, 2 Dec 2003 10:48:46 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A609A43F3F; Tue, 2 Dec 2003 10:48:42 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hB2ImfI2054829; Tue, 2 Dec 2003 19:48:41 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hB2ImaDn054828; Tue, 2 Dec 2003 19:48:36 +0100 (CET) (envelope-from marius) Date: Tue, 2 Dec 2003 19:48:36 +0100 From: Marius Strobl To: Maxime Henrion Message-ID: <20031202194836.E73910@newtrinity.zeist.de> References: <1508164067.20031202154142@inar.ru> <20031202152116.GN8404@elvis.mu.org> <20031202171304.A51744@newtrinity.zeist.de> <20031202163319.GP8404@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031202163319.GP8404@elvis.mu.org>; from mux@freebsd.org on Tue, Dec 02, 2003 at 05:33:19PM +0100 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.53 cc: Aditya cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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: Tue, 02 Dec 2003 18:48:46 -0000 On Tue, Dec 02, 2003 at 05:33:19PM +0100, Maxime Henrion wrote: > Marius Strobl wrote: > > On Tue, Dec 02, 2003 at 04:21:16PM +0100, Maxime Henrion wrote: > > > > > > This is expected for now. I coudln't find the time to add support for > > > getting the MAC address from the OpenFirmware in dc(4) yet. With a bit > > > of luck, this will be working soon, though probably not before > > > 5.3-RELEASE, unless someone else tackles this issue. > > > > > > > A while ago I already sent you a patch similar to the attached one which > > gets the MAC address for Sun onboard NICs via OpenFirmware in dc(4). But > > you didn't like the MD ifdefs in if_dc.c and wanted to implement it some > > layers above. > > Yes, I remember it. But as I said, it's an ugly hack, and needs to be > done better. If people really need a MAC address they could use an > "ifconfig dc0 ether xx:xx:xx:xx:xx:xx" command. Besides, there have I agree that this is not the best way to do it, on the other hand what did you have in mind when you wrote "via OpenFirmware in dc(4)"? One could leave the check for local-mac-address out for now and just call OF_getetheraddr(), dc(4) then should compile as a module and people would get a working MAC address, also the same on all interfaces, until the proper way is implemented. > been reports of crashes with dc(4) cards under sparc64 at high load. So > I'm really reluctant to commit this. Which makes me wonder : do you > experience these crashes? No. When they were reported shortly after you commited the busdma conversion of dc(4) I tried to reproduce them by transfering large files and running buildworld via NFS but had no problems. As a side note, from the reports I read it was never clear to me if those crashes happend with onboard Davicom NICs or with other dc(4) NICs. There now also seem to be several people that use onboard Davicom NICs with FreeBSD/sparc64 and there where no new reports of such crashes. In if_dc.c revision 1.122 and 1.123 mbr@ fixed a Davicom-related bug, maybe it was also the cause for those crashes. > > + /* > > + * If this is an onboard dc(4) the station address read from > > + * the EEPROM is all zero and we have to get it from the fcode. > > + */ > > + for (i = 0; i < ETHER_ADDR_LEN; i++) > > + if (eaddr[i] != 0x00) > > + break; > > AFAICT, the "break" here breaks out of the for loop, not out of the case > statement, which is what you probably wanted. So, whether or not the > MAC address is all zeros, you'll try to get the MAC address from > OpenFirmware. Indeed. I had this right in the first version of that patch but broke it when merging with updated sources recently. From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 2 15:17:16 2003 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 6BA5216A4CE for ; Tue, 2 Dec 2003 15:17:16 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F3BF43FCB for ; Tue, 2 Dec 2003 15:17:14 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hB2NHDYR028300 for ; Tue, 2 Dec 2003 18:17:13 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: Date: Tue, 2 Dec 2003 18:17:12 -0500 To: sparc64@FreeBSD.ORG From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Booting from alternate disk in sparc64 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: Tue, 02 Dec 2003 23:17:16 -0000 Well, I started to write up one observation, and in the process found out that the situation was a bit different than what I thought. I now have two drives in my Ultra-10, and wanted to boot off the second drive. I got to the open-firmware prompt. Typing "boot disk0" boots up off the first disk, with the messages: - - - - [start] Rebooting with command: boot disk0 Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0 File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot loader: /boot/loader Console: OpenFirmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 [etc] - - - - [end] So I tried typing 'boot disk1' at the open-firmware prompt. It starts up about the same, except that it has 'disk@1,0' where the above has 'disk@0,0', and then it hangs before printing out the message 'Console: OpenFirmware console'. Well, I always thought it was completely dead there, and I would drop back to the openfirmware prompt and try again. But while it does stop there for a minute and 15 seconds, apparently it will continue on and boot OK if I'm just patient enough to wait for it. What I *was* going to say in this message, was that I had an alternate trick for getting to the second disk. I'd type 'boot disk0', and then hit the space key to fall into the boot loader. I would type "show currdev", and it displayed: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a so I would type in: unload set currdev=/pci@1f,0/pci@1,1/ide@3/disk@1,1:a load boot/kernel/kernel boot (ie, just changing disk@0,0 to disk@1,1). And with that, it does boot up off the second disk. Of course, now I imagine that 'disk@1,1' isn't all that different than 'disk@1,0'. So I don't know why there's such a long pause there when I try "boot disk1", but it does seem to work... Do others have multi-boot setups on their sparc64 machines? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 02:11:19 2003 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 6EA4716A4CE for ; Wed, 3 Dec 2003 02:11:19 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C304243FF2 for ; Wed, 3 Dec 2003 02:11:17 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 9F85D2ED435; Wed, 3 Dec 2003 02:11:17 -0800 (PST) Date: Wed, 3 Dec 2003 11:11:17 +0100 From: Maxime Henrion To: Marius Strobl Message-ID: <20031203101117.GQ8404@elvis.mu.org> References: <1508164067.20031202154142@inar.ru> <20031202152116.GN8404@elvis.mu.org> <20031202171304.A51744@newtrinity.zeist.de> <20031202163319.GP8404@elvis.mu.org> <20031202194836.E73910@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031202194836.E73910@newtrinity.zeist.de> User-Agent: Mutt/1.4.1i cc: Aditya cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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, 03 Dec 2003 10:11:19 -0000 Marius Strobl wrote: > On Tue, Dec 02, 2003 at 05:33:19PM +0100, Maxime Henrion wrote: > > Marius Strobl wrote: > > > On Tue, Dec 02, 2003 at 04:21:16PM +0100, Maxime Henrion wrote: > > > > > > > > This is expected for now. I coudln't find the time to add support for > > > > getting the MAC address from the OpenFirmware in dc(4) yet. With a bit > > > > of luck, this will be working soon, though probably not before > > > > 5.3-RELEASE, unless someone else tackles this issue. > > > > > > > > > > A while ago I already sent you a patch similar to the attached one which > > > gets the MAC address for Sun onboard NICs via OpenFirmware in dc(4). But > > > you didn't like the MD ifdefs in if_dc.c and wanted to implement it some > > > layers above. > > > > Yes, I remember it. But as I said, it's an ugly hack, and needs to be > > done better. If people really need a MAC address they could use an > > "ifconfig dc0 ether xx:xx:xx:xx:xx:xx" command. Besides, there have > > I agree that this is not the best way to do it, on the other hand what > did you have in mind when you wrote "via OpenFirmware in dc(4)"? My formulation wasn't appropriate, I didn't mean that I intend to add that code to dc(4) itself. > One could leave the check for local-mac-address out for now and just > call OF_getetheraddr(), dc(4) then should compile as a module and > people would get a working MAC address, also the same on all interfaces, > until the proper way is implemented. > > > been reports of crashes with dc(4) cards under sparc64 at high load. So > > I'm really reluctant to commit this. Which makes me wonder : do you > > experience these crashes? > > No. When they were reported shortly after you commited the busdma > conversion of dc(4) I tried to reproduce them by transfering large > files and running buildworld via NFS but had no problems. > As a side note, from the reports I read it was never clear to me if > those crashes happend with onboard Davicom NICs or with other dc(4) > NICs. There now also seem to be several people that use onboard > Davicom NICs with FreeBSD/sparc64 and there where no new reports of > such crashes. In if_dc.c revision 1.122 and 1.123 mbr@ fixed a > Davicom-related bug, maybe it was also the cause for those crashes. That's definitely good news. The reports I had about crashes were with other dc(4) NICs plugged into a PCI slot, not with onboard Davicom NICs if I remember correctly, but I could be wrong. This changes the deal quite a bit, it may make sense to add this code so that users of Sun boxes with integrated Davicom cards are happy with 5.2-RELEASE. I was reluctant because I thought the problem was with all cards. I'll talk to re@ about that. Cheers, Maxime From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 04:23:32 2003 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 CF7FD16A4CE for ; Wed, 3 Dec 2003 04:23:32 -0800 (PST) Received: from shultz.wbt.ru (shultz.wbt.ru [80.250.64.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3DAB43FA3 for ; Wed, 3 Dec 2003 04:23:29 -0800 (PST) (envelope-from shultz@shultz.wbt.ru) Received: from shultz.wbt.ru (localhost [127.0.0.1]) by shultz.wbt.ru (8.12.9/8.12.9) with ESMTP id hB3CNdsP014789 for ; Wed, 3 Dec 2003 14:23:39 +0200 (EET) (envelope-from shultz@shultz.wbt.ru) Received: (from shultz@localhost) by shultz.wbt.ru (8.12.9/8.12.9/Submit) id hB3CNcp0014788 for freebsd-sparc@freebsd.org; Wed, 3 Dec 2003 14:23:38 +0200 (EET) Date: Wed, 3 Dec 2003 14:23:38 +0200 From: Shultzev Oleg To: freebsd-sparc@freebsd.org Message-ID: <20031203122338.GB14578@wbt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: new 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, 03 Dec 2003 12:23:32 -0000 new From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 09:34:30 2003 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 E9F2316A4CE for ; Wed, 3 Dec 2003 09:34:30 -0800 (PST) Received: from radix.sorted.org (radix.sorted.org [194.70.217.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CE1743FCB for ; Wed, 3 Dec 2003 09:34:29 -0800 (PST) (envelope-from pete@sorted.org) Received: by radix.sorted.org (Postfix, from userid 501) id E1D212EA51; Wed, 3 Dec 2003 17:34:27 +0000 (GMT) Date: Wed, 3 Dec 2003 17:34:27 +0000 From: Pete Bentley To: freebsd-sparc64@freebsd.org Message-ID: <20031203173427.GA96620@sorted.org> References: <1508164067.20031202154142@inar.ru> <20031202152116.GN8404@elvis.mu.org> <20031202171304.A51744@newtrinity.zeist.de> <20031202163319.GP8404@elvis.mu.org> <20031202194836.E73910@newtrinity.zeist.de> <20031203101117.GQ8404@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031203101117.GQ8404@elvis.mu.org> User-Agent: Mutt/1.4.1i Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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, 03 Dec 2003 17:34:31 -0000 On Wed, Dec 03, 2003 at 11:11:17AM +0100, Maxime Henrion wrote: > Marius Strobl wrote: > > On Tue, Dec 02, 2003 at 05:33:19PM +0100, Maxime Henrion wrote: > > > > > This is expected for now. I coudln't find the time to add support for > > > been reports of crashes with dc(4) cards under sparc64 at high load. So > > > I'm really reluctant to commit this. Which makes me wonder : do you > > > experience these crashes? > > > > No. [...] > > There now also seem to be several people that use onboard > > Davicom NICs with FreeBSD/sparc64 and there where no new reports of > > such crashes. In if_dc.c revision 1.122 and 1.123 mbr@ fixed a > > Davicom-related bug, maybe it was also the cause for those crashes. > > That's definitely good news. The reports I had about crashes were with > other dc(4) NICs plugged into a PCI slot, not with onboard Davicom NICs > if I remember correctly, but I could be wrong. I've been running various 5.1 currents on a X1 and not seen any crashes at all since 1.123, although the box hasn't been worked all that hard (download/make/install). Note that the X1 and V100 have no PCI slots, so they can never can a mix of onboard and PCI based dc cards. The V120 and V180 have a PCI slot, but I am not 100% sure what onboard ethernet hardware they have. The one weird thing I did see on my last make installworld was that 'make -j 2' failed consistently but 'make' succeeded... Maybe related to those fork() issues we saw with Perl a way back? I forget the exact error (sorry) but will try and reproduce, something along the lines of "file format is not valid" when installing /bin/sh. Pete. From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 15:09:17 2003 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 D71DF16A4CE; Wed, 3 Dec 2003 15:09:17 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F41443FDD; Wed, 3 Dec 2003 15:09:17 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id ABE7B66C55; Wed, 3 Dec 2003 15:09:16 -0800 (PST) Date: Wed, 3 Dec 2003 15:09:16 -0800 From: Kris Kennaway To: jake@FreeBSD.org, sparc64@FreeBSD.org Message-ID: <20031203230916.GA70189@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: syscons by default? 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, 03 Dec 2003 23:09:18 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline It looks like syscons support is not enabled in GENERIC by default. Is there some lingering reason why this should be true? If we enable it by default then e.g. system console installs should work for 5.2-RELEASE, and people can use XFree86 out of the box. Kris --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/zm0cWry0BWjoQKURAohuAKDbFc8Otq+ejxqrbw4/uCIBx7W5mgCcCf2L IsOOCTlPdfxmDO3TRR38pzU= =jzKz -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 15:42:47 2003 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 9350516A4CE for ; Wed, 3 Dec 2003 15:42:47 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C16143FEA for ; Wed, 3 Dec 2003 15:42:37 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 7F18A72DB5; Wed, 3 Dec 2003 15:42:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 7D03572DAD; Wed, 3 Dec 2003 15:42:37 -0800 (PST) Date: Wed, 3 Dec 2003 15:42:37 -0800 (PST) From: Doug White To: Pete Bentley In-Reply-To: <20031203173427.GA96620@sorted.org> Message-ID: <20031203154134.Y69957@carver.gumbysoft.com> References: <1508164067.20031202154142@inar.ru> <20031202171304.A51744@newtrinity.zeist.de> <20031202194836.E73910@newtrinity.zeist.de> <20031203173427.GA96620@sorted.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD-5.2 BETA & Davicom ethernet 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, 03 Dec 2003 23:42:47 -0000 On Wed, 3 Dec 2003, Pete Bentley wrote: > I've been running various 5.1 currents on a X1 and not seen any > crashes at all since 1.123, although the box hasn't been worked > all that hard (download/make/install). > > Note that the X1 and V100 have no PCI slots, so they can never can > a mix of onboard and PCI based dc cards. The V120 and V180 have a PCI > slot, but I am not 100% sure what onboard ethernet hardware they have. These use eri which are handled by the gem driver. I think the V100 does too, although V100 is just a rebadged X1. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 15:51:55 2003 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 6EDE716A4FA for ; Wed, 3 Dec 2003 15:51:55 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37EB943FFB for ; Wed, 3 Dec 2003 15:50:58 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 6B67072DB8; Wed, 3 Dec 2003 15:50:58 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 687A472DB5; Wed, 3 Dec 2003 15:50:58 -0800 (PST) Date: Wed, 3 Dec 2003 15:50:58 -0800 (PST) From: Doug White To: Garance A Drosihn In-Reply-To: Message-ID: <20031203154426.I69957@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc64@FreeBSD.ORG Subject: Re: Booting from alternate disk in sparc64 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, 03 Dec 2003 23:51:56 -0000 On Tue, 2 Dec 2003, Garance A Drosihn wrote: > Well, I started to write up one observation, and in the process > found out that the situation was a bit different than what I > thought. > > I now have two drives in my Ultra-10, and wanted to boot off > the second drive. I got to the open-firmware prompt. Typing > "boot disk0" boots up off the first disk, with the messages: This explanation might help. The OpenFirmware (or openprom) boot command just boots loader. Loader actually loads the kernel. They can load from different locations, as you found. Normally in FreeBSD, you will not be changing things from OFW, unless you want to boot off a CD. If you are just booting a kernel from another disk, you can just repoint loader using currdev. Now, you *can* use OFW to start a different loader to make your life a little easier, but its not required. The device that counts for finding the kernel is currdev in loader(8) tho. > So I tried typing 'boot disk1' at the open-firmware prompt. It > starts up about the same, except that it has 'disk@1,0' where > the above has 'disk@0,0', and then it hangs before printing out > the message 'Console: OpenFirmware console'. I wonder if it was actually using the wrong console here, so it was working, you just couldn't see it :) > So I don't know why there's such a long pause there when I > try "boot disk1", but it does seem to work... Would be curious to investigate. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 17:16:36 2003 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 40DBF16A4CE for ; Wed, 3 Dec 2003 17:16:36 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6525843F3F for ; Wed, 3 Dec 2003 17:16:34 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hB41GXtp005351 for ; Wed, 3 Dec 2003 20:16:33 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031203154426.I69957@carver.gumbysoft.com> References: <20031203154426.I69957@carver.gumbysoft.com> Date: Wed, 3 Dec 2003 20:16:32 -0500 To: sparc64@FreeBSD.ORG From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Booting from alternate disk in sparc64 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: Thu, 04 Dec 2003 01:16:36 -0000 At 3:50 PM -0800 12/3/03, Doug White wrote: >On Tue, 2 Dec 2003, Garance A Drosihn wrote: > > > I now have two drives in my Ultra-10, and wanted to boot off >> the second drive. I got to the open-firmware prompt. Typing > > "boot disk0" boots up off the first disk, with the messages: > >The OpenFirmware (or openprom) boot command just boots loader. >Loader actually loads the kernel. They can load from different >locations, as you found. Normally in FreeBSD, you will not be >changing things from OFW, unless you want to boot off a CD. >If you are just booting a kernel from another disk, you can >just repoint loader using currdev. Just to be complete, I should mention that what I had done was taken the one disk that had been the only disk, moved that to be the slave disk and added a new disk as the master ATA disk. I then installed 5.1 onto the new "disk0". So I know the "new disk1" used to work as the old disk0, but it is true that the disk was built and had always run as disk0 before I added the second disk to the machine. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 3 19:40:38 2003 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 BC00A16A4CE; Wed, 3 Dec 2003 19:40:38 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F315A43FBD; Wed, 3 Dec 2003 19:40:37 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 0227272DB8; Wed, 3 Dec 2003 19:40:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id F3EFC72DB5; Wed, 3 Dec 2003 19:40:37 -0800 (PST) Date: Wed, 3 Dec 2003 19:40:37 -0800 (PST) From: Doug White To: Kris Kennaway In-Reply-To: <20031203230916.GA70189@xor.obsecurity.org> Message-ID: <20031203193755.G73007@carver.gumbysoft.com> References: <20031203230916.GA70189@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: jake@FreeBSD.org cc: sparc64@FreeBSD.org Subject: Re: syscons by default? 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: Thu, 04 Dec 2003 03:40:38 -0000 On Wed, 3 Dec 2003, Kris Kennaway wrote: > It looks like syscons support is not enabled in GENERIC by default. > Is there some lingering reason why this should be true? If we enable > it by default then e.g. system console installs should work for > 5.2-RELEASE, and people can use XFree86 out of the box. Apparently because it only supports Creator and Creator3d cards. The attachment function is easy but someone would have to write a framebuffer driver. That sinks my Ultra5, which has a ATI. Looks like it has Apple fcode, though: aty,fcode: 41 50 4c 2d 31 2e 30 62 33 36 00 'APL-1.0b36' -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Thu Dec 4 02:12:08 2003 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 64A3E16A502; Thu, 4 Dec 2003 02:12:08 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90A5A43F93; Thu, 4 Dec 2003 02:12:06 -0800 (PST) (envelope-from ilmar@watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hB4A9HMg082208; Thu, 4 Dec 2003 05:09:17 -0500 (EST) (envelope-from ilmar@watson.org) Received: from localhost (ilmar@localhost)hB4A9HPQ082205; Thu, 4 Dec 2003 05:09:17 -0500 (EST) (envelope-from ilmar@watson.org) X-Authentication-Warning: fledge.watson.org: ilmar owned process doing -bs Date: Thu, 4 Dec 2003 05:09:16 -0500 (EST) From: "Ilmar S. Habibulin" To: Kris Kennaway In-Reply-To: <20031203230916.GA70189@xor.obsecurity.org> Message-ID: <20031204050812.C82060@fledge.watson.org> References: <20031203230916.GA70189@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: jake@FreeBSD.org cc: sparc64@FreeBSD.org Subject: Re: syscons by default? 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: Thu, 04 Dec 2003 10:12:08 -0000 On Wed, 3 Dec 2003, Kris Kennaway wrote: > It looks like syscons support is not enabled in GENERIC by default. > Is there some lingering reason why this should be true? If we enable > it by default then e.g. system console installs should work for > 5.2-RELEASE, and people can use XFree86 out of the box. Does it work on blade 100? And support ati mach and usb keyboard/mouse? From owner-freebsd-sparc64@FreeBSD.ORG Thu Dec 4 06:28:57 2003 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 124FF16A4CE; Thu, 4 Dec 2003 06:28:57 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B3F843F75; Thu, 4 Dec 2003 06:28:56 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DD8FE66C55; Thu, 4 Dec 2003 06:28:55 -0800 (PST) Date: Thu, 4 Dec 2003 06:28:55 -0800 From: Kris Kennaway To: "Ilmar S. Habibulin" Message-ID: <20031204142855.GB79411@xor.obsecurity.org> References: <20031203230916.GA70189@xor.obsecurity.org> <20031204050812.C82060@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline In-Reply-To: <20031204050812.C82060@fledge.watson.org> User-Agent: Mutt/1.4.1i cc: sparc64@FreeBSD.org cc: jake@FreeBSD.org cc: Kris Kennaway Subject: Re: syscons by default? 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: Thu, 04 Dec 2003 14:28:57 -0000 --5I6of5zJg18YgZEa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 04, 2003 at 05:09:16AM -0500, Ilmar S. Habibulin wrote: >=20 >=20 > On Wed, 3 Dec 2003, Kris Kennaway wrote: >=20 > > It looks like syscons support is not enabled in GENERIC by default. > > Is there some lingering reason why this should be true? If we enable > > it by default then e.g. system console installs should work for > > 5.2-RELEASE, and people can use XFree86 out of the box. > Does it work on blade 100? And support ati mach and usb keyboard/mouse? No, see Doug's mail. Kris --5I6of5zJg18YgZEa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/z0SnWry0BWjoQKURAqxeAJ0QYgBjBqWz6aYL9y75h7HgUySgjQCcCcfO 2R6T6tq1MQI0yUqrXmTtIOY= =ifhT -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Dec 4 11:03:57 2003 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 4F03E16A4CE; Thu, 4 Dec 2003 11:03:57 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 142044400B; Thu, 4 Dec 2003 11:03:53 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 05FBE72DB5; Thu, 4 Dec 2003 11:03:53 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 038B272DAD; Thu, 4 Dec 2003 11:03:53 -0800 (PST) Date: Thu, 4 Dec 2003 11:03:52 -0800 (PST) From: Doug White To: Kris Kennaway In-Reply-To: <20031204142855.GB79411@xor.obsecurity.org> Message-ID: <20031204105430.D78277@carver.gumbysoft.com> References: <20031203230916.GA70189@xor.obsecurity.org> <20031204142855.GB79411@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc64@FreeBSD.org cc: jake@FreeBSD.org cc: "Ilmar S. Habibulin" Subject: Re: syscons by default? 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: Thu, 04 Dec 2003 19:03:57 -0000 On Thu, 4 Dec 2003, Kris Kennaway wrote: > > Does it work on blade 100? And support ati mach and usb keyboard/mouse? > > No, see Doug's mail. Which is really pesky since XFree86 will work on the ATI fine, we just need a way of having syscons attach the display but not use it so XFree86 can nab it later. I see that the creator code handles the case where its not the chosen console; I wonder if some shim driver that goes through the motions but doesn't implement any of the fb functions might work. It'd be a nasty hack since you'd have no text console at all, but if you start xdm during the boot then a graphical login should come up. At least the libraries compile so you can run xdm and get in remotely. Not optimal with stuff like kde but that means I can use it to test libkse. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 5 10:16:06 2003 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 8793716A4CE; Fri, 5 Dec 2003 10:16:06 -0800 (PST) Received: from amsfep11-int.chello.nl (amsfep11-int.chello.nl [213.46.243.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9653E43FBF; Fri, 5 Dec 2003 10:16:03 -0800 (PST) (envelope-from dodell@sitetronics.com) Received: from sitetronics.com ([213.46.143.85]) by amsfep11-int.chello.nl ESMTP <20031205181602.SHPN23337.amsfep11-int.chello.nl@sitetronics.com>; Fri, 5 Dec 2003 19:16:02 +0100 Date: Fri, 5 Dec 2003 19:15:52 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) To: "Bjoern A. Zeeb" From: Devon H.O'Dell In-Reply-To: Message-Id: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.553) cc: Scott Long cc: freebsd-sparc64@freebsd.org Subject: Re: New sparc64 5.2-BETA ISO images available 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: Fri, 05 Dec 2003 18:16:06 -0000 On Friday, December 5, 2003, at 06:55 PM, Bjoern A. Zeeb wrote: > On Fri, 5 Dec 2003, Scott Long wrote: > > Hi, > >> New sparc64 5.2-BETA ISO images are available and should be getting >> out >> to the mirrors over the night. This should fix the data corruption >> that >> existed in the previous set. The MD5 sums for the new set are >> attached. >> FTP bits are being uploaded now and will be available shortly. >> Would these happen to support my ``red-dot'' ultra 1? If not, how can I help get support for it? --Devon From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 5 10:44:04 2003 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 32B7C16A4CE; Fri, 5 Dec 2003 10:44:04 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 203AD43F85; Fri, 5 Dec 2003 10:44:03 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8401866D1F; Fri, 5 Dec 2003 10:44:02 -0800 (PST) Date: Fri, 5 Dec 2003 10:44:02 -0800 From: Kris Kennaway To: "Devon H. O'Dell" Message-ID: <20031205184402.GA6738@xor.obsecurity.org> References: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> User-Agent: Mutt/1.4.1i cc: "Bjoern A. Zeeb" cc: Scott Long cc: freebsd-sparc64@freebsd.org Subject: Re: New sparc64 5.2-BETA ISO images available 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: Fri, 05 Dec 2003 18:44:04 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 05, 2003 at 07:15:52PM +0100, Devon H. O'Dell wrote: > On Friday, December 5, 2003, at 06:55 PM, Bjoern A. Zeeb wrote: >=20 > >On Fri, 5 Dec 2003, Scott Long wrote: > > > >Hi, > > > >>New sparc64 5.2-BETA ISO images are available and should be getting=20 > >>out > >>to the mirrors over the night. This should fix the data corruption=20 > >>that > >>existed in the previous set. The MD5 sums for the new set are=20 > >>attached. > >>FTP bits are being uploaded now and will be available shortly. > >> >=20 > Would these happen to support my ``red-dot'' ultra 1? If not, how can I= =20 > help get support for it? The hardware list still says "no". The most effective way to get support added would be to sponsor a developer to do the work. If there are a group of people and/or companies who would like to run FreeBSD on ultra 1 machines and can each kick in, this might not be so bad. Kris --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/0NHyWry0BWjoQKURApYRAKCAvZtv3yPSFBAgz4OGdL3Nma8YlwCeKw+A 4a2aPdHczvmKhpWNLKvtzS4= =BdnI -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 5 13:57:14 2003 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 1F7B216A4CE; Fri, 5 Dec 2003 13:57:14 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C36CE43FE9; Fri, 5 Dec 2003 13:57:11 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C401372DB8; Fri, 5 Dec 2003 13:57:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C18FC72DB5; Fri, 5 Dec 2003 13:57:11 -0800 (PST) Date: Fri, 5 Dec 2003 13:57:11 -0800 (PST) From: Doug White To: Kris Kennaway In-Reply-To: <20031205184402.GA6738@xor.obsecurity.org> Message-ID: <20031205135606.U87691@carver.gumbysoft.com> References: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> <20031205184402.GA6738@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Bjoern A. Zeeb" cc: Scott Long cc: freebsd-sparc64@freebsd.org cc: "Devon H. O'Dell" Subject: Re: New sparc64 5.2-BETA ISO images available 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: Fri, 05 Dec 2003 21:57:14 -0000 On Fri, 5 Dec 2003, Kris Kennaway wrote: > > Would these happen to support my ``red-dot'' ultra 1? If not, how can I > > help get support for it? > > The hardware list still says "no". The most effective way to get > support added would be to sponsor a developer to do the work. If > there are a group of people and/or companies who would like to run > FreeBSD on ultra 1 machines and can each kick in, this might not be so > bad. The big killer is still the missing scsi driver. I don't think we'll see any progress on that until 5.2 is out the door. In the meantime if you have a U1E then you can netboot it. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 5 15:05:19 2003 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 0CCE416A4CE for ; Fri, 5 Dec 2003 15:05:19 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 5185B43FE5 for ; Fri, 5 Dec 2003 15:05:17 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 95339 invoked by uid 1002); 5 Dec 2003 23:05:14 -0000 Received: from unknown (HELO ?10.4.1.5?) (64.58.1.252) by smtp.mho.net with SMTP; 5 Dec 2003 23:05:14 -0000 Date: Fri, 5 Dec 2003 16:09:16 -0700 (MST) From: Scott Long X-X-Sender: scottl@pooker.samsco.home To: Doug White In-Reply-To: <20031205135606.U87691@carver.gumbysoft.com> Message-ID: <20031205160702.A71074@pooker.samsco.home> References: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> <20031205135606.U87691@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Bjoern A. Zeeb" cc: freebsd-sparc64@freebsd.org cc: "Devon H. O'Dell" cc: Kris Kennaway Subject: Re: New sparc64 5.2-BETA ISO images available 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: Fri, 05 Dec 2003 23:05:19 -0000 On Fri, 5 Dec 2003, Doug White wrote: > On Fri, 5 Dec 2003, Kris Kennaway wrote: > > > > Would these happen to support my ``red-dot'' ultra 1? If not, how can I > > > help get support for it? > > > > The hardware list still says "no". The most effective way to get > > support added would be to sponsor a developer to do the work. If > > there are a group of people and/or companies who would like to run > > FreeBSD on ultra 1 machines and can each kick in, this might not be so > > bad. > > The big killer is still the missing scsi driver. I don't think we'll see > any progress on that until 5.2 is out the door. In the meantime if you > have a U1E then you can netboot it. > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org > > Yes, the U1e and U2 machines need the esp(4) driver from NetBSD. I'm in the middle of porting it right now, but it will still take some time. Netbooting these machines works very well for me at the moment; a netbooted U2 builds world faster than an Alpha XP1000 with a local disk. You can also search out an SBus isp(4) card from ebay if you're inpatient. Scott From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 6 13:40:47 2003 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 C3EA716A4CE; Sat, 6 Dec 2003 13:40:47 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BCC143F3F; Sat, 6 Dec 2003 13:40:46 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.9) with ESMTP id hB6LejRm084924; Sat, 6 Dec 2003 13:40:45 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.10/8.12.10/Submit) id hB6LegV9084783; Sat, 6 Dec 2003 13:40:42 -0800 (PST) (envelope-from obrien) Date: Sat, 6 Dec 2003 13:40:41 -0800 From: "David O'Brien" To: Scott Long Message-ID: <20031206214041.GB9434@dragon.nuxi.com> References: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> <20031205135606.U87691@carver.gumbysoft.com> <20031205160702.A71074@pooker.samsco.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031205160702.A71074@pooker.samsco.home> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-BETA 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 cc: "Bjoern A. Zeeb" cc: freebsd-sparc64@freebsd.org cc: "Devon H. O'Dell" cc: Kris Kennaway Subject: Re: New sparc64 5.2-BETA ISO images available X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2003 21:40:47 -0000 On Fri, Dec 05, 2003 at 04:09:16PM -0700, Scott Long wrote: > Yes, the U1e and U2 machines need the esp(4) driver from NetBSD. I'm in > the middle of porting it right now, but it will still take some time. > Netbooting these machines works very well for me at the moment; a > netbooted U2 builds world faster than an Alpha XP1000 with a local disk. eh? My 'make world' times on a Compaq XP1000 is faster than my Sun Blade 100 500mhz. I certainly won't believe a 300mhz diskless machine will beat that. What were the actual times? From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 6 13:57:39 2003 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 0160416A4CE for ; Sat, 6 Dec 2003 13:57:39 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id EC17343FBF for ; Sat, 6 Dec 2003 13:57:31 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 39915 invoked by uid 1002); 6 Dec 2003 21:57:29 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 6 Dec 2003 21:57:29 -0000 Message-ID: <3FD25084.3070504@freebsd.org> Date: Sat, 06 Dec 2003 14:56:20 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: obrien@freebsd.org References: <0F89A7EF-274F-11D8-B8AD-000502C708CB@sitetronics.com> <20031205135606.U87691@carver.gumbysoft.com> <20031205160702.A71074@pooker.samsco.home> <20031206214041.GB9434@dragon.nuxi.com> In-Reply-To: <20031206214041.GB9434@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Bjoern A. Zeeb" cc: freebsd-sparc64@freebsd.org cc: "Devon H. O'Dell" cc: Kris Kennaway Subject: Re: New sparc64 5.2-BETA ISO images available 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: Sat, 06 Dec 2003 21:57:39 -0000 David O'Brien wrote: > On Fri, Dec 05, 2003 at 04:09:16PM -0700, Scott Long wrote: > >>Yes, the U1e and U2 machines need the esp(4) driver from NetBSD. I'm in >>the middle of porting it right now, but it will still take some time. >>Netbooting these machines works very well for me at the moment; a >>netbooted U2 builds world faster than an Alpha XP1000 with a local disk. > > > eh? My 'make world' times on a Compaq XP1000 is faster than my Sun Blade > 100 500mhz. I certainly won't believe a 300mhz diskless machine will > beat that. What were the actual times? > It's a dual 300MHz machine with lots of RAM. I don't have the times anymore, all I know is that both were started within a minute of each other and the sparc finished 5 minutes sooner. Anyway, my point was that just because it's diskless doesn't mean that it's useless. Scott From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 6 14:35:12 2003 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 11C1D16A4CF for ; Sat, 6 Dec 2003 14:35:12 -0800 (PST) Received: from mail.crowncollege.edu (mail.crowncollege.edu [63.237.237.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 744C143F75 for ; Sat, 6 Dec 2003 14:35:11 -0800 (PST) (envelope-from cloper@crowncollege.edu) Received: from crowncollege.edu (12-206-80-91.client.attbi.com [12.206.80.91]) by mail.crowncollege.edu (Postfix) with ESMTP id 0265F2EEF30 for ; Sat, 6 Dec 2003 14:35:09 -0800 (PST) Message-ID: <3FD25A35.9020102@crowncollege.edu> Date: Sat, 06 Dec 2003 14:37:41 -0800 From: cloper User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sparc64@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: SUNRays 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: Sat, 06 Dec 2003 22:35:12 -0000 Have any of you SPARC gurus out their manage to get SUNRays to work under BSD on any architecture? Thanks, cloper@crowncollege.edu