Re: install the sets, install70.img

2022-02-14 Thread Stuart Henderson
At the boot> prompt try "disable xhci" and "quit". This will disable the
USB3 driver and should fallback to USB2 which could possibly work better.


On 2022-02-13, Zé Loff  wrote:
> On Sun, Feb 13, 2022 at 12:25:45PM -0500, Raul Miller wrote:
>> On Sun, Feb 13, 2022 at 10:25 AM Maurice McCarthy  
>> wrote:
>> > Wow, cannot even see your usb drive. Now I am right out of my depth.
>> > The sdhc0 and sdmmc0 are to do with the SD card slot.
>> 
>> I am also out of my depth.
>> 
>> That said, here is dmesg | grep -n ^ (hand typed to another machine,
>> and then proofread).
>
> Not quite sure what is going on exactly, but something odd is going on
> with your USB internal hub:
>
>> 190:xhci0 at pci0 dev 21 function 0 "Intel Apollo Lake xHCI" rev 0x0b: msi, 
>> xHCI 1.0
>> 191:usb0 at xhci0: USB revision 3.0
>> 192:uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
>> 3.00/1.00 addr 1
> ...
>> 232:uhub0: port 2, set config 0 at addr 2 failed
>> 233:uhub0: device problem, disabling port 2
>> 234:"Quectel EC25-AF" rev 2.00/3.18 addr 2 at uhub0 port 3 not configured
>> 235:"Generic USB2.0-CRW" rev 2.00/39.60 addr 3 at uhub port 4 not configured
>> 236:"Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 4 at uhub0 port 7 not 
>> configured
>> 237:"vendor 0x090c YinZhiJie  Y220A" rev 2.0/8.00 addr 5 at uhub0 port 8 not 
>> configured
>  
> Which explains why you are not seeing your USB disk anywhere.


-- 
Please keep replies on the mailing list.



Re: install the sets, install70.img

2022-02-13 Thread Zé Loff
On Sun, Feb 13, 2022 at 12:25:45PM -0500, Raul Miller wrote:
> On Sun, Feb 13, 2022 at 10:25 AM Maurice McCarthy  wrote:
> > Wow, cannot even see your usb drive. Now I am right out of my depth.
> > The sdhc0 and sdmmc0 are to do with the SD card slot.
> 
> I am also out of my depth.
> 
> That said, here is dmesg | grep -n ^ (hand typed to another machine,
> and then proofread).

Not quite sure what is going on exactly, but something odd is going on
with your USB internal hub:

> 190:xhci0 at pci0 dev 21 function 0 "Intel Apollo Lake xHCI" rev 0x0b: msi, 
> xHCI 1.0
> 191:usb0 at xhci0: USB revision 3.0
> 192:uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
> 3.00/1.00 addr 1
...
> 232:uhub0: port 2, set config 0 at addr 2 failed
> 233:uhub0: device problem, disabling port 2
> 234:"Quectel EC25-AF" rev 2.00/3.18 addr 2 at uhub0 port 3 not configured
> 235:"Generic USB2.0-CRW" rev 2.00/39.60 addr 3 at uhub port 4 not configured
> 236:"Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 4 at uhub0 port 7 not 
> configured
> 237:"vendor 0x090c YinZhiJie  Y220A" rev 2.0/8.00 addr 5 at uhub0 port 8 not 
> configured
 
Which explains why you are not seeing your USB disk anywhere.
-- 
 



Re: install the sets, install70.img

2022-02-13 Thread Raul Miller
If I unplug and reinsert the usb drive, after about a minute, I get an
asynchronous blue background bit of text:

uhub0: port 2, set config 0 at addr 6 failed
uhub0: device problem, disabling port 2

There's a second usb socket on the other side of the machine. If I
transfer the drive over to that side, the eventual message is,
instead:

uhub: port 5, set config 0 at addr 6 failed
uhub: device problem, disabling port 5

I guess my next step is to try finding some different kind of usb
media to install from, to see if that changes anything.

Thanks,

-- 
Raul

On Sun, Feb 13, 2022 at 11:22 AM Kristo  wrote:
>
> Hi,
>
> Since more sensible suggestions have already been made I'd just
> like to mention that some time ago I was installing OpenBSD on
> somewhat unusual hardware and during this step I had to reinsert
> the USB for it to be recognized correctly.
>



Re: install the sets, install70.img

