Re: MacPro6,1 (trash can) is crashing during shutdown

2025-05-03 Thread George Koehler
On Sat, 3 May 2025 08:02:29 +0200 Marcus Glocker wrote: > Managed to get a stack trace meanwhile: > > https://nazgul.ch/pub/macpro6,1_st.jpg This is your stack trace, beware of typos: login: syncing disks... done Stopped at x86_bus_space_io_write_4+0x1d: leave x86_bus_space_io_write_4(80

Re: UVM_PSEG_INUSE on powerpc64

2025-04-07 Thread George Koehler
On Thu, 27 Mar 2025 09:58:48 -0700 Eric Grosse wrote: > With your patch, system has been running fine with various loads > applied. I'll update in a couple weeks to confirm this resolved the > issue. Thanks! (And I recognize that this is only a temporary patch.) To get back my 500M of ram, I rem

Re: UVM_PSEG_INUSE on powerpc64

2025-03-25 Thread George Koehler
On Fri, 21 Mar 2025 20:05:08 -0700 Eric Grosse wrote: > panic: kernel diagnostic assertion "UVM_PSEG_INUSE(pseg, id)" failed: file > "/us > r/src/sys/uvm/uvm_pager.c", line 207 > ... > panic+0x134 > __assert+0x30 > uvm_pseg_release+0x380 > uvn_io+0x2d4 Thanks for the report. I'm not sure, but

Re: Broadcom BCM4306 causes kernel panic when set up (7.6 macppc)

2025-02-02 Thread George Koehler
On Sun, 26 Jan 2025 02:51:04 -0600 natepod...@gmail.com wrote: > Apple Airport card with the BCM4306 chip. When I last tried to bring up bwi(4) on a BCM4306, it didn't panic but I never got a working connection. I have BCM4306 cards in 2 macppc machines, but I don't use them. I instead use eith

Re: powerpc64/pmap.c trouble report

2025-01-13 Thread George Koehler
On Tue, 24 Dec 2024 07:34:07 -0800 Eric Grosse wrote: > ... This is from a kernel built > from current sources via AnonCVS with option WITNESS Thanks for reporting the problem, and I'm sorry that I didn't reply sooner. Your kernel from 24 Dec looks like a kernel without WITNESS, > ddb{1}>

Re: powerpc64/pmap.c trouble report

2024-11-25 Thread George Koehler
This diff should be correct. My old diff removed the "idx ^=" assignment, my new diff moves it down. --gkoehler Index: arch/powerpc64/powerpc64/pmap.c === RCS file: /cvs/src/sys/arch/powerpc64/powerpc64/pmap.c,v diff -u -p -r1.62 pma

Re: powerpc64/pmap.c trouble report

2024-11-22 Thread George Koehler
7:34 -0800 Eric Grosse wrote: > In preparation for that, I've been compiling latest unmodified source for > kernel > and /usr/src but am unable to reproduce a panic, even at make -j32. > I'll keep trying. > > On Wed, Nov 20, 2024 at 5:06 PM George Koehler wrote: &g

Re: powerpc64/pmap.c trouble report

2024-11-20 Thread George Koehler
Eric, or anyone with a powerpc64 with a lot of ram, does this diff prevent panics in uvm_fault or crashes on "trap type 300"? I did reproduce a "trap type 300" with 8g ram once on 2024-11-05, but failed to reproduce it again. I have now found some code in powerpc64's pte_insert that might put a p

