From owner-freebsd-sparc64@FreeBSD.ORG Sun Nov 30 17:31:52 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97A8116A4CE for ; Sun, 30 Nov 2003 17:31:52 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09DA643FAF for ; Sun, 30 Nov 2003 17:31:49 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hB11T9Mg073814 for ; Sun, 30 Nov 2003 20:29:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hB11T9R3073811 for ; Sun, 30 Nov 2003 20:29:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 30 Nov 2003 20:29:09 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: sparc@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 01:31:52 -0000 Unfortunately, I didn't have dumps set up on this box. On the other hand, given that the panic was in the ata code, perhaps I wouldn't have got a dump anyway. This was with a November 18th GENERIC kernel on a blade100. dmesg also below. This appears to be highly reproduceable, and might be a property of the bgfsck running on the system. I'll try sliding forward to a more recent kernel, if I can keep the box up. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research db> show msgbuf msgbufp = 0xfffff80000407fe0 magic = 63062, size = 32736, r= 4790, w = 4860, ptr = 0xfffff80000400000, cksum= 377365 panic: trap: memory address not aligned cpuid = 0; Debugger("panic") ... db> trace panic() at panic+0x174 trap() at trap+0x3b4 -- memory address not aligned sfar=0xdedeadc0ee sfsr=0x40029 %o7=0xc007eda8 -- ata_prtdev() at ata_prtdev+0x14 ata_timeout() at ata_timeout+0x130 softclock() at softclock+0x1a0 ithread_loop() at ithread_loop+0x1b8 fork_exit() at fork_exit+0x84 fork_trampoline() at fork_trampoline+0x8 Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-CURRENT #0: Tue Nov 18 22:49:09 EST 2003 rwatson@ray.rv.nailabs.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc04b2000. Timecounter "tick" frequency 502000000 Hz quality 0 real memory = 268435456 (256 MB) avail memory = 248004608 (236 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (502.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre (US-IIe) compatible, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [FAST] DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 ebus0: revision 0x01 ebus0: : incomplete ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at dev ice 12.0 on pci0 ebus0: addr 0-0xfffff (no driver attached) eeprom0: addr 0x100000000-0x100001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 830dd49f isab0: at device 7.0 on pci0 isa0: on isab0 gem0: mem 0x400000-0x41ffff at device 12.1 on pci0 miibus0: on gem0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: Ethernet address: 00:03:ba:0d:d4:9f, 2KB RX fifo, 2KB TX fifo fwohci0: vendor=108e, dev=1102 fwohci0: <1394 Open Host Controller Interface> mem 0x422000-0x4227ff,0x420000-0x 4207ff at device 12.2 on pci0 fwohci0: Could not allocate irq device_probe_and_attach: fwohci0 attach returned 6 pci0: at device 12.3 (no driver attached) pci0: at device 3.0 (no driver attached) pci0: at device 8.0 (no driver attached) atapci0: port 0xa20-0xa2f,0xa08-0xa0b,0xa10 -0xa17,0xa18-0xa1b,0xa00-0xa07 at device 13.0 on pci0 atapci0: [MPSAFE] ata2: at 0xa00 on atapci0 ata2: [MPSAFE] ata3: at 0xa10 on atapci0 ata3: [MPSAFE] pci0: at device 19.0 (no driver attached) pcib1: at device 5.0 on pci0 pci1: on pcib1 Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xfffff800006e68a0 ad0: 19458MB [39535/16/63] at ata2-master UDMA66 acd0: CDRW at ata2-slave PIO4 Mounting root from ufs:/dev/ad0a WARNING: / was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 4 files 1 /var: superblock summary recomputed