Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread coypu
at least /dev/mem accesses are checked by mm_md_physacc which checks mem_clusters.

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread coypu
To be completely clear, rebuild a kernel with this diff and try it: Index: GENERIC === RCS file: /cvsroot/src/sys/arch/alpha/conf/GENERIC,v retrieving revision 1.375 diff -u -r1.375 GENERIC --- GENERIC 13 Dec 2016 20:42:16 -

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 09:08:49AM +0200, BERTRAND Joël wrote: > [ 135.853] (WW) checkDevMem: failed to open/mmap /dev/mem (Operation not > permitted) You may need 'options INSECURE' INSECURE allows processes to make raw memory accesses like /dev/mem.

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread BERTRAND Joël
co...@sdf.org a écrit : at least /dev/mem accesses are checked by mm_md_physacc which checks mem_clusters. I build a new kernel with an up to date -8 tree. But I won't reboot this workstation remotely as shutdown -r doesn't work. System hangs after "rebooting" and keyboard's led are

Permedia 3 and Xorg (on AXP)

2017-07-20 Thread BERTRAND Joël
Hello, I'm trying to configure Xorg on a PWS500a. This workstation contains a pm3 graphic adapter : pm3fb0 at pci1 dev 9 function 0: vendor 3d3d product 000a (rev. 0x01) pm3fb0: no width property pm3fb0: no height property pm3fb0: no depth property pm3fb0: 16 MB aperture at

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread BERTRAND Joël
co...@sdf.org a écrit : To be completely clear, rebuild a kernel with this diff and try it: Index: GENERIC === RCS file: /cvsroot/src/sys/arch/alpha/conf/GENERIC,v retrieving revision 1.375 diff -u -r1.375 GENERIC --- GENERIC

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, Martin Husemann wrote: Indeed (mine works too). Please share dmesg output (or usbdevs output). With some of the updates, it started working. I just tried today with a couple of weeks old 8.99 version and it works! Very good and also very useful. Another step towards NetBSD world

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, co...@sdf.org wrote: Even if there is no information ral(4) looks very suspicious in suspend. I am looking at the code. does drvctl -d ral0 before suspend make it get further? Issuing that command, causes a kernel panic and instant reboot. panic: kernel diagnostic assertion

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 10:37:14AM +0200, Riccardo Mottola wrote: > Hi, > > co...@sdf.org wrote: > > Even if there is no information ral(4) looks very suspicious in suspend. > > I am looking at the code. > > does drvctl -d ral0 before suspend make it get further? > > Issuing that command, causes

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread Felix Deichmann
2017-07-20 10:43 GMT+02:00 BERTRAND Joël : > Of course, my kernel is built with this option. X.Org (drivers), Alpha and PCI is a non-working combination (known problem)... macallan knows and if we are lucky an alphaallan will rise from the ashes and fix it. fb is the

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 11:31:48AM +0200, BERTRAND Joël wrote: > I build a new kernel with an up to date -8 tree. But I won't reboot this > workstation remotely as shutdown -r doesn't work. System hangs after > "rebooting" and keyboard's led are blinking. Alpha AXP manual says that if we

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Wed, Jul 19, 2017 at 03:44:05PM +, Chavdar Ivanov wrote: > This is with unmodified GENERIC, so INSECURE should be present - as I said, > the same live USB system works fine with the Quadro 600 card on the > desktop. I know about userconf, but I chose to place several test and spare >

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
Thanks, does this help? (I assume removing the free would work but not be ideal) I think the difference is that firmware_*'s allocator is kmem_alloc which should be kmem_free'd, not regular free. Index: rt2860.c === RCS file:

Re: Printing to networked printers?

2017-07-20 Thread jgw
Paul Goyette wrote: > .. > In times gone by, I've had directly-connected HP printers and they > just worked with lpr (plus print/magicfilter from pkgsrc). But I > cannot seem to get it to work with a network-connected HP DeskJet > 2545. I've "cloned" the

Printing to networked printers?