2022-02-13 Thread Raul Miller
On Sun, Feb 13, 2022 at 10:25 AM Maurice McCarthy  wrote:
> Wow, cannot even see your usb drive. Now I am right out of my depth.
> The sdhc0 and sdmmc0 are to do with the SD card slot.

I am also out of my depth.

That said, here is dmesg | grep -n ^ (hand typed to another machine,
and then proofread).

1:OpenBSD 7.0-current (RAMDISK_CD) #322: Sat Feb 12 12:19:10 MST 2022
2:dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
3:real mem = 4083228672 (3894MB)
4:avail mem = 3955458048 (3772MB)
5:random: good seed from bootblocks
6:mainbus0 at root
7:bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x79b69000 (75 entries)
8:bios0: vendor American Megatrends Inc. version
"E3-BI-11.6-Y116AR700-001-B" date 04/28/2020
9:acpi0 at bios0: ACPI 6.0
10:acpi0: tables DSDT FACP FPDT FIDT MSDM MCFG DBG2 DBGP HPET LPIT
APIC NPKT PRAM SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI TPM2 WDAT
11:acpihpet0 at acpi0: 1920 Hz
12:acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
13:cpu0 at mainbus0: apid 0 (boot processor)
14:cpu0: Intel(R) Celeron(R) CPU N3450 @ 1.10GHz, 1097.13 Mhz, 06-5c-09
15:cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVEBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
16:cpu0: 1MB 64b/line 16-way L2 cache
17:cpu0: apic clock running at 19MHz
18:cpu0: mwait min=64, max=64, C-substates=0.2.0.2.4.2.1.1, IBE
19:cpu at mainbus0: not configured
20:cpu at mainbus0: not configured
21:cpu at mainbus0: not configured
22:ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 120 pins
23:acpiprt0 at acpi0: bus 0 (PCI0)
24:acpiprt1 at acpi0: bus 3 (RP01)
25:acpiprt2 at acpi0: bus 4 (RP02)
26:acpiprt3 at acpi0: bus 1 (RP03)
27:acpiprt4 at acpi0: bus -1 (RP04)
28:acpiprt5 at acpi0: bus -1 (RP05)
29:acpiprt6 at acpi0: bus 2 (RP06)
30:acpiec0 at acpi0
31:acpipci0 at acpi PCI0: 0x 0x0011 0x0001
32:"ACPI0003" at acpi0 not configured
33:"PNP0C0A" at acpi0 not configured
34:"PNP0C0D" at acpi0 not configured
35:"SYNA3602" at acpi0 not configured
36:"ID9001" at acpi0 not configured
37:acpicmos0 at acpi0
38:aplgpio0 at acpi0 GPO0 uid 1 addr 0xd0c5/0x76c irq 14, 78 pins
39:aplgpio1 at acpi0 GPO1 uid 2 addr 0xd0c4/0x764 irq 14, 77 pins
40:aplgpio2 at acpi0 GPO2 uid 3 addr 0xd0c7/0x674 irq 14, 47 pins
41:aplgpio3 at acpi0 GPO3 uid 4 addr 0xd0c0/0x654 irq 14, 43 pins
42:"INT33A1" at acpi0 not configured
43:"MSFT0101" at acpi0 not configured
44:"PNP0C0C" at acpi0 not configured
45:"INT33D5" at acpi0 not configured
46:"INT3400" at acpi0 not configured
47:"INT3403" at acpi0 not configured
48:"PNP0C0B" at acpi0 not configured
49:acpicpu at acpi0 not configured
50:acpipwrres at acpi0 not configured
51:acpitz at acpi0 not configured
52:pci0 at mainbus0 bus 0
53:pchb0 at pci0 dev 0 function 0 "Intel Apollo Lake Host" rev 0x0b
54:vendor "Intel", unknown product 0x5a8c (class DASP subclass
miscellaneous, rev 0x0b) at pci0 dev 0 function 1 not configured
55:"Intel HD Graphics 500" rev 0x0b at pci0 dev 2 function 0 not configured
56:"Intel Apollo Lake HD Audio" rev 0x0b at pci0 dev 14 function 0 not
configured
57:"Intel Apollo Lake TXE" rev 0x0b at pci0 dev 15 function 0 not configured
58:ahci0 at pci0 dev 18 function 0 "Intel Apollo Lake AHCI" rev 0x0b:
msi, AHCI 1.3.1
59:ahci0: PHY offline on port 0
60:ahci0: PHY offline on port 1
61:scsibus0 at ahci0: 32 targets
62:ppb0 at pci0 dev 19 function 0 "Intel Apollo Lake PCIE" rev 0xfb: msi
63:pci1 at ppb0 bus 1
64:ppb1 at pci0 dev 19 function 3 "Intel Apollo Lake PCIE" rev 0xfb
65:pci2 at ppb1 bus 2
66:ppb2 at pci0 dev 20 function 0 "Intel Apollo Lake PCIE" rev 0xfb: msi
67:pci3 at ppb2 bus 3
68:ppb3 at pci0 dev 20 function 1 "Intel Apollo Lake PCIE" rev 0xfb: msi
69:pci4 at ppb3 bus 4
70:xhci0 at pci0 dev 21 function 0 "Intel Apollo Lake xHCI" rev 0x0b:
msi, xHCI 1.0
71:usb0 at xhci0: USB revision 3.0
72:uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
73:dwiic0 at pci0 dev 22 function 0 "Intel Apollo Lake I2C" rev 0x0b:
apic 1 int 27
74:iic1 at dwiic0
75:dwiic1 at pci0 dev 22 function 1 "Intel Apollo Lake I2C" rev 0x0b:
apic 1 int 28
76:iic1 at dwiic1
77:dwiic2 at pci0 dev 22 function 2 "Intel Apollo Lake I2C" rev 0x0b:
apic 1 int 29
78:iic2 at dwiic2
79:ihidev0 at iic2 addr 0x2cdwiic2: timed out reading remaining 30
80:, failed fetching initial HID descriptor
81:dwiic3 at pci0 dev 22 function 3 "Intel Apollo Lake I2C" rev 0x0b:
apic 1 int 30
82:iic3 at dwiic3
83:dwiic4 at pci0 dev 23 function 0 "Intel Apollo Lake I2C" rev 0x0b:
apic 1 int 31
84:iic4 at dwiic4
85:dwiic5 at pci0 dev 23 function 1 "Intel Apollo Lake I2C" rev 0x0b:
apic 1 int 32
86:iic5 at dwiic5
87:dwiic6 at pci0 dev 23 

