OpenBSD硬件兼容讨论专用帖

OpenBSD的安装、升级、更新等日常问题。

版主: chenjun天地乾坤

回复
头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

OpenBSD硬件兼容讨论专用帖

帖子 leo » 2012-03-07 2:16

欢迎将自己的兼容或者不兼容OpenBSD的硬件列在这里,特开此贴,方便大家集中讨论和游客查阅。:D

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-03-07 14:45

支持,简单方法,直接张贴完整dmesg

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-03-08 10:09

D-LINK DWA-140 USB WIFI 网卡
H/W Ver.: B2 F/W Ver.:1.60
被OpenBSD 5.1识别为

run0 at uhub0 port 5 "Ralink 11n Adapter" rev 2.00/1.01 addr 3
run0: MAC/BBP RT3071 (rev 0x0213), RF RT3022 (MIMO 2T2R), address f0:7d:??:??:??:??

wkx9dragon
锌 Zn
帖子: 493
注册时间: 2010-02-02 18:00

回复: OpenBSD硬件兼容讨论专用帖

帖子 wkx9dragon » 2012-03-08 14:57

我的台机,微星主板,amd cpu,amd 显卡,兼容性还不错,买了就可以用了!在我感觉中,netbsd,freebsd 兼容性还不如他呢。可能是个例吧!改天帖个笔记本的。
OpenBSD 5.0-stable (stable) #0: Mon Feb 6 16:12:08 CST 2012
wkx@OS.wkx9dragon.help:/tmp/src/sys/arch/amd64/compile/stable
real mem = 8587378688 (8189MB)
avail mem = 8344662016 (7958MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfd150 (55 entries)
bios0: vendor American Megatrends Inc. version "V1.16" date 10/28/2010
bios0: MICRO-STAR INTERNATIONAL CO.,LTD MS-7550
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB SRAT HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S1) PS2M(S1) P0PC(S4) UHC1(S4) UHC2(S4) UHC3(S4) USB4(S4) UHC5(S4) UHC6(S4) UHC7(S4) PWRB(S1)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) II X4 920 Processor, 2800.60 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) II X4 920 Processor, 2800.23 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Phenom(tm) II X4 920 Processor, 2800.23 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Phenom(tm) II X4 920 Processor, 2800.23 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus 4 (P0PC)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 2800 MHz: speeds: 2800 2100 1600 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00
ppb0 at pci0 dev 2 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 4850" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 4 int 18
drm0 at radeondrm0
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 48xx HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 9 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C (0x3c00), apic 4 int 17, address 00:21:85:9d:f0:98
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 4 int 22, AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD6400AAKS-0, 01.0> SCSI3 0/direct fixed naa.50014ee0566014a6
sd0: 610480MB, 512 bytes/sector, 1250263728 sectors
sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD10EARS-00Y, 80.0> SCSI3 0/direct fixed naa.50014ee2ae81a5cc
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
sd2 at scsibus0 targ 2 lun 0: <ATA, WDC WD1003FBYX-0, 01.0> SCSI3 0/direct fixed naa.50014ee2af4cd088
sd2: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus0 targ 4 lun 0: <TSSTcorp, CDDVDW TS-H653F, CM00> ATAPI 5/cdrom removable
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support
ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 19
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI
iic0 at piixpm0
iic0: addr 0x28 01=20 02=04 03=00 04=00 05=04 06=00 07=83 3e=13 41=20 42=04 43=00 44=00 45=04 46=00 47=83 81=20 82=04 83=00 84=00 85=04 86=00 87=83 c1=20 c2=04 c3=00 c4=00 c5=04 c6=00 c7=83 words 00=ff20 01=2004 02=0400 03=00ff 04=00ff 05=04ff 06=00ff 07=ffff
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem2 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem3 at iic0 addr 0x53: 2GB DDR2 SDRAM non-parity PC2-6400CL5
pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 4 int 16
azalia1: codecs: Realtek ALC888
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
pci4 at ppb3 bus 4
ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci2: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci3: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: probed fifo depth: 15 bytes
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb6 at ohci4: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhidev0 at uhub3 port 2 configuration 1 interface 0 "Dell Dell USB Keyboard" rev 1.10/3.06 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 3 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/33.00 addr 3
uhidev1: iclass 3/1
ums0 at uhidev1: 4 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd2a (75a3118fbc2dac91.a) swap on sd2b dump on sd2b

碧落星河
铁 Fe
帖子: 61
注册时间: 2011-08-03 18:39

回复: OpenBSD硬件兼容讨论专用帖

帖子 碧落星河 » 2012-03-16 18:04

我的是腾达的MINI USB无线网卡,芯片是RT3370,OB认不到。
dmesg里面有条这样的信息:
ugen0 at uhub0 port 1 "Ralink 802.11 n WLAN" rev 2.00/1.01 addr 2

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-03-19 18:28

