From owner-freebsd-sparc64@FreeBSD.ORG Sun Jun 15 15:31: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 8F2FF37B404; Sun, 15 Jun 2003 15:31:20 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC1B143F75; Sun, 15 Jun 2003 15:31:19 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h5FMRokF034826; Sun, 15 Jun 2003 18:28:47 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h5FMCwmF034801; Sun, 15 Jun 2003 22:12:58 GMT (envelope-from des+tinderbox@freebsd.org) Date: Sun, 15 Jun 2003 22:12:58 GMT Message-Id: <200306152212.h5FMCwmF034801@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 22:31:21 -0000 TB --- 2003-06-15 21:07:21 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-06-15 21:07:21 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-06-15 21:09:31 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. TB --- 2003-06-15 22:01:24 - building generic kernel TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sun Jun 15 22:01:24 GMT 2003 >>> Kernel build for GENERIC completed on Sun Jun 15 22:10:12 GMT 2003 TB --- 2003-06-15 22:10:12 - generating LINT kernel config TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/conf TB --- /usr/bin/make -B LINT TB --- 2003-06-15 22:10:13 - building LINT kernel TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 15 22:10:13 GMT 2003 [...] /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1502: increment of pointer to unknown structure /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1502: arithmetic on pointer to an incomplete type /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c: In function `en_ioctl': /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1591: `SIOCATMGETVCCS' undeclared (first use in this function) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1600: `SIOCATMGVCCS' undeclared (first use in this function) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1606: dereferencing pointer to incomplete type /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/LINT. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-06-15 22:12:57 - /usr/bin/make returned exit code 1 TB --- 2003-06-15 22:12:57 - ERROR: failed to build lint kernel TB --- 2003-06-15 22:12:57 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 16 03:09: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 5D3AA37B401; Mon, 16 Jun 2003 03:09:12 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9983643F3F; Mon, 16 Jun 2003 03:09:11 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h5GA7ZkF046871; Mon, 16 Jun 2003 06:07:35 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h5GA7Zos046870; Mon, 16 Jun 2003 10:07:35 GMT (envelope-from des+tinderbox@freebsd.org) Date: Mon, 16 Jun 2003 10:07:35 GMT Message-Id: <200306161007.h5GA7Zos046870@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 10:09:12 -0000 TB --- 2003-06-16 09:08:17 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-06-16 09:08:17 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-06-16 09:11:06 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. TB --- 2003-06-16 10:03:13 - building generic kernel TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Mon Jun 16 10:03:14 GMT 2003 [...] cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mcmodel=medlow -msoft-float -ffreestanding -Werror /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/ufs/ufs/ufs_vfsops.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mcmodel=medlow -msoft-float -ffreestanding -Werror /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/ufs/ufs/ufs_vnops.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mcmodel=medlow -msoft-float -ffreestanding -Werror /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/vm/default_pager.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mcmodel=medlow -msoft-float -ffreestanding -Werror /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/vm/device_pager.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mcmodel=medlow -msoft-float -ffreestanding -Werror /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/vm/phys_pager.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/dev -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mcmodel=medlow -msoft-float -ffreestanding -Werror /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/vm/swap_pager.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/vm/swap_pager.c: In function `swap_pager_putpages': /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/vm/swap_pager.c:1337: structure has no member named `b_spc' *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/GENERIC. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-06-16 10:07:35 - /usr/bin/make returned exit code 1 TB --- 2003-06-16 10:07:35 - ERROR: failed to build generic kernel TB --- 2003-06-16 10:07:35 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 16 16:16: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 7BBC037B401 for ; Mon, 16 Jun 2003 16:16:12 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44D1243FBF for ; Mon, 16 Jun 2003 16:16:09 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5GNflMo027960 for ; Mon, 16 Jun 2003 19:41:48 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5GNGfin015785 for sparc64@freebsd.org; Mon, 16 Jun 2003 16:16:41 -0700 (PDT) (envelope-from jmg) Date: Mon, 16 Jun 2003 16:16:41 -0700 From: John-Mark Gurney To: sparc64@freebsd.org Message-ID: <20030616231641.GA73854@funkthat.com> Mail-Followup-To: sparc64@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="yudcn1FV7Hsu/q59" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Subject: TESTERS NEEDED: PCI trap improvements X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 23:16:12 -0000 --yudcn1FV7Hsu/q59 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached is a patch to trap reads from PCI configuration registers that don't exist. It doesn't use global variables now. This will pave the way to integrating the PCI Multifunction patch to make all multifuntion devices probe properly. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --yudcn1FV7Hsu/q59 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sparc64.jake.patch" ? conf/LINT ? conf/sp Index: include/bus.h =================================================================== RCS file: /home/ncvs/src/sys/sparc64/include/bus.h,v retrieving revision 1.26 diff -u -r1.26 bus.h --- include/bus.h 2003/05/30 20:40:33 1.26 +++ include/bus.h 2003/06/16 08:27:01 @@ -820,6 +820,36 @@ bus_space_write_stream_8(t, h1, o1, bus_space_read_8(t, h2, o2)); } +int fasword8(u_long asi, void *addr, uint8_t *val); +static __inline int +bus_space_readms_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, + u_int8_t *a) +{ + + __BUS_DEBUG_ACCESS(h, o, "read", 1); + return (fasword8(bus_type_asi[t->bst_type], (caddr_t)(h + o), a)); +} + +int fasword16(u_long asi, void *addr, uint16_t *val); +static __inline int +bus_space_readms_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, + u_int16_t *a) +{ + + __BUS_DEBUG_ACCESS(h, o, "readms", 2); + return (fasword16(bus_type_asi[t->bst_type], (caddr_t)(h + o), a)); +} + +int fasword32(u_long asi, void *addr, uint32_t *val); +static __inline int +bus_space_readms_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, + u_int32_t *a) +{ + + __BUS_DEBUG_ACCESS(h, o, "readms", 4); + return (fasword32(bus_type_asi[t->bst_type], (caddr_t)(h + o), a)); +} + /* Back-compat functions for old ISA drivers */ extern bus_space_tag_t isa_io_bt; extern bus_space_handle_t isa_io_hdl; Index: pci/psycho.c =================================================================== RCS file: /home/ncvs/src/sys/sparc64/pci/psycho.c,v retrieving revision 1.37 diff -u -r1.37 psycho.c --- pci/psycho.c 2003/06/12 15:00:34 1.37 +++ pci/psycho.c 2003/06/16 08:27:04 @@ -879,33 +879,42 @@ bus_space_handle_t bh; u_long offset = 0; u_int32_t r, devid; + u_int8_t byte; + u_int16_t shrt; + u_int32_t wrd; int i; - /* - * The psycho bridge does not tolerate accesses to unconfigured PCI - * devices' or function's config space, so look up the device in the - * firmware device tree first, and if it is not present, return a value - * that will make the detection code think that there is no device here. - * This is ugly... - */ - if (reg == 0 && ofw_pci_find_node(bus, slot, func) == 0) - return (0xffffffff); sc = (struct psycho_softc *)device_get_softc(dev); offset = PSYCHO_CONF_OFF(bus, slot, func, reg); bh = sc->sc_bh[PCI_CS_CONFIG]; +#ifdef PSYCHO_DEBUG + printf("psycho_read_config expecting data error: %d.%d.%d: 0x%x\n", + bus, slot, func, reg); +#endif switch (width) { case 1: - r = bus_space_read_1(sc->sc_cfgt, bh, offset); + i = bus_space_readms_1(sc->sc_cfgt, bh, offset, &byte); + r = byte; break; case 2: - r = bus_space_read_2(sc->sc_cfgt, bh, offset); + i = bus_space_readms_2(sc->sc_cfgt, bh, offset, &shrt); + r = shrt; break; case 4: - r = bus_space_read_4(sc->sc_cfgt, bh, offset); + i = bus_space_readms_4(sc->sc_cfgt, bh, offset, &wrd); + r = wrd; break; default: panic("psycho_read_config: bad width"); } + + if (i) { +#ifdef PSYCHO_DEBUG + printf("read data error trapped\n"); +#endif + r = -1; + } + if (reg == PCIR_INTPIN && r == 0) { /* Check for DQT_BAD_INTPIN quirk. */ devid = psycho_read_config(dev, bus, slot, func, Index: sparc64/support.S =================================================================== RCS file: /home/ncvs/src/sys/sparc64/sparc64/support.S,v retrieving revision 1.25 diff -u -r1.25 support.S --- sparc64/support.S 2003/04/29 00:53:13 1.25 +++ sparc64/support.S 2003/06/16 08:27:04 @@ -527,6 +527,59 @@ mov -1, %o0 END(fsfault) + .globl fas_nofault_begin + .globl fasword32, fasword16, fasword8 +fas_nofault_begin: + +/* + * int fasword32(u_long asi, uint64_t addr, uint32_t *val) + */ +ENTRY(fasword32) + wr %o0, 0, %asi + membar #Sync + lduwa [%o1] %asi, %o3 + membar #Sync + stw %o3, [%o2] + retl + clr %o0 +END(fasword32) + +/* + * int fasword16(u_long asi, uint64_t addr, uint16_t *val) + */ +ENTRY(fasword16) + wr %o0, 0, %asi + membar #Sync + lduha [%o1] %asi, %o3 + membar #Sync + sth %o3, [%o2] + retl + clr %o0 +END(fasword16) + +/* + * int fasword8(u_long asi, uint64_t addr, uint8_t *val) + */ +ENTRY(fasword8) + wr %o0, 0, %asi + membar #Sync + lduba [%o1] %asi, %o3 + membar #Sync + stb %o3, [%o2] + retl + clr %o0 +END(fasword8) + + .globl fas_nofault_end +fas_nofault_end: + nop + + .globl fas_fault +ENTRY(fas_fault) + retl + mov -1, %o0 +END(fas_fault) + .globl fpu_fault_begin fpu_fault_begin: nop Index: sparc64/trap.c =================================================================== RCS file: /home/ncvs/src/sys/sparc64/sparc64/trap.c,v retrieving revision 1.63 diff -u -r1.63 trap.c --- sparc64/trap.c 2003/06/15 00:31:24 1.63 +++ sparc64/trap.c 2003/06/16 08:27:05 @@ -101,6 +101,10 @@ extern char fs_nofault_intr_begin[]; extern char fs_nofault_intr_end[]; +extern char fas_fault[]; +extern char fas_nofault_begin[]; +extern char fas_nofault_end[]; + extern char *syscallnames[]; const char *trap_msg[] = { @@ -328,6 +332,27 @@ } } error = 1; + break; + case T_DATA_ERROR: + /* + * handle PCI poke/peek as per UltraSPARC IIi + * User's Manual 16.2.1. + * + * XXX - We really should make sure that tpc is + * pointing to the membar #Sync we are expecting. + */ +#define MEMBARSYNC_INST ((u_int32_t)0x8143e040) + if ((char *)tf->tf_tpc > fas_nofault_begin && + (char *)tf->tf_tpc < fas_nofault_end && + *(u_int32_t *)tf->tf_tpc == MEMBARSYNC_INST && + ((u_int32_t *)tf->tf_tpc)[-2] == MEMBARSYNC_INST) { + tf->tf_tpc = (uintptr_t)(((u_int32_t *)fas_fault) - 1); + tf->tf_tnpc = (uintptr_t)fas_fault; + error = 0; + break; + } +#undef MEMBARSYNC_INST + error = 1; break; default: error = 1; --yudcn1FV7Hsu/q59-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 18 02:38: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 2F24B37B401; Wed, 18 Jun 2003 02:38:04 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73DBA43FCB; Wed, 18 Jun 2003 02:38:03 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h5I9aHkF084179; Wed, 18 Jun 2003 05:36:17 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h5I9aHLL084178; Wed, 18 Jun 2003 09:36:17 GMT (envelope-from des+tinderbox@freebsd.org) Date: Wed, 18 Jun 2003 09:36:17 GMT Message-Id: <200306180936.h5I9aHLL084178@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 09:38:04 -0000 TB --- 2003-06-18 08:47:04 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-06-18 08:47:04 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-06-18 08:49:58 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. [...] /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/elf2aout/elf2aout.c: In function `main': /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/elf2aout/elf2aout.c:130: warning: cast increases required alignment of target type cc -O -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -o elf2aout elf2aout.o ===> usr.bin/elfdump cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/elfdump/elfdump.c In file included from /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include/sys/elf32.h:32, from /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/elfdump/elfdump.c:32: /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include/sys/elf_common.h:241:33: "/*" within comment *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin/elfdump. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/usr.bin. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-06-18 09:36:17 - /usr/bin/make returned exit code 1 TB --- 2003-06-18 09:36:17 - ERROR: failed to build world TB --- 2003-06-18 09:36:17 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 18 14:19:18 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 8BD6A37B401 for ; Wed, 18 Jun 2003 14:19:18 -0700 (PDT) Received: from dmz2.unixjunkie.com (adsl-65-70-175-250.dsl.rcsntx.swbell.net [65.70.175.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DA2643F3F for ; Wed, 18 Jun 2003 14:19:15 -0700 (PDT) (envelope-from strgout@unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by dmz2.unixjunkie.com (8.12.6p2/8.12.6) with ESMTP id h5ILZDTT058454 for ; Wed, 18 Jun 2003 16:35:13 -0500 (CDT) (envelope-from strgout@mail.unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by mail.unixjunkie.com (8.12.6p2/8.12.6) with ESMTP id h5ILZDBk058451 for ; Wed, 18 Jun 2003 16:35:13 -0500 (CDT) (envelope-from strgout@mail.unixjunkie.com) Received: (from strgout@localhost) by mail.unixjunkie.com (8.12.6p2/8.12.6/Submit) id h5ILZDax058450 for freebsd-sparc64@freebsd.org; Wed, 18 Jun 2003 16:35:13 -0500 (CDT) (envelope-from strgout) Date: Wed, 18 Jun 2003 16:35:12 -0500 From: John To: freebsd-sparc64@freebsd.org Message-ID: <20030618213512.GA58413@mail.unixjunkie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: my e450 has fallen and won't boot up! 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, 18 Jun 2003 21:19:18 -0000 So i had 5.1 Beta loaded with no problems (disk2), other then the network io was REALLY slow when every the disks did anything. Someone posted a irq patch that needed testing, so i updated to current and applied the patch. after build(world|kernel) install(world|kernel) and mergemaster the system was never the same. I can no longer boot FreeBSD. I reinstalled 5.1 beta, no joy. I installed 5.1R on same drive (newfsed). Then thinking something in the installed hosed eeprom i did a set-defaults. still no joy, so i tried installing on a different disk. same thing. It always hangs at the same point. The odd thing is Solaris boots with no issues. This is the only thing i get on the console. I also don't have serial port access so this is a pen & paper screen dump. BTW disk 1 is solaris, and if there is anything i can do from solaris to help just let me know. Disk 2 and 3 are FreeBSD 5.1R. boot disk 3 FreeBSD/sparc64 boot block boot path : /pci@1f,4000/scsi@3/disk@3,0:a boot loader: /boot/loader console: openfirmware console FreeBSD/saperc64 bootstrap loader, revision 1.0 (root@sparkel.attlabs.net, somdate bla bla) bootpath="/pci@1f,4000/scsi@3/disk@3,0:a" - <- locked here, no spinning shoutouts to csjp and stinky pete! wuzaaaaap. :) From owner-freebsd-sparc64@FreeBSD.ORG Wed Jun 18 17:48:42 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 270D937B401 for ; Wed, 18 Jun 2003 17:48:42 -0700 (PDT) Received: from dmz2.unixjunkie.com (adsl-65-70-175-250.dsl.rcsntx.swbell.net [65.70.175.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCDED43FAF for ; Wed, 18 Jun 2003 17:48:40 -0700 (PDT) (envelope-from strgout@unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by dmz2.unixjunkie.com (8.12.6p2/8.12.6) with ESMTP id h5J14dTT058724 for ; Wed, 18 Jun 2003 20:04:39 -0500 (CDT) (envelope-from strgout@mail.unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by mail.unixjunkie.com (8.12.6p2/8.12.6) with ESMTP id h5J14dBk058721; Wed, 18 Jun 2003 20:04:39 -0500 (CDT) (envelope-from strgout@mail.unixjunkie.com) Received: (from strgout@localhost) by mail.unixjunkie.com (8.12.6p2/8.12.6/Submit) id h5J14dKF058720; Wed, 18 Jun 2003 20:04:39 -0500 (CDT) (envelope-from strgout) Date: Wed, 18 Jun 2003 20:04:39 -0500 From: John To: freebsd-sparc64@freebsd.org Message-ID: <20030619010438.GA58704@mail.unixjunkie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: e450 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-sparc64@freebsd.org List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 00:48:42 -0000 here is a OpenBSD dmesg. As you can see OpenBSD is installed on disk3 which used to have FreeBSD 5.1R on it. disk 2 still does. console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2003 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 3.3 (GENERIC) #56: Sat Mar 29 12:48:19 MST 2003 deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC total memory = 4294967296 avail memory = 3983171584 using 17126 buffers containing 214745088 bytes of memory bootpath: /pci@1f,4000/scsi@3,0/disk@3,0 mainbus0 (root): Sun Enterprise 450 (4 X UltraSPARC-II 296MHz) cpu0 at mainbus0: SUNW,UltraSPARC-II @ 296 MHz, version 0 FPU cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffb4000 SUNW,psycho: impl 0, version 4: ign 7c0 bus range 0 to 0; PCI bus 0 STC0 on /mainbus enabled DVMA map: fe000000 to ffffe000 IOTDB: 1198e000 to 11996000 pci0 at psycho0 ebus0 at pci0 dev 1 function 0 "Sun PCIO Ebus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power at ebus0 addr 724000-724003 ipl 2021 ipl 2034 not configured SUNW,pll at ebus0 addr 504000-504002 not configured uperf0 at ebus0 addr 500000-500007: model SUNW,sc-marvin (0/1) ports 9 sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 34 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ipl 42, mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ipl 2018: polled fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 2023 not configured clock0 at ebus0 addr 0-1fff: mk48t59: hostid 80b652a7 flashprom at ebus0 addr 0-fffff, 0-fffff not configured SUNW,envctrl at ebus0 addr 600000-600003 ipl 2024 ipl 2021 not configured hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: address 08:00:20:b6:52:a7 nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1 hme0: using ivec 37e1 for interrupt siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x03 using on-board RAM ivec 7e0 scsibus0 at siop0: 16 targets siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total siop0: target 1 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers sd1 at scsibus0 targ 1 lun 0: SCSI3 0/direct fixed sd1: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total siop0: target 2 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers sd2 at scsibus0 targ 2 lun 0: SCSI3 0/direct fixed sd2: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total siop0: target 3 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers sd3 at scsibus0 targ 3 lun 0: SCSI3 0/direct fixed sd3: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total siop1 at pci0 dev 2 function 0 "Symbios Logic 53c875" rev 0x03 using on-board RAM ivec 7e6 scsibus1 at siop1: 16 targets siop1: target 6 now using 8 bit 10.0 MHz 16 REQ/ACK offset xfers cd0 at scsibus1 targ 6 lun 0: SCSI2 5/cdrom removable vgafb0 at pci0 dev 4 function 0 "3D Labs Permedia 3" rev 0x01: failed to find all ports psycho1 at mainbus0 addr 0xfffc6000 SUNW,psycho: impl 0, version 4: ign 7c0 bus range 128 to 128; PCI bus 128 STC0 on /mainbus enabled STC1 on /mainbus enabled pci1 at psycho1 timer0 at mainbus0 addr 0xfff9fc00 irq vectors 7ec and 7ed mc at mainbus0 not configured psycho2 at mainbus0 addr 0xfff5e000 SUNW,psycho: impl 0, version 4: ign 100 bus range 0 to 0; PCI bus 0 STC0 on /mainbus enabled DVMA map: fe000000 to ffffe000 IOTDB: 11c1a000 to 11c22000 pci2 at psycho2 "Sun PCIO Ebus2" rev 0x01 at pci2 dev 2 function 0 not configured hme1 at pci2 dev 2 function 1 "Sun HME" rev 0x01: address 08:00:20:ad:3d:d6 ukphy0 at hme1 phy 1: Generic IEEE 802.3u media interface ukphy0: OUI 0x00601d, model 0x000c, rev. 1 hme1: using ivec 3002 for interrupt psycho3 at mainbus0 addr 0xfff70000 SUNW,psycho: impl 0, version 4: ign 100 bus range 128 to 128; PCI bus 128 STC0 on /mainbus enabled STC1 on /mainbus enabled pci3 at psycho3 psycho4 at mainbus0 addr 0xfff36000 SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0 STC0 on /mainbus enabled DVMA map: fe000000 to ffffe000 IOTDB: 11cae000 to 11cb6000 pci4 at psycho4 psycho5 at mainbus0 addr 0xfff48000 SUNW,psycho: impl 0, version 4: ign 180 bus range 128 to 128; PCI bus 128 STC0 on /mainbus enabled STC1 on /mainbus enabled pci5 at psycho5 pcons at mainbus0 not configured root on sd3a rootdev=0x730 rrootdev=0x1130 rawdev=0x1132 From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 03:06:02 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 A150E37B401; Thu, 19 Jun 2003 03:06:02 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8AE243F93; Thu, 19 Jun 2003 03:06:01 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h5JA4BkF039062; Thu, 19 Jun 2003 06:04:11 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h5JA4AIO039061; Thu, 19 Jun 2003 10:04:10 GMT (envelope-from des+tinderbox@freebsd.org) Date: Thu, 19 Jun 2003 10:04:10 GMT Message-Id: <200306191004.h5JA4AIO039061@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 10:06:03 -0000 TB --- 2003-06-19 09:17:24 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-06-19 09:17:24 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-06-19 09:20:51 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. [...] /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:118: warning: int format, different type arg (arg 6) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:118: warning: unsigned int format, different type arg (arg 8) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c: In function `dump_Elf_Rela': /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:140: warning: unsigned int format, different type arg (arg 3) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:140: warning: unsigned int format, different type arg (arg 4) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:140: warning: unsigned int format, different type arg (arg 5) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:140: warning: int format, different type arg (arg 6) /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf/debug.c:140: warning: unsigned int format, different type arg (arg 8) *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec/rtld-elf. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/libexec. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-06-19 10:04:10 - /usr/bin/make returned exit code 1 TB --- 2003-06-19 10:04:10 - ERROR: failed to build world TB --- 2003-06-19 10:04:10 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 12:22:01 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 538A637B401 for ; Thu, 19 Jun 2003 12:22:01 -0700 (PDT) Received: from collab.or8.net (collab.or8.net [209.94.128.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id D11FE43F75 for ; Thu, 19 Jun 2003 12:22:00 -0700 (PDT) (envelope-from cjackNOSPAM@klatsch.org) Received: by collab.or8.net (Postfix, from userid 1002) id 6ABD452AF; Thu, 19 Jun 2003 15:22:00 -0400 (EDT) Date: Thu, 19 Jun 2003 15:22:00 -0400 From: Chris Jackman To: sparc64@freebsd.org Message-ID: <20030619192200.GE61629@collab.or8.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Re: my e450 has fallen and won't boot up! 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, 19 Jun 2003 19:22:01 -0000 On Wed, Jun 18, 2003 at 04:35:12PM -0500, John wrote: > I can no longer boot FreeBSD. I reinstalled 5.1 beta, > no joy. I installed 5.1R on same drive (newfsed). Then thinking something > in the installed hosed eeprom i did a set-defaults. still no joy, so i > tried installing on a different disk. same thing. It always hangs at the > same point. The odd thing is Solaris boots with no issues. This is the only > thing i get on the console. I also don't have serial port access so this > is a pen & paper screen dump. BTW disk 1 is solaris, and if there is > anything i can do from solaris to help just let me know. Disk 2 and 3 > are FreeBSD 5.1R. Maybe there's a problem with the disk ? In solaris, you could try the 'format' utility in solaris to verify the disk. There are three non-destructive tests you can do. (Or you could choose the destructive tests, if you want to reinstall again.) Non destructive tests: type format, choose the disk, type analyze, then you can choose your test: read, refresh, or test. You could also try 'test-scsi' or 'probe-scsi' (probe-scsi-all?) from the eeprom console. From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 12:23:01 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 016B437B401 for ; Thu, 19 Jun 2003 12:23:01 -0700 (PDT) Received: from collab.or8.net (collab.or8.net [209.94.128.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDBD43FA3 for ; Thu, 19 Jun 2003 12:22:58 -0700 (PDT) (envelope-from cjackNOSPAM@klatsch.org) Received: by collab.or8.net (Postfix, from userid 1002) id CF59B52AF; Thu, 19 Jun 2003 15:22:57 -0400 (EDT) Date: Thu, 19 Jun 2003 15:22:57 -0400 From: Chris Jackman To: sparc64@freebsd.org Message-ID: <20030619192257.GF61629@collab.or8.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Re: TESTERS NEEDED: PCI trap improvements 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, 19 Jun 2003 19:23:01 -0000 On Mon, Jun 16, 2003 at 04:16:41PM -0700, John-Mark Gurney wrote: > Attached is a patch to trap reads from PCI configuration registers that > don't exist. It doesn't use global variables now. > > This will pave the way to integrating the PCI Multifunction patch to > make all multifuntion devices probe properly. I installed this patch on an e250 with world and kernel from yesterday around 4pm. I see these two new lines in the dmesg: pci0: at device 0.0 (no driver attached) pci1: at device 0.0 (no driver attached) The rest of the dmesg is the same. This box doesn't do much, is there something specific you'd like me to try with it ? Here's the entire dmesg. stray vector interrupt 2029 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 #8: Thu Jun 19 15:26:33 GMT 2003 root@e250:/usr/obj/usr/src/sys/E250 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0482000. Timecounter "tick" frequency 296000000 Hz real memory = 536870912 (512 MB) avail memory = 489947136 (467 MB) cpu0: Sun Microsystems UltraSparc-II Processor (296.00 MHz CPU) cpu1: Sun Microsystems UltraSparc-II Processor (296.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs nexus0: nexus0: , type (unknown) (no driver attached) 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 pci0: at device 0.0 (no driver attached) ebus0: revision 0x01 ebus0: mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no 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 sab1: addr 0x1400200000-0x140020007f irq 35 on ebus0 sabtty2: on sab1 sabtty3: on sab1 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 33 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043cb irq 33 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80a289f2 ebus0: addr 0x1000000000-0x10000fffff,0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400600000-0x1400600003 irq 37,40 (no driver attached) hme0: mem 0x8000-0xffff irq 33 at device 1.1 on pci0 hme0: Ethernet address: 08:00:20:a2:89:f2 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sym0: <875> port 0x400-0x4ff mem 0x12000-0x12fff,0x10000-0x100ff irq 32 at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: <875> port 0x800-0x8ff mem 0x16000-0x16fff,0x14000-0x140ff irq 38 at device 3.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking pci0: at device 5.0 (no driver attached) pcib1: on nexus0 pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A pci1: on pcib1 pci1: at device 0.0 (no driver attached) nexus0: , type system-service-processor (no driver attached) nexus0: , type memory-controller (no driver attached) Timecounters tick every 10.000 msec Waiting 15 seconds for SCSI devices to settle cd0 at sym0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: cd present [1240320 x 512 byte records] da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da1 at sym0 bus 0 target 8 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da2 at sym0 bus 0 target 9 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da2: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da3 at sym0 bus 0 target 10 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da3: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da4 at sym0 bus 0 target 11 lun 0 da4: Fixed Direct Access SCSI-2 device da4: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da4: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da5 at sym0 bus 0 target 12 lun 0 da5: Fixed Direct Access SCSI-2 device da5: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da5: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da3a From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 12:42: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 AFC4437B401 for ; Thu, 19 Jun 2003 12:42:57 -0700 (PDT) Received: from collab.or8.net (collab.or8.net [209.94.128.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id EED1543F3F for ; Thu, 19 Jun 2003 12:42:55 -0700 (PDT) (envelope-from cjackNOSPAM@klatsch.org) Received: by collab.or8.net (Postfix, from userid 1002) id 87619531E; Thu, 19 Jun 2003 15:42:55 -0400 (EDT) Date: Thu, 19 Jun 2003 15:42:55 -0400 From: Chris Jackman To: Thomas Moestl Message-ID: <20030619194255.GG61629@collab.or8.net> References: <20030613160140.GE658@crow.dom2ip.de> <20030614000838.GE670@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030614000838.GE670@crow.dom2ip.de> User-Agent: Mutt/1.4.1i cc: sparc64@freebsd.org Subject: Re: TESTERS NEEDED: new OFW PCI code 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, 19 Jun 2003 19:42:58 -0000 On Sat, Jun 14, 2003 at 02:08:38AM +0200, Thomas Moestl wrote: > On Fri, 2003/06/13 at 18:01:41 +0200, Thomas Moestl wrote: > > Hi, > > > > I've finished implementing the long-promised new OFW PCI code; the > > patch is available at > > http://people.freebsd.org/~tmm/ofw-newpci.diff > > I've put an updated diff at > http://people.freebsd.org/~tmm/ofw-newpci2.diff > > It contains some cleanups, and fixes panics on machines with psycho > host bridges. I put this on the same 250 that I posted about earlier, with clean source tree. Hunk 7 of sparc64/pci/apb.c had to be hand patched because the comments are different from what i got from cvs yesterday, but the code is the same. I added the options OFW_NEWPCI, OFW_PCI_DEBUG and PSYCHO_DEBUG, and have attached the dmesg from this kernel below. This patch and the sparc64.jake.patch both touch the psycho.c file. I can add most of the sparc64.jake.patch changes after this patch, but for now i just have two /boot/kernel directories. Here's the dmesg fwiw: stray vector interrupt 2029 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: Thu Jun 19 18:34:55 GMT 2003 root@e250:/usr/obj/usr/src/sys/E250 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0484000. Timecounter "tick" frequency 296000000 Hz real memory = 536870912 (512 MB) avail memory = 489938944 (467 MB) cpu0: Sun Microsystems UltraSparc-II Processor (296.00 MHz CPU) cpu1: Sun Microsystems UltraSparc-II Processor (296.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs nexus0: nexus0: , type (unknown) (no driver attached) 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 pcib0: intr map (pci) 0: 0x7c0 pcib0: intr map (pci) 1: 0x7c4 pcib0: intr map (pci) 2: 0x7d0 pcib0: intr map (pci) 3: 0x7d4 pcib0: intr map (pci) 4: 0x800007d0 pcib0: intr map (pci) 5: 0x800007d4 pcib0: intr map (pci) 6: 0x7d8 pcib0: intr map (pci) 7: 0x7dc pcib0: intr map (obio) 0: 0x7e0, clr: 0x1800 pcib0: intr map (obio) 1: 0x7e1, clr: 0x1808 pcib0: intr map (obio) 2: 0x7e2, clr: 0x1810 pcib0: intr map (obio) 3: 0x7e3, clr: 0x1818 pcib0: intr map (obio) 4: 0x7e4, clr: 0x1820 pcib0: intr map (obio) 5: 0x800007e5, clr: 0x1828 pcib0: intr map (obio) 6: 0x7e6, clr: 0x1830 pcib0: intr map (obio) 7: 0x7e7, clr: 0x1838 pcib0: intr map (obio) 8: 0x7e8, clr: 0x1840 pcib0: intr map (obio) 9: 0x7e9, clr: 0x1848 pcib0: intr map (obio) 10: 0x7ea, clr: 0x1850 pcib0: intr map (obio) 11: 0x7eb, clr: 0x1858 pci0: on pcib0 pcib0: device 0/1/0: latency timer 10 -> 82 pcib0: device 0/1/1: latency timer 10 -> 82 pcib0: device 0/3/0: latency timer 17 -> 140 pcib0: device 0/3/1: latency timer 17 -> 140 pcib0: device 0/5/0: latency timer 8 -> 66 ebus0: revision 0x01 ebus0: mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no 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 pcib0: psycho_setup_intr: INO 43, map 0x1058, clr 0x1858 sabtty0: on sab0 sabtty0: console 9600,8,n,1,- sabtty1: on sab0 sab1: addr 0x1400200000-0x140020007f irq 35 on ebus0 pcib0: psycho_setup_intr: INO 35, map 0x1018, clr 0x1818 sabtty2: on sab1 sabtty3: on sab1 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 33 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043cb irq 33 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80a289f2 ebus0: addr 0x1000000000-0x10000fffff,0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400600000-0x1400600003 irq 37,40 (no driver attached) hme0: mem 0x8000-0xffff at device 1.1 on pci0 hme0: Ethernet address: 08:00:20:a2:89:f2 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib0: psycho_setup_intr: INO 33, map 0x1008, clr 0x1808 sym0: <875> port 0x400-0x4ff mem 0x12000-0x12fff,0x10000-0x100ff at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking pcib0: psycho_setup_intr: INO 32, map 0x1000, clr 0x1800 sym1: <875> port 0x800-0x8ff mem 0x16000-0x16fff,0x14000-0x140ff at device 3.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking pcib0: psycho_setup_intr: INO 38, map 0x1030, clr 0x1830 pci0: at device 5.0 (no driver attached) pcib1: on nexus0 pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A pcib1: intr map (pci) 0: 0x7c0 pcib1: intr map (pci) 1: 0x800007c4 pcib1: intr map (pci) 2: 0x800007d0 pcib1: intr map (pci) 3: 0x800007d4 pcib1: intr map (pci) 4: 0x800007d0 pcib1: intr map (pci) 5: 0x800007d4 pcib1: intr map (pci) 6: 0x800007d8 pcib1: intr map (pci) 7: 0x800007dc pcib1: intr map (obio) 0: 0x800007e0, clr: 0x1800 pcib1: intr map (obio) 1: 0x800007e1, clr: 0x1808 pcib1: intr map (obio) 2: 0x800007e2, clr: 0x1810 pcib1: intr map (obio) 3: 0x800007e3, clr: 0x1818 pcib1: intr map (obio) 4: 0x800007e4, clr: 0x1820 pcib1: intr map (obio) 5: 0x800007e5, clr: 0x1828 pcib1: intr map (obio) 6: 0x800007e6, clr: 0x1830 pcib1: intr map (obio) 7: 0x800007e7, clr: 0x1838 pcib1: intr map (obio) 8: 0x800007e8, clr: 0x1840 pcib1: intr map (obio) 9: 0x800007e9, clr: 0x1848 pcib1: intr map (obio) 10: 0x800007ea, clr: 0x1850 pcib1: intr map (obio) 11: 0x800007eb, clr: 0x1858 pci1: on pcib1 nexus0: , type system-service-processor (no driver attached) nexus0: , type memory-controller (no driver attached) Timecounters tick every 10.000 msec Waiting 15 seconds for SCSI devices to settle cd0 at sym0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: cd present [1240320 x 512 byte records] da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da1 at sym0 bus 0 target 8 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da2 at sym0 bus 0 target 9 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da2: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da3 at sym0 bus 0 target 10 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da3: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da4 at sym0 bus 0 target 11 lun 0 da4: Fixed Direct Access SCSI-2 device da4: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da4: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da5 at sym0 bus 0 target 12 lun 0 da5: Fixed Direct Access SCSI-2 device da5: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da5: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da3a From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 12:55:27 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 EBFCE37B401 for ; Thu, 19 Jun 2003 12:55:27 -0700 (PDT) Received: from web13904.mail.yahoo.com (web13904.mail.yahoo.com [216.136.175.67]) by mx1.FreeBSD.org (Postfix) with SMTP id 8995743FB1 for ; Thu, 19 Jun 2003 12:55:27 -0700 (PDT) (envelope-from pacemakertaker@yahoo.com) Message-ID: <20030619195527.53032.qmail@web13904.mail.yahoo.com> Received: from [63.90.75.22] by web13904.mail.yahoo.com via HTTP; Thu, 19 Jun 2003 12:55:27 PDT Date: Thu, 19 Jun 2003 12:55:27 -0700 (PDT) From: PaceMakerTaker To: freebsd-sparc64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: I wanna help test ... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pacemakertaker@yahoo.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 19:55:28 -0000 Good afternoon Gents! So I've got this 270MHz Ultra 5 here with 128 and 8GB as well as a 500MHz Blade 100 with 512 and 40GB. I'd love to get involved in the project now that I have time! For starters, I guess I'd do some testing work since I haven't been into the FreeBSD kernel yet (Although I've been into the Linux kernel and the SunOS kernel). I've been doing C/C++ coding for years. If someone wants to point me off in the direction of the notes and installation files, I'll jump right now. I'm sure that there is a list of stuff that needs to be tested and/or fixed, where can I find that at? I'm anxious to help and a little bored here; so anything I can do, let me know! -brian ===== -brian Brian D. McGrew { brian@doubledimension.com || pacemakertaker@yahoo.com } --- > RAM DISK! Is not an installation method! __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 14:42: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 5FC6E37B401 for ; Thu, 19 Jun 2003 14:42:04 -0700 (PDT) Received: from dmz2.unixjunkie.com (adsl-65-70-175-250.dsl.rcsntx.swbell.net [65.70.175.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687D943FAF for ; Thu, 19 Jun 2003 14:41:56 -0700 (PDT) (envelope-from strgout@unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by dmz2.unixjunkie.com (8.12.6p2/8.12.6) with ESMTP id h5JLw1TT060400 for ; Thu, 19 Jun 2003 16:58:02 -0500 (CDT) (envelope-from strgout@mail.unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by mail.unixjunkie.com (8.12.6p2/8.12.6) with ESMTP id h5JLw1Bk060397 for ; Thu, 19 Jun 2003 16:58:01 -0500 (CDT) (envelope-from strgout@mail.unixjunkie.com) Received: (from strgout@localhost) by mail.unixjunkie.com (8.12.6p2/8.12.6/Submit) id h5JLw1PS060396 for freebsd-sparc64@freebsd.org; Thu, 19 Jun 2003 16:58:01 -0500 (CDT) (envelope-from strgout) Date: Thu, 19 Jun 2003 16:58:01 -0500 From: John To: freebsd-sparc64@freebsd.org Message-ID: <20030619215800.GA60374@mail.unixjunkie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: e450 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, 19 Jun 2003 21:42:04 -0000 Well i don't really think its a drive issue, but i booted it back into solaris. I've just started a format,analzye,verify, and so far its made 1 pass no with no problems. This is on Disk 2 btw. Here is the break down. Disk0 = solaris Disk1 = solaris FS drive Desk2 = being scanned for errors, no data now. (was FreeBSD 5.1R) Disk3 = OpenBSD 3.3 (Tried installing FreeBSD 5.1R here also, no joy) What is the correct way to verbose boot sparc64 anyways? i've tried boot disk3 /boot/kernel/kernel -v but it just locked up at the same place with no extra output. Oh, well that didn't take as long as i thought it would. output of verifiy. Disk 2 pass 0 1112/254/0 pass 1 1112/254/0 Total of 0 defective blocks repaired. Anyone else think they can help me out? From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 15:07: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 30C9837B411 for ; Thu, 19 Jun 2003 15:07:52 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD93343FCB for ; Thu, 19 Jun 2003 15:07:45 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5JMYLMo024177; Thu, 19 Jun 2003 18:34:22 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5JM8FIX080129; Thu, 19 Jun 2003 15:08:15 -0700 (PDT) (envelope-from jmg) Date: Thu, 19 Jun 2003 15:08:15 -0700 From: John-Mark Gurney To: PaceMakerTaker Message-ID: <20030619220815.GC64061@funkthat.com> Mail-Followup-To: PaceMakerTaker , freebsd-sparc64@freebsd.org References: <20030619195527.53032.qmail@web13904.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030619195527.53032.qmail@web13904.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-sparc64@freebsd.org Subject: Re: I wanna help test ... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 22:07:53 -0000 PaceMakerTaker wrote this message on Thu, Jun 19, 2003 at 12:55 -0700: > So I've got this 270MHz Ultra 5 here with 128 and 8GB > as well as a 500MHz Blade 100 with 512 and 40GB. I'd > love to get involved in the project now that I have > time! > > For starters, I guess I'd do some testing work since I > haven't been into the FreeBSD kernel yet (Although > I've been into the Linux kernel and the SunOS kernel). > I've been doing C/C++ coding for years. > > If someone wants to point me off in the direction of > the notes and installation files, I'll jump right now. http://www.freebsd.org/releases/5.1R/relnotes-sparc64.html The cd is bootable, and simple to do. Works fine over serial console, that's how I got my box up and running. > I'm sure that there is a list of stuff that needs to > be tested and/or fixed, where can I find that at? Well, once you get 5.1-R installed, tracking current is good. You might still be able to get away with using 5.1-R but not for much longer since we're already starting to diverge. Take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html for more information about it. -current is what you want to follow if you want to do some testing. > I'm anxious to help and a little bored here; so > anything I can do, let me know! Well, test the applications. Already there have been a few minor bugs in apps that were pretty easy to fix. As for other things, take a look at the archives of -sparc64 for the last week or two. Thomas Moestl has a patch that uses OFW to enumerate the PCI bus instead of probing it. I also have a patch to make Multi-Function devices probe. (Both patches address similar issues, but are also complementary.) Stay tuned to the list! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 16:36: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 1D76E37B401 for ; Thu, 19 Jun 2003 16:36:38 -0700 (PDT) Received: from web13904.mail.yahoo.com (web13904.mail.yahoo.com [216.136.175.67]) by mx1.FreeBSD.org (Postfix) with SMTP id 97BE343FBF for ; Thu, 19 Jun 2003 16:36:37 -0700 (PDT) (envelope-from pacemakertaker@yahoo.com) Message-ID: <20030619233637.91602.qmail@web13904.mail.yahoo.com> Received: from [63.90.75.22] by web13904.mail.yahoo.com via HTTP; Thu, 19 Jun 2003 16:36:37 PDT Date: Thu, 19 Jun 2003 16:36:37 -0700 (PDT) From: PaceMakerTaker To: John-Mark Gurney In-Reply-To: <20030619220815.GC64061@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-sparc64@freebsd.org Subject: Re: I wanna help test ... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pacemakertaker@yahoo.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 23:36:38 -0000 OK, I go to ftp.freebsd.org and in the sparc64 directory I see the iso for disk2 and miniroot. Is there enough to install or do I need the 5.0-R stuff also? Do I have to do an upgrade or can I do a clean install with 5.1-R -brian --- John-Mark Gurney wrote: > PaceMakerTaker wrote this message on Thu, Jun 19, > 2003 at 12:55 -0700: > > So I've got this 270MHz Ultra 5 here with 128 and > 8GB > > as well as a 500MHz Blade 100 with 512 and 40GB. > I'd > > love to get involved in the project now that I > have > > time! > > > > For starters, I guess I'd do some testing work > since I > > haven't been into the FreeBSD kernel yet (Although > > I've been into the Linux kernel and the SunOS > kernel). > > I've been doing C/C++ coding for years. > > > > If someone wants to point me off in the direction > of > > the notes and installation files, I'll jump right > now. > > http://www.freebsd.org/releases/5.1R/relnotes-sparc64.html > > The cd is bootable, and simple to do. Works fine > over serial console, > that's how I got my box up and running. > > > I'm sure that there is a list of stuff that needs > to > > be tested and/or fixed, where can I find that at? > > Well, once you get 5.1-R installed, tracking current > is good. You > might still be able to get away with using 5.1-R but > not for much > longer since we're already starting to diverge. > > Take a look at: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html > for more information about it. -current is what you > want to follow > if you want to do some testing. > > > I'm anxious to help and a little bored here; so > > anything I can do, let me know! > > Well, test the applications. Already there have > been a few minor bugs > in apps that were pretty easy to fix. > > As for other things, take a look at the archives of > -sparc64 for the > last week or two. Thomas Moestl has a patch that > uses OFW to enumerate > the PCI bus instead of probing it. I also have a > patch to make > Multi-Function devices probe. (Both patches address > similar issues, > but are also complementary.) > > Stay tuned to the list! > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I > have, has not." ===== -brian Brian D. McGrew { brian@doubledimension.com || pacemakertaker@yahoo.com } --- > RAM DISK! Is not an installation method! __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 19 18:03: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 3780C37B401 for ; Thu, 19 Jun 2003 18:03:19 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A1EC43F75 for ; Thu, 19 Jun 2003 18:03:18 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5K1TvMo019817; Thu, 19 Jun 2003 21:29:57 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5K13mA1092476; Thu, 19 Jun 2003 18:03:48 -0700 (PDT) (envelope-from jmg) Date: Thu, 19 Jun 2003 18:03:48 -0700 From: John-Mark Gurney To: PaceMakerTaker Message-ID: <20030620010348.GI64061@funkthat.com> Mail-Followup-To: PaceMakerTaker , freebsd-sparc64@freebsd.org References: <20030619220815.GC64061@funkthat.com> <20030619233637.91602.qmail@web13904.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030619233637.91602.qmail@web13904.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-sparc64@freebsd.org Subject: Re: I wanna help test ... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 01:03:19 -0000 PaceMakerTaker wrote this message on Thu, Jun 19, 2003 at 16:36 -0700: > OK, I go to ftp.freebsd.org and in the sparc64 > directory I see the iso for disk2 and miniroot. Is > there enough to install or do I need the 5.0-R stuff > also? Do I have to do an upgrade or can I do a clean > install with 5.1-R The miniinst should be enough to get you up and running. It just doesn't contian all the packages that the i386 version does. > --- John-Mark Gurney wrote: > > PaceMakerTaker wrote this message on Thu, Jun 19, > > 2003 at 12:55 -0700: > > > So I've got this 270MHz Ultra 5 here with 128 and > > 8GB > > > as well as a 500MHz Blade 100 with 512 and 40GB. > > I'd > > > love to get involved in the project now that I > > have > > > time! > > > > > > For starters, I guess I'd do some testing work > > since I > > > haven't been into the FreeBSD kernel yet (Although > > > I've been into the Linux kernel and the SunOS > > kernel). > > > I've been doing C/C++ coding for years. > > > > > > If someone wants to point me off in the direction > > of > > > the notes and installation files, I'll jump right > > now. > > > > > http://www.freebsd.org/releases/5.1R/relnotes-sparc64.html > > > > The cd is bootable, and simple to do. Works fine > > over serial console, > > that's how I got my box up and running. > > > > > I'm sure that there is a list of stuff that needs > > to > > > be tested and/or fixed, where can I find that at? > > > > Well, once you get 5.1-R installed, tracking current > > is good. You > > might still be able to get away with using 5.1-R but > > not for much > > longer since we're already starting to diverge. > > > > Take a look at: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html > > for more information about it. -current is what you > > want to follow > > if you want to do some testing. > > > > > I'm anxious to help and a little bored here; so > > > anything I can do, let me know! > > > > Well, test the applications. Already there have > > been a few minor bugs > > in apps that were pretty easy to fix. > > > > As for other things, take a look at the archives of > > -sparc64 for the > > last week or two. Thomas Moestl has a patch that > > uses OFW to enumerate > > the PCI bus instead of probing it. I also have a > > patch to make > > Multi-Function devices probe. (Both patches address > > similar issues, > > but are also complementary.) > > > > Stay tuned to the list! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-sparc64@FreeBSD.ORG Sat Jun 21 04:06: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 980B837B401; Sat, 21 Jun 2003 04:06:22 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF8F243F93; Sat, 21 Jun 2003 04:06:21 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 7261266CFB; Sat, 21 Jun 2003 04:06:21 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 3A19E5D6; Sat, 21 Jun 2003 04:06:21 -0700 (PDT) Date: Sat, 21 Jun 2003 04:06:20 -0700 From: Kris Kennaway To: sparc64@FreeBSD.org Message-ID: <20030621110620.GA72595@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: threads@FreeBSD.org Subject: MozillaFirebird with libthr on sparc64 dies with SIGILL 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, 21 Jun 2003 11:06:23 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I thought I'd try libthr to see if it fixes the crashes/hangs I'm seeing with MozillaFirebird on sparc64, but it dies with a SIGILL during startup. libpthread is unimplemented on sparc64. Any ideas? Kris # /etc/libmap.conf # # candidate mapping # libc_r.so.5 libthr.so.1 # Everything uses 'libthr' libc_r.so libthr.so > gdb53 MozillaFirebird MozillaFirebird-bin.core GNU gdb 5.3 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-portbld-freebsd5.1"..."/usr/X11R6/bin/MozillaFirebird": not in executable format: File format not recognized Core was generated by `MozillaFirebird-bin'. Program terminated with signal 4, Illegal instruction. #0 0x0000000041a64d20 in ?? () (gdb) disassemble 0x0000000041a64d20 No function contains specified address. (gdb) bt #0 0x0000000041a64d20 in ?? () Cannot access memory at address 0x7fdffed9fb8 --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+9DwsWry0BWjoQKURAuvjAJ4ugc9hyNc/FG8sivaEGAPy92fbHwCdGv9+ sVRaWj8fWWdYeJ0JSIt/ZbA= =P54d -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-sparc64@FreeBSD.ORG Sat Jun 21 05:28: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 7C78A37B401; Sat, 21 Jun 2003 05:28:32 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16F343F85; Sat, 21 Jun 2003 05:28:31 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id A23D066CFB; Sat, 21 Jun 2003 05:28:31 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 861908D4; Sat, 21 Jun 2003 05:28:31 -0700 (PDT) Date: Sat, 21 Jun 2003 05:28:31 -0700 From: Kris Kennaway To: PaceMakerTaker , freebsd-sparc64@freebsd.org Message-ID: <20030621122831.GA74516@rot13.obsecurity.org> References: <20030619220815.GC64061@funkthat.com> <20030619233637.91602.qmail@web13904.mail.yahoo.com> <20030620010348.GI64061@funkthat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20030620010348.GI64061@funkthat.com> User-Agent: Mutt/1.4.1i cc: re-sparc64@FreeBSD.org Subject: 5.1 disc1 for sparc64 (Re: I wanna help test ...) 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, 21 Jun 2003 12:28:32 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 19, 2003 at 06:03:48PM -0700, John-Mark Gurney wrote: > PaceMakerTaker wrote this message on Thu, Jun 19, 2003 at 16:36 -0700: > > OK, I go to ftp.freebsd.org and in the sparc64 > > directory I see the iso for disk2 and miniroot. Is > > there enough to install or do I need the 5.0-R stuff > > also? Do I have to do an upgrade or can I do a clean > > install with 5.1-R >=20 > The miniinst should be enough to get you up and running. >=20 > It just doesn't contian all the packages that the i386 version does. The i386 miniroot doesn't contain packages either, that's why it's mini ;-) I don't know why disc1 was not produced for sparc - that's the one that contains the installation media plus common packages. Kris --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+9E9vWry0BWjoQKURAob9AKCWd9AgqNts2PTnYMknGDJ9bfanjgCfUT/d Q78urPT8NYZCT/gv0b6a0+g= =2kpI -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- From owner-freebsd-sparc64@FreeBSD.ORG Sat Jun 21 10:22:35 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 ACDAF37B401; Sat, 21 Jun 2003 10:22:35 -0700 (PDT) Received: from pop018.verizon.net (pop018pub.verizon.net [206.46.170.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 641FD43F85; Sat, 21 Jun 2003 10:22:34 -0700 (PDT) (envelope-from mtm@identd.net) Received: from kokeb.ambesa.net ([138.88.140.205]) by pop018.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030621172233.XILJ11703.pop018.verizon.net@kokeb.ambesa.net>; Sat, 21 Jun 2003 12:22:33 -0500 Date: Sat, 21 Jun 2003 13:22:32 -0400 From: Mike Makonnen To: Kris Kennaway In-Reply-To: <20030621110620.GA72595@rot13.obsecurity.org> References: <20030621110620.GA72595@rot13.obsecurity.org> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop018.verizon.net from [138.88.140.205] at Sat, 21 Jun 2003 12:22:33 -0500 Message-Id: <20030621172233.XILJ11703.pop018.verizon.net@kokeb.ambesa.net> cc: threads@freebsd.org cc: sparc64@freebsd.org Subject: Re: MozillaFirebird with libthr on sparc64 dies with SIGILL 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, 21 Jun 2003 17:22:36 -0000 On Sat, 21 Jun 2003 04:06:20 -0700 Kris Kennaway wrote: > I thought I'd try libthr to see if it fixes the crashes/hangs I'm > seeing with MozillaFirebird on sparc64, but it dies with a SIGILL > during startup. libpthread is unimplemented on sparc64. Any ideas? > [snip] > > Core was generated by `MozillaFirebird-bin'. > Program terminated with signal 4, Illegal instruction. > #0 0x0000000041a64d20 in ?? () > (gdb) disassemble 0x0000000041a64d20 > No function contains specified address. > > (gdb) bt > #0 0x0000000041a64d20 in ?? () > Cannot access memory at address 0x7fdffed9fb8 I was looking into libthr and sparc64 the the other day. I know that all the necessary functions are implemented, but I don't know if they need tweaking or not. OTOH I have seen similar results when linked against C++ applications. Sorry I can't be of more help at the moment :( Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - The Power To Serve From owner-freebsd-sparc64@FreeBSD.ORG Sat Jun 21 10:40:53 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 5624E37B404 for ; Sat, 21 Jun 2003 10:40:53 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A68043FCB for ; Sat, 21 Jun 2003 10:40:51 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 10006 invoked by uid 65534); 21 Jun 2003 17:40:50 -0000 Received: from p508E545F.dip.t-dialin.net (EHLO galatea.local) (80.142.84.95) by mail.gmx.net (mp006) with SMTP; 21 Jun 2003 19:40:50 +0200 Received: from tmm by galatea.local with local (Exim 4.20 #1) id 19TmFf-0000zi-71; Sat, 21 Jun 2003 19:34:11 +0200 Date: Sat, 21 Jun 2003 19:34:10 +0200 From: Thomas Moestl To: Kris Kennaway Message-ID: <20030621173410.GB656@crow.dom2ip.de> Mail-Followup-To: Kris Kennaway , sparc64@freebsd.org, threads@freebsd.org References: <20030621110620.GA72595@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030621110620.GA72595@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i Sender: Thomas Moestl cc: threads@freebsd.org cc: sparc64@freebsd.org Subject: Re: MozillaFirebird with libthr on sparc64 dies with SIGILL 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, 21 Jun 2003 17:40:53 -0000 On Sat, 2003/06/21 at 04:06:20 -0700, Kris Kennaway wrote: > I thought I'd try libthr to see if it fixes the crashes/hangs I'm > seeing with MozillaFirebird on sparc64, but it dies with a SIGILL > during startup. libpthread is unimplemented on sparc64. Any ideas? > > Kris > > # /etc/libmap.conf > # > # candidate mapping > # > libc_r.so.5 libthr.so.1 # Everything uses 'libthr' > libc_r.so libthr.so > > > gdb53 MozillaFirebird MozillaFirebird-bin.core > GNU gdb 5.3 (FreeBSD) > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "sparc64-portbld-freebsd5.1"..."/usr/X11R6/bin/MozillaFirebird": not in executable format: File format not recognized MozillaFirebird is just a shell script; the core seems to have been generated by /usr/X11R6/lib/firebird/mozilla-1.4b/MozillaFirebird-bin. - 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 Sat Jun 21 14:05:13 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 5F5CA37B401; Sat, 21 Jun 2003 14:05:13 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DAB243F3F; Sat, 21 Jun 2003 14:05:12 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 31B3866BE5; Sat, 21 Jun 2003 14:05:12 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id B4F15796; Sat, 21 Jun 2003 14:05:11 -0700 (PDT) Date: Sat, 21 Jun 2003 14:05:11 -0700 From: Kris Kennaway To: Morten Rodal Message-ID: <20030621210511.GA82582@rot13.obsecurity.org> References: <20030621110620.GA72595@rot13.obsecurity.org> <20030621132803.GA1608@atlantis.rodal.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <20030621132803.GA1608@atlantis.rodal.no> User-Agent: Mutt/1.4.1i cc: threads@FreeBSD.org cc: sparc64@FreeBSD.org Subject: Re: MozillaFirebird with libthr on sparc64 dies with SIGILL 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, 21 Jun 2003 21:05:13 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 21, 2003 at 03:28:03PM +0200, Morten Rodal wrote: > On Sat, Jun 21, 2003 at 04:06:20AM -0700, Kris Kennaway wrote: > > > gdb53 MozillaFirebird MozillaFirebird-bin.core > > GNU gdb 5.3 (FreeBSD) > > Copyright 2002 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and yo= u are > > welcome to change it and/or distribute copies of it under certain condi= tions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. > > This GDB was configured as "sparc64-portbld-freebsd5.1"..."/usr/X11R6/b= in/MozillaFirebird": not in executable format: File format not recognized >=20 > Maybe you should try to run gdb with > "/usr/X11R6/lib/firebird/lib/mozilla-1.4b/MozillaFirebird-bin" instead > of "MozillaFirebird" (since that is a shell script)? Heh, oops..that's what I get for trying to debug at 4AM! (gdb) disassemble Dump of assembler code for function _ctx_start: 0x41a64d20 <_ctx_start>: call %g1 0x41a64d24 <_ctx_start+4>: mov %g2, %l0 0x41a64d28 <_ctx_start+8>: call 0x41b94320 <__isthreaded+17712> 0x41a64d2c <_ctx_start+12>: mov %l0, %o0 0x41a64d30 <_ctx_start+16>: illtrap 0 0x41a64d34 <_ctx_start+20>: b,a %xcc, 0x41a64d40 0x41a64d38 <_ctx_start+24>: nop 0x41a64d3c <_ctx_start+28>: nop End of assembler dump. (gdb) bt #0 0x0000000041a64d20 in _ctx_start () from /usr/lib/libc.so.5 Looks more sane :) Kris --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+9MiHWry0BWjoQKURAgyGAJ9OePZXLlwz2KuKVDQ+V8qq2FSlvwCguQGc CRzIgKr5HSZvDid2WJJujBk= =3ihY -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--