[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450 --- Comment #18 from Pablo Ruiz--- I've tried the following patch: diff --git a/sys/x86/x86/delay.c b/sys/x86/x86/delay.c index 8cbe6012a96..00dfff48c19 100644 --- a/sys/x86/x86/delay.c +++ b/sys/x86/x86/delay.c @@ -70,7 +70,7 @@ delay_tc(int n) func = get_tsc; mask = ~0u; } else { - if (tc->tc_quality <= 0) + if (tc->tc_quality <= 0 || n == 1) return (0); func = tc->tc_get_timecount; mask = tc->tc_counter_mask; diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c index 04975dd8a2e..c2a90e9a7d4 100644 --- a/sys/x86/x86/mp_x86.c +++ b/sys/x86/x86/mp_x86.c @@ -952,7 +952,7 @@ init_secondary_tail(void) #endif mtx_unlock_spin(_boot_mtx); -while(1); +//while(1); /* Wait until all the AP's are up. */ while (atomic_load_acq_int(_started) == 0) . But I got to 'db' prompt to: cpu0 BSP: ID: 0x VER: 0x80050010 LDR: 0x DFR: 0x lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff timer: 0x000100ef therm: 0x0001 err: 0x00f0 pmc: 0x00010400 AMD ext features: 0x00010003 AMD elvt0: 0x0001 SMP: AP CPU #1 Launched! cpu1 AP: FFa tFa FFa FFa Fa kFernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x441 fault code = supervisor read data, page not present instruction pointer = 0x20:0x80ffb704 stack pointer = 0x28:0xfe001b97ba90 frame pointer = 0x28:0xfe001b97baa0 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= resume, IOPL = 0 current process = 11 (idle: cpu2) [ thread pid 11 tid 15 ] Stopped at spinlock_exit+0x14: movq0x440(%rbx),%rax db> show thread Thread 15 at 0xf8000332c000: proc (pid 11): 0xf80003328000 name: idle: cpu2 stack: 0xfe001b9a6000-0xfe001b9a9fff flags: 0x40024 pflags: 0x20 state: CAN RUN priority: 255 container lock: sched lock 0 (0x827ee880) db> bt Tracing pid 11 tid 15 td 0xf8000332c000 spinlock_exit() at spinlock_exit+0x14/frame 0xfe001b97baa0 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bb10 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97bb50 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bbc0 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97bc00 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bc70 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97bcb0 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bd20 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97bd60 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bdd0 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97be10 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97be80 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97bec0 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bf30 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97bf70 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97bfe0 i8254_delay() at i8254_delay+0x143/frame 0xfe001b97c020 _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0xa5/frame 0xfe001b97c090 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450 --- Comment #17 from Pablo Ruiz--- Hi John, The CPU mode is 'AMD Opteron(tm) Processor SE (Dual Core)'. I'll try the patch you suggested and report back.. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 217149] seq(1) inconsistently omits 'last' when using float increment
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Mark Linimonchanged: What|Removed |Added Keywords||patch -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450 Mark Linimonchanged: What|Removed |Added Keywords||patch -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225791] ena driver causing kernel panics on AWS EC2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225791 Mark Linimonchanged: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|freebsd-virtualization@Free ||BSD.org -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225792] ECMP is broken since tryforward()
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225792 Mark Linimonchanged: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|freebsd-...@freebsd.org Keywords||regression -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225795 Mark Linimonchanged: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|freebsd...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225794] VM images for 12.0-CURRENT have problem with USB 3.0 ports
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225794 Mark Linimonchanged: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|freebsd-virtualization@Free ||BSD.org Keywords||regression -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225838] clang error on 10.4 i386 - ran out of registers during register allocation
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225838 Mark Linimonchanged: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|freebsd-toolchain@FreeBSD.o ||rg -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 217149] seq(1) inconsistently omits 'last' when using float increment
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 fernando.apesteg...@gmail.com changed: What|Removed |Added CC||fernando.apesteguia@gmail.c ||om --- Comment #4 from fernando.apesteg...@gmail.com --- Created attachment 190550 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190550=edit patch to /usr.bin/seq/seq.c I added some lines on top of Yuri's patch to handle the special case of missing 'last'. With this new patch: $ ./seq 1.6 .05 2 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 $ ./seq 1.65 .05 2 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 $ ./seq 1.1 0.1 1.2 1.1 1.2 $ ./seq 1.1 0.3 1.2 1.1 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 223969] EFI boot failure with iPXE mapped disks
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223969 --- Comment #10 from commit-h...@freebsd.org --- A commit references this bug: Author: kevans Date: Mon Feb 12 17:44:38 UTC 2018 New revision: 329175 URL: https://svnweb.freebsd.org/changeset/base/329175 Log: MFC Loader Fixes 2017q4p7: r324844,r326089,r326926,r326440,r326484,r326494, r326588,r326708,r326784,r326914,r327390,r328446,r326090,r326143,r326144, r326182,r326384,r326421,r326440,r326441,r326442,r326443,r326444,r326445, r326446,r326447,r326448,r326484,r326485,r326486,r326487,r326488,r326490, r326491,r326492,r326493,r326494,r326495,r326504,r326507,r326509,r326584, r326585,r326586,r326587,r326588,r326589,r326590,r326591,r326592,r326593, r326594,r326600,r326616,r326671,r326707,r326708,r326709,r326710,r326711, r326712,r326714,r326720,r326768,r326772,r326784,r326792,r326812,r326854, r326855,r326856,r326858,r326886,r326887,r326914,r326926,r326927,r326960, r326961,r326962,r326963,r327351,r327453,r327390,r327523,r327524,r326489, r327880,r328437,r328438,r328439,r328441,r328446,r328448,r328449,r328612, r328613,r328615 While here, undo our libfdt hack of not including if we're compiling _STANDALONE. r324844: When building standalone, don't define errno. Let the definition from stand.h override. This is similar to what we do in the kernel. r326089: loader.efi: efipart does not recognize partitionless disks r326090: net_parse_rootpath() has no parameters r326143: Fix theoretical integer overflow issues. If the product here is r326144: Mark the func pointer as __dead2. It looks up loader_main, which r326182: Modify all FreeBSD bootloaders on PowerPC AIM (Book-S) systems r326384: Use const pointers to avoid casting away constness. r326421: loader.efi: efipart should exclude iPXE stub block protocol r326440: Remove stale dependency on ufsread.c r326441: Minor flags cleanup r326442: Cleanup CFALGS usage here r326443: We don't need both _STAND and _STANDALONE, use the latter. r326444: Move geli to common DO32 stuff r326445: Fix random() and srandom() prototypes to match the standard. r326446: Undefine _STANDALONE since this is test code. r326447: Tweaks to the beri boot loader so that it builds w/o warnings. r326448: Fix all warnings related to geli and ZFS support on x86. r326484: Const poison the propname. r326485: Delcare md_load in libofw.h. Make all prototypes match for ofw r326486: Include machine/md_var to pick up __syncicache prototype. r326487: Cast mdp (a vm_offset_t) to void * to match prototype. r326488: e_entry can be smaller than a pointer. Cast it to an intptr_t r326490: Declare our strange brand of main(). r326491: Disconnet ps3 from the build. There's too many warnings to fix. r326492: Cast void * pointer to char * so the arg matches the %s format. r326493: Provide a md_load64 prototype. r326494: Mark two things as unused (since they are only sometimes used) r326495: Now it's safe to bump WARNS to 1. r326504: Switch to proper MK_LOADER_GELI tests. r326507: increase maximum size of zfsboot r326509: loader.efi: add note about iPXE into the efipart.c r326584: When building standalone, include stand.h rather than the kernel r326585: Include ficl.h before anything else r326586: No need to include the userland md5.h, the kernel one is just fine. r326587: Use the kernel relative paths, rather than the userland relative paths r326588: Need to include skein in the include path r326589: Make sure we include the right path for skein.h r326590: Prefer stdint.h to inttypes.h r326591: This isn't NetBSD specific code. Include these for any kernel / r326592: Don't inherit CFLAGS. This a specialized test program. r326593: Stop building with the standard system headers. r326594: Now that we offer a semi-sane standards-ish set of #include files, stop hacking includes with sed. r326600: Since this is contrib code, create an upstreamable version of my r326616: dhcp_try_rfc1048() is not used any more r326671: Avoid setting -Wno-tentative-definition-incomplete-type with gcc. r326707: Add partial support signal.h functioanlity. Pull in machine/signal.h r326708: Remove _KERNEL hack now that errno.h does the right thing when built standalone. r326709: Provide implementations for iscntrl, ispunct and isgraph. r326710: Put the files we're copying over into a few variables and clean hings up. r326711: Const poison a couple of interfaces. r326712: Create interp class. r326714: boot1.c needs EFI_ZFS_BOOT too, so add it globally. r326720: This path belongs in ficl/Makefile, not the common defines for users r326768: Fix a comment to be more accurate r326772: Fix regression with lua import r326784: Revert part of 362772. It was causing problems for includes r326792: Attempt to unbreak buildworld r326812: Revert r326792, r326784, r326772, r326712 r326854:
[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450 --- Comment #16 from John Baldwin--- (In reply to Pablo Ruiz from comment #14) Thanks, this gives me what I was looking for. We have infinite recursion because the spin lock code is calling DELAY() which is trying to grab a spin lock. One question is why isn't DELAY using the tsc? Hmm, it seems 'tsc_is_invariant' isn't set. Are these older AMD CPUs? You can try this as a hack-workaround to verify it fixes the issue, but I need to think a bit more about what the right fix might be: Index: x86/x86/delay.c === --- delay.c (revision 329004) +++ delay.c (working copy) @@ -72,7 +72,7 @@ func = get_tsc; mask = ~0u; } else { - if (tc->tc_quality <= 0) + if (tc->tc_quality <= 0 || n == 1) return (0); func = tc->tc_get_timecount; mask = tc->tc_counter_mask; -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225795 --- Comment #3 from Alan Somers--- Yes, my CURRENT dates from Feb-1. Would you like me to send you my crash dump and kernel symbol files? They'll take around 400 MB. Or, you could try to reproduce it yourself. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225795 Andriy Gaponchanged: What|Removed |Added CC||a...@freebsd.org --- Comment #2 from Andriy Gapon --- (In reply to Alan Somers from comment #0) Have you seen this with a recent CURRENT? I would like to have a dig at the crash dump, if possible. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 211360] ESC characters are not interpreted by /bin/sh
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211360 Ellam ByDefaultchanged: What|Removed |Added CC||ellam.bydefa...@gmail.com --- Comment #7 from Ellam ByDefault --- Same bug's here. FreeBSD 11.1-STABLE (amd64) on PROXMOX KVM with default Display, accessed with noVNC. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 224825] Screen corruption booting 20171227 snapshot
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224825 Mason Loring Blisschanged: What|Removed |Added Severity|Affects Only Me |Affects Many People --- Comment #14 from Mason Loring Bliss --- Bumping to "affects many people" as clearly it does. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 199152] msdosfs writes on umount to readonly mounted fs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199152 longw...@incore.de changed: What|Removed |Added Resolution|--- |FIXED Status|In Progress |Closed -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 202801] panic: spin lock held too long, maybe a pipe issue
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202801 longw...@incore.de changed: What|Removed |Added CC||longw...@incore.de Resolution|--- |Overcome By Events Status|New |Closed -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 192292] eay_cmp_asn1dn() in libcrypto.so.6 is broken after update to openssl 0.9.8za
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192292 longw...@incore.de changed: What|Removed |Added Status|New |Closed CC||longw...@incore.de Resolution|--- |Not A Bug -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"