how to debug firefox

2022-06-21 Thread flint pyrite
[drm] *ERROR* ring sdma0 timeout, signaled seq=14829, emitted se q=14829
[drm] *ERROR* Process information: process  pid 0 thread  pid 0

firefox exit

how do i debug
i keep everything running, do not sleep or snooze

firefox crashes after days and weeks of running

clueless

is there some type of flag to start firefox to dump core or is this kernel
issue


Re: gpt+uefi boot+openbsd+linux

2022-05-24 Thread flint pyrite
off topic:

I used to do that myself. Now I just run openbsd on two laptops. I have a
box with FreeBSD and bhyve where I run Windows and Linux variations. I wish
OpenBSD had a better hypervisor or at least port byhve.

I use WIndows for porting my applications too. Not the other way around. I
rely on OpenBSD not WIndows.

On Tue, May 24, 2022 at 8:01 PM Courtney  wrote:

> Not sure what your hardware situation is, but I have been able to dual
> boot Linux and OpenBSD no problem. I have Linux on 1 drive and OpenBSD
> on another. At boot I default to my OpenBSD drive. However, to get to
> Linux I use my motherboard's boot menu and select the Linux drive.
> Hasn't been an issue. I'm sure things get muddy when you want them both
> on the same drive..I don't like attempting that anymore for any OS
> combination. Too many headaches.
>
> Courtney
>
> On 5/24/22 15:28, Gustavo Rios wrote:
> > May some one here suggest a documentation the explains this scenario ? I
> am
> > in needof this.
> >
> > Thanks in advance!
> >
> > Gustavo.
> >
>
>


Re: happy birthday theo

2022-05-19 Thread flint pyrite
happy birthday

On Thu, May 19, 2022 at 11:34 AM Gabriel Busch de Brito <
gbuschbr...@gmail.com> wrote:

> Happy birthday!
>
> >On 19.05.2022 09:33, Amit Kulkarni wrote:
> > Happy Birthday to Theo!
> >
> > On Thu, May 19, 2022 at 4:46 AM Brodey Dover  wrote:
> > >
> > > Happy Birthday Theo!
> > >
> > > On Thu, 19 May 2022 at 02:51, Mayuresh Kathe  wrote:
> > >
> > > > here's wishing theo deraadt a very happy birthday.
> > > > wish you many more years of producing great software and being
> > > > cantankerous. :p
> > > > have a great day today and an amazing year ahead.
> > > > -mayuresh
> > > >
> > > >
> >
>
>


the eys

2022-03-01 Thread flint pyrite
we are watching and with you brother

Ukraine

fight on


theo what does it feel like

2022-02-14 Thread flint pyrite
to be hiking on a mountain?

Is it free?


Re: true=1 0=false

2021-10-03 Thread flint pyrite
how is that? That world occupies more than 1 bit.

On Sun, Oct 3, 2021 at 3:45 AM Hiltjo Posthuma  wrote:
>
> On Sat, Oct 02, 2021 at 09:51:40PM -0600, flint pyrite wrote:
> > ah said the wiseman, we can negate...
> >
>
> This is incorrect, please read the man page:
> https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.tristate?view=net-5.0
>
> --
> Kind regards,
> Hiltjo



true=1 0=false

2021-10-02 Thread flint pyrite
ah said the wiseman, we can negate...



Some more humor, maybe?

2021-09-22 Thread flint pyrite
forget about host, it is plausible to self host

What remains is the catalyst?

Remember movement would not occur without involvement



Love OpenBSD Humor

2021-09-19 Thread flint pyrite
that those who have a voice

typically speak.

What they speak is a mystery:

binary means 0 or 1
0 = truth
1= lie



this is binary choose a state of 0 or 1
Yesterday I posted in OpenBSD my fav OS:
0 means mindlessness

1 means mindfulness

My entire post was deleted. Sorry for the hints

So much for humor today

---
I do not speak much. I tried to post this on Reddit and it got deleted.
I thought it was funny so I reposted. Finally, I posted on here.

Coding is great: 0 : or



Re: C style in OpenBSD

