panic: trap: memory address not aligned in ata_prtdev() with Nov 18 GENERIC

Robert Watson rwatson at
Sun Nov 30 17:31:52 PST 2003

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

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at      Senior Research Scientist, McAfee Research

db> show msgbuf
msgbufp = 0xfffff80000407fe0
magic = 63062, size = 32736, r= 4790, w = 4860, ptr = 0xfffff80000400000,
panic: trap: memory address not aligned
cpuid = 0;
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 at
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: <OpenFirmware Nexus device>
pcib0: <U2P UPA-PCI bridge> 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: <OFW PCI bus> on pcib0
ebus0: revision 0x01
ebus0: <idprom>: incomplete
ebus0: <PCI-EBus3 bridge> mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff
at dev
ice 12.0 on pci0
ebus0: <flashprom> addr 0-0xfffff (no driver attached)
eeprom0: <EBus EEPROM/clock> addr 0x100000000-0x100001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 830dd49f
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
gem0: <Sun ERI 10/100 Ethernet Adaptor> mem 0x400000-0x41ffff at device
12.1 on 
miibus0: <MII bus> on gem0
ukphy0: <Generic IEEE 802.3u media interface> 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
4207ff at device 12.2 on pci0
fwohci0: Could not allocate irq
device_probe_and_attach: fwohci0 attach returned 6
pci0: <serial bus, USB> at device 12.3 (no driver attached)
pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
pci0: <multimedia, audio> at device 8.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA66 controller> port
-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: <display, VGA> at device 19.0 (no driver attached)
pcib1: <OFW PCI-PCI bridge> at device 5.0 on pci0
pci1: <OFW PCI bus> on pcib1
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xfffff800006e68a0
ad0: 19458MB <ST320414A> [39535/16/63] at ata2-master UDMA66
acd0: CDRW <LTN486S> 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

More information about the freebsd-sparc64 mailing list