之前纠结OpenBSD 不支持 中国移动网络td-scdma的所有 3g网卡
有些USB WIFI网卡也兼容。以下是workaround方案

3G 150M迷你型无线路由器 FWR171-3G
http://www.fastcom.com.cn/Product/detail?pd=82

FWR171-3G在3g模式测试一下2个3G网卡可用
中国电信的 华为 ec122 (OpenBSD已经兼容)
中国移动的 中兴 a356 (OpenBSD不兼容)

更多3g设备兼容列表看
http://www.fastcom.com.cn/downloadfiles ... FWR171-3G/

ap(client)客户端模式,就是把设备当作wifi网卡使用,再通过Lan口连接到电脑(不需要传统USB wifi网卡的驱动),本人测试FWR171-3G可以实现client的功能。


注意:
TP-Link、水星(mercury)、迅捷(fast)是同一家公司。主要出手廉价产品,相同功能的产品,仅仅是换壳换名字而已。
注意:这三家公司的有些产品无法实现技术指标中的所有功能,一分钱一分货!

none
铁 Fe
帖子: 67
注册时间: 2012-02-29 11:41

回复: OpenBSD硬件兼容讨论专用帖

帖子 none » 2012-03-23 2:43

OpenBSD各版本下的AR芯片无线网卡不兼容DLINK DIR-615路由器,用尽所有方法反复测试了,连接不上,换路由即可

头像
unreal
银 Ag
帖子: 1072
注册时间: 2010-06-07 18:52

回复: OpenBSD硬件兼容讨论专用帖

帖子 unreal » 2012-03-23 15:49

DLink 的东西其实也就是低端货。
AR 网卡要连同样使用 AR 芯片的无线路由器效果很好,TPlink的基本都是。普联科技的东西完全对得起它的价格~
勤能補拙 Just do it now!

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-04-30 18:19

f5b 写了:D-LINK DWA-140 USB WIFI 网卡
H/W Ver.: B2 F/W Ver.:1.60
被OpenBSD 5.1识别为

run0 at uhub0 port 5 "Ralink 11n Adapter" rev 2.00/1.01 addr 3
run0: MAC/BBP RT3071 (rev 0x0213), RF RT3022 (MIMO 2T2R), address f0:7d:??:??:??:??

有时开机碰到
Starting network
run0:nolink ..........sleeping
也就是无法获取到ip

我的解决办法是,等登录ob之后,将usb网卡拔插一遍,然后运行
sh /etc/netstart 就可以正常获取到ip了

已经提交问题到misc@openbsd.org
---
Wireless Ethernet Adapters sometimes sleeping and my workaround

1.
when booting OpenBSD
sometimes:
Starting network
run0:nolink ..........sleeping
but sometimes get ip successful

2.
if sleeping
login with root
# sh /etc/netstart
run0:nolink ..........sleeping
then I unplug DWA-140 and plugin again
# sh /etc/netstart (again)
run0 get ip successful

3.
same problem found in a bwi Wireless Ethernet Adapter intergrated in Dell D430 but can't unplug for test.

4.
that's to say
if the usb Wireless Ethernet Adapter is supported in OpenBSD
and sometimes like following
run0:nolink ..........sleeping
we can unplug and plugin again, then run #sh /etc/netstart to make it active and fetch ip sucessful.

Are there any workarounds for non-USB Wireless Ethernet Adapter?


---------------------------
5.1 snapshot i386

hostname.run0
dhcp nwid user wpakey password

D-LINK DWA-140 USB Wireless Ethernet Adapters
H/W Ver.: B2 F/W Ver.:1.60

dmesg:
run0 at uhub0 port 5 "Ralink 11n Adapter" rev 2.00/1.01 addr 3
run0: MAC/BBP RT3071 (rev 0x0213), RF RT3022 (MIMO 2T2R), address f0:7d:??:??:??:??

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-06-17 9:46

需要迷你usb无线网卡可以man urtwn
不过mini意味着信号差,距离远不稳定!

碧落星河
铁 Fe
帖子: 61
注册时间: 2011-08-03 18:39

回复: OpenBSD硬件兼容讨论专用帖

帖子 碧落星河 » 2012-06-17 14:17

OB snapshots是不是还不支持Intel的APU?我的是Intel G530,装的16号的snapshots,X起不来,一startx就是黑屏,差且无法再回到控制台;附件是dmesg和Xorg.0.log,请帮忙看看。
附件

[扩展名txt已经被禁用并不再显示]

[扩展名txt已经被禁用并不再显示]


f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-06-17 16:28

