Date: Sun, 28 May 2006 02:13:17 +0200 From: Michael Ortmann <mortmann@googlemail.com> To: freebsd-sparc64@freebsd.org Subject: Re: panic: trap: memory address not aligned - debug information Message-ID: <4478EB1D.7070909@googlemail.com> In-Reply-To: <65dcde740605261009w77a7524ao3db3be74659ffe03@mail.gmail.com> References: <4476C40B.7060709@googlemail.com> <65dcde740605261009w77a7524ao3db3be74659ffe03@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
sorry, i forgot *DB options in kernel config. so here is more debug information. hope that helps. regards, Michael Ortmann ======== server5# kgdb -n 0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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-marcel-freebsd". Unread portion of the kernel message buffer: tap0: Ethernet address: 00:bd:00:00:d1:00 panic: trap: memory address not aligned cpuid = 0 KDB: enter: panic panic: from debugger cpuid = 0 Uptime: 1m36s Dumping 512 MB (1 chunks) chunk at 0xa0000000: 536870912 bytes | #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 savectx(&dumppcb); (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0x00000000c014bc78 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0x00000000c014c118 in panic (fmt=0xc02e9dd8 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0x00000000c00a2270 in db_panic (addr=3222722396, have_addr=0, count=-1, modif=0xd64ea8a0 "") at /usr/src/sys/ddb/db_command.c:438 #4 0x00000000c00a21d4 in db_command (last_cmdp=0xc035b260, cmd_table=0x0, aux_cmd_tablep=0xc0312368, aux_cmd_tablep_end=0xc0312380) at /usr/src/sys/ddb/db_command.c:350 #5 0x00000000c00a22f8 in db_command_loop () at /usr/src/sys/ddb/db_command.c:458 #6 0x00000000c00a4ed8 in db_trap (type=-699487568, code=0) at /usr/src/sys/ddb/db_main.c:221 #7 0x00000000c016db88 in kdb_trap (type=107, code=0, tf=0xd64ead30) at /usr/src/sys/kern/subr_kdb.c:473 #8 0x00000000c02cd70c in trap (tf=0xd64ead30) at /usr/src/sys/sparc64/sparc64/trap.c:307 #9 0x00000000c0058fe0 in tl1_trap () #10 0x00000000c016d75c in kdb_enter (msg=0xc02f6858 "panic") at /usr/src/sys/kern/subr_kdb.c:267 #11 0x00000000c016d75c in kdb_enter (msg=0xc02f6858 "panic") at /usr/src/sys/kern/subr_kdb.c:267 #12 0x00000000c014c028 in panic (fmt=0xc030ea28 "trap: %s") at /usr/src/sys/kern/kern_shutdown.c:549 #13 0x00000000c02cd898 in trap (tf=0xd64eb130) at /usr/src/sys/sparc64/sparc64/trap.c:369 #14 0x00000000c0058fe0 in tl1_trap () #15 0x00000000c01e3aa8 in tapioctl (dev=0xfffff800b7222800, cmd=18446735280506711616, data=0x0, flag=2818248, td=0x0) at atomic.h:278 #16 0x00000000c0117e6c in dev_refthread (dev=0xfffff800a430a200) at /usr/src/sys/kern/kern_conf.c:124 #17 0x00000000c0118284 in giant_ioctl (dev=0xfffff800b6e1b800, cmd=2147772029, data=0xd64eb53c "", fflag=7, td=0xfffff800ac44ae40) at /usr/src/sys/kern/kern_conf.c:288 #18 0x00000000c00f71b4 in devfs_ioctl_f (fp=0xfffff800a63f4d98, com=2147772029, data=0xd64eb53c, cred=0xfffff800b8265800, td=0xfffff800ac44ae40) at /usr/src/sys/fs/devfs/devfs_vnops.c:407 #19 0x00000000c011c8bc in kern_fcntl (td=0xfffff800ac44ae40, fd=6, cmd=4, arg=4) at file.h:258 #20 0x00000000c011c0d8 in fcntl (td=0xfffff800ac44ae40, uap=0xd64eb8c0) at /usr/src/sys/kern/kern_descrip.c:339 #21 0x00000000c02cdea4 in syscall (tf=0xd64eb880) at /usr/src/sys/sparc64/sparc64/trap.c:592 #22 0x00000000c0058dc0 in tl0_intr () #23 0x0000000000000000 in ?? () (kgdb) bt full #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 No locals. #1 0x00000000c014bc78 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 first_buf_printf = 1 #2 0x00000000c014c118 in panic (fmt=0xc02e9dd8 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:565 td = (struct thread *) 0xfffff800ac44ae40 bootopt = 260 newpanic = 0 ap = 0xd64ea798 buf = "trap: memory address not aligned", '\0' <repeats 223 times> #3 0x00000000c00a2270 in db_panic (addr=3222722396, have_addr=0, count=-1, modif=0xd64ea8a0 "") at /usr/src/sys/ddb/db_command.c:438 No locals. #4 0x00000000c00a21d4 in db_command (last_cmdp=0xc035b260, cmd_table=0x0, aux_cmd_tablep=0xc0312368, aux_cmd_tablep_end=0xc0312380) at /usr/src/sys/ddb/db_command.c:350 cmd = (struct command *) 0xc02d4258 t = -1072244900 modif = '\0' <repeats 20 times>, "À.\235è", '\0' <repeats 12 times>, "À1#h\000\000\000\000À1#\200\000\000\000\000ÖNªx\000\000\000\000\000\000\000 \000\000\000\000ÖN¡1\000\000\000\000À\n\"Ð\000\000\000\000À0\201a\000\000\000\000\000\000\000\001", '\0' <repeats 15 times>, "\020\000\000\000\000ÖN©¸" addr = 3222722396 count = -1 have_addr = 0 result = -1072244900 #5 0x00000000c00a22f8 in db_command_loop () at /usr/src/sys/ddb/db_command.c:458 No locals. #6 0x00000000c00a4ed8 in db_trap (type=-699487568, code=0) at /usr/src/sys/ddb/db_main.c:221 jb = {{_jb = {3595477745, 3221900884, 3595477489, 1259744, 657130000903, 0}}} prev_jb = (void *) 0x0 bkpt = 0 #7 0x00000000c016db88 in kdb_trap (type=107, code=0, tf=0xd64ead30) at /usr/src/sys/kern/subr_kdb.c:473 did_stop_cpus = 1 handled = 0 #8 0x00000000c02cd70c in trap (tf=0xd64ead30) at /usr/src/sys/sparc64/sparc64/trap.c:307 td = (struct thread *) 0xfffff800ac44ae40 p = (struct proc *) 0x12 sticks = 3224332381 error = 0 sig = 0 #9 0x00000000c0058fe0 in tl1_trap () No symbol table info available. #10 0x00000000c016d75c in kdb_enter (msg=0xc02f6858 "panic") at /usr/src/sys/kern/subr_kdb.c:267 No locals. #11 0x00000000c016d75c in kdb_enter (msg=0xc02f6858 "panic") at /usr/src/sys/kern/subr_kdb.c:267 No locals. #12 0x00000000c014c028 in panic (fmt=0xc030ea28 "trap: %s") at /usr/src/sys/kern/kern_shutdown.c:549 td = (struct thread *) 0xfffff800ac44ae40 bootopt = 256 newpanic = 1 ap = 0xd64eb038 buf = "trap: memory address not aligned", '\0' <repeats 223 times> #13 0x00000000c02cd898 in trap (tf=0xd64eb130) at /usr/src/sys/sparc64/sparc64/trap.c:369 td = (struct thread *) 0xfffff800ac44ae40 p = (struct proc *) 0x40acd028 sticks = 0 error = -1070536152 sig = -1069914416 #14 0x00000000c0058fe0 in tl1_trap () No symbol table info available. #15 0x00000000c01e3aa8 in tapioctl (dev=0xfffff800b7222800, cmd=18446735280506711616, data=0x0, flag=2818248, td=0x0) at atomic.h:278 _tid = 18446735280506711616 tp = (struct tap_softc *) 0xfffff800b7222800 ifp = (struct ifnet *) 0xfffff800b7222800 f = 0 #16 0x00000000c0117e6c in dev_refthread (dev=0xfffff800a430a200) at /usr/src/sys/kern/kern_conf.c:124 csw = (struct cdevsw *) 0xc033b968 #17 0x00000000c0118284 in giant_ioctl (dev=0xfffff800b6e1b800, cmd=2147772029, data=0xd64eb53c "", fflag=7, td=0xfffff800ac44ae40) at /usr/src/sys/kern/kern_conf.c:288 retval = -1226721280 #18 0x00000000c00f71b4 in devfs_ioctl_f (fp=0xfffff800a63f4d98, com=2147772029, data=0xd64eb53c, cred=0xfffff800b8265800, td=0xfffff800ac44ae40) at /usr/src/sys/fs/devfs/devfs_vnops.c:407 dev = (struct cdev *) 0xfffff800b6e1b800 dsw = (struct cdevsw *) 0xc033b968 vp = (struct vnode *) 0x0 vpold = (struct vnode *) 0xfffff800a63f4d98 error = 0 i = -699484868 p = 0xfffff800a63f4d98 "ÿÿø" fgn = (struct fiodgname_arg *) 0xfffff800ac44ae40 #19 0x00000000c011c8bc in kern_fcntl (td=0xfffff800ac44ae40, fd=6, cmd=4, arg=4) at file.h:258 fdp = (struct filedesc *) 0xfffff800b5574000 flp = (struct flock *) 0x4 fp = (struct file *) 0xfffff800a63f4d98 p = (struct proc *) 0xfffff800ac509730 pop = 0x0 vp = (struct vnode *) 0x4 newmin = 4 error = 0 flg = 64 tmp = 0 giant_locked = 1 #20 0x00000000c011c0d8 in fcntl (td=0xfffff800ac44ae40, uap=0xd64eb8c0) at /usr/src/sys/kern/kern_descrip.c:339 fl = {l_start = 1076725760, l_len = 13961625600, l_pid = 0, l_type = 16, l_whence = 13760} arg = 4 error = 0 #21 0x00000000c02cdea4 in syscall (tf=0xd64eb880) at /usr/src/sys/sparc64/sparc64/trap.c:592 callp = (struct sysent *) 0xc0328f48 td = (struct thread *) 0xfffff800ac44ae40 args = {3595481025, 3221589432, 3, 4098, -1, 0, 0, 2331749840166286707} argp = (register_t *) 0xd64eb8c0 p = (struct proc *) 0xfffff800ac509730 sticks = 50 code = 92 tpc = 1085067300 reg = 0 regcnt = 6 narg = 3 error = 0 #22 0x00000000c0058dc0 in tl0_intr () No symbol table info available. #23 0x0000000000000000 in ?? () No symbol table info available.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4478EB1D.7070909>