Re: ksh: syntax error: `(' unexpected

2024-11-17 Thread George Koehler
On Sun, 17 Nov 2024 19:10:30 + Klemens Nanni wrote: > 17.11.2024 20:25, Andreas Kähäri пишет: > > A the final right curly brace of a compound command must be preceeded by > > a command terminator > > Not always: > > $ f() {} ; typeset -f f > f() {} That isn't a compound command

Re: powerpc64/pmap.c trouble report

2024-11-07 Thread George Koehler
On Sat, 2 Nov 2024 05:23:17 -0700 Eric Grosse wrote: > Since David Gwynne's locking changes in uvm on October 30, I have seen > no more kernel panics on this workload (compiling /usr/src -j24 on > 8core Power9) that consistently crashed before. Thank you, sir! The tip, "compiling /usr/src -j24",

Re: xenodm/X.Org does not detect AMD Radeon RX 6500 (Dell OEM GPU) out of the box

2024-11-02 Thread George Koehler
On Sat, 26 Oct 2024 22:08:14 -0400 Qingyao Sun wrote: > failed to open /dev/dri/card1: Permission denied xenodm allows card0 but not card1. /etc/X11/xenodm/GiveConsole and /etc/X11/xenodm/TakeConsole have the lines chown $USER:$GROUP /dev/dri/card0 chown $USER:$GROUP /dev/dri/r

Re: wskbd1 at boot

2024-10-27 Thread George Koehler
On Sun, 27 Oct 2024 10:22:19 +0100 Sven Schuette wrote: > in 7 to 8 out of 10 cases when I boot up my machine, wskbd1 gets > chosen, so I have to reboot my system several times or de- and > re-attach the USB until wskbd0 gets chosen and I can finally use my > keyboard to log into my Desktop, keyb

Re: radeondrm BIOS not found, eMac 74[45]5, OpenBSD 7.[56}

2024-10-22 Thread George Koehler
On Sat, 19 Oct 2024 19:26:45 +0200 Willem wrote: > radeondrm fails to switch from VGA to graphical mode, causing my CRT > to turn off. ATI Radeon 7500 chipset. Last error seen is "BIOS not found". My PowerBook G4 shows, "[drm] *ERROR* Unable to locate a BIOS ROM", before the switch, the

lock order reversal with vnd(4) on macppc, powerpc64

2024-06-05 Thread George Koehler
I witnessed a lock order reversal with vnd(4) on macppc and powerpc64. I can't reproduce it on amd64. Build a GENERIC.MP kernel with option WITNESS, boot it, then configure and fdisk a vnd. The lock order reversal happens during fdisk, # dd if=/dev/zero of=img bs=1m count=1 # vnconfig -v vnd0 i

Re: powerpc64/pmap.c trouble report

2024-05-31 Thread George Koehler
On Thu, 30 May 2024 13:11:41 -0700 Eric Grosse wrote: > ddb{7}> show panic > > cpu6: kernel diagnostic assertion "((flags & PGO_LOCKED) != 0 && > rw_lock_held( > uobj->vmobjlock)) || (flags & PGO_LOCKED) == 0" failed: file > "/sys/uvm/uvm_vnod > e.c", line 953 > > *cpu7: assertwaitok: non-ze

Re: powerpc64/pmap.c trouble report

2024-05-24 Thread George Koehler
On Tue, 21 May 2024 03:08:49 +0200 Jeremie Courreges-Anglas wrote: > On Tue, May 21, 2024 at 02:51:39AM +0200, Jeremie Courreges-Anglas wrote: > > This doesn't look powerpc64-specific. It feels like > > uvm_km_kmemalloc_pla() should call pmap_enter() with PMAP_CANFAIL and > > unwind in case of a

Re: aucat -i file.wav results in message: "default: audio device gone, stopping"

2024-03-05 Thread George Koehler
On Tue, 5 Mar 2024 18:06:44 -0400 Jose Maldonado wrote: > El Tue, 05 Mar 2024 17:10:36 +0100 > rol...@mhsmail.ch escribió: > > Headphones plugged into the analog headphones output, then > > playing an audio file by entering `aucat -i file.wav`. > > No audio can be heard. After a coup

Re: `pkg_info -Q` not showing all packages that should match

2024-02-16 Thread George Koehler
On Fri, 16 Feb 2024 23:13:59 + "C. Li" wrote: > > # pkg_info -Q git > debug-gitwrapper-0.94 > debug-gitwrapper-0.95 > gitwrapper-0.94 > gitwrapper-0.95 > > ... > Tested on OpenBSD 7.4 arm64. Those are the only *git* packages in 7.4/packages-stable/aarch64 I guess that -Q doesn't w

Re: String of emojis and IRC color codes crashes tmux

2024-01-24 Thread George Koehler
On Wed, 24 Jan 2024 09:20:41 + Stuart Henderson wrote: > On 2024/01/23 23:12, Luiz de Milon wrote: > >     When the following file is `cat`ed in tmux, the server > > crashes. This also messes up the rendering in weechat, so I > > believe the bug may be in ncurses rather than tmux. > > That s

Re: After 7.3 to 7.4 upgrade on an iMac11,2, the screen turns black

2023-10-20 Thread George Koehler
On Thu, 19 Oct 2023 11:00:42 +1100 Jonathan Gray wrote: > Are there multiple models of iMac11,2 or is this due to something > not acting as linux does? Yes, iMac11,2 (21.5-inch, Mid 2010) has 3 models in everymac.com, - Core i3 3.06 GHz, Radeon HD 4670, 256M vram - Core i3 3.2 GHz, Radeon HD

Re: find(1) with -delete ignores -maxdepth

2023-08-28 Thread George Koehler
On Mon, 28 Aug 2023 12:42:39 +0200 Marcus MERIGHI wrote: > My complete crontab(5) entry reads: > > /usr/bin/find ~/ -maxdepth 1 -fstype local -name "*.core" -delete > > Now I get error messages saying "Access Denied" for directories that > find(1) should not access due to "-maxdepth 1". I can

Re: 'scsi_xfer pool exhausted' console spam, system unresponsive

2023-07-06 Thread George Koehler
On Wed, 05 Jul 2023 17:04:30 +0100 Stuart Henderson wrote: > Are you monitoring memory usage too? My first instinct is that 2GB feels a > bit low so I'd want to get some stats on that. > > (I have reported these on i386 ports builders from time to time too, I > can't do much about memory use t

Re: keyboard events occasionally get lost

2023-06-15 Thread George Koehler
On Tue, 6 Jun 2023 03:52:57 + James Cook wrote: > Example 1: I type some text in an editor and a few consecutive > letters are left out. > > Example 2: I type a short piece of text like "openbsd", but > instead I see "open" with the "n" repeating >

Re: powerpc64 panic: kernel diagnostic assertion "pm == pted->pted_pmap"

2023-05-10 Thread George Koehler
On Wed, 10 May 2023 22:55:31 +0200 Alexander Bluhm wrote: > ddb{1}> show panic > *cpu1: kernel diagnostic assertion "pm == pted->pted_pmap" failed: file > "/usr/src/sys/arch/powerpc64/powerpc64/pmap.c", line 865 I have seen other panics in powerpc64/pmap.c, but not this one. powerpc64-1.ports.

Re: tpm0 at acpi0 TPM2: unsupported TPM2 start method 2

2023-05-07 Thread George Koehler
On Sun, 07 May 2023 11:06:45 -0400 Dave Voutila wrote: > Zheng Harteg writes: > > > tpm0 at acpi0 TPM2: unsupported TPM2 start method 2 > > The referenced start method is the ACPI-based Start Method which > unfortunately appears to be rare enough that I've never had a machine > that uses it. I

Re: Fwd: blank screen after fresh installation of 7.2 in powerpc

2023-05-02 Thread George Koehler
On Thu, 13 Apr 2023 10:39:52 -0400 Nuno Vasconcellos wrote: > Updating: > > I upgraded from 7.2 to 7.3 and got the same problem. Sorry, I had missed your report until now. You have an Apple eMac G4 (1.25 GHz PowerMac6,4). When you boot OpenBSD/macppc, your screen goes blank here, root on wd0a

Re: macppc panic: vref used where vget required

2022-03-28 Thread George Koehler
On Mon, 28 Mar 2022 13:35:48 +0200 Alexander Bluhm wrote: > Hi, > > There was a discussion about file system bugs with macppc. My dual > core macppc never completed a make release. I get various panics. > One of them is below. > > bluhm I have a macppc of the same model (dual G5 PowerMac7,3)

Re: powerpc64 crash in uvm_mapent_alloc pool_get

2022-03-09 Thread George Koehler
On Wed, 9 Mar 2022 11:01:04 +0100 Alexander Bluhm wrote: > dar 0xfd7f0020 dsisr 0x4000 > trap type 300 srr1 90009032 at 1411eb8 lr 1411e94 > Stopped at pool_do_get+0xa8: ld r4,32(r27) The kernel failed to read an unmapped page, so ddb has stopped the kernel. Here'

Re: ufm_fault in nfs_reclaim in getnewvnode

2022-01-10 Thread George Koehler
On Mon, 10 Jan 2022 18:38:18 +0100 Raimo Niskanen wrote: > I took pictures of ddb with, I hope, enough information to start with. > They are at http://erlang.org/~raimo/obsd-panic_2022-01-10/image(0).jpg > with (0) ranging from (0) through (12). image(0).jpg: | ddb{0}> show panic | *cpu0: uvm_fa

Re: Radeon X1950 crashes OpenBSD kernel on PowerMac G5

2021-09-10 Thread George Koehler
On Fri, 10 Sep 2021 15:26:39 +0200 Andreas Drewke wrote: > Unfortunatly the G5 doesnt accept any input after this crash from > keyboard. :( > Is there another way to do a trace? After OpenBSD/macppc draws on the framebuffer (when the screen goes dark and changes font), there's no keyboard until

Re: [macppc] libunwind makes some binaries segfaulting (Was: [macppc, base libexecinfo] Unbreak editors/emacs)

2021-08-21 Thread George Koehler
480a8 in __unw_init_local (cursor=0xfffcc920, context=0xfffcc578) > > at /usr/src/gnu/llvm/libunwind/src/libunwind.cpp:76 > > #4 0xba24582c in _Unwind_Backtrace (callback=0xba24ec54 , > > ref=0xfffccd28) > > at /usr/src/gnu/llvm/libunwind/src/UnwindLevel1-gcc-ext.c:112 > > #5 0xba24ebd4 in backtrace (arr=, len=) > > at /usr/src/gnu/lib/libexecinfo/unwind.c:69 > > #6 0x2d1e070c in myfunc3 () > > -- George Koehler

Re: [macppc] pixman causes SIGILLs if AltiVec is not supported

2021-06-13 Thread George Koehler
ntf(cpu_model, sizeof(cpu_model), "Version %x", cpu); > break; > } > +#ifndef ALTIVEC /* altivec support absent from kernel */ > + ppc_altivec = 0; > +#endif > snprintf(cpu_model + strlen(cpu_model), > sizeof(cpu_model) - strlen(cpu_model), > " (Revision 0x%x)", pvr & 0x); > > -- > Matthieu Herrb -- George Koehler

Re: [macppc] pixman causes SIGILLs if AltiVec is not supported

2021-06-12 Thread George Koehler
On Sat, 12 Jun 2021 17:27:30 +0200 Matthieu Herrb wrote: > Normally from my build logs on macppc configure is probing for > VMX/Altivec: > > checking whether to use VMX/Altivec intrinsics... yes > > and then sets > > VMX_CFLAGS='-maltivec -mabi=altivec' > > for the build. > > If it's not the

Re: libexecinfo-0.3p2v0 fails to build on loongson

2021-06-10 Thread George Koehler
On Wed, 26 May 2021 12:36:54 -0700 manp...@gmail.com wrote: > Hi George, > > You patch works and I have a successfully built libexecinfo now. Would > be great to have the patch committed so that we can all benefit from it > (both HEAD and 6.9 branch)! Thanks! My patch is now obsolete. Yeste

Re: libexecinfo-0.3p2v0 fails to build on loongson

2021-05-25 Thread George Koehler
On Sun, 23 May 2021 07:08:38 -0700 manp...@gmail.com wrote: > cc -O2 -pipe -D__BUILTIN_HACK -Wall -ggdb3 -I/usr/local/include -MD -MP > -nostdinc -idirafter /usr/include -c backtrace.c -o backtrace.o > error: return address can be determined only for current frame > error: return address can be

Re: 6.9amd64 'dhcpd re0' won't listen/reply DHCP requests on Realtek 8168 RTL8168H/8111H

2021-05-08 Thread George Koehler
On Thu, 06 May 2021 16:58:40 + Martin wrote: > Small update: > > The laptop has two integrated adapters: > re0 is: RTL8168EP/8111EP - dhcpd re0 -> dhcp server works and give IPs to > clients; > re1 is: RTL8168H/8111H - dhcpd re1 -> dhcpd server does not reply to client's > requests. > > M

linux/io.h changes broke radeondrm RV350 macppc

2020-10-28 Thread George Koehler
>Synopsis: linux/io.h changes broke radeondrm RV350 macppc >Category: powerpc >Environment: System : OpenBSD 6.8 Details : OpenBSD 6.8-current (GENERIC) #8: Wed Oct 28 22:51:59 EDT 2020 kern...@wisconsin.my.domain:/sys/arch/macppc/compil

Re: [macppc] clang-10: issue with ppc dag to dag pattern instruction selection

2020-08-31 Thread George Koehler
On Thu, 27 Aug 2020 22:34:23 -0400 George Koehler wrote: > babl and mednafen are passing -fno-unsafe-math-optimizations to clang; > this flag implies -ftrapping-math, which seems to be broken in the > PowerPC backend. Another name for -ftrapping-math is > -ffp-exception-behavior=st

Re: [macppc] clang-10: issue with ppc dag to dag pattern instruction selection

2020-08-27 Thread George Koehler
On Tue, 18 Aug 2020 08:39:30 +0200 Charlene Wendling wrote: > In the current macppc bulk, graphics/babl and emulators/mednafen are > failing similarly with: > > > 1. parser at end of file > > 2. Code generation > > 3. Running pass 'Function Pass Manager' on module > > '../babl-0

Re: X freezes after a few seconds, default installation (amdgpu)

2020-05-19 Thread George Koehler
On Tue, 19 May 2020 23:44:18 - "Andrés V." wrote: >     6.6 works without issues. I made a clean 6.7 installation, selecting auto > loading >     xenodm, finish, reboot, log in and after a trying to resize the default > xterm it >     freezes. But: >     -Mouse moves >     -No cursor change

Re: Minecraft causes the entire system to hang

2020-04-23 Thread George Koehler
On Sat, 11 Apr 2020 03:53:41 + oct...@protonmail.com wrote: > Similar problem also occur for amdgpu from 6.6 release to 6.7 beta, > but with a different error message: > [drm] *ERROR* ring gfx timeout, signalled seq=10088, emitted seq=10090 My amd64 with amdgpu RAVEN graphics sometimes gets t

Re: [macppc 6.7-beta] clang backend error: "adde Constant" issue

2020-04-23 Thread George Koehler
On Sun, 19 Apr 2020 17:26:49 +0200 Charlene Wendling wrote: > As i'm doing the first macppc clang bulk atm, i've found out that two > (for now) ports issue very similar backend errors. > > I'm attaching the preprocessed sources and run scripts for these two. I took your attached source from dev

macppc base-gcc secure-plt bug

2020-02-25 Thread George Koehler
>Synopsis: macppc base-gcc secure-plt bug >Category: powerpc >Environment: System : OpenBSD 6.6 Details : OpenBSD 6.6-current (GENERIC) #0: Fri Feb 14 08:49:11 EST 2020 t...@g5.opennet.ca:/usr/src/sys/arch/macppc/compile/GENERIC

Re: Xorg hangs on recent snapshots

2020-02-06 Thread George Koehler
On Wed, 5 Feb 2020 22:31:52 -0700 Aaron Bieber wrote: > On Wed, 05 Feb 2020 at 20:29:31 +0100, William Orr wrote: > > > > Hey, > > > > On recent a snap (04/02/2020), the unpriv'ed process of Xorg seems to hang, > > becoming totally unresponsive. Running `ktrace` on the process fails to log > >

Re: Xorg hangs on recent snapshots

2020-02-05 Thread George Koehler
On Wed, 05 Feb 2020 20:29:31 +0100 William Orr wrote: > On recent a snap (04/02/2020), the unpriv'ed process of Xorg seems to hang, > becoming totally unresponsive. Running `ktrace` on the process fails to log > any output. `top` shows that the process is waiting on `fsleep`. I'm using the > amdg

Re: Invalid argument error when booting new UEFI OpenBSD 6.6 install

2020-01-26 Thread George Koehler
On Sun, 26 Jan 2020 07:57:04 + Mohamed Akram wrote: > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 2097152 3802170304 4.2BSD 2048 16384 12958 > ... > > A fellow OpenBSD user on this list suggested that this is due to a bug > in Ope

Re: Firefox extension broken in -current's v71.0

2019-12-26 Thread George Koehler
On Thu, 26 Dec 2019 19:58:31 -0600 myportslist20190...@nym.hush.com wrote: > >Synopsis:"1Password X" extension on Firefox shows 0 passwords > >When logging into the 1Password X extension, you'll see a brief flash > > of your vault items (passwords), but after ~100ms they > >disappear and are

vmm(4) + pvclock(4) have low precision

2019-11-16 Thread George Koehler
>Synopsis: vmm(4) + pvclock(4) have low precision >Category: kernel >Environment: System : OpenBSD 6.6 Details : OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERI

rc(8) ignores last line without newline of *.conf

2018-12-27 Thread George Koehler
>Synopsis: rc(8) ignores last line without newline of *.conf >Category: system >Environment: System : OpenBSD 6.4 Details : OpenBSD 6.4-current (GENERIC) #527: Mon Dec 24 22:16:45 MST 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd6

Re: macppc can't modify pages in swap

2018-12-19 Thread George Koehler
On Wed, 19 Dec 2018 00:13:13 -0500 George Koehler wrote: > By my guess, pmap_is_modified() is broken on powerpc. It seems to > fail to return true, so uvm wouldn't know that the page is modified, > and then uvm wouldn't write the modified page to swap. Turns out that p

Re: macppc can't modify pages in swap

2018-12-18 Thread George Koehler
On Sat, 15 Dec 2018 13:36:37 -0500 George Koehler wrote: > My test program can write pages but can't modify them, as if > OpenBSD is ignoring writes to pages after they got swapped out and in. By my guess, pmap_is_modified() is broken on powerpc. It seems to fail to return t

macppc can't modify pages in swap

2018-12-15 Thread George Koehler
0x0090: 0000 0000 0x00a0: 0x00b0: 0x00c0: 0x00d0: 0x00e0: 0

qcow2 fails in vmd(8) of 6.4

2018-11-23 Thread George Koehler
>Synopsis: qcow2 fails in vmd(8) of 6.4 >Category: user >Environment: System : OpenBSD 6.4 Details : OpenBSD 6.4 (GENERIC.MP) #0: Sat Nov 17 22:15:46 CET 2018 r...@syspatch-64-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Re: strtod() can change "nan" to -nan

2018-04-27 Thread George Koehler
On Mon, 16 Apr 2018 18:06:32 -0400 George Koehler wrote: > In some platforms (like amd64, but not macppc), strtod(3) > flips the sign of not-a-number (nan). It changes "nan" into > -nan and "-nan" into nan. I had sent a patch for strtod() on amd6

strtod() can change "nan" to -nan

2018-04-16 Thread George Koehler
>Synopsis: strtod(3) can change "nan" to -nan >Category: library >Environment: System : OpenBSD 6.3 Details : OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.M

posix_memalign can set *ptr = MAP_FAILED

2017-09-12 Thread George Koehler
>Synopsis: posix_memalign can set *ptr = MAP_FAILED >Category: library >Environment: System : OpenBSD 6.1 Details : OpenBSD 6.1 (GENERIC.MP) #19: Thu Aug 3 14:59:44 CEST 2017 rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/

fifo plus threads equals stuck

2016-05-08 Thread George Koehler
>Synopsis: fifo plus threads equals stuck >Category: library >Environment: System : OpenBSD 5.9 Details : OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP