Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2016 23:01:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 214721] [geom] [panic] graid panic: g_read_data: invalid length 262144
Message-ID:  <bug-214721-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214721

            Bug ID: 214721
           Summary: [geom] [panic] graid panic: g_read_data: invalid
                    length 262144
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: nvass@gmx.com

Hi,

When one creates a provider with sector size larger than 32768, geom_raid w=
ill
trigger a kernel panic. g_raid_md_taste_promise() calls g_read_data() with
length > MAXPHYS (4 * sectorsize).

panic: g_read_data(): invalid length 262144
cpuid =3D 3
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007b6d4=
7a0
vpanic() at vpanic+0x182/frame 0xfffffe007b6d4820
kassert_panic() at kassert_panic+0x126/frame 0xfffffe007b6d4890
g_read_data() at g_read_data+0x45/frame 0xfffffe007b6d48d0
g_raid_md_taste_promise() at g_raid_md_taste_promise+0x104/frame
0xfffffe007b6d49c0
g_raid_taste() at g_raid_taste+0x18b/frame 0xfffffe007b6d4a10
g_new_provider_event() at g_new_provider_event+0xea/frame 0xfffffe007b6d4a30
g_run_events() at g_run_events+0x187/frame 0xfffffe007b6d4a70

How to repeat:
mdconfig -at swap -S 65536 -s 20M

This is similar to bug 147851 which was related to geom_raid3.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214721-8>