From owner-freebsd-bugs@freebsd.org Thu Jul 18 20:13:24 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D898CB02E5 for ; Thu, 18 Jul 2019 20:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BC8906FE3F for ; Thu, 18 Jul 2019 20:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BA4FDB02E4; Thu, 18 Jul 2019 20:13:24 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA11DB02E3 for ; Thu, 18 Jul 2019 20:13:24 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C2066FE3D for ; Thu, 18 Jul 2019 20:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A5BCD4DF for ; Thu, 18 Jul 2019 20:13:24 +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 x6IKDOV5006768 for ; Thu, 18 Jul 2019 20:13:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6IKDOEj006767 for bugs@FreeBSD.org; Thu, 18 Jul 2019 20:13:24 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 239245] r350074 will panic on ppc64 PowerMac G5 in vm_phys_enqueue_contig Date: Thu, 18 Jul 2019 20:13:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: dclarke@blastwave.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: Message-ID: In-Reply-To: References: 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-Rspamd-Queue-Id: 9C2066FE3D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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, 18 Jul 2019 20:13:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239245 --- Comment #26 from Dennis Clarke --- (In reply to Francis Little from comment #25) I am working with a PowerMac G5 here with 8GB of memory and just a very trivial baseline install from the 12-RELEASE dvd. That means nothing from ports and not even pkg other than the stub in place.=20 So it took me a moment to figure out the command line for "fetch" which seems to be a little brother to big bad 'wget' :=20 hydra# pwd /usr/src/artifact hydra#=20 hydra# fetch --no-verify-peer https://artifact.ci.freebsd.org/snapshot/head/r350074/powerpc/powerpc64/ker= nel.txz kernel.txz 24 MB 12 MBps 02s hydra# ls=20 kernel.txz hydra# xz -dc kernel.txz | tar -xf -=20 hydra# ls boot kernel.txz usr hydra#=20 hydra#=20 hydra# uname -a=20 FreeBSD hydra 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC powerpc hydra# mv /boot/kernel /boot/kernel_r341666 hydra# mv boot/kernel /boot=20 hydra#=20 That should be all I need. However what is this stuff ?=20 hydra# ls -la usr/lib/debug/boot/kernel/ total 824 drwxr-xr-x 2 root wheel 512 Jul 17 02:22 . drwxr-xr-x 3 root wheel 512 Jul 17 02:22 .. -r-xr-xr-x 1 root wheel 543800 Jul 17 02:22 fuse.ko -r-xr-xr-x 1 root wheel 121696 Jul 17 02:22 if_tap.ko -r-xr-xr-x 1 root wheel 121696 Jul 17 02:22 if_tun.ko hydra#=20 I have no idea about those. I have my own already and I will save them : hydra#=20 hydra# cp -p /usr/lib/debug/boot/kernel/fuse.ko /usr/lib/debug/boot/kernel/fuse.ko_mine hydra# cp -p /usr/lib/debug/boot/kernel/if_tap.ko /usr/lib/debug/boot/kernel/if_tap.ko_mine hydra# cp -p /usr/lib/debug/boot/kernel/if_tun.ko /usr/lib/debug/boot/kernel/if_tun.ko_mine hydra#=20 hydra# cp -p usr/lib/debug/boot/kernel/* /usr/lib/debug/boot/kernel/ hydra#=20 Fine so .. that should be it for this "artifact" kernel stuff that we did not need to compile ourselves but you and I are clearly hitting a panic over and over. So I reboot now and interrupt the boot loader to set kern.smp.disabled=3D1 and guess what ?=20 The damn thing boots.=20 Moments like this cause me to lose faith in compilers and source code. Where was this kernel compiled and why is it different from what we have carefully home baked with just "make kernel" ?=20 I can ssh in from another machine just fine and look around : hydra#=20 hydra# uname -a=20 FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT r350074 GENERIC powerpc hydra#=20 hydra# sysctl -a | grep 'smp' kern.smp.maxid: 3 kern.smp.maxcpus: 256 kern.smp.active: 0 kern.smp.disabled: 1 kern.smp.cpus: 1 kern.smp.threads_per_core: 1 kern.smp.cores: 1 kern.smp.topology: 0 kern.smp.forward_signal_enabled: 1 "devfs","crossmp" hydra#=20 hydra# cat /etc/rc.conf clear_tmp_enable=3D"YES" syslogd_flags=3D"-ss" hostname=3D"hydra" ifconfig_bge0=3D"inet 172.16.35.8 netmask 0xffffffc0" defaultrouter=3D"172.16.35.1" sshd_enable=3D"YES" ntpd_enable=3D"YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev=3D"AUTO" hydra#=20 At this point I want to try a "shutdown -r 'now' " and see what smoke comes out. hydra#=20 hydra# shutdown -r 'now'=20 Shutdown NOW! shutdown: [pid 1074] hydra#=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 *** FINAL System shutdown message from dclarke@hydra ***=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 System going down IMMEDIATELY=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 System shutdown time has arrived Connection to 172.16.35.8 closed by remote host. Connection to 172.16.35.8 closed. . . . Now I watch as the machine does the usual openfirmware bits and just let it boot with zero input from me.=20 Boots fine. All cores available :=20 hydra# uname -a=20 FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT r350074 GENERIC powerpc hydra# uptime 8:10PM up 58 secs, 1 user, load averages: 0.57, 0.21, 0.08 hydra# sysctl -a | grep 'smp' kern.smp.maxid: 3 kern.smp.maxcpus: 256 kern.smp.active: 1 kern.smp.disabled: 0 kern.smp.cpus: 4 kern.smp.threads_per_core: 1 kern.smp.cores: 4 kern.smp.topology: 0 kern.smp.forward_signal_enabled: 1 "devfs","crossmp" hydra#=20 baffled.=20 Dennis --=20 You are receiving this mail because: You are the assignee for the bug.=