Re: install the sets, install70.img

2022-02-13 Thread Kristo
Hi,

Since more sensible suggestions have already been made I'd just
like to mention that some time ago I was installing OpenBSD on
somewhat unusual hardware and during this step I had to reinsert
the USB for it to be recognized correctly.



Re: install the sets, install70.img

2022-02-13 Thread Maurice McCarthy
Wow, cannot even see your usb drive. Now I am right out of my depth.
The sdhc0 and sdmmc0 are to do with the SD card slot.

I  have no further suggestions sorry.



Re: install the sets, install70.img

2022-02-13 Thread Raul Miller
On Sun, Feb 13, 2022 at 8:53 AM Stuart Henderson
 wrote:
> Escape to a shell and see what you get from
>
>dmesg | grep ^sd

(This is hand-typed, from the install machine, but carefully proofread):

# dmsg | grep ^sd
sdhc0 at pci0 dev 28 function 0 "Intel Apollo Lake eMMC" rev 0x0b: apic 1 int 39
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
sd0 at scsibus1 targ 1 lun 0:  removable
sd0: 59040MB, 512 bytes/sector, 120913920 sectors
sdhc0 at pci0 dev 28 function 0 "Intel Apollo Lake eMMC" rev 0x0b: apic 1 int 39
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
sd0 at scsibus1 targ 1 lun 0:  removable
sd0: 59040MB, 512 bytes/sector, 120913920 sectors

I don't know what I am looking for here, does any of this seem
indicative of a likely problem?

Thanks,

-- 
Raul



Re: install the sets, install70.img

2022-02-13 Thread Stuart Henderson
On 2022-02-13, Maurice McCarthy  wrote:
> When you boot the usb it creates a _small ramdisk for the installation
> to run from. Your notebook drive sd0 gets mounted on /mnt. The sets
> stay on the usb.
>
> If you look in /dev there are probably no sd1 files created (which I
> guess is where the usb stick is, provided there are no other disks
> present.) So drop to a shell
>
> # export TERM=vt220
> # cd /dev
> # ./MAKEDEV sd1 (!! Do not omit the sd1 or you will exhaust the ramdrive !!)
> # mkdir /usb
> # disklabel sd1
>
> and you should see which partition your usb device is.
>
> Best
>
>

That ought to all be taken care of by answering 'no' to "is the
partition mounted"

Escape to a shell and see what you get from

   dmesg | grep ^sd

I suspect one of the drives is not being seen


-- 
Please keep replies on the mailing list.



Re: install the sets, install70.img

