[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    Re: sparc64-current install
From:       "Theo de Raadt" <deraadt () openbsd ! org>
Date:       2021-09-20 21:28:05
Message-ID: 10160.1632173285 () cvs ! openbsd ! org
[Download RAW message or body]

This regression in disklabel was just fixed, and will be in the next snapshot
(about 4 hours from now).


Kyle Milz <krwmilz@gmail.com> wrote:

> Hi,
> 
> I'm trying to install sparc64-current into an LDOM using miniroot70.img
> but I'm getting at the following at the disk partitioning step:
> 
> disklabel: DIOCWDINFO: Invalid argument
> 
> I tried miniroot69.img and it works fine.
> 
> Here is the console script from the install:
> 
> sparc# ldomctl create-vdisk -s 15G /var/vdsk/current.img
> sparc# dd if=miniroot70.img of=/var/vdsk/current.img conv=notrunc
> 6400+0 records in
> 6400+0 records out
> 3276800 bytes transferred in 0.200 secs (16307450 bytes/sec)
> sparc#
> sparc# ldomctl start current
> sparc# ldomctl console current
> Connected to /dev/ttyV0 (speed 9600)
> +312+28 start=0x1000000
> console is /virtual-devices@100/console@1
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2021 OpenBSD. All rights reserved.  https://www.OpenBSD.org
> 
> OpenBSD 7.0 (RAMDISK) #926: Sun Sep 19 17:29:28 MDT 2021
>     deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/RAMDISK
> real mem = 4294967296 (4096MB)
> avail mem = 4205690880 (4010MB)
> random: boothowto does not indicate good seed
> mainbus0 at root: SPARC Enterprise T5120
> cpu0 at mainbus0: SUNW,UltraSPARC-T2 (rev 0.0) @ 1415.103 MHz
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> "SUNW,UltraSPARC-T2" at mainbus0 not configured
> vbus0 at mainbus0
> "flashprom" at vbus0 not configured
> vrng0 at vbus0
> cbus0 at vbus0
> vdsk0 at cbus0 chan 0x2: ivec 0x4, 0x5
> scsibus0 at vdsk0: 1 targets
> sd0 at scsibus0 targ 0 lun 0: <SUN, Virtual Disk, 1.1>
> sd0: 15360MB, 512 bytes/sector, 31457280 sectors
> vnet0 at cbus0 chan 0x3: ivec 0x6, 0x7, address 00:14:4f:fb:ed:72
> vcons0 at vbus0: ivec 0x111: console
> vrtc0 at vbus0                         
> softraid0 at root                      
> scsibus1 at softraid0: 256 targets
> bootpath: /virtual-devices@100,0/channel-devices@200,0/disk@0,0
> root on rd0a swap on rd0b dump on rd0b
> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
> 
> Welcome to the OpenBSD/sparc64 7.0 installation program.
> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? I
> At any prompt except password prompts you can escape to a shell by
> typing '!'. Default answers are shown in []'s and are selected by
> pressing RETURN.  You can exit this program at any time by pressing
> Control-C, but this can leave your system in an inconsistent state.
> 
> Terminal type? [sun] 
> System hostname? (short form, e.g. 'foo') current
> 
> Available network interfaces are: vnet0 vlan0.
> Which network interface do you wish to configure? (or 'done') [vnet0] 
> IPv4 address for vnet0? (or 'autoconf' or 'none') [autoconf] 
> IPv6 address for vnet0? (or 'autoconf' or 'none') [none] 
> Available network interfaces are: vnet0 vlan0.
> Which network interface do you wish to configure? (or 'done') [done] 
> Using DNS domainname 0x30.net
> Using DNS nameservers at 192.168.4.254
> 
> Password for root account? (will not echo) 
> Password for root account? (again) 
> The root password must be set.
> Password for root account? (will not echo) 
> Password for root account? (again) 
> Start sshd(8) by default? [yes] 
> Setup a user? (enter a lower-case loginname, or 'no') [no] 
> Since no user was setup, root logins via sshd(8) might be useful.
> WARNING: root is targeted by password guessing attacks, pubkeys are safer.
> Allow root ssh login? (yes, no, prohibit-password) [no] 
> What timezone are you in? ('?' for list) [Canada/Pacific] 
> 
> Available disks are: sd0.
> Which disk is the root disk? ('?' for details) [sd0] 
> The auto-allocated layout for sd0 is:
> #                size           offset  fstype [fsize bsize   cpg]
>   a:           378.9M                0  4.2BSD   2048 16384     1 # /
>   b:           537.8M           775968    swap                    
>   c:         15360.0M                0  unused                    
>   d:           486.2M          1877408  4.2BSD   2048 16384     1 # /tmp
>   e:           675.1M          2873184  4.2BSD   2048 16384     1 # /var
>   f:          1957.8M          4255840  4.2BSD   2048 16384     1 # /usr
>   g:           521.3M          8265408  4.2BSD   2048 16384     1 # /usr/X11R6
>   h:          1710.7M          9333088  4.2BSD   2048 16384     1 # /usr/local
>   i:          1391.5M         12836576  4.2BSD   2048 16384     1 # /usr/src
>   j:          5303.1M         15686464  4.2BSD   2048 16384     1 # /usr/obj
>   k:          2397.5M         26547232  4.2BSD   2048 16384     1 # /home
> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] a
> disklabel: DIOCWDINFO: Invalid argument
> The auto-allocated layout for sd0 is:
> ... goes back to asking for layout ...
> 
> 
> 
> Here's the auto-allocated layout on the same disk for the successful
> miniroot69.img, it is slightly different:
> 
> Available disks are: sd0.
> Which disk is the root disk? ('?' for details) [sd0] 
> The auto-allocated layout for sd0 is:
> #                size           offset  fstype [fsize bsize   cpg]
>   a:           384.4M                0  4.2BSD   2048 16384     1 # /
>   b:           541.3M           787185    swap                    
>   c:         15360.0M                0  unused                    
>   d:           486.3M          1895670  4.2BSD   2048 16384     1 # /tmp
>   e:           682.4M          2891700  4.2BSD   2048 16384     1 # /var
>   f:          1961.1M          4289355  4.2BSD   2048 16384     1 # /usr
>   g:           525.6M          8305605  4.2BSD   2048 16384     1 # /usr/X11R6
>   h:          1717.9M          9381960  4.2BSD   2048 16384     1 # /usr/local
>   i:          1396.3M         12900195  4.2BSD   2048 16384     1 # /usr/src
>   j:          5310.5M         15759765  4.2BSD   2048 16384     1 # /usr/obj
>   k:          2353.3M         26635770  4.2BSD   2048 16384     1 # /home
> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] 
> 
> 
> Kyle
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic