DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default New laptop - Install problems

I recently replaced my ThinkPad x220 with a Thinkpad X1 Carbon 6th Gen and am running into problems getting OpenBSD to install and run properly.
My first problem is that I had no internet connection - no wifi or ethernet.
Searching the web on the X220 I found instructions to download iwm firmware and. managed to at least get a wifi connection going.
I would appreciate any help offered with getting an ethernet connection up.

Another issue is that about every other time I boot up I get:
Code:
axen0: Read PHY failed
scrolling down the screen about 6 0r 7 times before the boot continues. I'm not even sure what axen0 is or how to address this.

I'm not sure what information would be needed to assist me but any help would be appreciated.

Thank you

Last edited by ocicat; 15th September 2023 at 02:30 AM. Reason: Please add [code] & [/code] tags for clarity.
Reply With Quote
  #2   (View Single Post)  
Old 13th September 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Default

Quote:
Originally Posted by stanl View Post
I'm not even sure what axen0 is or how to address this.
It's the first (or only) instance of the axen(4) driver, which supports Ethernet adapters based on the ASIX Electronics AX88179 chipset. Additional information about the driver can be found in the axen(4) man page.

A "PHY" is an Ethernet adapter's physical connector. https://en.wikipedia.org/wiki/Physical_layer
Quote:
I'm not sure what information would be needed to assist me but any help would be appreciated.
I recommend posting your dmesg(8).
Reply With Quote
  #3   (View Single Post)  
Old 13th September 2023
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 340
Default

Are you able to get to the command line?
Have you run OpenBsd previoously?
Reply With Quote
  #4   (View Single Post)  
Old 14th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

It has been a couple days I've been working on this and as of now I've got
OpenBSD 7.3-currrent running fine with one exception - no ethernet connection.

I read the axen(4) man page as jggimi suggested as well as ifconfig(8) altho
I'm not sure how much I understood.

One thing I did was create the file /etc/hostname.axen0 with the line:
inet autconf

Now ifconfig shows:
Code:
axe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr e8:80:2e:e7:f3:29
        index 5 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
But em0 still shows:
Code:
em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr e8:6a:64:45:01:aa
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (none)
        status: no carrier
So I'm not sure what good, if any, that did.

As it now stands I rhink I am resigned to using a wifi only connection without
an ethernet connection.

One last question - could the fact that I am using a vpn have anything to do
with my problem or is that unrelated?

Thanks

Last edited by ocicat; 15th September 2023 at 02:34 AM.
Reply With Quote
  #5   (View Single Post)  
Old 14th September 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Wink

So far in this thread, Stan, you have mentioned three Ethernet drivers:
  1. axen(4) - ASIX Electronics AX88179 10/100/1Gb USB Ethernet device
  2. axe(4) - ASIX Electronics AX88172/AX88178/AX88772 10/100/1Gb USB Ethernet
    device
  3. em(4) - Intel PRO/1000 10/100/1Gb Ethernet device
You're going to have to figure out which of these Network Interface Controllers you are using, and then provision the right one.
  • Active - cable connected and Ethernet carrier detected
  • No carrier - no Ethernet carrier, which could be due to no cable present, disconnected cable, defective cable, etc.
If this isn't enough information for you to resolve your issue yourself, then please post your dmesg(8). I'd recommended that 2 days ago. I also recommend posting the complete output from ifconfig(8).
Reply With Quote
  #6   (View Single Post)  
Old 14th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default New laptop - install problems

Thank you for any help you may be able to offer.ifconfig.txt

dmesg.txt


j
Reply With Quote
  #7   (View Single Post)  
Old 14th September 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Default

Edit for clarity: Stanl deleted two replies with text attachments and comments. The first part of this reply addressee his comments, the rest of this reply is from review of the attachments.


The attachments have an ASCII linefeed character between each line, which is commonly used for text files on Unix and Unix-like systems. I'll assume you're trying to view them from Windows, which expects an ASCII carriage return and and ASCII linefeed between each line of a text file, a legacy from earlier operating systems on which Windows was based.

If your Windows workstation has the "WordPad" program available, that is an editor which may help you view text files from operating systems that separate lines using only ASCII linefeed characters.


----