2022-02-13 Thread Raul Miller
On Sun, Feb 13, 2022 at 8:29 AM Maurice McCarthy  wrote:
> If you look in /dev there are probably no sd1 files created (which I
> guess is where the usb stick is, provided there are no other disks
> present.) So drop to a shell

This sounds promising, and you were indeed correct that no sd1 files
had been created.

> # export TERM=vt220
> # cd /dev
> # ./MAKEDEV sd1 (!! Do not omit the sd1 or you will exhaust the ramdrive !!)
> # mkdir /usb
> # disklabel sd1

MAKEDEV was not executable, but that's easy to change.

Anyways, after making the sd1 device files, disklabel sd1 gets me:

disklabel: /dev/rsd1c: Device not configured.

(And, the install behavior is unchanged.)

Thanks,

-- 
Raul



Re: install the sets, install70.img

2022-02-13 Thread Maurice McCarthy
# mount /dev/sd1a /usb  (for example)
# exit

Should return to the installation.



Re: install the sets, install70.img

2022-02-13 Thread Maurice McCarthy
When you boot the usb it creates a _small ramdisk for the installation
to run from. Your notebook drive sd0 gets mounted on /mnt. The sets
stay on the usb.

If you look in /dev there are probably no sd1 files created (which I
guess is where the usb stick is, provided there are no other disks
present.) So drop to a shell

# export TERM=vt220
# cd /dev
# ./MAKEDEV sd1 (!! Do not omit the sd1 or you will exhaust the ramdrive !!)
# mkdir /usb
# disklabel sd1

and you should see which partition your usb device is.

Best



Re: install the sets, install70.img

2022-02-13 Thread Maurice McCarthy
Your sets are on the USB "disk"


>
>
>


Re: install the sets, install70.img

2022-02-13 Thread Raul Miller
On Sat, Feb 12, 2022 at 11:43 PM Ricky Cintron  wrote:
> On Saturday, February 12th, 2022 at 5:44 PM, Raul Miller 
>  wrote:
>
> > ...
> > Location of sets? (disk http nfs or 'done') [http]
> > ...
>
> Entering 'disk' at this point should allow you to select the USB flash drive
> (device) as the location of the sets.

When I type disk at that prompt, it goes like this:

Is the disk partition already mounted? [yes]
Pathname to the sets? (or 'done') [7.0/amd64]
The directory '7.0/amd64' does not exist.
Pathname to the sets? (or 'done') [7.0/amd64]

Or:

Is the disk partition already mounted? [no]
Available disks are: sd0.
Which disk contains the install media? (or 'done') [sd0]

But sd0 is where I am installing openbsd -- it does not contain any sets.

Which is what prompted my previous email...

Thanks,

-- 
Raul



install the sets, install70.img

2022-02-12 Thread Raul Miller
I am attempting to install openbsd on a maestro evolve iii notebook.

I am using the install70.img from
https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/ written to a usb
drive.

Installation prompts with responses as follows:
boot> (I let this time out)
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? I
Choose your keyboard layout ('?' or 'L' for list) [default]
System hostname? (short form, e.g. 'foo') whatever

Available network interfaces are: vlan0
Which network interface do you wish to configure? (or 'done') [vlan0] done
DNS domain name? (e.g. 'example.com') [my.domain] bogus.invalid
DNS nameservers? (IP address list or 'none') [none]
Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes] no
Do you want the X Window System to be started by xenodm(1)? [no]
Setup a user? (enter a lower-case loginname, or 'no') [no]

Available disks are: sd0
Which disk is the root disk? ('?' for details) [sd0]
Use (W)hole disk MBR, whole disk (G)pt, (O)penBSD area or (E)dit? [OpenBSD] G
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
Location of sets? (disk http nfs or 'done') [http]

So here's my problem:

I was expecting that since I was using install70.img that I would have
an option to install the sets from the usb drive. But I do not see
that option listed here. And, dropping into shell, I do not see
anything that looks like a device file for the usb drive, to mount on
mnt2

Obviously, I am doing something wrong. But, what?

I am not currently prepared to bring up wifi on this machine, to
install the sets from the network. Should that be my only recourse
here?

I opt to use gpt rather than mbr, because this machine is an efi
machine, and I am under the impression that efi wants gpt. I think
this is the right choice, though if I am wrong about that, I would be
interested in hearing the reasoning. But, in any event, it's probably
not the source of this issue.

How should I access the sets which are supposed to be on the install media here?

Thanks,

-- 
Raul