From owner-freebsd-sparc64@FreeBSD.ORG Sun Aug 29 03:31:26 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E34D41065695 for ; Sun, 29 Aug 2010 03:31:26 +0000 (UTC) (envelope-from nwf@cs.jhu.edu) Received: from blaze.cs.jhu.edu (blaze.cs.jhu.edu [128.220.13.50]) by mx1.freebsd.org (Postfix) with ESMTP id 89D0A8FC15 for ; Sun, 29 Aug 2010 03:31:26 +0000 (UTC) Received: from gradx.cs.jhu.edu (gradx.cs.jhu.edu [128.220.13.52]) by blaze.cs.jhu.edu (8.14.3/8.14.3) with ESMTP id o7T3VPoa027241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 28 Aug 2010 23:31:25 -0400 (EDT) Received: from gradx.cs.jhu.edu (localhost [127.0.0.1]) by gradx.cs.jhu.edu (8.14.3/8.13.1) with ESMTP id o7T3VPb5030235 for ; Sat, 28 Aug 2010 23:31:25 -0400 Received: (from nwf@localhost) by gradx.cs.jhu.edu (8.14.3/8.13.8/Submit) id o7T3VOdt030234 for freebsd-sparc64@freebsd.org; Sat, 28 Aug 2010 23:31:24 -0400 Date: Sat, 28 Aug 2010 23:31:24 -0400 From: Nathaniel W Filardo To: freebsd-sparc64@freebsd.org Message-ID: <20100829033124.GO13607@gradx.cs.jhu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FhKpTYimqQF2+bfE" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) Subject: Inactive pmap? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 03:31:27 -0000 --FhKpTYimqQF2+bfE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've been getting a few of these over the past while. I don't believe there's a hardware problem. The hardware is a stock V240 uniprocessor machine. FreeBSD hydra.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #18 r211472+d3b8a13: Fri Aug 20 00:54:00 EDT 2010 root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64 panic() at panic+0x1c8 tlb_page_demap() at tlb_page_demap+0x148 pmap_cache_enter() at pmap_cache_enter+0x1dc pmap_kenter() at pmap_kenter+0x1b4 pmap_qenter() at pmap_qenter+0x78 sf_buf_alloc() at sf_buf_alloc+0x160 zfs_freebsd_read() at zfs_freebsd_read+0x2cc VOP_READ_APV() at VOP_READ_APV+0x108 VOP_READ_AP() at VOP_READ_AP+0xc null_bypass() at null_bypass+0x124 VOP_READ_APV() at VOP_READ_APV+0x11c vn_read() at vn_read+0x240 dofileread() at dofileread+0x74 kern_preadv() at kern_preadv+0x68 pread() at pread+0x50 syscall() at syscall+0x25c -- syscall (475, FreeBSD ELF64, pread) %o7=0x4022d784 -- userland() at 0x4022fa48 user trace: trap %o7=0x4022d784 pc 0x4022fa48, sp 0x7fdffffd891 pc 0x4022b474, sp 0x7fdffffd9a1 pc 0x4022b6b0, sp 0x7fdffffdcb1 pc 0x4022c84c, sp 0x7fdffffdd71 pc 0x40226e74, sp 0x7fdffffe4d1 done Uptime: 5d3h53m14s and FreeBSD hydra.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #17 r210985+7fd3af5: Sat Aug 7 14:25:03 EDT 2010 root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64 panic: tlb_page_demap: inactive pmap? cpuid = 0 KDB: stack backtrace: panic() at panic+0x1c8 tlb_page_demap() at tlb_page_demap+0x148 pmap_cache_remove() at pmap_cache_remove+0x1a0 pmap_kremove() at pmap_kremove+0x120 pmap_qremove() at pmap_qremove+0x74 sf_buf_free() at sf_buf_free+0x8 zfs_freebsd_read() at zfs_freebsd_read+0x2f4 VOP_READ_APV() at VOP_READ_APV+0x108 VOP_READ_AP() at VOP_READ_AP+0xc null_bypass() at null_bypass+0x124 VOP_READ_APV() at VOP_READ_APV+0x11c vn_read() at vn_read+0x240 dofileread() at dofileread+0x74 kern_preadv() at kern_preadv+0x68 pread() at pread+0x50 syscall() at syscall+0x25c -- syscall (475, FreeBSD ELF64, pread) %o7=0x4020f784 -- userland() at 0x40211a48 user trace: trap %o7=0x4020f784 pc 0x40211a48, sp 0x7fdffffd891 pc 0x4020d474, sp 0x7fdffffd9a1 pc 0x4020d6b0, sp 0x7fdffffdcb1 pc 0x4020e84c, sp 0x7fdffffdd71 pc 0x40208e74, sp 0x7fdffffe4d1 done Uptime: 8d4h57m37s Suggestions? Thanks much. --nwf; --FhKpTYimqQF2+bfE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkx51IwACgkQTeQabvr9Tc9PhwCeKE+GfvvAQyFWdeaw9XKL4yh7 e6wAnjMQCuP5vt+soilJ7fazUQU0qZl/ =rP9J -----END PGP SIGNATURE----- --FhKpTYimqQF2+bfE-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 30 11:07:06 2010 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7AF41065670 for ; Mon, 30 Aug 2010 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D5F348FC1D for ; Mon, 30 Aug 2010 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UB7671087553 for ; Mon, 30 Aug 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UB759e087551 for freebsd-sparc64@FreeBSD.org; Mon, 30 Aug 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Aug 2010 11:07:05 GMT Message-Id: <201008301107.o7UB759e087551@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sparc64@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f sparc/145211 sparc64 [panic] Memory modified after free o sparc/142102 sparc64 [nfs] [panic] FreeBSD 8.0 kernel panics on sparc64 whe o sparc/141918 sparc64 [ehci] ehci_interrupt: unrecoverable error, controller s sparc/139134 sparc64 kernel output corruption f sparc/127051 sparc64 [hme] hme interfaces "pause" with the message "device o sparc/119244 sparc64 X11Forwarding to X11 server on sparc crashes Xorg o sparc/119240 sparc64 top has WCPU over 100% on UP system s sparc/119239 sparc64 gdb coredumps on sparc64 f sparc/108732 sparc64 ping(8) reports 14 digit time on sparc64 s sparc/107087 sparc64 [hang] system is hung during boot from CD o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o sparc/80890 sparc64 [panic] kmem_malloc(73728): kmem_map too small running o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 14 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 30 15:12:57 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC53A10656A5 for ; Mon, 30 Aug 2010 15:12:57 +0000 (UTC) (envelope-from info@ubn24.de) Received: from mail.ubn24.de (mail.ubn24.de [194.97.99.118]) by mx1.freebsd.org (Postfix) with ESMTP id 61B668FC1F for ; Mon, 30 Aug 2010 15:12:56 +0000 (UTC) Received: from moon.infosys.de (moon.infosys.de [195.4.70.148]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: witalij) by mail.ubn24.de (Postfix) with ESMTPSA id 48CD4148D4 for ; Mon, 30 Aug 2010 16:47:55 +0200 (CEST) Message-ID: <4C7BC499.8080603@ubn24.de> Date: Mon, 30 Aug 2010 14:47:53 +0000 From: witalij User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100820 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 8.1 sparc64 bge BCM5704 watchdog X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 15:12:57 -0000 Hi All, i`ve big problems on my sparc64 FIRE 240 with bge BCM5704 interfeces i upgrade my system from 8.0 to 8.1 and the problems have to begin on 8.0 work all fine. if i create some traffic about 10Mbits i see in dmesg this message: bge0: watchdog timeout -- resetting bge0: link state changed to DOWN and carp put the interfaces to backup bge0: watchdog timeout -- resetting bge0: link state changed to DOWN carp0: link state changed to DOWN carp3: MASTER -> BACKUP (more frequent advertisement received) carp1: MASTER -> BACKUP (more frequent advertisement received) carp3: link state changed to DOWN carp1: link state changed to DOWN carp0: INIT -> BACKUP bge0: link state changed to UP carp0: link state changed to DOWN carp3: BACKUP -> MASTER (preempting a slower master) carp3: link state changed to UP carp1: BACKUP -> MASTER (preempting a slower master) carp1: link state changed to UP carp0: link state changed to UP Please Help me. Thanks Regards Witalij Some info from my system: #---------------------------------------------------------------- *my system is:* #---------------------------------------------------------------- FreeBSD name 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Mon Aug 30 13:40:25 CEST 2010 name:/usr/obj/usr/src/sys/MICRO1 sparc64 #-------------------------------------------------------* vmstat -i *#------------------------------------------------------- interrupt total rate pil4: ast 448144 89 pil2: ithrd 360185 72 vec1992: bge0 153678 30 vec1993: bge1 155592 31 vec1944: atapci0 35 0 vec1833: sym0 38564 7 vec1832: sym1 30 0 vec1885: bge3 12286 2 pil12: filter 1372 0 vec1964: uart0+ 1372 0 pil14: tick 9949609 1997 Total 11120867 2232 #----------------------------------------------------------------- *pciconf -la* #----------------------------------------------------------------- bge2@pci3:0:2:0: class=0x020000 card=0x1648108e chip=0x164814e4 rev=0x00 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' class = network subclass = ethernet bge3@pci3:0:2:1: class=0x020000 card=0x1648108e chip=0x164814e4 rev=0x00 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' class = network subclass = ethernet #------------------------------------------------------* KERNEL:* #--------------------------------------------------------------- cpu SUN4U ident GENERIC makeoptions DEBUG=-g options SCHED_4BSD # 4BSD scheduler #options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework options SMP # Symmetric MultiProcessor Kernel # Standard busses device ebus device isa device pci device sbus device central device fhc #------------------- # PF #------------------- device pf device pfsync device pflog device carp options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_PRIQ options ALTQ_NOPCC device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device ahc # AHA2940 and onboard AIC7xxx devices options AHC_ALLOW_MEMIO # Attempt to use memory mapped I/O options AHC_REG_PRETTY_PRINT # Print register bitfields in debug device isp # Qlogic family device ispfw # Firmware module for Qlogic host adapters device mpt # LSI-Logic MPT-Fusion device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D device esp # NCR53c9x (FEPS/FAS366) # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer # syscons is the default console driver, resembling an SCO console device sc device creator # Creator, Creator3D and Elite3D framebuffers device machfb # ATI Mach64 framebuffers device splash # Splash screen and screen saver support options KBD_INSTALL_CDEV # install a CDEV entry in /dev # Builtin hardware device auxio # auxiliary I/O device device eeprom # eeprom (really a front-end for the MK48Txx) device mk48txx # Mostek MK48Txx clocks device rtc # rtc (really a front-end for the MC146818) device mc146818 # Motorola MC146818 and compatible clocks # Serial (COM) ports device puc # Multi-channel uarts device scc # Serial communications controllers. device uart # Multi-uart driver # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device bfe # Broadcom BCM440x 10/100 Ethernet device bge # Broadcom BCM570xx Gigabit Ethernet # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 30 17:50:49 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD0C106564A for ; Mon, 30 Aug 2010 17:50:49 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2638FC12 for ; Mon, 30 Aug 2010 17:50:49 +0000 (UTC) Received: by pzk7 with SMTP id 7so2533669pzk.13 for ; Mon, 30 Aug 2010 10:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=o1IXPlDz8IuYLxG99Y4iGbfNjIsEUNJ070xKUqM/j4Q=; b=cEyJuyClmhqLKWFwkkPEJgO9B8IyZWTk3obUnayOC49vmKsPmVOr5o/+WBMCti9Fy1 LJTbMHzI//F8lGkBGdH2/ag1oR4HIn3rSjfIx7c+utgnLmHjMe3RdOBC8HXIeL0347Ay iloi+FLu3ULD2mDHyb3lFoX5LxOn7dYO6wGfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=XYpJ58YeGt+u3iw56NXrC/FWaRLwoOZh8O6jroDA80V6G2QeIeoQLAro5qs4GBqV2x RnMpBA1ut9VmXAwzk5YKHUX+HQbXb3iH89lOtQYtexPE9hHBj5UhZERDy5mG4eA8a04H uFF70ePedv35T3c717BaAXxB2CZF5KH4iw4yw= Received: by 10.114.26.6 with SMTP id 6mr5525114waz.82.1283189239420; Mon, 30 Aug 2010 10:27:19 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id d39sm14570031wam.4.2010.08.30.10.27.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 10:27:18 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 30 Aug 2010 10:26:53 -0700 From: Pyun YongHyeon Date: Mon, 30 Aug 2010 10:26:53 -0700 To: witalij Message-ID: <20100830172653.GB1293@michelle.cdnetworks.com> References: <4C7BC499.8080603@ubn24.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C7BC499.8080603@ubn24.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD 8.1 sparc64 bge BCM5704 watchdog X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 17:50:49 -0000 On Mon, Aug 30, 2010 at 02:47:53PM +0000, witalij wrote: > > Hi All, > > i`ve big problems on my sparc64 FIRE 240 with bge BCM5704 interfeces > > i upgrade my system from 8.0 to 8.1 and the problems have to begin > > on 8.0 work all fine. > > if i create some traffic about 10Mbits i see in dmesg this message: > > bge0: watchdog timeout -- resetting > bge0: link state changed to DOWN > > and carp put the interfaces to backup > > bge0: watchdog timeout -- resetting > bge0: link state changed to DOWN > carp0: link state changed to DOWN > carp3: MASTER -> BACKUP (more frequent advertisement received) > carp1: MASTER -> BACKUP (more frequent advertisement received) > carp3: link state changed to DOWN > carp1: link state changed to DOWN > carp0: INIT -> BACKUP > bge0: link state changed to UP > carp0: link state changed to DOWN > carp3: BACKUP -> MASTER (preempting a slower master) > carp3: link state changed to UP > carp1: BACKUP -> MASTER (preempting a slower master) > carp1: link state changed to UP > carp0: link state changed to UP > > > Please Help me. > Would you show me the following output to me? verbose dmesg output, "ifconfig bge0" and "sysctl dev.bge.0.stats" If you can easily reproduce the issue would you let me know how you can trigger this issue? From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 1 18:31:15 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED2ED10656C0 for ; Wed, 1 Sep 2010 18:31:14 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF118FC2F for ; Wed, 1 Sep 2010 18:31:14 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o81IVBLb082079; Wed, 1 Sep 2010 20:31:11 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o81IVAbF082078; Wed, 1 Sep 2010 20:31:10 +0200 (CEST) (envelope-from marius) Date: Wed, 1 Sep 2010 20:31:10 +0200 From: Marius Strobl To: Nathaniel W Filardo Message-ID: <20100901183110.GA81904@alchemy.franken.de> References: <20100829033124.GO13607@gradx.cs.jhu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100829033124.GO13607@gradx.cs.jhu.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Inactive pmap? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 18:31:15 -0000 On Sat, Aug 28, 2010 at 11:31:24PM -0400, Nathaniel W Filardo wrote: > I've been getting a few of these over the past while. I don't believe > there's a hardware problem. The hardware is a stock V240 uniprocessor > machine. > > FreeBSD hydra.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #18 > r211472+d3b8a13: Fri Aug 20 00:54:00 EDT 2010 > root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64 > > panic() at panic+0x1c8 > tlb_page_demap() at tlb_page_demap+0x148 > pmap_cache_enter() at pmap_cache_enter+0x1dc > pmap_kenter() at pmap_kenter+0x1b4 > pmap_qenter() at pmap_qenter+0x78 > sf_buf_alloc() at sf_buf_alloc+0x160 > zfs_freebsd_read() at zfs_freebsd_read+0x2cc > VOP_READ_APV() at VOP_READ_APV+0x108 > VOP_READ_AP() at VOP_READ_AP+0xc > null_bypass() at null_bypass+0x124 > VOP_READ_APV() at VOP_READ_APV+0x11c > vn_read() at vn_read+0x240 > dofileread() at dofileread+0x74 > kern_preadv() at kern_preadv+0x68 > pread() at pread+0x50 > syscall() at syscall+0x25c > -- syscall (475, FreeBSD ELF64, pread) %o7=0x4022d784 -- > userland() at 0x4022fa48 > user trace: trap %o7=0x4022d784 > pc 0x4022fa48, sp 0x7fdffffd891 > pc 0x4022b474, sp 0x7fdffffd9a1 > pc 0x4022b6b0, sp 0x7fdffffdcb1 > pc 0x4022c84c, sp 0x7fdffffdd71 > pc 0x40226e74, sp 0x7fdffffe4d1 > done > Uptime: 5d3h53m14s > > and > > FreeBSD hydra.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #17 > r210985+7fd3af5: Sat Aug 7 14:25:03 EDT 2010 > root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64 > > panic: tlb_page_demap: inactive pmap? > cpuid = 0 > KDB: stack backtrace: > panic() at panic+0x1c8 > tlb_page_demap() at tlb_page_demap+0x148 > pmap_cache_remove() at pmap_cache_remove+0x1a0 > pmap_kremove() at pmap_kremove+0x120 > pmap_qremove() at pmap_qremove+0x74 > sf_buf_free() at sf_buf_free+0x8 > zfs_freebsd_read() at zfs_freebsd_read+0x2f4 > VOP_READ_APV() at VOP_READ_APV+0x108 > VOP_READ_AP() at VOP_READ_AP+0xc > null_bypass() at null_bypass+0x124 > VOP_READ_APV() at VOP_READ_APV+0x11c > vn_read() at vn_read+0x240 > dofileread() at dofileread+0x74 > kern_preadv() at kern_preadv+0x68 > pread() at pread+0x50 > syscall() at syscall+0x25c > -- syscall (475, FreeBSD ELF64, pread) %o7=0x4020f784 -- > userland() at 0x40211a48 > user trace: trap %o7=0x4020f784 > pc 0x40211a48, sp 0x7fdffffd891 > pc 0x4020d474, sp 0x7fdffffd9a1 > pc 0x4020d6b0, sp 0x7fdffffdcb1 > pc 0x4020e84c, sp 0x7fdffffdd71 > pc 0x40208e74, sp 0x7fdffffe4d1 > done > Uptime: 8d4h57m37s > > Suggestions? Hrm, it seems next to impossible that this assertion is violated, especially on UP, as pm_active and pm_context are updated together, either with a lock held or when locking shouldn't be necessary yet. Are you running a kernel with or without options SMP on this machine? Could you please test whether the following patch makes a difference? http://people.freebsd.org/~marius/sparc64_pmap_pinit.diff Marius From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 1 21:53:59 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B879B10656B2 for ; Wed, 1 Sep 2010 21:53:59 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from Mail.elbekies.net (mail.elbekies.net [217.6.211.146]) by mx1.freebsd.org (Postfix) with ESMTP id 753818FC14 for ; Wed, 1 Sep 2010 21:53:59 +0000 (UTC) Received: from bel.soho.vwsoft.com (p57A0D00F.dip.t-dialin.net [87.160.208.15]) by Mail.elbekies.net (Postfix) with ESMTPA id 77DA82E037 for ; Wed, 1 Sep 2010 23:35:54 +0200 (CEST) Received: from [192.168.16.4] (dardanos.sz.vwsoft.com [192.168.16.4]) by bel.soho.vwsoft.com (Postfix) with ESMTP id 546CC33C86 for ; Wed, 1 Sep 2010 23:34:04 +0200 (CEST) Message-ID: <4C7EC72A.9030903@vwsoft.com> Date: Wed, 01 Sep 2010 23:35:38 +0200 From: volker@vwsoft.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100811 Thunderbird/3.0.6 MIME-Version: 1.0 To: sparc64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-ID: 77DA82E037.AB4FD X-Elbekies-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com MailScanner-NULL-Check: 1283981760.06422@ZiUD/M3liaPo4gRy1HfYng Cc: Subject: sparc64 boot0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 21:53:59 -0000 Dear list, I'm about to prepare boot media for a sparc64 installation (bought a cheap used Blade 1500). For amd64/i386 I usually do a bsdlabel -wB ...; newfs ; make install{world|kernel} blablabla to get things on a bootable usb thumb drive. I've already finished the cross build for TARGET_ARCH=sparc64 and am wondering which boot0 I will want to use for the thumb drive to get the Sun Blade booting? Haven't tried to power the Blade up (so I have no idea if there's an OS already on that used machine). Thanks Volker From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 1 23:54:06 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 774BD10656D5 for ; Wed, 1 Sep 2010 23:54:06 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id E889B8FC1A for ; Wed, 1 Sep 2010 23:54:05 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o81NW2VX083983; Thu, 2 Sep 2010 01:32:02 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o81NW2QN083982; Thu, 2 Sep 2010 01:32:02 +0200 (CEST) (envelope-from marius) Date: Thu, 2 Sep 2010 01:32:02 +0200 From: Marius Strobl To: volker@vwsoft.com Message-ID: <20100901233202.GA83851@alchemy.franken.de> References: <4C7EC72A.9030903@vwsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C7EC72A.9030903@vwsoft.com> User-Agent: Mutt/1.4.2.3i Cc: sparc64@freebsd.org Subject: Re: sparc64 boot0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 23:54:06 -0000 On Wed, Sep 01, 2010 at 11:35:38PM +0200, volker@vwsoft.com wrote: > Dear list, > > I'm about to prepare boot media for a sparc64 installation (bought a > cheap used Blade 1500). > > For amd64/i386 I usually do a bsdlabel -wB ...; newfs ; make > install{world|kernel} blablabla to get things on a bootable usb thumb drive. > > I've already finished the cross build for TARGET_ARCH=sparc64 and am > wondering which boot0 I will want to use for the thumb drive to get the > Sun Blade booting? > The disk layout of sun4u is way different from what you know from x86, f.e. it doesn't use a boot0 at all but only a boot1, which in the new world order is installed via gpart(8) just like on x86. In order to label a disk for sun4u on x86 with gpart(8) you'd need an x86 kernel built with options GEOM_PART_VTOC8 or the equivalent module, which likely noone has tried so far. There are more obstacles to what you are trying to though, f.e. FreeBSD isn't able to write a big-endian UFS on x86, apart from the fact that Blade 1500 probably don't support booting from USB drives ... The straight-forward way to install cross-built kernel and userland on a sun4u machine is to netboot it with them. Marius From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 2 14:51:47 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE940106579A; Thu, 2 Sep 2010 14:51:47 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 816A58FC14; Thu, 2 Sep 2010 14:51:47 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o82EpkVL032243; Thu, 2 Sep 2010 10:51:46 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o82EpkdM032242; Thu, 2 Sep 2010 14:51:46 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 2 Sep 2010 14:51:46 GMT Message-Id: <201009021451.o82EpkdM032242@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8_0 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 14:51:48 -0000 TB --- 2010-09-02 14:17:22 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-09-02 14:17:22 - starting RELENG_8_0 tinderbox run for sparc64/sparc64 TB --- 2010-09-02 14:17:22 - cleaning the object tree TB --- 2010-09-02 14:17:40 - cvsupping the source tree TB --- 2010-09-02 14:17:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8_0/sparc64/sparc64/supfile TB --- 2010-09-02 14:51:46 - WARNING: /usr/bin/csup returned exit code 1 TB --- 2010-09-02 14:51:46 - ERROR: unable to cvsup the source tree TB --- 2010-09-02 14:51:46 - 0.68 user 12.12 system 2064.38 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8_0-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 2 16:04:42 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06BB810656B0; Thu, 2 Sep 2010 16:04:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id BCFD28FC29; Thu, 2 Sep 2010 16:04:41 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o82G4fVL032546; Thu, 2 Sep 2010 12:04:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o82G4fmS032545; Thu, 2 Sep 2010 16:04:41 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 2 Sep 2010 16:04:41 GMT Message-Id: <201009021604.o82G4fmS032545@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8_1 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 16:04:42 -0000 TB --- 2010-09-02 15:28:33 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-09-02 15:28:33 - starting RELENG_8_1 tinderbox run for sparc64/sparc64 TB --- 2010-09-02 15:28:33 - cleaning the object tree TB --- 2010-09-02 15:28:46 - cvsupping the source tree TB --- 2010-09-02 15:28:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8_1/sparc64/sparc64/supfile TB --- 2010-09-02 16:04:41 - WARNING: /usr/bin/csup returned exit code 1 TB --- 2010-09-02 16:04:41 - ERROR: unable to cvsup the source tree TB --- 2010-09-02 16:04:41 - 0.62 user 8.91 system 2167.56 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8_1-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 2 17:16:34 2010 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5233106567A; Thu, 2 Sep 2010 17:16:34 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 676D68FC1B; Thu, 2 Sep 2010 17:16:34 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o82HGXRo032824; Thu, 2 Sep 2010 13:16:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o82HGXB4032823; Thu, 2 Sep 2010 17:16:33 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 2 Sep 2010 17:16:33 GMT Message-Id: <201009021716.o82HGXB4032823@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 17:16:34 -0000 TB --- 2010-09-02 16:42:24 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-09-02 16:42:24 - starting RELENG_8 tinderbox run for sparc64/sparc64 TB --- 2010-09-02 16:42:24 - cleaning the object tree TB --- 2010-09-02 16:42:36 - cvsupping the source tree TB --- 2010-09-02 16:42:36 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/sparc64/sparc64/supfile TB --- 2010-09-02 17:16:33 - WARNING: /usr/bin/csup returned exit code 1 TB --- 2010-09-02 17:16:33 - ERROR: unable to cvsup the source tree TB --- 2010-09-02 17:16:33 - 0.54 user 8.34 system 2049.27 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-sparc64-sparc64.full