碧落星河 写了:OB snapshots是不是还不支持Intel的APU?我的是Intel G530,装的16号的snapshots,X起不来,一startx就是黑屏,差且无法再回到控制台;附件是dmesg和Xorg.0.log,请帮忙看看。
snapshot里面x变化挺大的,你试过5.1 release了么?5.1种可以startx么?
或者说snapshot的i386也测试一下

也可以再等几天下载新的snapshot看看,如果还是不行,请到OpenBSD 的misc中提问,如果你提供足够的信息,会有developer感兴趣并解决你的x支持问题

刚发现http://marc.info/?l=openbsd-misc&m=133990727007441&w=2

碧落星河
铁 Fe
帖子: 61
注册时间: 2011-08-03 18:39

回复: OpenBSD硬件兼容讨论专用帖

帖子 碧落星河 » 2012-06-19 21:40

多谢,最近比较忙,没太多时间折腾,过两天一个一个试试。

头像
acheng
锌 Zn
帖子: 581
注册时间: 2011-07-07 21:52

回复: OpenBSD硬件兼容讨论专用帖

帖子 acheng » 2012-10-08 14:01

最近试了几个无线USB网卡。
1:TP-Link (普联) TL-WN821N 300M 无线USB网卡,OpenBSD 5.2 -current I386下需要安装firmware更新后(fw_update)可用,模式识别为URTWN,不支持HOSTAP(Ubuntu下可以)。

2. Netgear (网件) WNA1100 WIRELESS-N 150M USB 无线网卡。识别为athn,5.2 -current下安装firmware后也不可用。AR9271的芯片。(虽然athn的手册显示athn支持ar9271芯片),OB运行中拔掉USB网卡会导致内核Panic。5.1下貌似可以识别,但没有进一步测试。

3. D-Link 友讯 DWL-G122 无线USB网卡。不可用。
rum的手册显示这一款可用,但买过来以后发现硬件版本不同,芯片是realtek的而非Ralink,插上去系统都认不出是块网卡。

头像
unreal
银 Ag
帖子: 1072
注册时间: 2010-06-07 18:52

回复: OpenBSD硬件兼容讨论专用帖

帖子 unreal » 2012-10-08 19:54

