Netbooting Sparc64

2022-11-14 Thread Andrew Grillet
Does anyone know what could cause this ... SC Alert: Host System has Reset \ Sun Fire T200, No Keyboard Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. OpenBoot 4.30.4.b, 16256 MB memory available, Serial #82196894. Ethernet address 0:14:4f:e6:39:9e, Host ID:

Re: httpd.conf grammar

2021-03-21 Thread Andrew Grillet
I favour a fuller explanation, this one is fine by me. On Sun, 21 Mar 2021 at 17:20, Laurence Tratt wrote: > > I wanted to use httpd's fastcgi "socket" and "strip" options and based upon > the man page's brief text: > > [no] fastcgi [option] > Enable FastCGI instead of serving

OBSD 6.8 on Sparc64 T2000 - problem ...

2020-10-22 Thread Andrew Grillet
I have a working T2000 partitioned to have a primary and seven guest domains, all running obsd6.7. It has been running live with 5 of the guests live for several months with OBSD 6.7. Each guest has two vdisks with the OS on one and app specific data on the other. I decided to try out 6.8 on one

Re: Use VGA text mode palette RGB values in rasops(9)

2020-07-07 Thread Andrew Grillet
As you get older, you gradually get cataracts -which makes your lenses go yellow. This has the effect of reducing the contrast you experience with blue. Blue against back is very problematic, while blue is generally not great anyway. Eventually, you need an operation to replace your lenses

Re: kstats for em(4)

2020-07-07 Thread Andrew Grillet
"unfortunately em(4) covers a lot of chips of different vintages, so if anyone has a super old one they can try this diff on with kstat enabled in their kernel config, that would be appreciated." I have a T2000 - is that old enough?

Re: Include /var/www/tmp into base install

2020-04-07 Thread Andrew Grillet
For me, the "/var is full" problem can be adequately mitigated by mounting a separate partition as /var/tmp. More of an issue, although obviously not major - if there are a large number of tmp directories, is making sure that they are all routinely purged. Yes, I know this is down to careless

Re: tar confused error messages

2020-03-22 Thread Andrew Grillet
I would prefer that the name of the directory that cannot be created is given in the error message. If you are going to resolve the problem, "permission denied" is of no help at all. "Creating directory 'path/to/problem' - permission denied" makes it trivial to fix. On Sun, 22 Mar 2020 at

Re: ldom.conf: Support devlias keyword for vdisk

2020-02-06 Thread Andrew Grillet
This looks really useful On Wed, 5 Feb 2020 at 21:38, Klemens Nanni wrote: > On Wed, Feb 05, 2020 at 09:35:25PM +0100, Klemens Nanni wrote: > > Straight forward diff to allow calling disks names: > > > > $ cat ldom.conf > > domain guest { > > vcpu 4 > >

Re: ldom.conf: curly braces in vnet block

2020-02-02 Thread Andrew Grillet
I have used the mac-addr feature (for netboot reasons). I think this probably caused me grief but I assumed I was at fault and did not bother reporting it. I prefer same line, no curly braces, and accurate documentation. And also error messages that are more explicit: Vnet.conf:4 Syntax error -

Re: ldomctl: Add -c to start for automatic console connect

2020-01-17 Thread Andrew Grillet
Is there any possibility that the same -c option could be added to > ldomctl panic -c It would be very useful. On Thu, 16 Jan 2020 at 14:31, Klemens Nanni wrote: > On Thu, Jan 16, 2020 at 02:27:42PM +0100, Klemens Nanni wrote: > > Just like vmctl(8), this implements the little convenience for

Re: ldom.conf.5: Mention default boot disk

2020-01-08 Thread Andrew Grillet
Yes - I like the alias idea. The example you give exactly matches most of my setups. Would it be possible to pass the actual filename to boot from via OBP? (Perhaps if enabled/forced by a null or "*" as the filename). This would make it possible to add/replace a disk to a guest after the config

Re: ldomctl: Do not start/stop/panic primary domain

2020-01-03 Thread Andrew Grillet
As a "Stupid Sysadmin", I want all the help I can get! :-) On Fri, 3 Jan 2020 at 19:56, Klemens Nanni wrote: > On Fri, Jan 03, 2020 at 08:28:54PM +0100, Mark Kettenis wrote: > > Please no. Stupid sysadmins should stay away from that command ;). > Do you want to scare them away? > > Fine with