Your new laptop has three Network Interface Controllers (NICs).
  1. You have an Intel WiFi NIC attached to the iwm(4) driver.
  2. You have an Intel wired Ethernet NIC attached to the em(4) driver.
  3. You have an ASIX wired Ethernet NIC attached to the axen(4) driver.
The physical layer for the axen(4) NIC uses a separate driver, rgephy(4). If you look at that driver's man page you will see that this physical layer is from a separate hardware provider, Realtek.

The em(4) NIC and iwm(4) NICs have integrated drivers for their physical layers. The axen(4) NIC is USB-attached, the other two use a PCI bus.
Code:
iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 8265" rev 0x78, msi
 [snip]
em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x21: msi, address e8:6a:64:45:01:aa
 [snip]
axen0 at uhub0 port 13 configuration 1 interface 0 "ASIX Elec. AX88179" rev 3.00/1.00 addr 6
axen0: AX88179, address 00:05:1b:c6:16:07
axen0: enable auto detach (0x1020)
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5
Two of your NICs are provisioned and active:
  • Your iwm(4) WiFi NIC is connected to your FiOS access point and is assigned the address 192.168.1.250.
  • Your axen(4) wired Ethernet NIC is connected over 1000BaseT Ethernet to the same subnet, at address 192.168.1.252.
Code:
iwm0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr 1c:1b:b5:69:d6:4c
        index 1 priority 4 llprio 3
        groups: wlan egress
        media: IEEE802.11 autoselect (VHT-MCS0 mode 11ac)
        status: active
        ieee80211: join FiOS-46TZM-5G chan 132 bssid c8:a7:0a:af:8c:d8 91% wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccm
p wpagroupcipher ccmp
        inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255
 [snip]
axen0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr 00:05:1b:c6:16:07
        index 5 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.1.252 netmask 0xffffff00 broadcast 192.168.1.255
---

You have two physical NICs on the same subnet. As provisioned, this is a network architecture error. You cannot have two NICs attached to the same subnet at the same time. Either provision and connect them one at a time, or, provision a failover trunk(4) as the attaching pseudo-NIC, and assign both wired and WiFi NICs to the trunk. There's an example of provisioning a trunk(4) for WiFi in the FAQ, in the Wireless Networking section: http://www.openbsd.org/faq/faq6.html#Wireless

Last edited by jggimi; 14th September 2023 at 11:16 PM. Reason: Deleted replies make my reply lose all context
Reply With Quote
  #8   (View Single Post)  
Old 14th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

jggimi - I thought I had deleted those attachments as I was trying to send them in-line as I have seen others do but couldn't figure out how.

My problem is that this laptop doesn't have an ethernet port so I have to use a USB to ethernet adapter. I have 2 - one from Apple and one from J5Create. I guess that is why sometimes it is axe0 and sometimes axen0 depending on which one I am trying to get to work.

My knowldege of networking is practically non-existant so while I appreciate your efforts on my behalf I'm not sure what to do with the information.

I am going to try to copy and paste the dmesg and ifconfig.
However, you've given more than I have any right to expect.
Code:
OpenBSD 7.3-current (GENERIC.MP) #1360: Fri Sep  8 19:01:03 MDT 2023
    deraadt@amd64.openbsd.org:/usr/src/s...ile/GENERIC.MP