acheng 写了:最近试了几个无线USB网卡。
3. D-Link 友讯 DWL-G122 无线USB网卡。不可用。
rum的手册显示这一款可用,但买过来以后发现硬件版本不同,芯片是realtek的而非Ralink,插上去系统都认不出是块网卡。
手册里说明了G122必须是 H/W:Ver C1 ,你木有仔细看manual啊~这个问题我也在坛子里说过;我的逸珑本无线联网就靠它,直到它坏掉……:(
勤能補拙 Just do it now!

junfengfan
铜 Cu
帖子: 236
注册时间: 2010-02-03 18:37

Re: OpenBSD硬件兼容讨论专用帖

帖子 junfengfan » 2012-10-09 22:22

pfsense有三个网卡,内网2个,一个是 172.16.0.0, 一个是 192.168.1.0 ,但内网间不能互相访问,也不能相互 ping 通,不知如何设置?unreal 兄

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

回复: Re: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2012-10-10 18:35

junfengfan 写了:pfsense有三个网卡,内网2个,一个是 172.16.0.0, 一个是 192.168.1.0 ,但内网间不能互相访问,也不能相互 ping 通,不知如何设置?unreal 兄

参考

Add More LAN Interfaces / Dual LAN
You can add more LAN interfaces in order to create additional subnets. Just insert an additional network card and assuming neither the computer nor pfSense clash with it you can follow the instructions here. Alternatively the additional card can be insert at installation time.
  • Add the new interface: Interfaces → (assign) → + → OPT1 - <interface name and number i.e. xl2> (xx:xx:xx:xx:xx:xx) → Save
  • Configure the new interface: Interfaces → OPT1
    • Enable Optional 1 interface
    • Description: LAN2
    • IP configuration → IP address: 10.1.0.1/24 (remember that our VPN already uses 10.0.10.0/24 and 10.0.5.0/24. You can change this addressing range to suit your situation)
    • Save
  • Optionally, add a DHCP Server for client computers on this subnet: Services → DHCP server → LAN2
    • Enable DHCP server on LAN2 interface
    • Range: 10.1.0.100 to 10.1.0.250 (You can change this addressing range to suit your situation. Beware that pfSense allows you to choose 10.1.0.255 here which wouldn't work as it's the broadcast address)
    • Save
  • Add a firewall rule to allow traffic of any protocol from the LAN2 subnet to any address (i.e. the Internet): Firewall → Rules → + (add new rule)
    • Protocol: any
    • Source:
      • Type: LAN2 subnet
    • Description: Default LAN2 → any
    • Save
  • If you want to prevent traffic from the new LAN subnet accessing the original LAN subnet then add a firewall rule to block traffic from LAN2 to LAN (this rule needs to be at the top of the list): Firewall → Rules → + (add new rule)
    • Action: Block
    • Interface: LAN2
    • Protocol: any
    • Source:
      • Type: any (or maybe 'LAN2 subnet'?) I think any is best for a deny rule
    • Destination: LAN subnet
    • Description: Block LAN2 → LAN
    • Save
  • If you want to prevent traffic from the original LAN subnet accessing the new LAN subnet then add a firewall rule to block traffic from LAN to LAN2 (this rule needs to be at the top of the list): Firewall → Rules → + (add new rule)
    • Action: Block
    • Interface: LAN
    • Protocol: any
    • Source:
      • Type: any (or maybe 'LAN subnet'?) I think any is best for a deny rule
    • Destination: LAN2 subnet
    • Description: Block LAN → LAN2
    • Save
Because Firewall → NAT → Automatic outbound NAT rule generation (IPsec passthrough) is on by default, pfSense automaticaly sets up the routing for traffic between the LAN2 interface and the WAN interface (outbound NAT). There's no need to alter Firewall → NAT → Manual Outbound NAT rule generation (Advanced Outbound NAT (AON))

fengjunfan
铬 Cr
帖子: 44
注册时间: 2013-11-18 15:47

Re: OpenBSD硬件兼容讨论专用帖

帖子 fengjunfan » 2015-11-28 10:33

hp 6930p amd64 openbsd5.8 不能安装,出现panic

f5b
锆 Zr
帖子: 642
注册时间: 2011-10-22 20:43

Re: OpenBSD硬件兼容讨论专用帖

帖子 f5b » 2015-11-29 13:01

fengjunfan 写了:hp 6930p amd64 openbsd5.8 不能安装,出现panic
安装之后第一次启动就panic,一般可以试试在bios里面 更改与cpu相关的选项

头像
xwyqi
钛 Ti
帖子: 25
注册时间: 2023-09-23 17:08

Re: OpenBSD硬件兼容讨论专用帖

帖子 xwyqi » 2023-10-09 22:04

在我的那台老机器上只有原装网卡不能支持,其他的工作还可以。
原装的网卡是 Broadcom BCM4313,在 Linux 下的原生支援都很糟的网卡,之后我换成了 Qualcomm Atheros AR9285 (AR5B95) 就可以支持了,这个会使用 athn 驱动。
我还有一块 USB 网卡是之前购买的 COMFAST CF-WU810N,这个需要加载 firmware blob 并使用 urtwn 驱动才可以用。
注:上面提到的这个网卡的 firmware blob 不需要安装程序从网上下载就能驱动,因为源代码已经包含了支援的固件。

下面是这台机器的 dmesg 信息:

代码: 全选

OpenBSD 7.3 (GENERIC.MP) #3: Tue Jul 25 08:20:26 MDT 2023
    root@syspatch-73-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 6256443392 (5966MB)
avail mem = 6047408128 (5767MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae37000 (63 entries)
bios0: vendor LENOVO version "H1ET73WW(1.16)" date 04/10/2013
bios0: LENOVO 20208
efi0 at bios0: UEFI 2.3.1
efi0: Phoenix Technologies Ltd. rev 0x12345678
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT HPET APIC MCFG FPDT ASF! SSDT SSDT UEFI UEFI POAT UEFI DBG2
acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz, 2494.37 MHz, 06-3a-09
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 3MB 64b/line 12-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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz, 2494.38 MHz, 06-3a-09
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 3 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpipci0 at acpi0 PCI0: 0x00000004 0x00000011 0x00000001
acpibat0 at acpi0: BAT0 model "45N1045" serial  8409 type LION oem "313100504d53"
acpithinkpad0 at acpi0: version 1.0
acpicmos0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: SLPB
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 88 degC
acpitz1 at acpi0: critical temperature is 126 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2500, 2400, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, IVYBRIDGE, gen 7
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 2 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address d0:df:9a:97:73:f0
ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x07: RTL8168E/8111E-VL (0x2c80), msi, address 3c:97:0e:d0:d0:e3
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM77 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 1 lun 0: <ATA, KIOXIA-EXCERIA S, SBFA> naa.58ce38ec01c5854a
sd0: 457862MB, 512 bytes/sector, 937703088 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
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
pms0: Synaptics touchpad, firmware 7.5, 0x1e0b1 0x240000 0x200c0c 0xf00073 0xa2400
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
efifb at mainbus0 not configured
uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (9859c9509bf0e039.a) swap on sd0b dump on sd0b
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
我在几个月前也使用了工具上传了配置信息。https://bsd-hardware.info/?probe=ce1aade2c0

回复

在线用户

正浏览此版面之用户: Ahrefs [Bot] 和 4 访客