Re: Use network printer from NetBSD

2020-06-25 Thread JingYuan Chen
How about using pdf2ps and netcat ? pdf2ps urpdf.pdf - | netcat -w 1 printer_IP printer_port On Fri, Jun 26, 2020, 10:03 AM Robert Nestor wrote: > On my old Brother HL-1270N I found I had to append a “\004” to the end of > any file sent to the printer to get it to print. This was true for plai

Re: Use network printer from NetBSD

2020-06-25 Thread Robert Nestor
On my old Brother HL-1270N I found I had to append a “\004” to the end of any file sent to the printer to get it to print. This was true for plain text as well as Postscript files. The printer has different internal “queues” for plain text and Postscript so I wrote a simple filter that convetr

Re: Use network printer from NetBSD

2020-06-25 Thread Greg Troxel
Rocky Hotas writes: > In fact, the printer is not directly connected to my NetBSD host: it > is a stand-alone network printer, with its own LAN IP address. I know > the printer hostname and its IP address. How to send from NetBSD a > print job? The first thing to understand is what format the p

Use network printer from NetBSD

2020-06-25 Thread Rocky Hotas
Hello! I would like to be able to print on NetBSD, but I don't want (and don't need) to create a printer server. In fact, the printer is not directly connected to my NetBSD host: it is a stand-alone network printer, with its own LAN IP address. I know the printer hostname and its IP address. How to

Re: Valgrind on netbsd x86 and amd64

2020-06-25 Thread Jan Danielsson
On 2020-06-25 16:01, Riccardo Mottola wrote: > how is the status of Valgrind? om amd64? > I have a program which fails on NetBSD, but works on Linux and FreeBSD. > I was asked to run it on Valgrind. > > I noticed, thet it is not available in packages. Some references show it > is an ongoing projec

Valgrind on netbsd x86 and amd64

2020-06-25 Thread Riccardo Mottola
Hi, how is the status of Valgrind? om amd64? I have a program which fails on NetBSD, but works on Linux and FreeBSD. I was asked to run it on Valgrind. I noticed, thet it is not available in packages. Some references show it is an ongoing project, it is dead? or perhaps avaiable only on 32bit i

Update guides to using wedges.

2020-06-25 Thread Ahi Brown
Hi. I didn't get my NetBSD 9.0 amd64 install booting from the hard drive but on some tutorials (this one as an example https://www.netbsd.org/docs/misc/index.html#moving-usr). The tutorial seems to use partitions instead of wedges (slices???) which when jumping between pages and how-tos, I g

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Michael van Elst
mayur...@acm.org (Mayuresh) writes: >Yes, such thought occurred to me. I wish pkgsrc had a feature where `work' >could reside on a separate path (which I'll keep on a separate FS). This >way I can keep deleting the work FS, but don't have to check out pkgsrc >too many times. >Or is there such fea

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Ottavio Caruso
On Thu, 25 Jun 2020 at 10:21, Mayuresh wrote: > > On Thu, Jun 25, 2020 at 10:10:47AM +0100, David Brownlee wrote: > > A quick if not necessarily elegant option would be to have multiple > > qcow2 files - one for the system and one for space to build. You can > > release the build space by stopping

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Mayuresh
On Thu, Jun 25, 2020 at 11:23:15AM +0200, Martin Husemann wrote: > I add a new file system for WRKOBJDIR when building packages and totaly > remove it afterwards (as it is empty again). I have PACKAGES set to > a different path so they are outside of WRKOBJDIR. Precisely the practice I'd like to b

Panic on 9.0-STABLE (built and checked out 23 May 2020)

2020-06-25 Thread Mike Pumford
Backtrace is as follows: [ 2364420.854318] fatal page fault in supervisor mode [ 2364420.854318] trap type 6 code 0x2 rip 0x80227d4c cs 0x8 rflags 0x10 246 cr2 0x50 ilevel 0x8 rsp 0x80013b4f1ee8 [ 2364420.854318] curlwp 0xa37c4b8e4b00 pid 0.58 lowest kstack 0x80013b4 ef2c0

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Martin Husemann
On Thu, Jun 25, 2020 at 02:49:25PM +0530, Mayuresh wrote: > But that's not the primary concern. Concern is to allow for spikes in > space usage which some builds require. And want to achieve it without > pre-reserving too much space and reclaiming space for the host. I add a new file system for WR

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Mayuresh
On Thu, Jun 25, 2020 at 10:10:47AM +0100, David Brownlee wrote: > A quick if not necessarily elegant option would be to have multiple > qcow2 files - one for the system and one for space to build. You can > release the build space by stopping the vm, just recreating the second > qcow2 file and rest

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Mayuresh
On Thu, Jun 25, 2020 at 10:00:46AM +0100, Ottavio Caruso wrote: > You need to put a bit of context here. What do you want to achieve? > What parts of the filesystem(s) do you want to share between host and > guest? At present I am not thinking about sharing, though I could set it up such that /usr

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread David Brownlee
On Thu, 25 Jun 2020 at 04:32, Mayuresh wrote: > > I am using a Linux guest as a pkgsrc build server and the host isn't > particularly rich in disk space. So can't completely reserve all the space > required, but spikes in usage during compilation are accommodatable. > > I was using qcow2 disk imag

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-25 Thread Ottavio Caruso
On Thu, 25 Jun 2020 at 04:32, Mayuresh wrote: > > I am using a Linux guest as a pkgsrc build server and the host isn't > particularly rich in disk space. So can't completely reserve all the space > required, but spikes in usage during compilation are accommodatable. > > I was using qcow2 disk imag