Re: ldom.conf.5: Mention default boot disk

2019-12-30 Thread Andrew Grillet
The fact that netbooting cannot be interrupted has caused me to waste a lot of time over the years. Whether the config is screwed, there is a typo in a config or a cable has fallen off somewhere, it would be very nice to be able to kill the netboot and start again, regardless of this particular

Re: sysupgrade: Allow to use another directory for the sets

2019-11-22 Thread Andrew Grillet
I vote for this. On Fri, 22 Nov 2019 at 16:12, Craig Skinner wrote: > On Tue, 19 Nov 2019 10:35:56 + Stuart Henderson wrote: > > We are short on partitions, there is a hard limit (14+swap), disklabel > auto > > defaults already use 9, and there need to be some free for typical user > use >

Sparc64 - T1000 ldom config issue with OBSD 6.6

2019-11-03 Thread Andrew Grillet
I have been running my T1000 for almost a year on a config generated with (I think) OBDS6.3. I upgraded to 6.6 current on the day before it was released (2 October?). I built a new config with minor changes (names of guest vdisks, and number of CPUs allocated to the primary - several had been

SAS drives on Sparc64

2019-07-04 Thread Andrew Grillet
I have several SAS H/Ds that are reporting "device not configured" with fdisk and disklabel. dd if=/dev/zero of=/dev/sd1 The dmesg entry for one is ... sd1 at scsibus1 targ 1 lun 0: SCSI4 0/direct fixed naa.5000cca0222458c0 I assumed that the problem lies with the boot sector contents, and

Re: ldomctl: improve usage

2019-07-02 Thread Andrew Grillet
I assumed "usage" is printed in response to a failure to give the correct combination of command and argument and that -h (or help) would give more detail. I would like the usage (response to incorrect combination) to be the "synopsis" while the grouped commands and their valid arguments is

Re: ldomctl: improve usage

2019-06-30 Thread Andrew Grillet
As an ldomctl user, I would be happy for usage to be reasonably terse, provided help gives a fuller description - provided the usage mentions the help option. If your screen does not have scroll back, the solution is a screen program that does. It is not 1978 any more. (Incidentally, do others

Re: another go at bypass support for sparc64 iommu and BUS_DMA_64BIT

2019-06-19 Thread Andrew Grillet
I have the snapshot running on a guest domain on a T1000 - see attached. I will test on the primary in a few days, and may be able to test on a T5220 primary towards the end of next week. Let me know if you want any specific test procedure run. On Tue, 18 Jun 2019 at 02:37, Theo de Raadt

Re: OpenBSD 6.5 released -- Apr 24 2019

2019-04-26 Thread Andrew Grillet
Install was very quick on my Sun V100. Congratulations to all involved. Any news on if/when there will be packages for Sparc64? On Wed, 24 Apr 2019 at 14:46, Theo de Raadt wrote: > OpenBSD 6.5 builds finished a week early, so the May 1 dated code can > go out the door 1 week early. > >

Re: bypass support for iommu on sparc64

2018-10-20 Thread Andrew Grillet
So, substitute opening and closing the connection to the network? Is the IOMMU not used for disk (and all SCSI) access also? On Sat, 20 Oct 2018 at 20:32, Theo de Raadt wrote: > Andrew Grillet wrote: > > > Ok, what I am proposing is that the IOMMU is set up when a fi

Re: bypass support for iommu on sparc64

2018-10-20 Thread Andrew Grillet
a much higher > > number of mbufs > > being in use concurrently. I cannot see any other downside (which may be > > due to my > > not understanding a lot of stuff - I last wrote this level of stuff for > > Unix in the 1980's). > > > > On Sat,

Re: bypass support for iommu on sparc64

2018-10-20 Thread Andrew Grillet
wrote this level of stuff for Unix in the 1980's). On Sat, 20 Oct 2018 at 14:41, Theo de Raadt wrote: > Andrew Grillet wrote: > > > These days we are not so short of memory - would it not be possible to > > allocate an mbuf (or two for double-buffered) for each file > &g

Re: bypass support for iommu on sparc64

2018-10-20 Thread Andrew Grillet
19 Oct 2018, at 9:59 pm, Andrew Grillet wrote: > > > > Is the setup and teardown per transfer or when file is opened and closed? > > Or is it set up once per context switch of task? > > > > I am partly interested cos I would like to improve mt one day (as user of > &

Re: bypass support for iommu on sparc64

2018-10-19 Thread Andrew Grillet
Is the setup and teardown per transfer or when file is opened and closed? Or is it set up once per context switch of task? I am partly interested cos I would like to improve mt one day (as user of tape and Sparc64 Txxx) if I get the time. Andrew On Fri, 19 Oct 2018 at 10:22, Mark Kettenis

Vlan on T2000

2017-11-06 Thread Andrew Grillet
Hi, I have been running OBSD6.0 and 6.1 on my T2000. I now wish to upgrade to 6.2, and I managed to boot a guest domain from a miniroot62.fs image with no problems. It is now asking: Which network interface do you wish to configure? (or 'done') [vlan0] Which interface:tag should vlan0 be on?

Re: [PATCH] allow notAfter after 2038 with 32-bit time_t

2017-07-11 Thread Andrew Grillet
Hi, I have built embedded systems that have run 20 years with no update - but I doubt they are common. More of an issue is archived data. I have read data 30 years old, and may well do so again. While I think the answer is "human readable date formats" The Americans have scuppered that with

Fwd: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Andrew Grillet
"The socket has no TCP PCB anymore. " This would be a better error message. (Although I don't know what a PCB is, and when I Google, it comes out as PolyChlorinated Biphenyl or Printed Circuit Board, so perhaps a bit more explanation is needed). -- Forwarded message -- From:

Re: Ldomctl interrupt boot

2017-04-23 Thread Andrew Grillet
described. On 23 April 2017 at 15:45, Stefan Sperling <s...@stsp.name> wrote: > On Sun, Apr 23, 2017 at 02:14:51PM +0100, Andrew Grillet wrote: > > Hi > > > > I have a T2000 running OpenBSD 6.0, with five guest domains. > > > > Primary and some guests are wor

Ldomctl interrupt boot

2017-04-23 Thread Andrew Grillet
Hi I have a T2000 running OpenBSD 6.0, with five guest domains. Primary and some guests are working. I am attempting to install the OS in the remaining guests. In the process of installing the OS on vdisk0 of a guest, I wish it to boot from vdisk1, but the guest is stuck in a situation where it

Sun T2000 internal communications

2017-04-19 Thread Andrew Grillet
Hi, how _exactly_ does a guest domain connect to a virtual disk? I am asking this because I installed 6.1 onto my system which had been running 6.0. However, I took the opportunity to reformat and partition the hard disks. I reinstalled the same virtual disks in the same logical positions:

rmt

2017-02-17 Thread Andrew Grillet
How do I actually use rmt? I want to backup a guest domain on a T2000 using a tape drive on the primary domain. Both domains run OpenBSD 6.0. The way I read the mt manual page, I should be able to do (from the guest, as root) > mt primary:/dev/rst0 status and this should deliver the command to

Re: dhcpd.conf(5): "domain name" -> "hostname" for next-server option

2017-02-04 Thread Andrew Grillet
Hi "a name that can be looked up in the DNS" Please can this phrase be used in the man page -it is a really good explanation. On 4 February 2017 at 15:34, Jeremie Courreges-Anglas wrote: > Theo Buehler writes: > > > On Wed, Jan 11, 2017 at 09:30:15PM

Re: ldomctl(8) usage

2017-01-26 Thread Andrew Grillet
was the architect). On 26 January 2017 at 13:49, Stefan Sperling <s...@stsp.name> wrote: > On Thu, Jan 26, 2017 at 01:37:14PM +0000, Andrew Grillet wrote: > > I am not sure what bikeshedding means in this case (it was all different > > when I was at school ;-) > > http://producingoss.

Re: ldomctl(8) usage

2017-01-26 Thread Andrew Grillet
I am not sure what bikeshedding means in this case (it was all different when I was at school ;-) However, as an ldomctl user, I would be happier if the usage was consistent with the man page: it makes everything seem more trustworthy. And once the machine is up and stable, you probably wont be