2021-06-29 Thread flint pyrite
you can use a formatter such use astyle or clang-format

On Tue, Jun 29, 2021 at 7:55 AM jslee  wrote:
>
> On Tue, 29 Jun 2021, at 15:18, Reuben ua Bríġ wrote:
> > any comments?
>
> http://man.openbsd.org/style.9
>
> Yes, two comments
>
> 1. Read more / write less
>
> 2. Sharp deviations from widely-accepted style, such as multiply-nested 
> ternaries, make it harder for others to play in your codebase, with zero 
> tangible gain
>
> I found your example horrifying.
>
> John
>



acpidump: XSDT entry 24 is corrupt

2020-10-26 Thread flint pyrite
 6.8 GENERIC.MP#98 amd64

Just realized, I get an 'acpidump: XSDT entry 24 is corrupt' message
before login prompt. This did not happen in 6.7.

Attempted to do some searching and it left me confused.

I flashed my bios to the latest version available. It did not help.

Is this a firmware issue or acpi problem?



Re: AMDGPU(4) - Question about man page

2020-10-22 Thread flint pyrite
Below are various xorg.conf configurations. The only configuration
that errors is when using section "Device." If I do not have an
xorg.conf file or use section "OutputClass" X works fine. I hope this
clarifies my initial question?

xorg.conf:

Section "Device"
   Identifier "AMDgpu"
   Driver "amdgpu"
   Option "DRI" "3"
   Option "TearFree" "true"
EndSection
...

Xorg log file:

[ 85187.126]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 85187.126] Build Operating System: OpenBSD 6.8 amd64
[ 85187.126] Current Operating System: OpenBSD
hellfire.markjolesen.com 6.8 GENERIC.MP#98 amd64
[ 85187.126] Build Date: 04 October 2020  06:41:21PM
[ 85187.126]
[ 85187.126] Current version of pixman: 0.38.4
[ 85187.126] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 85187.126] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 85187.127] (==) Log file:
"/home/markjolesen/.local/share/xorg/Xorg.0.log", Time: Thu Oct 22
10:25:09 2020
[ 85187.127] (==) Using config file: "/etc/X11/xorg.conf"
[ 85187.127] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"
[ 85187.127] (==) No Layout section.  Using the first Screen section.
[ 85187.127] (==) No screen section available. Using defaults.
[ 85187.127] (**) |-->Screen "Default Screen Section" (0)
[ 85187.127] (**) |   |-->Monitor ""
[ 85187.128] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 85187.128] (**) |   |-->Device "AMDgpu"
[ 85187.128] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 85187.128] (==) Automatically adding devices
[ 85187.128] (==) Automatically enabling devices
[ 85187.128] (==) Not automatically adding GPU devices
[ 85187.128] (==) Max clients allowed: 256, resource mask: 0x1f
[ 85187.128] (**) FontPath set to:
/usr/local/share/fonts/spleen/,
/usr/local/share/fonts/ghostscript,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[ 85187.128] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 85187.128] (II) The server relies on wscons to provide the list of
input devices.
If no devices become available, reconfigure wscons or disable AutoAddDevices.
[ 85187.128] (II) Loader magic: 0xf2709dde460
[ 85187.128] (II) Module ABI versions:
[ 85187.128] X.Org ANSI C Emulation: 0.4
[ 85187.128] X.Org Video Driver: 24.1
[ 85187.128] X.Org XInput driver : 24.1
[ 85187.128] X.Org Server Extension : 10.0
[ 85187.128] (--) Using wscons driver on /dev/ttyC4
[ 85187.133] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Permission denied)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[ 85187.133] linear framebuffer access unavailable
[ 85187.133] (II) LoadModule: "glx"
[ 85187.134] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 85187.136] (II) Module glx: vendor="X.Org Foundation"
[ 85187.136] compiled for 1.20.8, module version = 1.0.0
[ 85187.136] ABI class: X.Org Server Extension, version 10.0
[ 85187.136] (II) LoadModule: "amdgpu"
[ 85187.137] (II) Loading /usr/X11R6/lib/modules/drivers/amdgpu_drv.so
[ 85187.138] (II) Module amdgpu: vendor="X.Org Foundation"
[ 85187.138] compiled for 1.20.8, module version = 19.1.0
[ 85187.138] Module class: X.Org Video Driver
[ 85187.138] ABI class: X.Org Video Driver, version 24.1
[ 85187.138] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 85187.138] (EE) No devices detected.
[ 85187.138] (EE)
Fatal server error:
[ 85187.138] (EE) no screens found(EE)
[ 85187.138] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[ 85187.138] (EE) Please also check the log file at
"/home/markjolesen/.local/share/xorg/Xorg.0.log" for additional
information.
[ 85187.138] (EE)
[ 85187.138] (EE) Server terminated with error (1). Closing log file.

__
xorg.conf:

Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
...

Xorg log file

[   950.342]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   950.343] Build Operating System: OpenBSD 6.8 amd64
[   950.343] Current Operating System: OpenBSD
hellfire.markjolesen.com 6.8 GENERIC.MP#98 amd64
[   950.343] Build Date: 04 October 2020  06:41:21PM
[   950.344]
[   950.344] Current version of pixman: 0.38.4
[   950.344] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   950.344] Markers: (--) probed, (**) from config 

AMDGPU(4) - Question about man page

2020-10-21 Thread flint pyrite
Question: is the amdgpu(4) manual page up to correct and up to date?

https://man.openbsd.org/amdgpu

I set up an xorg.conf file in /etc/X11/xorg.conf and was trying to get
AMDgpu working.

The man page uses "Device" as the section. This worked as root but not
a normal user. When I changed "Device" to "OutputClass," X loaded
without error as a normal user.

Also, the man page does not mention setting

machdep.allowaperture=1

in /etc/sysctl.conf

cat /etc/X11/xorg.conf

Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
#copied from /usr/X11R6/share/X11/xorg.conf.d/10-amdgpu.conf


#Section "Device"
#   Identifier "AMDgpu"
#   Driver "amdgpu"
#   Option "DRI" "3"
#   Option "TearFree" "true"
#EndSection

Section  "Files"
FontPath "/usr/local/share/fonts/spleen/"
FontPath "/usr/local/share/fonts/ghostscript"
EndSection

6.8 GENERIC.MP#98 amd64

As a normal user, and using "Device" X fails with "No devices
detected. If I leave out the section completely, X goes through mode
setting and chooses Radeon.



What do I do when ifconfig hangs?

2020-09-20 Thread flint pyrite
I have 6.7 installed with latest patches. It has been running for
about a week without a reboot and then suddenly I was not able to ping
the internet. I tried executing

sh /etc/netstart run0

It hung. I then tried to kill the ifconfig process (kill -9 pid) and
then the system hung. It was unreachable from my other computer and
keystrokes did not appear to do anything.

Following is the output of dmesg related to run0  upon reboot:

run0 at uhub0 port 2 configuration 1 interface 0 "Ralink 802.11 n
WLAN" rev 2.00/1.01 addr 2
run0: MAC/BBP RT3572 (rev 0x0223), RF RT3052 (MIMO 2T2R), address
f0:79:59:74:85:ed



Re: gpt/uefi

2020-09-18 Thread flint pyrite
Install Win10 and shrink the volume with their tools. Then get a live
GNU/Linux OS like gparted live and partition the remainder of your
drive. Note: Win10 will create the EFI partition for you. For the
OpenBSD partition do not format it. Follow instructions on installing
OpenBSD carefully to install on the correct partition using GPT.T
Following, install GNU Linux and use grub2 and os-prober to create a
boot menu. You may need to manually add a section for OpenBSD. In a
nutshell that is all there is to it.