2017-07-20 Thread Paul Goyette
I've tried cups, and given up as it is just too complex and over- engineered and I don't want to have to understand the insides in order to get it to work. In times gone by, I've had directly-connected HP printers and they just worked with lpr (plus print/magicfilter from pkgsrc). But I cannot

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread BERTRAND Joël
co...@sdf.org a écrit : the internet claims alphas have a console and that 'SHOW AUTO_ACTION' and 'SET AUTO_ACTION RESTART' to change it. I know SRM commands, but it's not a bug related to SRM. Indeed with -7 and the same configuration, shutdown -r reboots system without any trouble. If

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread Martin Husemann
On Thu, Jul 20, 2017 at 12:29:38PM +0200, BERTRAND Joël wrote: > I know SRM commands, but it's not a bug related to SRM. Indeed with -7 and > the same configuration, shutdown -r reboots system without any trouble. It did work for me earlier this week in -current, but I haven't tested -8 yet.

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi! thanks for investigating this. co...@sdf.org wrote: After reboot, look at your newest file in /var/crash/netbsd.*.core.gz If the newest is netbsd.123.core.gz, # cd /var/crash # gunzip netbsd.123.core.gz # gunzip netbsd.123.gz # crash -M netbsd.123.core -N netbsd.123 I am only at crash 21

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread coypu
the internet claims alphas have a console and that 'SHOW AUTO_ACTION' and 'SET AUTO_ACTION RESTART' to change it.

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread John Halfpenny
On Mon, Jul 17, 2017 at 03:03:47PM -0300, SOUL_OF_ROOT 55 wrote: > Can I use NetBSD as a desktop system? Broadly speaking yes Success will depend upon Your goals and patience. (: -- j...@sdf.org SDF Public Access UNIX System - http://sdf.org

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Tue, Jul 18, 2017 at 08:09:28AM +0530, Mayuresh wrote: > - This may or may not matter: I use user space file system encryption with > incremental backup using cryfs which is not available on NetBSD. (There > is a thread on this on this list.) There are alternatives on NetBSD, but > they

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi! it does help a lot! co...@sdf.org wrote: does this help? (I assume removing the free would work but not be ideal) I think the difference is that firmware_*'s allocator is kmem_alloc which should be kmem_free'd, not regular free. I detached the ral0 driver successfylly. I tried to issue

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, I applied: - uaudio patch - ral0 patch in latest version 3 you mention later in this thread - i915 patch, I used the first one which has a single line fix pci_enable_msi(dev->pdev); (the only patch I could find easily, maybe the last one is base64 encoded?) Kernel built and boots fine

Re: Printing to networked printers?

2017-07-20 Thread Paul Goyette
On Thu, 20 Jul 2017, j...@sdf.org wrote: I've been using a crusty old HPLJ PCL-only printer for years with the following setup: -- The following was done to enable traditional lpd-based printing on NetBSD: (note: you'll need to install ghostscript for PostScript printing) 1) create

Re: Printing to networked printers?

2017-07-20 Thread coypu
On Fri, Jul 21, 2017 at 08:18:32AM +0800, Paul Goyette wrote: > > # For plain-text files: > > printf "\033" || exit 2 > > The magicfilter sends "\033E\033\033(0N" as a prefix, and "\033E" as > suffix - I have no idea what any of this means! :) I tried to use your > prefix but still no output

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
This diff makes uaudio claim to support suspend, does it work if you don't drvctl -d uaudio0 with this change? Index: uaudio.c === RCS file: /cvsroot/src/sys/dev/usb/uaudio.c,v retrieving revision 1.154 diff -u -r1.154 uaudio.c ---

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 06:58:05PM +, co...@sdf.org wrote: > Index: rt2860.c Oops, forgot to build test this one! it's commented out because it won't build. I'll try to fix it.

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
mrg@ found that it jumps to NULL because it doesn't initialize if_stop. I've made it build with the power management code, too. care to try this? http://coypu.sdf.org/rt2860-3.diff

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread coypu
On Thu, Jul 20, 2017 at 07:34:12PM +0200, Riccardo Mottola wrote: > Hi! > > it does help a lot! > Cool! I'll commit it. > I get a notice (without crash) in dmesg that uaudio doesn't support power > management. > > thus I did the trick... > > drvctl -d uaudio0 > > it detached properly, so I

Re: Can I use NetBSD as a desktop system?

2017-07-20 Thread Riccardo Mottola
Hi, co...@sdf.org wrote: Try also with this: # sysctl -w hw.acpi.sleep.vbios=0 I believe it did not get backported. and -8/-current have a separate bug that will prevent your suspend again still not committed. that doesn't help my Thinkpad R51. When I press the sleep button I get a black