Random reboots with wifi/wpa/iwm (12-alpha6)
Hi For a while I have had occasional random reboots. Today I managed to get 2 core dumps, both with the same backtrace. It might be the case that this only happens after the system has been resumed from S3 but I'm not sure. The second time the reboot was 30 minutes after resume. I'm using wpa_supplicant from pkg. Is this a known issue or should I file a report in bugzilla? Unread portion of the kernel message buffer: fault code = supervisor read data, page not present instruction pointer = 0x20:0x80682bed stack pointer = 0x28:0xfe009b4183d0 frame pointer = 0x28:0xfe009b418440 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 3266 (wpa_supplicant) trap number = 12 Dumping 1195 out of 16251 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..92% __curthread () at ./machine/pcpu.h:230 230 __asm("movq %%gs:%1,%0" : "=r" (td) (kgdb) #0 __curthread () at ./machine/pcpu.h:230 #1 doadump (textdump=0) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0x823adfe8 in vt_kms_postswitch () from /boot/modules.drm-v4.16/drm.ko #3 0x80521aac in vt_window_switch ( vw=0x80e8b960 ) at /usr/src/sys/dev/vt/vt_core.c:580 #4 0x8051ecc0 in vtterm_cngrab (tm=) at /usr/src/sys/dev/vt/vt_core.c:1572 #5 0x80640552 in cngrab () at /usr/src/sys/kern/kern_cons.c:370 #6 0x806a363b in vpanic (fmt=0x80afcafc "%s", ap=0xfe009b418120) at /usr/src/sys/kern/kern_shutdown.c:846 #7 0x806a3533 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:799 #8 0x80a3da6f in trap_fatal (frame=0xfe009b418310, eva=1040) at /usr/src/sys/amd64/amd64/trap.c:935 #9 0x80a3dac9 in trap_pfault (frame=0xfe009b418310, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:771 #10 0x80a3d0ee in trap (frame=0xfe009b418310) at /usr/src/sys/amd64/amd64/trap.c:441 #11 #12 __mtx_lock_sleep (c=0xfe00a21f71b0, v=) at /usr/src/sys/kern/kern_mutex.c:565 #13 0x8080d362 in psq_drain (psq=) at /usr/src/sys/net80211/ieee80211_power.c:187 #14 ieee80211_node_psq_drain (ni=0xfe00a21f4000) at /usr/src/sys/net80211/ieee80211_power.c:214 #15 0x80801a37 in node_cleanup (ni=0xfe00a21f4000) at /usr/src/sys/net80211/ieee80211_node.c:1238 #16 0x80801955 in node_free (ni=0xfe00a21f4000) at /usr/src/sys/net80211/ieee80211_node.c:1275 #17 0x80802e40 in ieee80211_sta_join1 (selbs=) at /usr/src/sys/net80211/ieee80211_node.c:865 #18 0x80803d74 in ieee80211_sta_join (vap=, chan=, se=) at /usr/src/sys/net80211/ieee80211_node.c:1037 #19 0x807f8de1 in setmlme_assoc_sta (vap=, mac=0xfe009b4185e4 "`\320,\017\035\330Courtyard_GUEST", ssid_len=, ssid=) at /usr/src/sys/net80211/ieee80211_ioctl.c:1579 #20 ieee80211_ioctl_setmlme (vap=, ireq=) at /usr/src/sys/net80211/ieee80211_ioctl.c:1636 #21 ieee80211_ioctl_set80211 (vap=, cmd=0, ireq=) at /usr/src/sys/net80211/ieee80211_ioctl.c:2907 #22 0x807a8b61 in ifioctl (so=0xf802342dca38, cmd=2149607914, data=, td=0xf8011b9b7000) at /usr/src/sys/net/if.c:3101 #23 0x8070e55d in fo_ioctl (fp=, com=, active_cred=0xf8011b9b7000, td=, data=) at /usr/src/sys/sys/file.h:330 #24 kern_ioctl (td=0xf8011b9b7000, fd=4, com=2149607914, data=0xfe887000 "") at /usr/src/sys/kern/sys_generic.c:800 #25 0x8070e27e in sys_ioctl (td=0xf8011b9b7000, uap=0xf8011b9b73c0) at /usr/src/sys/kern/sys_generic.c:712 #26 0x80a3e489 in syscallenter (td=) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:135 #27 amd64_syscall (td=0xf8011b9b7000, traced=0) at /usr/src/sys/amd64/amd64/trap.c:1050 #28 #29 0x000800828bba in ?? () Backtrace stopped: Cannot access memory at address 0x7fffe6f8 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Good motherboard for Ryzen (first-gen)
On Sat, 22 Sep 2018 20:28:22 +0200 Stefan Ehmann wrote: > Minor issues: > - powerd/amdtemp don't work correctly, I'll probably retest when > 12-BETA is out Will not. We does not have rep CPU temp offset table. Not sure about thing in base, but mine AMDTemp: https://reviews.freebsd.org/D9759 have sysctl tune for temperature offset, you can use it. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Good motherboard for Ryzen (first-gen)
On Fri, 21 Sep 2018 21:53:20 -0500 Eric van Gyzen wrote: > I would like to build a Ryzen desktop. Can anyone recommend a good > motherboard? https://www.hardwareluxx.de/community/f12/pga-am4-mainboard-vrm-liste-1155146.html Any MoBo based on IR35201 or ASP1405I. > I'm planning on a first-gen, because the second-gen has similar > stability problems as the first-gen had, and AMD hasn't released > errata for the second-gen yet (as far as I know...I would love to be > wrong). > I dont see any issies with Ryzens: 1300x (25 week), 2200G, 2700x. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Good motherboard for Ryzen (first-gen)
On Sat, Sep 22, 2018 at 5:53 AM, Eric van Gyzen wrote: I would like to build a Ryzen desktop. Can anyone recommend a good motherboard? I'm planning on a first-gen, because the second-gen has similar stability problems as the first-gen had, and AMD hasn't released errata for the second-gen yet (as far as I know...I would love to be wrong). IIRC the weird freeze/segfault bugs were only in the early batches of 1st gen. If you get 2nd gen, you're *definitely* getting a stable chip. My R7 1700 is from Aug 2017, never had any issues. So a 1st gen bought today should be fine too of course, unless *somehow* you get very very very old stock. I would like to be a cool kid with a Threadripper, but I can't justify the cost, so I'm thinking maybe a Ryzen 7 with /only/ 8 cores. :) Yeah, yeah. Good discounts on 1st gen Threadripper can be found these days though… but still there's board cost + RAM cost (you have to fill up 4 memory channels on TR if you want performance to not suck). Ideally, I want an Intel NIC, ECC memory support, and a 3-year warranty. For ECC, you can google board name + ecc ram. You can often find reports on forums/subreddits/whatever. Since you care about warranty, you probably don't care about overclocking, so do not watch the following videos: B450 boards — https://youtu.be/yWAwOH-egFs X470 — https://youtu.be/L8T2gzIkw78 :) But still, good power delivery is important for an 8-core even at stock settings, so avoid the latest ASUS TUF board, and super cheap boards in general. I have an MSI X370 SLI PLUS. The firmware is good, RGB lighting support is good (most important thing! lol. controllable under FreeBSD with https://github.com/nagisa/msi-rgb), the VRM is okay but not super great (8-core @ 1.39V 3.95GHz → ~100 ℃ without any direct airflow over the VRM heatsink). NIC is Realtek, recognized by re(4), I never tried it (I use a Mellanox card). Audio is Realtek, works fine 99% of the time (very occasionally sound stops working, sysctl dev.hdac.0.polling=1 brings it back). There is a pin header for the SPI flash chip to recover a failed firmware update (I actually did this once :D), but the pins are tiny (2mm instead of the usual 2.54). ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Good motherboard for Ryzen (first-gen)
On 9/22/18 4:53 AM, Eric van Gyzen wrote: I would like to build a Ryzen desktop. Can anyone recommend a good motherboard? I'm planning on a first-gen, because the second-gen has similar stability problems as the first-gen had, and AMD hasn't released errata for the second-gen yet (as far as I know...I would love to be wrong). I would like to be a cool kid with a Threadripper, but I can't justify the cost, so I'm thinking maybe a Ryzen 7 with /only/ 8 cores. :) Running Ryzen 7 2700 with Asus X470-PRO. No major problems so far. Minor issues: - powerd/amdtemp don't work correctly, I'll probably retest when 12-BETA is out - Linuxolator doesn't work (as petefrench pointed out) - Had a crash while backing up to external HDD but pretty sure the problem was a bad SATA connection The system does a lot of poudriere builds. Cannot comment on long-time stability, system is off at night. Ideally, I want an Intel NIC, ECC memory support, and a 3-year warranty. Board has an Intel igb NIC. According to the vendor "ECC support varies by CPU". But only found reports of ECC not working, not a single success story. The X370 board is a bit cheaper. Went for X470 because X370 boards may require firmware update for 2nd gen Ryzen. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored
On 9/21/18 10:10 PM, Rebecca Cran wrote: > On 9/21/18 10:00 PM, Warner Losh wrote: > >> That may be the issue... Does the patch I included help? I'm building now >> on my stable system, but it's slow... > > It does seem to have got further this time, so a cautious yes. I can change that to a definite yes: >>> World build completed on Fri Sep 21 22:48:30 MDT 2018 -- Rebecca ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Good motherboard for Ryzen (first-gen)
> I would like to build a Ryzen desktop.? Can anyone recommend a good > motherboard? I have oe of these: https://www.msi.com/Motherboard/X370-XPOWER-GAMING-TITANIUM but I just saw how much they are charging for it these days! I got one at about half that. I did originally get a B370 based board, but chnaged up for the X370 after I decided on a higher power Ryzen 7 and someone on ths list (can't remember who, sorry) reminded me that it would be more stable with the better quality power supplies on the non budget boards. It's a great board though. Ignore MSI slighly silly (as usual) promotional blurb and look at the specs and it's an excellent piece of kit. > I'm planning on a first-gen, because the second-gen has similar > stability problems as the first-gen had, and AMD hasn't released errata > for the second-gen yet (as far as I know...I would love to be wrong). Note that the Ryzen problems on FreeBSD aren't 100% solved yet - the Linux emulator doesn't work in STABLE, which might affect you ? Since the last BIOS upgrade and the patches in STABLE the system is certainly stable enough for a desktop though. I have only had two lockups since the last set of upgrades and I suspect that might have been related to me running virtual machines under VirtualBox as I stopped doing that and it's been fine ever since. > I would like to be a cool kid with a Threadripper, but I can't justify > the cost, so I'm thinking maybe a Ryzen 7 with /only/ 8 cores.? :) heh, yes, 8 cores and SMT makes for a ridiculously fast machine. Try a buildworld with -j16 on it. > Ideally, I want an Intel NIC, ECC memory support, and a 3-year warranty. Don't know about ECC, but the Titanium has an Intel NIC in it that works fine with igb driver. I used to drop in a separate Intel NIC card as so many of the boards came with cheap Realtek, but I dont have to with this one. Let us know how you get on -pete. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Speed problems with both system openssl and security/openssl-devel
Lev Serebryakov wrote this message on Mon, Sep 17, 2018 at 23:52 +0300: > Thursday, September 13, 2018, 2:46:46 AM, you wrote: > > > Linux have openssl 1.1.0f, and I've tried both system /usr/bin/openssl > > (1.0.2p) > > and /usr/local/bin/openssl from security/openssl-devel port (1.1.0i), > > results are > > virtually the same. I have "ASM" and "SSE2" options enabled in port. > > > What happens here? Why does FreeBSD's build of openssl use AES-NI so > > inefficient? > More datapoints. > > (1) aes-256-cbc behaves really wired. Time output is > completely bogus without "-elapsed" and speed is unbelievably low with > "-elapsed". aes-256-gcm doesn't have this anomaly This is because you're likely using /dev/crypto for the operations instead of software... $openssl engine (cryptodev) BSD cryptodev engine (dynamic) Dynamic engine loading support The times below are mesured on how much cpu time openssl spent, while all the work was done in the kernel... if you disable cryptodev usage, you should see better performance... > without "-elapsed" (please note "in 0.xxs" here): > > Doing aes-256-cbc for 3s on 16 size blocks: 503555 aes-256-cbc's in 0.60s > Doing aes-256-cbc for 3s on 64 size blocks: 520386 aes-256-cbc's in 0.54s > Doing aes-256-cbc for 3s on 256 size blocks: 435106 aes-256-cbc's in 0.44s > Doing aes-256-cbc for 3s on 1024 size blocks: 242832 aes-256-cbc's in 0.38s > Doing aes-256-cbc for 3s on 8192 size blocks: 49087 aes-256-cbc's in 0.09s > ... > aes-256-cbc 13393.26k61782.64k 254599.17k 663093.25k 4289287.51k > > Doing aes-256-gcm for 3s on 16 size blocks: 12051311 aes-256-gcm's in 3.03s > Doing aes-256-gcm for 3s on 64 size blocks: 6428598 aes-256-gcm's in 3.04s > Doing aes-256-gcm for 3s on 256 size blocks: 2122316 aes-256-gcm's in 3.00s > Doing aes-256-gcm for 3s on 1024 size blocks: 610443 aes-256-gcm's in 3.13s > Doing aes-256-gcm for 3s on 8192 size blocks: 75836 aes-256-gcm's in 3.03s > ... > aes-256-gcm 63611.04k 135380.66k 181104.30k 199531.13k 204947.96k > > with "-elapsed": > > Doing aes-256-cbc for 3s on 16 size blocks: 493829 aes-256-cbc's in 3.01s > Doing aes-256-cbc for 3s on 64 size blocks: 530550 aes-256-cbc's in 3.06s > Doing aes-256-cbc for 3s on 256 size blocks: 426699 aes-256-cbc's in 3.01s > Doing aes-256-cbc for 3s on 1024 size blocks: 243305 aes-256-cbc's in 3.03s > Doing aes-256-cbc for 3s on 8192 size blocks: 48069 aes-256-cbc's in 3.01s > ... > aes-256-cbc 2626.91k11087.41k36317.07k82191.94k 130919.48k > > Doing aes-256-gcm for 3s on 16 size blocks: 12041385 aes-256-gcm's in 3.08s > Doing aes-256-gcm for 3s on 64 size blocks: 6445757 aes-256-gcm's in 3.05s > Doing aes-256-gcm for 3s on 256 size blocks: 2129499 aes-256-gcm's in 3.01s > Doing aes-256-gcm for 3s on 1024 size blocks: 587396 aes-256-gcm's in 3.01s > Doing aes-256-gcm for 3s on 8192 size blocks: 75806 aes-256-gcm's in 3.03s > ... > aes-256-gcm 62590.75k 135047.68k 181245.26k 199977.06k 204866.89k -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"