From owner-freebsd-sparc64@FreeBSD.ORG Sat Sep 11 22:23:41 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B7916A4CE for ; Sat, 11 Sep 2004 22:23:41 +0000 (GMT) Received: from ford.blinkenlights.nl (ford.blinkenlights.nl [213.204.211.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92EAF43D2F for ; Sat, 11 Sep 2004 22:23:40 +0000 (GMT) (envelope-from sten@blinkenlights.nl) Received: from tea.blinkenlights.nl (tea.blinkenlights.nl [IPv6:2001:960:301:3:a00:20ff:fe85:fa39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ford.blinkenlights.nl (Postfix) with ESMTP id A94F43E43E; Sun, 12 Sep 2004 00:23:38 +0200 (CEST) Received: by tea.blinkenlights.nl (Postfix, from userid 101) id 2AEAD27E; Sun, 12 Sep 2004 00:23:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tea.blinkenlights.nl (Postfix) with ESMTP id 1392E2E; Sun, 12 Sep 2004 00:23:38 +0200 (CEST) Date: Sun, 12 Sep 2004 00:23:37 +0200 (CEST) From: Sten Spans To: Scott Long In-Reply-To: Message-ID: References: <20040910003353.GE87129@unixpages.org> <4140FBB3.5050807@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc64@freebsd.org Subject: Re: em(4) on 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: Sat, 11 Sep 2004 22:23:41 -0000 On Fri, 10 Sep 2004, Sten Spans wrote: > On Thu, 9 Sep 2004, Scott Long wrote: > > > Christian Brueffer wrote: > > > Hi, > > > > > > is anyone using the em driver on sparc64? The current hardware notes > > > don't list it and it's commented out in GENERIC. However, according to > > > the busdma status page, it should work. > > > > > > - Christian > > > > > > > I looks like there are some amount of 'htoleNN' macros in the em driver > > source, so it may very well work. Give it a try and let us know if it > > actually does =-) > > Last time I tried it didn't work. > I'll try again this weekend (ultra5). Borked, as expected: Booting [/boot/kernel/kernel]... Turning off DMA for ATA. jumping to kernel entry at 0xc0048000. GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-BETA3 #0: Sun Sep 12 00:22:49 CEST 2004 root@:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "tick" frequency 440000000 Hz quality 0 real memory = 1073741824 (1024 MB) avail memory = 1035755520 (987 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (440.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci1 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sab0: [FAST] 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,0x140030015c-0x140030015d,0x14003043bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80a69753 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached)hme0: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:a6:97:53 hme0: if_start running deferred for Giant hme0: [GIANT-LOCKED] pci1: at device 2.0 (no driver attached) atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pcib2: at device 1.0 on pci0 pci2: on pcib2 em0: port 0x400-0x43f mem 0x20000-0x3ffff at device 1.0 on pci2 em0: Memory Access and/or Bus Master bits were not set! panic: trap: fast data access mmu miss cpuid = 0 KDB: enter: panic [thread 0] Stopped at kdb_enter+0x38: ta %xcc, 1 db> -- Sten Spans "There is a crack in everything, that's how the light gets in." Leonard Cohen - Anthem