From nobody Wed Oct 09 20:27:45 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XP4FY4K7Mz5Yy1J for ; Wed, 09 Oct 2024 20:27:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XP4FY36qcz4WcK for ; Wed, 9 Oct 2024 20:27:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728505665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FH9L8V5tIKkO//fyPa3F9UpczYuzRoZmsS6MoUYuXqo=; b=Jm2Thg0whj+kBee+GHauc76vYc15hds/cw3/3e8tT698irAyFUEorYX0vsCqa5X02bUvr3 V5mihPVay0Et8VkHXYxQmNkVyx/5Sfm4oeP7es98llCR5Lrs5umjzPW49MNzaTjxKrkmKS BkppCzHhuRp1LqTo1TQWFuUPG9wofkZYgMlRBqP5T6AZ3IxBmGcytjkXIhwYthG09N6sm7 oyhrjZhdsXtXzV+4816ovKSj84ksu9aZppCaBee9Nc2sDfXXMgtZD39U4xC2Y3gR0+50AX yGt8gSEdkoz4UcvfcWOR/rhZRFONw8thv06qufGOW8Zu4S3sULX0kjBO6KabbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728505665; a=rsa-sha256; cv=none; b=DO/SwVjQSJXwuztqYg4QwnJhpRe6LBgvK40JeKq7uqBNOIXONrMHASe1flOSOur+adkK8F M0GrKe9s3VNBYNtNOSjf2D+noEggOfPYYWpY9hOoQSGHjbK3e97l9rnFlp2Gz6UED8OfTz K1BqG47TfL4fZSBkY2jsnnEZvLnUV0WzgOHX6kzG/zVQIyhKlrGY0nLQTqzdiaxAUU5t0t mGJTwk/cXr3G3ZPEicC3XVVvd6vc/98olCZvF9nCsMvYGndMBnCtnNjmIDotjPF9ZFMyvU E33fcdlqAYygKCdAlNnK3UqCdFuNLph+55o0ZVXAcMLJGWRkJrWRjPiZ6VWWuw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XP4FY2fJWzSSm for ; Wed, 9 Oct 2024 20:27:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 499KRjOA087955 for ; Wed, 9 Oct 2024 20:27:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 499KRjqv087954 for bugs@FreeBSD.org; Wed, 9 Oct 2024 20:27:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281978] g_io_request panic on md(4) with odd size Date: Wed, 09 Oct 2024 20:27:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281978 Bug ID: 281978 Summary: g_io_request panic on md(4) with odd size Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bz@FreeBSD.org I have in the past done this but after a recent update it panics on boot wi= th a DEBUG kernel: I am pre-loading an md(4)image file from loader which has an odd size (md0 = is a root image which seems fine if I disable the md1): md1: Preloaded image 61281 bytes at 0xffff000005f95eb0 This leads to a panic when geom tries to taste but doesn't find a file syst= em or disk-sized image: panic: wrong offset 60769 for sectorsize 512 cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x58 vpanic() at vpanic+0x220 panic() at panic+0x48 g_io_request() at g_io_request+0x5e4 g_read_data() at g_read_data+0xc8 g_label_generic_taste() at g_label_generic_taste+0x90 g_label_taste() at g_label_taste+0x268 g_load_class() at g_load_class+0x23c g_run_events() at g_run_events+0x13c fork_exit() at fork_exit+0x98 fork_trampoline() at fork_trampoline+0x18 KDB: enter: panic [ thread pid 14 tid 100075 ] Stopped at kdb_enter+0x78: str xzr, [x21, #2048] --=20 You are receiving this mail because: You are the assignee for the bug.=