From owner-freebsd-bugs@freebsd.org Thu Mar 28 16:09:38 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E20121561AB6 for ; Thu, 28 Mar 2019 16:09:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 76CDF77763 for ; Thu, 28 Mar 2019 16:09:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3B25F1561AB5; Thu, 28 Mar 2019 16:09:37 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1655D1561AB4 for ; Thu, 28 Mar 2019 16:09:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98B2677761 for ; Thu, 28 Mar 2019 16:09:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E1BBA3C22 for ; Thu, 28 Mar 2019 16:09:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2SG9Zig018865 for ; Thu, 28 Mar 2019 16:09:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2SG9ZoB018864 for bugs@FreeBSD.org; Thu, 28 Mar 2019 16:09:35 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 236854] kernel exception at boot time Date: Thu, 28 Mar 2019 16:09:35 +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: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@canmos.net 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 16:09:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236854 Bug ID: 236854 Summary: kernel exception at boot time Product: Base System Version: 11.2-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: admin@canmos.net Hello! I have seen strange situation during of system boot when rootfs should be mounted on /dev/md0 (ramdisk): When system starts to boot into loaded kernel there is the following except= ion: FreeBSD/amd64 EFI loader, Revision 1.1 (Fri Jun 22 04:20:29 UTC 2018 root@releng2.nyi.freebsd.org) Load Path: HD(2,GPT,56BFC0A5-33B0-11E9-9FAC-A4BF012E952E,0x64028,0x139BF= F8) Load Device: PciRoot(0x9)/Pci(0x0,0x0)/Pci(0x0,0x0)/Ctrl(0x1)/Scsi(0x6,0x0)/H Btart @ 0xffffffff80310000 ...s, 'help' for more detailed help.rompt.x16aee0+0x8 !!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000= 000 !!!! RIP - 000000005B869C63, CS - 0000000000000038, RFLAGS - 0000000000010206 ExceptionData - 0000000000000000 RAX - 0000000000000002, RCX - 0000000000000000, RDX - 2E36E95DE5894855 RBX - 0000000000000000, RSP - 000000006C0D2D58, RBP - 000000006C0D2E50 RSI - 000000005B899778, RDI - 000000005B88AC30 R8 - 00000000FFFFFFFB, R9 - 8080808080808080, R10 - 00000000FFFFFFF8 R11 - 000000006C0D2AE0, R12 - 000000005B88F210, R13 - 000000005B89D6D8 R14 - 000000005B88F200, R15 - 0000000000000002 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080000013, CR2 - 0000000000000000, CR3 - 000000006C033000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 000000006A510DE0 0000000000000047, LDTR - 0000000000000000 IDTR - 000000006A509018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000006C0D29B0 !!!! Find PE image (No PDB) (ImageBase=3D000000005B843000, EntryPoint=3D000000005B849E50) !!!! [closing the connection] I catched it via SOL (Serial over LAN). Could you please help me to know - = is this a bug or maybe i forget about some specific settings? My /boot/loader.conf looks like: # old style beastie_disable=3D"YES" # system mrsas_load=3D"YES" geom_mirror_load=3D"YES" # rootfs on ramdisk initmd_load=3D"YES" initmd_type=3D"md_image" initmd_name=3D"/boot/boot.md" #100MB file size rootdev=3D"ufs:/dev/md0" I'm booting with UEFI support. My kernel is GENERIC but i recompiled it wit= hout mrsas driver. I load the driver via kernel module compiled from fresh sourc= es downloaded from MegaRAID site manufacturer. The log of this driver looks like: AVAGO MegaRAID SAS FreeBSD mrsas driver version: 07.708.02.00 mrsas0: port 0xf000-0xf0ff mem 0x39fffff00000-0x39ffffffffff,0x39ffffe00000-0x39ffffefffff,0xee800000-0xee= 8fffff at device 0.0 numa-domain 1 on pci11 mrsas0: Using MSI-X with 40 number of vectors mrsas0: FW supports <128> MSIX vector,Online CPU 40 Current MSIX <40> mrsas0: NVME page size : (4096) mrsas0: FW supports SED mrsas0: FW supports JBOD Map mrsas0: FW supports JBOD Map Ext mrsas0: Jbod map is supported mrsas0: System PD created target ID: 0x6 mrsas0: System PD created target ID: 0x7 mrsas0: System PD created target ID: 0x8 mrsas0: System PD created target ID: 0x9 mrsas0: MSI-x interrupts setup success And i use GEOM mirror. When i remove the strings from /boot/loader.conf: # rootfs on ramdisk initmd_load=3D"YES" initmd_type=3D"md_image" initmd_name=3D"/boot/boot.md" rootdev=3D"ufs:/dev/md0" - then my system boots as usual. Thank you for helpl in advance! --=20 You are receiving this mail because: You are the assignee for the bug.=