real mem = 16896249856 (16113MB)
avail mem = 16364457984 (15606MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x4f019000 (63 entries)
bios0: vendor LENOVO version "N23ET75W (1.50 )" date 10/13/2020
bios0: LENOVO 20KGS4BD00
efi0 at bios0: UEFI 2.5
efi0: Lenovo rev 0x1500
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SSDT SSDT TPM2 UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT SSDT BOOT BATB SLIC SSDT SSDT SSDT LPIT WSMT SSDT SSDT SSDT DBGP DBG2 MSDM DMAR NHLT ASF! FPDT BGRT UEFI
acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 23999999 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu1: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu2: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu3: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu4: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu4: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu5: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu5: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu6: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu6: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 1795.82 MHz, 06-8e-0a, patch 000000f4
cpu7: 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu7: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-127
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus 4 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus 5 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus -1 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus -1 (RP21)
acpiprt22 at acpi0: bus -1 (RP22)
acpiprt23 at acpi0: bus -1 (RP23)
acpiprt24 at acpi0: bus -1 (RP24)
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpithinkpad0 at acpi0: version 2.0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "01AV430" serial  4244 type LiP oem "SMP"
"LEN0100" at acpi0 not configured
"INT3403" at acpi0 not configured
acpicmos0 at acpi0
"ALPS0000" at acpi0 not configured
"INT0E0C" at acpi0 not configured
acpibtn0 at acpi0: SLPB(wakeup)
"PNP0C14" at acpi0 not configured
"INT33A1" at acpi0 not configured
acpibtn1 at acpi0: LID_(wakeup)
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT3400" at acpi0 not configured
tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x0000104a rev 0x4e
"USBC000" at acpi0 not configured
acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu4 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu5 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu6 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu7 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHC_
acpitz0 at acpi0: critical temperature is 128 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 1795 MHz: speeds: 2101, 2100, 1900, 1800, 1700, 1600, 1500, 1400, 1200, 1100, 1000, 800, 700, 600, 500, 400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x08
inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 620" rev 0x07
drm0 at inteldrm0
inteldrm0: msi, KABYLAKE, gen 9
"Intel Core 6G Thermal" rev 0x08 at pci0 dev 4 function 0 not configured
"Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x21: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
pchtemp0 at pci0 dev 20 function 2 "Intel 100 Series Thermal" rev 0x21
"Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 100 Series KT" rev 0x21: ports: 16 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci1 at ppb0 bus 2
iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 8265" rev 0x78, msi
ppb1 at pci0 dev 28 function 4 "Intel 100 Series PCIE" rev 0xf1: msi
pci2 at ppb1 bus 4
nvme0 at pci2 dev 0 function 0 "SanDisk WD Black NVMe" rev 0x00: msix, NVMe 1.3
nvme0: WDC PC SN720 SDAQNTW-512G-1001, firmware 10190101, serial 19141X425268
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, WDC PC SN720 SDA, 1019>
sd0: 488386MB, 512 bytes/sector, 1000215216 sectors
ppb2 at pci0 dev 29 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci3 at ppb2 bus 5
pcib0 at pci0 dev 31 function 0 "Intel 200 Series LPC" rev 0x21
"Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured
azalia0 at pci0 dev 31 function 3 "Intel 200 Series HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC285, Intel/0x280b, using Realtek ALC285
audio0 at azalia0
ichiic0 at pci0 dev 31 function 4 "Intel 100 Series SMBus" rev 0x21: apic 2 int 16
iic0 at ichiic0
em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x21: msi, address e8:6a:64:45:01:aa
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.16, 0x1e2b1 0x940300 0x33d940 0xf015a3 0x12e800
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
ugen0 at uhub0 port 7 "Intel Bluetooth" rev 2.00/0.10 addr 2
uvideo0 at uhub0 port 8 configuration 1 interface 0 "SunplusIT Inc Integrated Camera" rev 2.01/54.20 addr 3
video0 at uvideo0
ugen1 at uhub0 port 9 "Synaptics product 0x009a" rev 2.00/1.64 addr 4
uhidev0 at uhub0 port 10 configuration 1 interface 0 "Raydium Corporation Raydium Touch System" rev 2.01/1.08 addr 5
uhidev0: iclass 3/0, 68 report ids
uhid0 at uhidev0 reportid 1: input=0, output=63, feature=0
uhid1 at uhidev0 reportid 2: input=63, output=0, feature=0
uhid2 at uhidev0 reportid 3: input=0, output=63, feature=0
uhid3 at uhidev0 reportid 4: input=0, output=63, feature=0
uhid4 at uhidev0 reportid 5: input=0, output=63, feature=0
uhid5 at uhidev0 reportid 6: input=63, output=0, feature=0
uhid6 at uhidev0 reportid 7: input=0, output=63, feature=0
uhid7 at uhidev0 reportid 8: input=0, output=63, feature=0
uhid8 at uhidev0 reportid 9: input=63, output=0, feature=0
ums0 at uhidev0 reportid 10: 1 button, tip
wsmouse2 at ums0 mux 0
uhid9 at uhidev0 reportid 11: input=0, output=0, feature=1
uhid10 at uhidev0 reportid 12: input=0, output=0, feature=255
uhid11 at uhidev0 reportid 13: input=0, output=0, feature=255
ums1 at uhidev0 reportid 68: 0 buttons
wsmouse3 at ums1 mux 0
axen0 at uhub0 port 13 configuration 1 interface 0 "ASIX Elec. AX88179" rev 3.00/1.00 addr 6
axen0: AX88179, address 00:05:1b:c6:16:07
axen0: enable auto detach (0x1020)
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 PHY, rev. 5
umass0 at uhub0 port 14 configuration 1 interface 0 "Seagate Portable" rev 3.00/7.12 addr 7
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Seagate, Portable, 0712>
sd1: 1907729MB, 512 bytes/sector, 3907029167 sectors
umass1 at uhub0 port 15 configuration 1 interface 0 "Generic USB3.0-CRW" rev 3.00/29.08 addr 8
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
sd2 at scsibus3 targ 1 lun 0: <Generic-, SD/MMC CRW, 1.00> removable serial.0bda0328008282014000
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
root on sd0a (502da9ee59d94dca.a) swap on sd0b dump on sd0b
drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:116:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x230, fw ver 36.ca7b901d.0, address 1c:1b:b5:69:d6:4c
axen0: enable auto detach (0x1020)
lo0: flags=2008049<UP,LOOPBACK,RUNNING,MULTICAST,LRO> mtu 32768
	index 4 priority 0 llprio 3
	groups: lo
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
	inet 127.0.0.1 netmask 0xff000000
iwm0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
	lladdr 1c:1b:b5:69:d6:4c
	index 1 priority 4 llprio 3
	groups: wlan egress
	media: IEEE802.11 autoselect (VHT-MCS0 mode 11ac)
	status: active
	ieee80211: join FiOS-46TZM-5G chan 132 bssid c8:a7:0a:af:8c:d8 91% wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
	inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255
em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
	lladdr e8:6a:64:45:01:aa
	index 2 priority 0 llprio 3
	media: Ethernet autoselect (none)
	status: no carrier
enc0: flags=0<>
	index 3 priority 0 llprio 3
	groups: enc
	status: active
axen0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
	lladdr 00:05:1b:c6:16:07
	index 5 priority 0 llprio 3
	groups: egress
	media: Ethernet autoselect (1000baseT full-duplex)
	status: active
	inet 192.168.1.252 netmask 0xffffff00 broadcast 192.168.1.255
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	index 6 priority 0 llprio 3
	groups: tun
	status: active
	inet 10.20.0.3 --> 10.20.0.1 netmask 0xffff0000
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
	index 7 priority 0 llprio 3
	groups: pflog

Last edited by ocicat; 15th September 2023 at 02:45 AM.
Reply With Quote
  #9   (View Single Post)  
Old 15th September 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Default

For further clarity, I'll repeat the provisioning error I noted above:

You have provisioned two physical NICs on the same local network, at the same time. This is a provisioning error. Please, change your network provisioning. You have several choices:
  • Provision and use a single NIC -- one of your two wired Ethernet NICS, or your WiFi NIC. You can manually switch between NICs, with the "up" and "down" ifconfig(8) commands, but only one NIC can be active and operational at a time.
  • Provision and use a "pseudo" NIC, by provisioning the trunk(4) driver. This would be the full-time, always connected "device" on your local network, and the only NIC assigned a local IP address. You would provision all of your various hardware NICs -- em(4), axen(4), axe(4), and iwm(4) -- as subsidiary trunk ports under the trunk(4) driver, as outlined in the OpenBSD FAQ. This is the only way that an OpenBSD laptop user can "share" a single IP address for both wired and wireless and switch seamlessly between them, without any network disconnections. Please, see the link in my last reply to learn about provisioning a trunk(4) psuedo NIC for laptops.
There is one last option, which I don't think would be applicable to your situation, and addressing it is entirely outside the scope of this particular forum thread: it is also possible to connect multiple NICs to multiple local networks, one NIC to each network.
Reply With Quote
Old 15th September 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Default

I just noticed your comment:
Quote:
My problem is that this laptop doesn't have an ethernet port...
According to your dmesg, there is an Intel brand wired Ethernet NIC, physically attached to PCI bus #0. Somewhere on that laptop there should be an RJ45 female connector attached to it.
Reply With Quote
Old 15th September 2023
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 307
Default

These are probably too thin for an rj45 port, it uses a special adapter to connect to the onboard ethernet.
Reply With Quote
Old 15th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

I think perhaps that dmesg shows that because at the time I had the ethernet cable plugged into the USB to ethernet adapter plugged into the USB port on the laptop (which I guess is what TronDD was saying).

In any case I feel bad about you taking all this time to help me wth this. I guess I will have to resign my self to a wifi only connection.
Reply With Quote
Old 15th September 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Default

Stan, the Intel NIC is on a PCI bus, it is not USB-connected. Find your owner's manual or contact your laptop vendor. There is an Intel NIC on that motherboard. You might need an adapter or a docking station, but your vendor should know.



If you're ever able to provision both a wired and wireless NIC through a trunk(4), you should be able to remove that "perma-noob" button you've metaphorically pinned to your shirt these past 4 years.
Reply With Quote
Old 15th September 2023
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by stanl View Post
I guess I will have to resign my self to a wifi only connection.
stanl, what did you believe was an advantage of using two interfaces on the same subnetwork?
Reply With Quote
Old 15th September 2023
Onauk's Avatar
Onauk Onauk is offline
Real Name: Thomas
Fdisk Soldier
 
Join Date: Jan 2023
Location: France
Posts: 62
Default

Quote:
Originally Posted by TronDD View Post
These are probably too thin for an rj45 port, it uses a special adapter to connect to the onboard ethernet.
This is also what I understand. Stan, if you want to use the ethernet on your computer instead of the wifi, you should obtain the following:

https://www.lenovo.com/us/en/p/acces...ers/4x90q84427
Reply With Quote
Old 15th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

Quote:
Originally Posted by ocicat View Post
stanl, what did you believe was an advantage of using two interfaces on the same subnetwork?
I am not a computer person. I am a retired senior citizen who uses his laptop to browse the web, follow a few rss feeds and read and send email.
I know nothing about networks or sub networks. In the past when I installed OpenBSD the install automtically picked up the ethernet port. All I had to do was configure wifi which I did following instructions I found on the web.
I thought all I had to do was buy an USB to ethernet adapter, plug it in and it would work. Obviously I was wrong.
Reply With Quote
Old 15th September 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

Quote:
Originally Posted by Onauk View Post
This is also what I understand. Stan, if you want to use the ethernet on your computer instead of the wifi, you should obtain the following:

https://www.lenovo.com/us/en/p/acces...ers/4x90q84427
Thank you. I will do so and hope for the best.
Reply With Quote
Old 15th September 2023
Onauk's Avatar
Onauk Onauk is offline
Real Name: Thomas
Fdisk Soldier
 
Join Date: Jan 2023
Location: France
Posts: 62
Default

Quote:
Originally Posted by stanl View Post
All I had to do was configure wifi which I did following instructions I found on the web.
I thought all I had to do was buy an USB to ethernet adapter, plug it in and it would work. Obviously I was wrong.
The most likely explanation is that the instruction you followed were misleading since you ended up in this broken state. Can you provide the link to these instructions?
Reply With Quote
Old 15th September 2023
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 340
Default

Stanl
Read a bit as well using man "ifconfig". Ifconfig might shed a bit of light on current status of your ethernet (rj45 or usb to ethernet) and your wireless configurations so you may see what is actually attached and recognized by your machine.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
install NetBSD or OpenBSD on a laptop? jkl General Hardware 15 29th August 2014 08:53 AM
Obsd won't install to acer laptop sepuku OpenBSD Installation and Upgrading 16 7th July 2011 03:26 PM
laptop suspend problems.. xchris OpenBSD General 9 29th March 2011 09:14 PM
any possible way to make install46.iso boot from usb to install to a old laptop vinnie_vinodh OpenBSD Installation and Upgrading 10 21st February 2010 06:37 PM
Installation problems on X24 laptop IIMarckus OpenBSD Installation and Upgrading 6 5th September 2008 07:58 PM


All times are GMT. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick