Re: pf packet tagging and keep state
i have a hard time extracting anything that would make sense from the above. in general, tag/tagged influences ruleset evaluation. once state is created there is no ruleset eval any more for packets matching that state. yes, i just wanna make sure what i'm thinking is right, problem earlier is i've trying to catch tos packet from squid zph and insert it to a special queue. apparently my understanding earlier was wrong. i think that this rule will work: pass out on $internal from any to $internal:network tos 0x30 flags any queue q_tos pass out on $internal proto tcp from any port 80 to $internal:network queue q_lan pass in on $internal proto tcp from $internal:network to any port 80 queue q_lan but because the nature of keep state, packet return to int:network which contain tos 0x30 wouldn't get evaluated, so in order to achieve my goal i have to set the rule without keep state: pass out on $internal from any to $internal:network tos 0x30 flags any no state queue q_tos pass out on $internal proto tcp from any port 80 to $internal:network flags any no state queue q_lan pass in on $internal proto tcp from $internal:network to any port 80 flags any no state queue q_lan now i know this could be a pain in the ass, but only this setup i found it working, unless someone would like to correct me i really appreciate it. -Agung
Re: pf packet tagging and keep state
On Mon, Feb 22, 2010 at 2:40 PM, Agung T. Apriyanto dup...@gmail.com wrote: i have a hard time extracting anything that would make sense from the above. in general, tag/tagged influences ruleset evaluation. once state is created there is no ruleset eval any more for packets matching that state. yes, i just wanna make sure what i'm thinking is right, problem earlier is i've trying to catch tos packet from squid zph and insert it to a special queue. apparently my understanding earlier was wrong. i think that this rule will work: pass out on $internal from any to $internal:network tos 0x30 flags any queue q_tos pass out on $internal proto tcp from any port 80 to $internal:network queue q_lan pass in on $internal proto tcp from $internal:network to any port 80 queue q_lan sorry, a litte addition here even when i;m trying to use tag, pass out on $internal from any to $internal:network tos 0x30 flags any tagged ZPH queue q_tos pass out on $internal proto tcp from any port 80 to $internal:network queue q_lan pass in on $internal proto tcp from $internal:network to any port 80 tag ZPH queue q_lan addition ends here but because the nature of keep state, packet return to int:network which contain tos 0x30 wouldn't get evaluated, so in order to achieve my goal i have to set the rule without keep state: pass out on $internal from any to $internal:network tos 0x30 flags any no state queue q_tos pass out on $internal proto tcp from any port 80 to $internal:network flags any no state queue q_lan pass in on $internal proto tcp from $internal:network to any port 80 flags any no state queue q_lan now i know this could be a pain in the ass, but only this setup i found it working, unless someone would like to correct me i really appreciate it. -Agung
pf packet tagging and keep state
dear all, if a packet already has a state, it would ignore re-read the whole filter rule in the same interface, yes ? even when that packet get tagged but in the same interface, i mean, state will ignore tag and tagged if they were on same interface, thus there will be no re-evaluate rule. am i right ? thanks, -Agung
mpath broken on 4.6 ?
Hi, i have 2 pppoe adsl link, i set on ppp.linkup: pppoe1: !bg route add default -mpath HISADDR pppoe2: !bg route add default -mpath HISADDR from netstat -nr: Routing tables Internet: DestinationGatewayFlags Refs Use Mtu Prio Iface default125.163.176.1 UGSP 020377 - 8 tun1 default118.96.138.1 UGSP 00 - 8 tun2 but only default #1 always used also when i dial there's message # ppp -ddial -unit1 pppoe1 Working in ddial mode Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:7::20a:5eff:fe77:7c82/64): Can't assign requested address Using interface: tun1 # ppp -ddial -unit2 pppoe2 Working in ddial mode Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:8::20a:5eff:fe77:7c82/64): Can't assign requested address Using interface: tun2 i believe it's something with ipv6, but i already disable ipv6 in ppp.conf : default: set log Phase Chat LCP IPCP CCP tun command set redial 15 0 set reconnect 15 1 disable acfcomp protocomp deny acfcomp disable ipv6cp set mtu max 1492 set mru max 1492 set speed sync enable lqr set lqrperiod 5 enable echo set echoperiod 5 enable mssfixup pppoe1: set device !/usr/sbin/pppoe -i vlan68 set authname x set authkey x pppoe2: set device !/usr/sbin/pppoe -i xl2 set authname x set authkey x no problem for 4.5-stable but after upgrade to 4.6-stable the problem appears. i use cvsup for upgrading OpenBSD 4.6-stable (GENERIC) #0: Sun Nov 29 12:10:27 WIT 2009 r...@gw-speedy.netindoo.co.id:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu0: FPU,V86,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,CNXT-ID,xTPR real mem = 1055678464 (1006MB) avail mem = 1011879936 (965MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/07/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xfbf10 (76 entries) bios0: vendor Intel Corp. version BF86510A.86A.0075.P24.0503071605 date 03/07/2005 bios0: Intel Corporation D865GBF acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC TCPA WDDT acpi0: wakeup devices TANA(S4) P0P3(S4) AC97(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USB7(S4) UAR1(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus -1 (P0P2) acpiprt3 at acpi0: bus 1 (P0P3) acpicpu0 at acpi0 acpipwrres0 at acpi0: URP1 acpipwrres1 at acpi0: FDDP acpipwrres2 at acpi0: LPTP acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0xa000! 0xca000/0x800 0xca800/0x1000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82865G Host rev 0x02 vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xf000, size 0x800 inteldrm0 at vga1: apic 1 int 16 (irq 11) drm0 at inteldrm0 ppb0 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2 pci1 at ppb0 bus 1 xl0 at pci1 dev 1 function 0 3Com 3c905C 100Base-TX rev 0x78: apic 1 int 22 (irq 5), address 00:0a:5e:77:7c:82 exphy0 at xl0 phy 24: 3Com internal media interface xl1 at pci1 dev 2 function 0 3Com 3c905B 100Base-TX rev 0x30: apic 1 int 17 (irq 9), address 00:10:5a:c5:8a:9e exphy1 at xl1 phy 24: 3Com internal media interface xl2 at pci1 dev 3 function 0 3Com 3c905 100Base-TX rev 0x00: apic 1 int 19 (irq 3), address 00:60:97:71:2e:94 nsphy0 at xl2 phy 24: DP83840 10/100 PHY, rev. 1 xl3 at pci1 dev 4 function 0 3Com 3c905B 100Base-TX rev 0x24: apic 1 int 18 (irq 10), address 00:10:5a:e1:03:93 exphy2 at xl3 phy 24: 3Com internal media interface ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST340014A wd0: 16-sector PIO, LBA48, 38163MB, 78159151 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 1 int 18 (irq 10) for native-PCI interrupt ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: apic 1 int 17 (irq 9) iic0 at ichiic0 adt0 at iic0 addr 0x2e: lm85 rev 0x62 spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0 spdmem1 at iic0 addr
mismatch output net-snmp -current
i found mismatch output from snmpwalk in -current net-snmp, sample bellow r...@cadangan[patches]# snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.4.20.1.2 IP-MIB::ipAdEntIfIndex.10.100.0.1 = INTEGER: 1 IP-MIB::ipAdEntIfIndex.10.100.66.1 = INTEGER: 5 IP-MIB::ipAdEntIfIndex.10.100.67.1 = INTEGER: 6 IP-MIB::ipAdEntIfIndex.10.100.68.1 = INTEGER: 7 IP-MIB::ipAdEntIfIndex.10.100.69.1 = INTEGER: 8 IP-MIB::ipAdEntIfIndex.58.145.172.241 = INTEGER: 2 IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 4 r...@cadangan[patches]# snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.3 IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.4 = INTEGER: 244 IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.9 = INTEGER: 245 interface index 5,6,7,8 have the right ip, but there's a mismatch at index 1, 2 and 4 of IP-MIB. any of you have the same problems ? regards, -Agung
Re: another bgp setup question
On 8/17/08, Agung T. Apriyanto [EMAIL PROTECTED] wrote: the problem: C able to announce /24 to D, and D successfully forward to E and whole world. while in B, receive announce /24 from C and prefix from A, but not able forward announce /24 to A and not able forward received routes from A to C. case closed, route-reflector added to router A, and everything went well :) -A
another bgp setup question
dear list, scenario: A - B - C - D -E A = ISP Peer B = to A Peer C = distribution router D = to E peer E = Another ISP Peer ISP A gives B local IX nation prefix ISP E gives D full prefix C announce /24 to B and D, B and D forward received prefix to C, A B C D run ibgp, D to E ebgp the config: router B: DISTRIBS = 202.69.110.254 UPSTREAM = 202.69.98.161 AS 9785 router-id 202.69.110.253 holdtime min 3 fib-update yes neighbor 202.69.110.254 { descr DISTRIB remote-as 9785 announce all enforce neighbor-as no announce IPv4 unicast announce IPv6 none softreconfig in yes softreconfig out yes } neighbor 202.69.98.161 { descr JST remote-as 9785 announce all enforce neighbor-as no announce IPv4 unicast announce IPv6 none softreconfig in yes softreconfig out yes } match to 202.69.110.254 set { nexthop self } deny from any allow to 202.69.98.161 prefix 202.69.110.0/24 allow from 202.69.98.161 allow to 202.69.110.254 allow from 202.69.110.254 router C: TOINP = 202.69.110.241 TOJST = 202.69.110.253 AS 9785 router-id 202.69.110.254 holdtime min 3 fib-update yes network 202.69.110.0/24 neighbor 202.69.110.253 { descr JST remote-as 9785 announce all enforce neighbor-as no announce IPv4 unicast announce IPv6 none softreconfig in yes softreconfig out yes } neighbor 202.69.110.241 { descr INP remote-as 9785 announce self enforce neighbor-as no announce IPv4 unicast announce IPv6 none softreconfig in yes softreconfig out yes } match from 202.69.110.253 set { localpref 200 pftable BGPIIX } deny from any allow to 202.69.110.241 allow from 202.69.110.241 allow to 202.69.110.253 allow from 202.69.110.253 deny from any prefix 202.69.110.0/24 additional info: from router B: Nexthop State 202.69.110.254 valid sk0 UP, Ethernet, active, 100 MBit/s 202.69.96.179valid xl0 UP, Ethernet, active, 100 MBit/s [EMAIL PROTECTED] bgpctl sh rib neigh 202.69.110.254 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 202.69.110.0/24 202.69.110.254 100 0 i [EMAIL PROTECTED] [EMAIL PROTECTED] bgpctl sh rib neigh 202.69.98.161 | more flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I* 32.234.169.0/24 202.69.96.179 100 0 7717 2687 ? I* 32.234.170.0/24 202.69.96.179 100 0 7717 2687 ? I* 32.234.171.0/24 202.69.96.179 100 0 7717 2687 ? I* 32.234.172.0/24 202.69.96.179 100 0 7717 2687 ? I* 32.234.173.0/24 202.69.96.179 100 0 7717 2687 ? I* 32.234.175.0/24 202.69.96.179 100 0 7717 2687 ? [] [EMAIL PROTECTED] bgpctl sh fib nexthop flags: * = valid, B = BGP, C = Connected, S = Static N = BGP Nexthop reachable via this route r = reject route, b = blackhole route flags destination gateway *SN 202.69.96.179/32 202.69.110.249 *CN 202.69.110.252/30link#2 [EMAIL PROTECTED] from router C: Nexthop State 202.69.110.253 valid xl0 UP, Ethernet, active, 100 MBit/s 202.69.110.241 valid sk0 UP, Ethernet, active, 1000 MBit/s [EMAIL PROTECTED] bgpctl sh fib nexthop flags: * = valid, B = BGP, C = Connected, S = Static N = BGP Nexthop reachable via this route r = reject route, b = blackhole route flags destination gateway *SN 124.195.56.96/30 202.69.110.241 *CN 202.69.110.240/30link#2 *CN 202.69.110.252/30link#3 [EMAIL PROTECTED] [EMAIL PROTECTED] bgpctl sh rib neigh 202.69.110.253 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin [EMAIL PROTECTED] the problem: C able to announce /24 to D, and D successfully forward to E and whole world. while in B, receive announce /24 from C and prefix from A, but not able forward announce /24 to A and not able forward received routes from A to C. both running 4.3-stable. i have no idea what might happen at B, so it only receive prefix only, i've check pf too, and no block rules for bgp. any additional info needed ? thanks for any help :) -A
bgp and holdtimer expired
greetings ... i found this in the archive, http://archive.netbsd.se/?ml=openbsd-misca=2006-04t=1966271 -- snip Whenever the hold timer expires the connection is considered dead and is reset. When that happens, a NOTIFICATION is sent. That happened here. Why the peer didn't send (or you didn't received) anything for $holdtime is the question you need to answer. -- snip recentyly i had some holdtimer expired in my log, what step should i do to identify what may caused the problem. please advice.
looking for bandwidth monitor by ip
dear list, i found this program called traffic from freebsd ports, i tried to compile it under openbsd but not succed, so anyone know similiar application like that ? here's the master site: http://darkzone .ma .cx/resources/unix/traffic/ thx,
Re: looking for bandwidth monitor by ip
On Wed, Jun 4, 2008 at 9:29 PM, Agung T. Apriyanto [EMAIL PROTECTED] wrote: On Wed, Jun 4, 2008 at 7:17 PM, Stuart Henderson [EMAIL PROTECTED] wrote: darkstat, it's in ports. i'm kinda looking for ncurses based, nothing much, only bandwidth usage based on ip, some kind like this: http://darkzone .ma .cx/resources/unix/traffic/screenshot1.jpg perhaps there will be a generous man ported that to OpenBSD *wink* but thanks anyway for your suggest stuart, i'll try looking around again. oops forgot to cc :D
opensnmpd and net-snmp conflicting ?
dear list, recently i upgrade one of my machine to 4.3-beta, and found the new snmp program, but i'm still using the net-snmp from ports, and somehow when i try to issue the oid .1.3.6.1.2.1.4.20.1.2 ( ip address look up ) it did not show anything, but if i use opensnmpd and issue the same oid, it shows the current ip address. also if i issue .1.3.6.1.2.1.1.3.0 it didn't show the machine uptime, but show the snmp daemon uptime ( same for net-snmp and opensnmpd ). is it some kind of MIB conflict or something ? anyone else has same problem with me ? can opensnmpd developer confirm me ? thank you. rgds, Agung
Re: opensnmpd and net-snmp conflicting ?
yes i did upgrade ports to current too, now its net-snmp 5.4.1 On Tue, Mar 4, 2008 at 11:15 PM, Stuart Henderson [EMAIL PROTECTED] wrote: On 2008-03-04, Agung T. Apriyanto [EMAIL PROTECTED] wrote: recently i upgrade one of my machine to 4.3-beta, and found the new snmp program, but i'm still using the net-snmp from ports Did you upgrade net-snmp to a version that will match your new kernel?
Re: opensnmpd and net-snmp conflicting ?
you mean the new snmpd is working correctly but net-snmp is not? this doesn't surprise me, there were some issues with net-snmp in the past, this was one of my reasons to start working on a new implementation. yes, concerning i'm just graphing interface traffic via mrtg/cacti there is no conflict between net-snmp and opensnmpd, they do not share any configuration and, unlike net-snmpd, the openbsd snmp daemon does not parse any ASN.1 MIB files on runtime and uses a compiled-in mib implementation. the only possible conflict is listening on udp port 161 (snmp). well, in my case seems it's not port conflict. could it possible the build in mib somehow effecting net-snmp mibs environment ? considering its not respond to oid query from net-snmp while respond to same query from opensnmpd also previous query from net-snmp show machine uptime, and now show system uptime, same like opensnmpd query thanks agung
Re: nfe0 issues
hi, i have similar problem too, my sk(4) autoselect only show 10baseT full duplex, before upgrade to 4.2 its show 1000baseT full duplex. it also use eephy*. from this thread i know there's a patch, but how do i apply the patch without upgrade to current ? just download the diff and re compile ? or someone else have a better idea ? here's my copy of dmesg, and pls cc me, i'm not in the list. thank you. rgds, Agung --- OpenBSD 4.2-stable (GENERIC) #5: Tue Nov 6 19:23:37 WIT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(TM) CPU 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu0: FPU,V86,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,C NXT-ID,xTPR real mem = 2146463744 (2047MB) avail mem = 2067763200 (1971MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/29/03, BIOS32 rev. 0 @ 0xfd6e0, SMBIOS rev. 2.31 @ 0xe3010 (46 entries) bios0: vendor Phoenix Technologies LTD version E7501CW20.86B.0025.P07.0308290925 date 08/29/2003 bios0: Intel Corporation SE7501CW2 pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/352 (20 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801CA LPC rev 0x00) pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 0xe3000/0x1000! acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP APIC BOOT SPCR acpitimer0 at acpi0: 3579545 Hz, 24 bits acpi device at acpi0 from table DSDT not configured acpi device at acpi0 from table FACP not configured acpi device at acpi0 from table APIC not configured acpi device at acpi0 from table BOOT not configured acpi device at acpi0 from table SPCR not configured acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (ICH3) acpiprt2 at acpi0: bus 3 (Z000) acpiprt3 at acpi0: bus 2 (Z001) acpicpu0 at acpi0 acpicpu1 at acpi0 acpicpu2 at acpi0 acpicpu3 at acpi0 acpicpu4 at acpi0 acpicpu5 at acpi0 acpicpu6 at acpi0 acpicpu7 at acpi0 acpibtn0 at acpi0: PWRB cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel E7501 MCH Host rev 0x01 Intel E7500 DRAM rev 0x01 at pci0 dev 0 function 1 not configured ppb0 at pci0 dev 2 function 0 Intel E7500 MCH rev 0x01 pci1 at ppb0 bus 1 Intel 82870P2 IOxAPIC rev 0x04 at pci1 dev 28 function 0 not configured ppb1 at pci1 dev 29 function 0 Intel 82870P2 PCIX-PCIX rev 0x04 pci2 at ppb1 bus 2 bge0 at pci2 dev 2 function 0 Broadcom BCM5701 rev 0x15, BCM5701 B5 (0x0105): irq 10, address 00:0a:5e:64:8e:14 brgphy0 at bge0 phy 1: BCM5701 10/100/1000baseT PHY, rev. 0 Intel 82870P2 IOxAPIC rev 0x04 at pci1 dev 30 function 0 not configured ppb2 at pci1 dev 31 function 0 Intel 82870P2 PCIX-PCIX rev 0x04 pci3 at ppb2 bus 3 Intel E7500 MCH rev 0x01 at pci0 dev 2 function 1 not configured ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x42 pci4 at ppb3 bus 4 skc0 at pci4 dev 1 function 0 3Com 3c940 rev 0x10, Yukon (0x1): irq 3 sk0 at skc0 port A: address 00:0a:5e:65:59:f0 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3 xl0 at pci4 dev 2 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 5, address 00:50:04:73:36:ba exphy0 at xl0 phy 24: 3Com internal media interface vga1 at pci4 dev 3 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci4 dev 4 function 0 Intel 8255x rev 0x0d, i82550: irq 11, address 00:02:b3:d8:ea:bb inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 ichpcib0 at pci0 dev 31 function 0 Intel 82801CA LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801CA IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configur ed to compatibility wd0 at pciide0 channel 0 drive 0: ST340014A wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ASUS, CD-S520/A, 2.0K SCSI0 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ichiic0 at pci0 dev 31 function 3 Intel 82801CA/CAM SMBus rev 0x02: irq 3 iic0 at ichiic0 lm1 at iic0 addr 0x2c: W83627HF isa0 at ichpcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83627HF lm1 detached npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask f3dd netmask fffd ttymask pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b