公司因專案需要添購了一台華碩 Eee PC 1008HA。網卡晶片是 Atheros AR8131/AR8132,
即 Attansic L1C/L2C。目前 BSD 僅有 FreeBSD 支援此晶片,花了一週時間將它移植至 OpenBSD:
http://marc.info/?l=openbsd-cvs&m=124972405000683&w=2
Kevin Lo's Weblog
星期六, 八月 08, 2009
星期五, 四月 24, 2009
星期三, 二月 25, 2009
Imported Attansic L1E Giganet Ethernet driver: ale(4)
感謝智新資通股份有限公司贊助 OpenBSD,提供華碩 P5Q 主機板讓我將
Attansic L1E driver 移植至 OpenBSD:
http://marc.info/?l=openbsd-cvs&m=123553127523101&w=2
Attansic L1E driver 移植至 OpenBSD:
http://marc.info/?l=openbsd-cvs&m=123553127523101&w=2
星期日, 二月 15, 2009
4.5-BETA
OpenBSD 已進入 4.5-beta 階段︰
http://marc.info/?l=openbsd-cvs&m=123412711903531&w=2
我的機器也更新至 4.5-beta。dmesg 如下︰
http://marc.info/?l=openbsd-cvs&m=123412711903531&w=2
我的機器也更新至 4.5-beta。dmesg 如下︰
OpenBSD 4.5-beta (GENERIC.MP) #2097: Sat Feb 14 16:08:48 MST 2009
deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2145058816 (2045MB)
avail mem = 2071031808 (1975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x7fecb000 (20 entries)
bios0: vendor Phoenix Technologies LTD version "R0121S5" date 12/19/2007
bios0: Sony Corporation VGN-SZ79TN_C
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC HPET MCFG TCPA TMOR SLIC APIC BOOT SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices LANC(S4) S1F0(S4) S1F1(S4) S1F2(S4) S1F3(S4) S1F4(S4) S1F5(S4) S1F6(S4) S1F7(S4) EP02(S3) EP03(S3) EP04(S3) S6F0(S4) S6F1(S4) S6F2(S4) S6F3(S4) S6F4(S4) S6F5(S4) S6F6(S4) S6F7(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EHC1(S3) EHC2(S3) EC0_(S5) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz, 2494.11 MHz
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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz, 2493.75 MHz
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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 6 (RP02)
acpiprt4 at acpi0: bus 7 (RP03)
acpiprt5 at acpi0: bus 8 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (EX2P)
acpiprt8 at acpi0: bus -1 (RP06)
acpiprt9 at acpi0: bus 9 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature 102 degC
acpitz1 at acpi0: critical temperature 100 degC
acpitz2 at acpi0: critical temperature 100 degC
acpibat0 at acpi0: BAT1 type LION oem "Sony Corp."
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: Enhanced SpeedStep 2493 MHz: speeds: 2501, 2500, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
ppb0 at pci0 dev 1 function 0 "Intel GM965 PCIE" rev 0x0c: apic 1 int 16 (irq 10)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 8400M GS" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 int 21 (irq 10)
azalia0: codecs: Sigmatel STAC9225, Conexant/0x2c06, using Sigmatel STAC9225
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 16 (irq 10)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int 17 (irq 10)
pci3 at ppb2 bus 6
iwn0 at pci3 dev 0 function 0 "Intel Wireless WiFi Link 4965AGN" rev 0x61: apic 1 int 17 (irq 10), MIMO 2T3R, MoW1, address 00:1d:e0:b3:e6:c1
ppb3 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: apic 1 int 18 (irq 10)
pci4 at ppb3 bus 7
mskc0 at pci4 dev 0 function 0 "Marvell Yukon 88E8055" rev 0x12, Yukon-2 EC Ultra (0x3): apic 1 int 18 (irq 10)
msk0 at mskc0 port A: address 00:1a:80:d1:86:1a
eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
ppb4 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x03: apic 1 int 19 (irq 10)
pci5 at ppb4 bus 8
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 23 (irq 10)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 23 (irq 10)
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 23 (irq 10)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 23 (irq 255)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci6 at ppb5 bus 9
cbb0 at pci6 dev 4 function 0 "TI PCIXX12 CardBus" rev 0x00: apic 1 int 20 (irq 255)
"TI PCIXX12 FireWire" rev 0x00 at pci6 dev 4 function 1 not configured
"TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci6 dev 4 function 2 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 10 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0:ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 1 int 22 (irq 10) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0:
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1 int 22 (irq 10)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0:
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 2 configuration 1 interface 0 "Ricoh VGP-VCC7 Camera" rev 2.00/1.00 addr 2
ugen0 at uhub2 port 1 "TouchStrip Fingerprint Sensor" rev 1.00/0.01 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech Optical USB Mouse" rev 2.00/3.40 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
uvideo0: loadfirmware error=2!
ugen0 detached
ugen0 at uhub2 port 1 "TouchStrip Fingerprint Sensor" rev 1.00/0.01 addr 2
星期六, 一月 17, 2009
Imported Attansic L1 Giganet Ethernet driver: age(4)
數個月前,答應把我家華碩 P5B-MX 主機板上的 Attansic L1 Ethernet controller
移植至 OpenBSD。atphy(4) 已於去年九月放入 source tree:
http://marc.info/?l=openbsd-cvs&m=122237675217483&w=2
因工作忙碌,一直找不出時間將 age(4) 完成。每天花點時間做一些,日積月累下,
終於趕在過年前把 age(4) 移植到 OpenBSD 並放入 source tree:
http://marc.info/?l=openbsd-cvs&m=123208208619007&w=2
移植至 OpenBSD。atphy(4) 已於去年九月放入 source tree:
http://marc.info/?l=openbsd-cvs&m=122237675217483&w=2
因工作忙碌,一直找不出時間將 age(4) 完成。每天花點時間做一些,日積月累下,
終於趕在過年前把 age(4) 移植到 OpenBSD 並放入 source tree:
http://marc.info/?l=openbsd-cvs&m=123208208619007&w=2
星期六, 一月 03, 2009
Add agp(4) support for Intel 946GZ
最近想在我的 ASUS P5B-MX 版子上跑 OpenBSD 的 X window,發現無法執行。
看了一下 dmesg,發現原來 agp(4) 沒偵測到:
簡單的將 Intel 946GZ 的 product id 加入即可:
cvs log:
http://marc.info/?l=openbsd-cvs&m=123098807111333&w=2
看了一下 dmesg,發現原來 agp(4) 沒偵測到:
intagp at vga1 not configured
inteldrm0 at vga1: apic 2 int 16 (irq 10)
簡單的將 Intel 946GZ 的 product id 加入即可:
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
cvs log:
http://marc.info/?l=openbsd-cvs&m=123098807111333&w=2
星期四, 十一月 27, 2008
urtw(4) driver imported
為了測試 Weongyo Jeong 所寫的 RealTek RTL8187L chipset 驅動程式 urtw(4) 是否
可以在 FreeBSD 上 work,因此上週買了台製的 Safehome WLG-1500SMA5 wifi USB dongle。
花了一點時間並將 urtw(4) 移植到 OpenBSD 上:
http://marc.info/?l=openbsd-cvs&m=122779507423013&w=2
在 OpenBSD 的 amd64 與 i386 平台上面測試 WEP/WPA 沒有任何問題。
可以在 FreeBSD 上 work,因此上週買了台製的 Safehome WLG-1500SMA5 wifi USB dongle。
花了一點時間並將 urtw(4) 移植到 OpenBSD 上:
http://marc.info/?l=openbsd-cvs&m=122779507423013&w=2
在 OpenBSD 的 amd64 與 i386 平台上面測試 WEP/WPA 沒有任何問題。
訂閱:
文章 (Atom)