On Fri, Sep 18, 2020 at 6:31 AM Thomas Frohwein  wrote:
>
> On Fri, Sep 18, 2020 at 03:15:21AM -0300, Gustavo Rios wrote:
> > Hi folks!
> >
> > I would like to install on my notebook 3 operating systems: OpenBSD,
> > Linux and Windows 10.
> >
> > Do you know any tutorial on how the create the partitions using GPT
> > before i install any of the 3 OSes ? I would like to boot via UEFI; is
> > there any special partition for the UEFI booting ? May the 3 OSes use
> > the UEFI boot partition ?
> >
> > This will be my first experience with GPT/UEFI so i need a little
> > help. May you point me in the right direction?
>
> The most pertinent section of the FAQ would be [1].
>
> For what it's worth, I dual-boot Windows 10 and OpenBSD on my laptop,
> using MBR and BCD. A PBR for Linux could probably be added without
> problems.
>
> Note that this depends on third-party software out of our control, and
> therefore (quoting the FAQ): "you are completely on your own."
>
> [1] https://www.openbsd.org/faq/faq4.html#Multibooting
>



gdb in uninterruptible wait

2020-09-16 Thread flint pyrite
fyi: ran into this egdb step next issue:

http://openbsd-archive.7691.n7.nabble.com/gdb-in-uninterruptible-wait-td395449.html

Does anyone know the status?
Do I have to manually patch the kernel?

NOTE: I am a fairly recent convert to openbsd. I have migrated one of
my laptops and dedicated it openbsd. So, I am willing to learn how to
hack the kernel if needed. From my reading, however, the custom kernel
will no longer be supported. I would be on my own and that does not
resonate with me just yet.

6.7 GENERIC.MP#6



Re: ThinkPad T14 AMD

2020-08-23 Thread flint pyrite
I had an A485 everything worked except wifi, which I replaced with USB
wifi stick. The laptop,  however, turned out ot be a lemon. It is in
repair depot as we speak. On of the cpu cores went bad, keys kept
popping off and the synaptics mouse pad would not click and drag. Just
so you know Lenov support is hideous. It has taken over a one  (1)
year and still counting to resolve these issues .

WHat are the specs of the T14? Never heard of it.


On Sun, Aug 23, 2020 at 1:06 PM Rupert Gallagher  wrote:
>
> Anybody managed to boot obsd on the T14? I tried, and it does not even start. 
> By comparison, Debian chokes on a missing network driver, and Fedora just 
> works.



Re: Openbsd 6.6 httpd custom 404 page

2020-05-28 Thread flint pyrite
What is

/var/www/htdocs/bgplg

for?

On Thu, May 28, 2020 at 5:13 AM Mischa  wrote:

> Hi Matthias,
>
> Very nice features, would be great to see these in httpd.
>
> Mischa
>
>
> > On 28 May 2020, at 11:42, Matthias  wrote:
> >
> > Riccardo,
> >
> > you can try this: https://github.com/mpfr/httpd-plus
> >
> > ... and add something like that into your httpd.conf(5):
> >
> > location not found "/*" {
> >   request rewrite "/404.html"
> > }
> >
> > My original motivation for writing these add-ons was to get WordPress
> > running on httpd(8) which also requires handling of non-existent
> locations.
> >
> > Best regards,
> > Matthias
> >
> >
> >
> > On 2020-05-26 17:34, Riccardo Giuntoli wrote:
> >> Hello there dear OpenBSD fellows.
> >>
> >> I would like to change default 404 page in httpd(8), and I've seen in
> this
> >> list that in past versions is hardcoded into the C sources.
> >>
> >> Now it's possible in httpd.conf(5) ?
> >>
> >> Very nice regards,
> >>
> >> RG.
> >>
> >
>
>


Re: Help, i want to ask if my Asus Vivobook Ryzen 3 , Vega 3 can run openbsd

2020-05-25 Thread flint pyrite
You probably should check for wifi compatibility.

On Sun, May 24, 2020 at 9:50 PM Digital Crow 
wrote:

> Help, i want to ask if my Asus Vivobook Ryzen 3 , Vega 3  can run openbsd
> I have problems with freebsd i can't run xorg it has a problem with efi
> framebuffer and amdgpu driver.
> It seems that this laptop can boot only efi partitions there's no setting
> on bios about csm or anything else related to it.
> Is it possible  openbsd would work ?
> Also is the process the same as freebsd ?
> I need to install drm-kmod and add kld_list amdgpu on rc.conf
> The openbsd installer create efi boot partition ?
> I think this laptop can boot only efi partitions
>