Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 01:16:45 +0000
From:      Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>
To:        freebsd-current@freebsd.org, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: panic on (hdd)load
Message-ID:  <200901030116.45837.Thomas.Sparrevohn@btinternet.com>
In-Reply-To: <495EAFE1.4040801@grohnwaldt.eu>
References:  <495E8F00.2050309@grohnwaldt.eu> <495EAFE1.4040801@grohnwaldt.eu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Saturday 03 January 2009 00:22:57 Uwe Grohnwaldt wrote:


This error occurs because of some DMA corruption when the PM changes was added
to the ATA framework. The error is actually related to the USB Umass device.

HPS has already identified the issue in the new USB stack but I don't think 
it has been solved yet ;-(

Try to disable umass devices and see what happens

> nox gave me some help to provide a kgdb backtrace:
> 
> Script started on Sat Jan  3 01:15:12 2009
> 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 "amd64-marcel-freebsd"...
> 
> Unread portion of the kernel message buffer:
> ad4: FAILURE - load data
> ad4: setting up DMA failed
> ad4: FAILURE - load data
> ad4: setting up gDMA failed
> _vfs_done():ad4s1a[WRITE(offset=2318434304, length=8192)]error = 5
> ad4: FAILURE - load data
> ad4: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> ad6: FAILURE - load data
> ad6: setting up DMA failed
> g_vfs_done():ad4s1d[READ(offset=394545070080, length=16384)]error = 5
> g_vfs_done():ad4s1d[READ(offset=394545086464, length=131072)]error = 5
> g_vfs_done():ad6s1a[WRITE(offset=83236225024, length=131072)]error = 5
> g_vfs_done():ad6s1a[WRITE(offset=83236749312, length=131072)]error = 5
> g_vfs_done():ad6s1a[WRITE(offset=83237142528, length=131072)]error = 5
> g_vfs_done():ad6s1a[WRITE(offset=81102749696, length=16384)]error = 5
> g_vfs_done():ad6s1a[WRITE(offset=83221839872, length=16384)]error = 5
> g_vfs_done():ad6s1a[WRITE(offset=83221905408, length=16384)]error = 5
> panic: bundirty: buffer 0xfffffffe932dd340 still on queue 1
> cpuid = 0
> KDB: enter: panic
> Physical memory: 4064 MB
> Dumping 631 MB: 616 600 584 568 552 536 520 504 488 472 456 440 424 408 
> 392 376 360 344 328 312 296 280 264 248 232 216 200 184 168 152 136 120 
> 104 88 72 56 40 24 8
> 
> #0  doadump () at pcpu.h:196
> 196     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) bt
> #0  doadump () at pcpu.h:196
> #1  0xffffffff801c6edc in db_fncall (dummy1=Variable "dummy1" is not 
> available.
> )
>     at /usr/src/sys/ddb/db_command.c:548
> #2  0xffffffff801c7211 in db_command (last_cmdp=0xffffffff80b3d120, 
> cmd_table=Variable "cmd_table" is not available.
> )
>     at /usr/src/sys/ddb/db_command.c:445
> #3  0xffffffff801c7460 in db_command_loop ()
>     at /usr/src/sys/ddb/db_command.c:498
> #4  0xffffffff801c9409 in db_trap (type=Variable "type" is not available.
> ) at /usr/src/sys/ddb/db_main.c:229
> #5  0xffffffff805565f5 in kdb_trap (type=3, code=0, tf=0xfffffffe40044910)
>     at /usr/src/sys/kern/subr_kdb.c:534
> #6  0xffffffff807e1da4 in trap (frame=0xfffffffe40044910)
>     at /usr/src/sys/amd64/amd64/trap.c:533
> #7  0xffffffff807c3e6e in calltrap ()
>     at /usr/src/sys/amd64/amd64/exception.S:217
> #8  0xffffffff805567cd in kdb_enter (why=0xffffffff808c2e59 "panic",
>     msg=0xa <Address 0xa out of bounds>) at cpufunc.h:63
> #9  0xffffffff8052729b in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:559
> #10 0xffffffff80598930 in bundirty (bp=Variable "bp" is not available.
> ) at /usr/src/sys/kern/vfs_bio.c:1055
> #11 0xffffffff8059aedd in brelse (bp=0xfffffffe932dd340)
>     at /usr/src/sys/kern/vfs_bio.c:1375
> #12 0xffffffff8059b42c in bufdone (bp=0xfffffffe932dd340)
>     at /usr/src/sys/kern/vfs_bio.c:3144
> #13 0xffffffff8072492c in ffs_backgroundwritedone (bp=0xfffffffe932dd340)
> ---Type <return> to continue, or q <return> to quit---
>     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1741
> #14 0xffffffff8059b401 in bufdone (bp=0xfffffffe932dd340)
>     at /usr/src/sys/kern/vfs_bio.c:3138
> #15 0xffffffff804d4be1 in g_io_schedule_up (tp=Variable "tp" is not 
> available.
> )
>     at /usr/src/sys/geom/geom_io.c:587
> #16 0xffffffff804d52cf in g_up_procbody () at 
> /usr/src/sys/geom/geom_kern.c:95
> #17 0xffffffff8050566a in fork_exit (
>     callout=0xffffffff804d5260 <g_up_procbody>, arg=0x0,
>     frame=0xfffffffe40044c90) at /usr/src/sys/kern/kern_fork.c:821
> #18 0xffffffff807c429e in fork_trampoline ()
>     at /usr/src/sys/amd64/amd64/exception.S:525
> #19 0x0000000000000000 in ?? ()
> #20 0x0000000000000000 in ?? ()
> #21 0x0000000000000001 in ?? ()
> #22 0x0000000000000000 in ?? ()
> #23 0x0000000000000000 in ?? ()
> #24 0x0000000000000000 in ?? ()
> #25 0x0000000000000000 in ?? ()
> #26 0x0000000000000000 in ?? ()
> #27 0x0000000000000000 in ?? ()
> #28 0x0000000000000000 in ?? ()
> #29 0x0000000000000000 in ?? ()
> #30 0x0000000000000000 in ?? ()
> ---Type <return> to continue, or q <return> to quit---
> #31 0x0000000000000000 in ?? ()
> #32 0x0000000000000000 in ?? ()
> #33 0x0000000000000000 in ?? ()
> #34 0x0000000000000000 in ?? ()
> #35 0x0000000000000000 in ?? ()
> #36 0x0000000000000000 in ?? ()
> #37 0x0000000000000000 in ?? ()
> #38 0x0000000000000000 in ?? ()
> #39 0x0000000000000000 in ?? ()
> #40 0x0000000000000000 in ?? ()
> #41 0x0000000000000000 in ?? ()
> #42 0x0000000000000000 in ?? ()
> #43 0x0000000000f20000 in ?? ()
> #44 0x0000000000000000 in ?? ()
> #45 0xffffffff80b79ec0 in affinity ()
> #46 0xffffffff80b79ec0 in affinity ()
> #47 0xffffff00014ea000 in ?? ()
> #48 0xfffffffe40044760 in ?? ()
> #49 0xfffffffe40044718 in ?? ()
> #50 0xffffff00014eb390 in ?? ()
> #51 0xffffffff80549810 in sched_switch (td=0x0, newtd=0xffffffff804d5260,
>     flags=Variable "flags" is not available.
> ) at /usr/src/sys/kern/sched_ule.c:1848
> Previous frame inner to this frame (corrupt stack?)
> (kgdb) bt full
> #0  doadump () at pcpu.h:196
> No locals.
> #1  0xffffffff801c6edc in db_fncall (dummy1=Variable "dummy1" is not 
> available.
> )
>     at /usr/src/sys/ddb/db_command.c:548
>         fn_addr = -2142082880
>         args = {-7515912464, -2145609658, -2135502000, 249969, 0, 
> -2135346976,
>   206158430216, -7515912448, -7515912608, -2145611378}
>         nargs = -2136837024
>         retval = Variable "retval" is not available.
> 
> 
> thanks,
> uwe
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200901030116.45837.Thomas.Sparrevohn>