atheros on acer aspire one netbook
Hi All, I have an Acer Aspire One 722 netbook. It looks like this with the GENERIC.MP kernel: OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug 1 10:04:49 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery real mem = 4003721216 (3818MB) avail mem = 3874770944 (3695MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe3e70 (51 entries) bios0: vendor Acer version V1.08 date 12/06/2011 bios0: Acer AO722 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG BOOT SLIC SSDT SSDT acpi0: wakeup devices SPB2(S4) GEC_(S4) USB0(S3) USB4(S3) P2P_(S5) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD C-60 APU with Radeon(tm) HD Graphics, 998.33 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,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD C-60 APU with Radeon(tm) HD Graphics, 997.51 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,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PB2_) acpiprt2 at acpi0: bus -1 (PB3_) acpiprt3 at acpi0: bus -1 (PB4_) acpiprt4 at acpi0: bus -1 (PB5_) acpiprt5 at acpi0: bus -1 (PB6_) acpiprt6 at acpi0: bus -1 (PB7_) acpiprt7 at acpi0: bus 2 (SPB0) acpiprt8 at acpi0: bus -1 (SPB1) acpiprt9 at acpi0: bus 6 (SPB2) acpiprt10 at acpi0: bus 7 (SPB3) acpiprt11 at acpi0: bus 1 (P2P_) acpiec0 at acpi0 acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT1 model 13848633228217409 serial 417d type Lion oem Sanyo acpiac0 at acpi0: AC unit online acpibtn2 at acpi0: LID_ acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ acpivideo1 at acpi0: VGA_ acpivideo2 at acpi0: VGA_ cpu0: 998 MHz: speeds: 1000 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD AMD64 14h Host rev 0x00 vga1 at pci0 dev 1 function 0 vendor ATI, unknown product 0x9807 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 1 function 1 ATI Radeon HD 6310 HD Audio rev 0x00: msi azalia0: no supported codecs ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 4 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, WDC WD3200BPVT-2, 01.0 SCSI3 0/direct fixed naa.50014ee25be3a7df sd0: 305245MB, 512 bytes/sector, 625142448 sectors ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 4 int 18, 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 ohci1 at pci0 dev 19 function 0 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 17 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 0x42: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM azalia1 at pci0 dev 20 function 2 ATI SBx00 HD Audio rev 0x40: apic 4 int 16 azalia1: codecs: Conexant/0x506c audio0 at azalia1 pcib0 at pci0 dev 20 function 3 ATI SB700 ISA rev 0x40 ppb0 at pci0 dev 20 function 4 ATI SB600 PCI rev 0x40 pci1 at ppb0 bus 1 ppb1 at pci0 dev 21 function 0 ATI SB800 PCIE rev 0x00: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 21 function 2 ATI SB800 PCIE rev 0x00 pci3 at ppb2 bus 6 alc0 at pci3 dev 0 function 0 Attansic Technology L2C rev 0xc1: msi, address dc:0e:a1:54:ba:16 atphy0 at alc0 phy 0: F2 10/100 PHY, rev. 5 ppb3 at pci0 dev 21 function 3 ATI SB800 PCIE rev 0x00 pci4 at ppb3 bus 7 Atheros AR9485 rev 0x01 at pci4 dev 0 function 0 not configured pchb1 at pci0 dev 24 function 0 AMD AMD64 14h Link Cfg rev 0x43 pchb2 at pci0 dev 24 function 1 AMD AMD64 14h Address Map rev 0x00 pchb3 at pci0 dev 24 function 2 AMD
CD ordering problems in the last day or so fixed.
The https.openbsd.org machines were under a denial of service attack originating from LeaseWeb USA and LeasWeb Netherlands: Their nets have now been filtered and you should be able to order again. Thank you to those who dropped me a note. -Bob If you know anyone here you could tell them if they care. attack originated from multiple IP's on both their USA and Netherlands networks. # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/whois_tou.html # % This is the RIPE Database query service. % The objects are in RPSL format. % % The RIPE Database is subject to Terms and Conditions. % See http://www.ripe.net/db/support/db-terms-conditions.pdf % Note: this output has been filtered. % To receive output for a database update, use the -B flag. % Information related to '94.75.252.64 - 94.75.255.255' inetnum: 94.75.252.64 - 94.75.255.255 netname: LEASEWEB descr: LeaseWeb descr: P.O. Box 93054 descr: 1090BB AMSTERDAM descr: Netherlands descr: www.leaseweb.com remarks: Please send email to ab...@leaseweb.com for complaints remarks: regarding portscans, DoS attacks and spam. remarks: INFRA-AW country: NL admin-c: LSW1-RIPE tech-c: LSW1-RIPE status: ASSIGNED PA mnt-by: LEASEWEB-MNT source: RIPE # Filtered person: RIP Mean address:P.O. Box 93054 address:1090BB AMSTERDAM address:Netherlands phone: +31 20 3162880 fax-no: +31 20 3162890 abuse-mailbox: ab...@leaseweb.com nic-hdl:LSW1-RIPE mnt-by: OCOM-MNT source: RIPE # Filtered # The following results may also be obtained via: # http://whois.arin.net/rest/nets;q=108.59.1.227?showDetails=trueshowARIN=falseext=netref2 # NetRange: 108.59.0.0 - 108.59.15.255 CIDR: 108.59.0.0/20 OriginAS: AS30633 NetName:LEASEWEB-US NetHandle: NET-108-59-0-0-1 Parent: NET-108-0-0-0-0 NetType:Direct Allocation Comment:LEASE-ARIN RegDate:2010-11-18 Updated:2012-02-24 Ref:http://whois.arin.net/rest/net/NET-108-59-0-0-1 OrgName:Leaseweb USA, Inc. OrgId: LU Address:9480 Innovation Dr City: Manassas StateProv: VA PostalCode: 20109 Country:US RegDate:2010-09-13 Updated:2012-10-09 Comment:www.leaseweb.com Ref:http://whois.arin.net/rest/org/LU
Re: OpenBSD hangs when i unplug USB disk
did you unmount it first? Marcos Laufer mar...@ipv4networks.com wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Re: bgpd send corrupt AS path message to peer in router server used at Equinix Ashburn
On 11/15/12 1:58 AM, Claudio Jeker wrote: On Wed, Nov 14, 2012 at 04:57:17PM -0500, Daniel Ouellet wrote: Hi, I am hoping that I may be able to somehow reach the consultant that support the router server at Equinix in Ashburn VA here, or may be someone else can provide me a bit more details as to how I could possibly find more details or history on this problem. There is a dual setup at Equinix that use OpenBSD as router servers for public peering there, but somehow the version of the bgpd used is older and I cant get them to upgrade it to the latest one and possibly address thsi issue here. What I get is this from the various routers servers (two) when I try to either bring IPv4 or IPv6 with it: Nov 14 16:24:55.432 EST: %BGP-3-NOTIFICATION: sent to neighbor 2001:504:0:2::::1 3/11 (invalid or corrupt AS path) 13 bytes 40020A02 0223 2ABD 95 Why is your router unhappy about this AS path? This is a valid 4-byte AS_PATH. Could it be that for some strange reason one side thinks that 4-byte AS are enabled and the other still expects 2-byte AS numbers? I get the same announce from others and I have no problem, it is when I get the 4 bytes AS from the router servers that is do not like it. I try may version of IOS on my side just to be safe and be sure, and it always give the same things, but only when it comes from the bgpd. I did get that error as well when it was coming from a Brocande router as well, but only temporary and when the other ISP reset his brocande router it establish right up. But that happen only once in 18 months. Just an example of as 4 bytes. for the AS 197373 just to take that one as there is many more I can provide. I get the announcement from these. 5 different ISP without problem, but the same announcement from the router server will end up rejected as you saw above. But as you can see, it is not that I reject the 4 bytes, I do see them in the table and I sure process them as well or they would not show up here. That's just one example, I have as I said plenty more a swell, but anytime the 4 bytes come from the router server side, it is resulting in the same issue. Below, you see the AS 197373 getting to me via these ases: 6461, 9002, 8359, 1273 and 3356 just for this case. If you need more I sure can provide a very long list, but that would end up being he same anyway. The bottom line is when I get an announcement from the router server that include a 4 bytes AS, it reset the session with a reject message back as pointed out. Hope this help you more. Best, Daniel IBX#sh ip bgp path | i 197373 0x10B3C968 1891 4 6461 3356 28858 197373 197373 197373 197373 197373 197373 i 0x921A828 1981 4 6461 3356 28858 197373 197373 197373 197373 197373 197373 i 0x990DC30 7891 0 9002 16066 197373 i 0x106F8248 9751 3000 8359 8359 8359 16066 197373 i 0x954C178 10141 3000 8359 8359 8359 16066 197373 i 0xEC3F4F8 10201 0 9002 16066 197373 i 0xEC316C8 24461 4081 6461 9002 16066 197373 i 0xEC37938 25491 4081 6461 9002 16066 197373 i 0xB609DCC 28181 0 1273 9002 16066 197373 i 0xB60A09C 28271 0 1273 9002 16066 197373 i 0xF6A7888 34601 0 3356 28858 197373 197373 197373 197373 197373 197373 i
Re: atheros on acer aspire one netbook
On Thu, Nov 15, 2012 at 09:06:44AM +0100, Peter J. Philipp wrote: Hi All, I have an Acer Aspire One 722 netbook. It looks like this with the GENERIC.MP kernel: I really want to get wireless working with this thing so I hacked in the kernel and added the following patch: --- if_athn_pci.c.orig Thu Nov 15 06:55:19 2012 +++ if_athn_pci.c Thu Nov 15 06:55:37 2012 @@ -100,7 +100,8 @@ { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR2427 }, { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9227 }, { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9287 }, - { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9300 } + { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9300 }, + { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9485 } /* pjp */ }; This isn't enough to get AR8485 chips working. The driver lacks support for these chips at present, which is why it doesn't attach yet. I have one of these as well and am trying to get it to work but haven't had success yet. Once I've got something worth testing I'll share it. However when I try to ifconfig athn0 scan the following messages appear: Nov 15 07:32:41 saturn /bsd: athn0: radio is disabled by hardware switch This is a red herring. The switch is working fine but switch detection has a bug. This has been fixed in -current already. But additional work is required to get this device working. I'd recommend using any supported USB wifi device for the time being.
Re: OpenBSD hangs when i unplug USB disk
Of course!! I *always* umount the disk before unplugging it. That didn't stop the OS from freezing. I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. On 11/15/2012 6:19 AM, David Diggles wrote: did you unmount it first? Marcos Laufer mar...@ipv4networks.com wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: Of course!! I *always* umount the disk before unplugging it. That didn't stop the OS from freezing. I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. This particular disk has ses(4). That is uncommmon for a USB disk. My guess the problem has something to do with that. Cc'ing dlg@, maybe he has a clue. -Otto On 11/15/2012 6:19 AM, David Diggles wrote: did you unmount it first? Marcos Laufer mar...@ipv4networks.com wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 11:53:07AM +0100, Otto Moerbeek wrote: | On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: | | Of course!! | I *always* umount the disk before unplugging it. That didn't stop the OS | from freezing. | I've been using OpenBSD since 2.6, this never happened to me with any | other USB hard disks. This one in particular i bought it a couple of | days ago. | | This particular disk has ses(4). That is uncommmon for a USB disk. My | guess the problem has something to do with that. | | Cc'ing dlg@, maybe he has a clue. I have no problems whatsoever (mounting, umounting, using the disks, etc) with mine: umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd0: 1907697MB, 512 bytes/sector, 3906963456 sectors ses0 at scsibus1 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration umass1 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd1: 1907697MB, 512 bytes/sector, 3906963456 sectors ses1 at scsibus2 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses1: unable to read enclosure configuration umass2 at uhub1 port 3 configuration 1 interface 0 Western Digital My Passport 0740 rev 2.10/10.03 addr 2 umass2: using SCSI over Bulk-Only scsibus3 at umass2: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: WD, My Passport 0740, 1003 SCSI4 0/direct fixed sd2: 953837MB, 512 bytes/sector, 1953458176 sectors ses2 at scsibus3 targ 1 lun 1: WD, SES Device, 1003 SCSI4 13/enclosure services fixed ses2: unable to read enclosure configuration umass3 at uhub1 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass3: using SCSI over Bulk-Only scsibus4 at umass3: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd3: 1907697MB, 512 bytes/sector, 3906963456 sectors ses3 at scsibus4 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses3: unable to read enclosure configuration umass4 at uhub1 port 5 configuration 1 interface 0 Western Digital My Passport 0730 rev 2.10/10.15 addr 4 umass4: using SCSI over Bulk-Only scsibus5 at umass4: 2 targets, initiator 0 sd4 at scsibus5 targ 1 lun 0: WD, My Passport 0730, 1015 SCSI4 0/direct fixed sd4: 953837MB, 512 bytes/sector, 1953458176 sectors ses4 at scsibus5 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses4: unable to read enclosure configuration umass5 at uhub1 port 6 configuration 1 interface 0 Western Digital My Passport 070A rev 2.00/10.32 addr 5 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: WD, My Passport 070A, 1032 SCSI2 0/direct fixed sd5: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus6 targ 1 lun 1: WD, Virtual CD 070A, 1032 SCSI2 5/cdrom removable ses5 at scsibus6 targ 1 lun 2: WD, SES Device, 1032 SCSI2 13/enclosure services fixed ses5: unable to read enclosure configuration Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: OpenBSD hangs when i unplug USB disk
Of course!! I *always* umount the disk before unplugging it. That didn't stop the OS from freezing. I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. On 11/15/2012 1:58 AM, Paulm wrote: You *do* know about mount(8)/umount(8), right? On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: relayd and header directives
Hello, I looked briefly in relay.c file and it seems that in the function void relay_read_http/2 - which is called only in ssl context - the following piece of code produces the error: } else if ((cre-method == HTTP_METHOD_DELETE || cre-method == HTTP_METHOD_GET || cre-method == HTTP_METHOD_HEAD || cre-method == HTTP_METHOD_OPTIONS || cre-method == HTTP_METHOD_POST || cre-method == HTTP_METHOD_PUT || cre-method == HTTP_METHOD_RESPONSE) strcasecmp(Content-Length, pk.key) == 0) { /* * Need to read data from the client after the * HTTP header. * XXX What about non-standard clients not using * the carriage return? And some browsers seem to * include the line length in the content-length. */ cre-toread = strtonum(pk.value, 0, ULLONG_MAX, errstr); if (errstr) { relay_close_http(con, 500, errstr, 0); goto abort; } pk.value contains a value that cannot be converted to a number, hence the function strtonum sets the error invalid in errstr, which appears in this log message: relayd www_ssl, session 1 (1 active), 0, 10.10.11.66 - 127.0.0.1:8080, invalid I think the problem is that the variable pk.value contains whatever follows after the header Content-Length. For example, curl sends this header to the server: $ curl -XPOST -k -vhttps://server/cgi-bin/query -d'param1=val1param2=val2' ** SSL handshake*** POST /cgi-bin/query HTTP/1.1 User-Agent: curl/7.27.0 Host: server Accept: */* Content-Length: 23 Content-Type: application/x-www-form-urlencoded The code stops reading further key:value header entries when encounters Content-Length, and any entry, like Content-Type: application/x-www-form-urlencoded, that follows is accumulated in pk.value, and cannot be converted to number becasue contains alfanumeric characters yielding the error invalid, in conversion, while pk.key remains with value Content-Length. What is curious enough is that a plain http request does not even calls this function, and that is why is working. Bogdan From: Bogdan Andu bo...@yahoo.com To: Sebastian Benoit be...@openbsd.org; misc@openbsd.org misc@openbsd.org Cc: r...@openbsd.org r...@openbsd.org Sent: Thursday, November 15, 2012 9:36 AM Subject: Re: relayd and header directives Hello, In the meanwhile I have discovered the following issues: [WITH SSL]: 1) No headers directives are allowed - the session is reported as invalid 2) If the POST arguments are sent as usual, like this: $ curl -XPOST -k -v https://server/cgi-bin/query -d'param1=val1param2=val2' relayd reports the session invalid: relayd www_ssl, session 1 (1 active), 0, 10.10.11.66 - 127.0.0.1:8080, invalid and the local web server is not accessed 3) If the POST argumenst are converted into GET like this: $ curl -XPOST -k -v https://server/cgi-bin/query?param1=val1¶m2=val2' everything work ok. Although there are sessions reported as invalid, the dialog with local web server works, and the respons returns to the client [WITHOUT SSL] Everything work as expected with and without header directives So, if the relayd does not makes ssl offloading seems that everything work ok. I suspect there must be something with ssl processing. The machine is in trunk0 setup with link failover in dual stack. So the relayd listens on both IPv4 and IPv6. With or without SSL offloading I cannot change response headers. The local web server is system web server Apache 1.3 with mod_perl 1.3. The web server is not chroot-ed. dmseg follows: OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug 1 10:04:49 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4292550656 (4093MB) avail mem = 4155912192 (3963MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries) bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009 bios0: Dell Inc. PowerEdge R200 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ SSDT SSDT SSDT acpi0: wakeup devices PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz, 3000.60 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,S SSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 333MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU E3110
Re: OpenBSD hangs when i unplug USB disk
On Thu, 15 Nov 2012 07:45:40 -0300 Marcos Ariel Laufer mar...@ipversion4.com wrote: I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. I wonder if it freezes other OS or causes problems before even the bios boot selection?
Re: atheros on acer aspire one netbook
On Thu, Nov 15, 2012 at 11:23:24AM +0100, Stefan Sperling wrote: --- if_athn_pci.c.orig Thu Nov 15 06:55:19 2012 +++ if_athn_pci.c Thu Nov 15 06:55:37 2012 @@ -100,7 +100,8 @@ { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR2427 }, { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9227 }, { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9287 }, - { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9300 } + { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9300 }, + { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9485 } /* pjp */ }; This isn't enough to get AR8485 chips working. I meant AR9485, of course, sorry.
Re: Noppoo Mini Choc 84 USB keyboard can not work correctly on OpenBSD 5.2 (loongson)
At 2012-11-15 15:13:48,Tomas Bodzar tomas.bod...@gmail.com wrote: Maybe this can be problem http://deskthority.net/wiki/Noppoo_Choc_Mini here? Specifically http://deskthority.net/wiki/NKRO-over-USB_issues If it is the problem as these web pages describe, does it mean there is no easy way to correct the behaviour of the Noppoo keyboard on OpenBSD, no matter 5.2 or current? On Wed, Nov 14, 2012 at 9:37 PM, Stuart Henderson s...@spacehopper.org wrote: This gives more information which might be useful, pkg_add usbutils lsusb -d 1006: -v (-d 1006: restricts to devices matching the vendor ID of this keyboard). Here is the lsusb -d 106: -v output: Bus 003 Device 002: ID 1006:0022 iRiver, Ltd. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x1006 iRiver, Ltd. idProduct 0x0022 bcdDevice1.40 iManufacturer 0 iProduct2 USB Keyboard iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 59 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 1 Keyboard iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType33 bcdHID 1.11 bCountryCode0 Not supported bNumDescriptors 1 bDescriptorType34 Report wDescriptorLength 71 Report Descriptor: (length is 71) Item(Global): Usage Page, data= [ 0x01 ] 1 Generic Desktop Controls Item(Local ): Usage, data= [ 0x06 ] 6 Keyboard Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Global): Usage Page, data= [ 0x08 ] 8 LEDs Item(Local ): Usage Minimum, data= [ 0x01 ] 1 NumLock Item(Local ): Usage Maximum, data= [ 0x03 ] 3 Scroll Lock Item(Global): Logical Minimum, data= [ 0x00 ] 0 Item(Global): Logical Maximum, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x01 ] 1 Item(Global): Report Count, data= [ 0x03 ] 3 Item(Main ): Output, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Count, data= [ 0x05 ] 5 Item(Main ): Output, data= [ 0x01 ] 1 Constant Array Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Usage Page, data= [ 0x07 ] 7 Keyboard Item(Local ): Usage Minimum, data= [ 0xe0 ] 224 Control Left Item(Local ): Usage Maximum, data= [ 0xe7 ] 231 GUI Right Item(Global): Report Count, data= [ 0x08 ] 8 Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Local ): Usage Minimum, data= [ 0x04 ] 4 A Item(Local ): Usage Maximum, data= [ 0x28 ] 40 Return (Enter) Item(Local ): Usage, data= [ 0x4f ] 79 Right Arrow Item(Local ): Usage, data= [ 0x50 ] 80 Left Arrow Item(Local ): Usage, data= [ 0x2b ] 43 Tab Item(Local ): Usage, data= [ 0x2c ] 44 Space Bar Item(Local ): Usage, data= [ 0x51 ] 81 Down Arrow Item(Local ): Usage, data= [ 0x52 ] 82 Up Arrow Item(Global): Report Count, data= [ 0x2b ] 43 Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile
Re: OpenBSD hangs when i unplug USB disk
On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos As an experiment, try going into boot's config (-c at the boot) and disable ses. Then see if a) the ses device is still present, and b) if the absence of the ses device(s) alleviate the symptoms. Ken
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 12:02:38PM +0100, Paul de Weerd wrote: On Thu, Nov 15, 2012 at 11:53:07AM +0100, Otto Moerbeek wrote: | On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: | | Of course!! | I *always* umount the disk before unplugging it. That didn't stop the OS | from freezing. | I've been using OpenBSD since 2.6, this never happened to me with any | other USB hard disks. This one in particular i bought it a couple of | days ago. | | This particular disk has ses(4). That is uncommmon for a USB disk. My | guess the problem has something to do with that. | | Cc'ing dlg@, maybe he has a clue. I have no problems whatsoever (mounting, umounting, using the disks, etc) with mine: Did you also try unplugging it? If that works and since the OP did not state the newest version he tried this on, we can probably conclude this is already fixed. -Otto umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd0: 1907697MB, 512 bytes/sector, 3906963456 sectors ses0 at scsibus1 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration umass1 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd1: 1907697MB, 512 bytes/sector, 3906963456 sectors ses1 at scsibus2 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses1: unable to read enclosure configuration umass2 at uhub1 port 3 configuration 1 interface 0 Western Digital My Passport 0740 rev 2.10/10.03 addr 2 umass2: using SCSI over Bulk-Only scsibus3 at umass2: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: WD, My Passport 0740, 1003 SCSI4 0/direct fixed sd2: 953837MB, 512 bytes/sector, 1953458176 sectors ses2 at scsibus3 targ 1 lun 1: WD, SES Device, 1003 SCSI4 13/enclosure services fixed ses2: unable to read enclosure configuration umass3 at uhub1 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass3: using SCSI over Bulk-Only scsibus4 at umass3: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd3: 1907697MB, 512 bytes/sector, 3906963456 sectors ses3 at scsibus4 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses3: unable to read enclosure configuration umass4 at uhub1 port 5 configuration 1 interface 0 Western Digital My Passport 0730 rev 2.10/10.15 addr 4 umass4: using SCSI over Bulk-Only scsibus5 at umass4: 2 targets, initiator 0 sd4 at scsibus5 targ 1 lun 0: WD, My Passport 0730, 1015 SCSI4 0/direct fixed sd4: 953837MB, 512 bytes/sector, 1953458176 sectors ses4 at scsibus5 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses4: unable to read enclosure configuration umass5 at uhub1 port 6 configuration 1 interface 0 Western Digital My Passport 070A rev 2.00/10.32 addr 5 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: WD, My Passport 070A, 1032 SCSI2 0/direct fixed sd5: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus6 targ 1 lun 1: WD, Virtual CD 070A, 1032 SCSI2 5/cdrom removable ses5 at scsibus6 targ 1 lun 2: WD, SES Device, 1032 SCSI2 13/enclosure services fixed ses5: unable to read enclosure configuration Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
bgpd route refresh
Good day, I just want to confirm the functionality for vpnv4 routes with the route-refresh capability and soft-reconfiguration config option. I tried both options but it does not import the routes into the specific rtable. the bgpctl reload and bgpctl neighbour refresh works as expected and couples the table and the routes are available under bgpctl show rib, but not under the rtable. Is this functionality available or must I restart bgp when adding more rtables to bgpd? Regards, Hendrik Meyburgh
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 04:18:14PM +0100, Otto Moerbeek wrote: | I have no problems whatsoever (mounting, umounting, using the disks, | etc) with mine: | | Did you also try unplugging it? If that works and since the OP did not | state the newest version he tried this on, we can probably conclude | this is already fixed. I did this quite often a couple of weeks ago. Haven't tried for a while (no need) and have upgraded to newer snaps a bunch of times since. Tonight I'll confirm I can unplug safely on the latest snap. Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: OpenBSD hangs when i unplug USB disk
Kenneth R Westerback wrote: On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos As an experiment, try going into boot's config (-c at the boot) and disable ses. Then see if a) the ses device is still present, and b) if the absence of the ses device(s) alleviate the symptoms. Ken Hello, i've just tried this. The ses device is not present when i disable it at boot time, but the problem persists, if i unplug the USB cord (no matter if the partition is mounted or not) the OS just freezes. So i guess it is not related to the ses driver. This are the dmesg lines of this experiment: Nov 15 12:32:52 hq /bsd: umass0 at uhub0 Nov 15 12:32:52 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 15 12:32:52 hq /bsd: umass0: using SCSI over Bulk-Only Nov 15 12:32:52 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 15 12:32:52 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 15 12:32:59 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 15 12:32:59 hq /bsd: uk0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed
Re: OpenBSD hangs when i unplug USB disk
Kevin Chadwick wrote: On Thu, 15 Nov 2012 07:45:40 -0300 Marcos Ariel Laufer mar...@ipversion4.com wrote: I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. I wonder if it freezes other OS or causes problems before even the bios boot selection? Hello, i've also just tried this right now. It does not freeze Windows XP. Also, the machine does not freeze when plugging and unplugging the cord if done before boot selection. All my machines are i386.
Re: OpenBSD hangs when i unplug USB disk
Paul de Weerd wrote: On Thu, Nov 15, 2012 at 04:18:14PM +0100, Otto Moerbeek wrote: | I have no problems whatsoever (mounting, umounting, using the disks, | etc) with mine: | | Did you also try unplugging it? If that works and since the OP did not | state the newest version he tried this on, we can probably conclude | this is already fixed. I did this quite often a couple of weeks ago. Haven't tried for a while (no need) and have upgraded to newer snaps a bunch of times since. Tonight I'll confirm I can unplug safely on the latest snap. Cheers, Paul 'WEiRD' de Weerd Thank you Paul, i look forward for the results of your testing tonight. Best regards, Marcos
Re: bgpd send corrupt AS path message to peer in router server used at Equinix Ashburn
On 2012-11-15, Daniel Ouellet dan...@presscom.net wrote: On 11/15/12 1:58 AM, Claudio Jeker wrote: Why is your router unhappy about this AS path? This is a valid 4-byte AS_PATH. Could it be that for some strange reason one side thinks that 4-byte AS are enabled and the other still expects 2-byte AS numbers? Daniel: Specifically, can you check what your router shows for neighbor capabilities for the route server in 'sh ip bgp nei'? Anything about Four-octets ASN Capability? But as you can see, it is not that I reject the 4 bytes, I do see them in the table and I sure process them as well or they would not show up here. Sorry this doesn't prove anything - - the session with your peer can negotiate 4-byte ASN support or not - if it negotiates 4-byte then 4-byte sequences are used in AS_PATH - if it negotiates 2-byte then 2-byte seq's are used in AS_PATH, but there will be an AS4_PATH from the most recent 4-byte speaker that your side will merge with the 2-byte path So you can have 4-byte paths listed in your routing table even though none of your peer sessions have negotiated it.
Re: Noppoo Mini Choc 84 USB keyboard can not work correctly on OpenBSD 5.2 (loongson)
Oh, I missed this in the earlier mail: ukbd0 at uhidev0: 64 variable keys, 0 key codes ^ ukbd1 at uhidev1 reportid 3: 56 variable keys, 0 key codes ^ Maybe there will be some more clues with a kernel with HIDKBD_DEBUG defined, and hidkbddebug=1 (see /sys/dev/usb/hidkbd.c) On 2012-11-15, yunplusplus yunplusp...@163.com wrote: If it is the problem as these web pages describe, does it mean there is no easy way to correct the behaviour of the Noppoo keyboard on OpenBSD, no matter 5.2 or current? The ukbd(4) driver would need to be modified in order to support it. It has support for some n-key rollover keyboards since 5.2 (hidkbd.c r1.6 / hidkbdsc.h r1.3). As a workaround some people have suggested connecting the cable from the keyboard to a passive USB-PS/2 converter (the type you would use if plugging into a computer with only PS/2 sockets), and then plugging that into a PS/2-USB converter (the type you would use to plug an old PS/2-only keyboard into a USB-only computer). Here is the lsusb -d 106: -v output: Thanks.
Re: Low latency High Frequency Trading
Your first paragraph is not really true. For financial data UDP multicast is more efficient and can be considerably faster than TCP, even if you need to check integrity (which isn't always the case). Most market data feeds are UDP multicast for a reason. FPGAs can be very fast but they do have obvious disadvantages over a general purpose platform. Which can be very fast too, often fast enough. 50 microseconds should be within reach. You are right that running this stuff on Windows is not a good idea though :-). On Sun, Nov 11, 2012 at 07:35:32AM -0500, Nico Kadel-Garcia wrote: On Thu, Nov 8, 2012 at 12:58 PM, Ariel Burbaickij ariel.burbaic...@gmail.com wrote: If money is not a problem -- go buy high-trading on the chip solutions and have sub-microsecond resolution. http://lmgtfy.com/?q=high+frequency+trading+FPGA Seconded as a much more viable approach. The existing multicast approach for such data is much like trying to hurl apple pies with F-6 jets. By the time you've packaged the original data, blown it across the wire, re-assembled it, *and tagged and checksummed it for validity and correct packet order*, you're rarely any faster than a normal TCP transmission. This doesn't matter much for streaming video, but when you're talking about billion dollar stock prices and tracking and responding to very small changes in prices of large companies, the validity of each packet becomes critical. Other factors also start becoming critical. Normal kernels on aren't very good about consistently treating one service as incredibly high priority *and evening out the delays as they handle other processes* too keep behavior consistent. That's why I would *never* run such processing on Windows, between fancy graphics, unnecessary daemons, and critical anti-virus software, you just don't know when things will be delayed. And that's one of the many reasons that the ability to use FPGA'a, which entirely sidestep the what else is the kernel doing process, are ideal for putting on much smaller, more module devices. And the devices don't need anything so powerful or complex as even a stripped, optimized, BSD style kernel. (Though these can admittedly be very lean and very fast as OS kernels go.)
Re: bgpd send corrupt AS path message to peer in router server used at Equinix Ashburn
On 11/15/12 12:49 PM, Stuart Henderson wrote: On 2012-11-15, Daniel Ouellet dan...@presscom.net wrote: On 11/15/12 1:58 AM, Claudio Jeker wrote: Why is your router unhappy about this AS path? This is a valid 4-byte AS_PATH. Could it be that for some strange reason one side thinks that 4-byte AS are enabled and the other still expects 2-byte AS numbers? Daniel: Specifically, can you check what your router shows for neighbor capabilities for the route server in 'sh ip bgp nei'? Anything about Four-octets ASN Capability? But as you can see, it is not that I reject the 4 bytes, I do see them in the table and I sure process them as well or they would not show up here. Sorry this doesn't prove anything - - the session with your peer can negotiate 4-byte ASN support or not - if it negotiates 4-byte then 4-byte sequences are used in AS_PATH - if it negotiates 2-byte then 2-byte seq's are used in AS_PATH, but there will be an AS4_PATH from the most recent 4-byte speaker that your side will merge with the 2-byte path So you can have 4-byte paths listed in your routing table even though none of your peer sessions have negotiated it. A more complete answer provided in private, but here is an extract and as you can see, I have peers that I have the session where I advertise supporting the 4 bytes, and they do not support it as shown, so I do not advertise to them as such and others that I do both as shown. As for the specific one with OpenBSD, I can't tell you for sure as the session WILL not come up as always rejected. So, yes not every ISP by now have switch to support 4 bytes, but I did long ago and that's not the issue as I said before on my side anyway. Hope this help. Daniel IBX#sh ip bgp neighbors | i Four-octets Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability: advertised Four-octets ASN Capability: advertised and received Four-octets ASN Capability:
Re: bgpd send corrupt AS path message to peer in router server used at Equinix Ashburn
On 2012-11-15, Daniel Ouellet dan...@presscom.net wrote: A more complete answer provided in private, but here is an extract and as you can see, I have peers that I have the session where I advertise supporting the 4 bytes, and they do not support it as shown, so I do not advertise to them as such and others that I do both as shown. From the private mail the important part is that the route server is *not* announcing 4-byte ASN support, but your router does. Neighbor capabilities: Route refresh: advertised and received(new) Four-octets ASN Capability: advertised i.e. advertised not advertised and received. So as far as your router is concerned, this session is *not* using 4-byte ASN, but it would appear that their side thinks it is. I don't see any problems with the code in -current for this negotiation, the relevant code was changed in rde.c 1.276 but the old code also looks correct. It would be interesting to know what version of bgpd code they are running (and whether they have made any changes to it)...
Re: bgpd send corrupt AS path message to peer in router server used at Equinix Ashburn
On 11/15/12 3:38 PM, Stuart Henderson wrote: On 2012-11-15, Daniel Ouellet dan...@presscom.net wrote: A more complete answer provided in private, but here is an extract and as you can see, I have peers that I have the session where I advertise supporting the 4 bytes, and they do not support it as shown, so I do not advertise to them as such and others that I do both as shown. From the private mail the important part is that the route server is *not* announcing 4-byte ASN support, but your router does. Neighbor capabilities: Route refresh: advertised and received(new) Four-octets ASN Capability: advertised i.e. advertised not advertised and received. So as far as your router is concerned, this session is *not* using 4-byte ASN, but it would appear that their side thinks it is. I don't see any problems with the code in -current for this negotiation, the relevant code was changed in rde.c 1.276 but the old code also looks correct. It would be interesting to know what version of bgpd code they are running (and whether they have made any changes to it)... That's what I am hoping to get answer here as Equinix WILL not answer my question on this. The only reason I send this to the list here is because. - Equinix did explain to me they run OpenBSD router-server - They sadly run an older version and I think this may have been fix long ago, but I can't be 100% sure. There was work done on 4 Bytes ASN before. - Equinix also sad it was an OpenBSD developer that is doing the consultant work for them. I don't know if that's true or a lie, so asking here, I am hoping that may be that person he it is true will see this and may be just upgrade the router-servers there to address the same problem for many ISP there peering or trying to peer with the router server. - I can't be sure but I do think they run 4.6 or possibly 4.8. I just can't get them to upgrade. Why I do not understand it. I will be the first to admit that I can't say if this is an OpenBSD issue as this may have been fix already or not. I do not know. The only think I know is I will not get that answer until the systems are upgraded to the latest version as we all have to do with bugs to find them and I am hoping that by putting this here, I will get the attention needed. It's just been like this for 18 months by the way and at the price they charge to have equipment in their top of the line location, one would expect to be able to get this looked at! They did and said all is good for them, but still are not welling to upgrade to be 100% sure. I am just trying a different angle and hoping for the best. May be, just may be someone here can help or not. But at the same time I do not know if there is a bug or not in bgpd and if there is anything I can do to show this or not, I would be more then happy to try. May be every one that peer with the router-servers have very small router not supporting 4 bytes and are ok that way. I peer directly with most and only try to also add the smaller one as well I guess as some will only peer with the router-servers and I can only conclude that's because they do not have the capacity to do 4 bytes, or do not have the router capability to peer directly and with each big ISP. Or they are limited in money and use OpenBSD as well for sub Gb access and do not see any problem. I can't speculate on the reason why, I am only trying to see how I could possibly have the fix somehow. I just don't like it when I see OpenBSD not working well (or not upgraded to fix the issue anyway) as I use it pretty much everywhere as far back as 2.8 and it served me well too! Best, Daniel
Re: Hardware hunting
Check out http://soekris.com/. I have a low end one and it works great. Little costly though. Justin Mayes -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Chris McGee Sent: Thursday, November 15, 2012 3:48 PM To: misc@openbsd.org Subject: Hardware hunting Hi guys- I am hunting for a low-power firewall for my home network. For at least 10 years, whenever my firewall hardware has started to die, I've grabbed a decommissioned game PC, added a few NIC's, and put OpenBSD on it. The firewall's current incarnation pulls about 160 watts 24/7; I'd like to lower that by a lot. Requirements are: 1) Low power (50w; I want it to pay for itself before the hardware dies) 2) 4 network interfaces (3 gigabit, one gigabit or 100mbps) 3) Cheaper is better (e.g., a $200 4-port PCIE NIC on a $75 motherboard is suboptimal) 4) Works with OpenBSD 5.2 5) Won't cause a hardware bottleneck when pushing 200mbps of multidirectional traffic through a moderately complex pf ruleset (this doesn't take a lot of CPU; a 1 GHz Athlon runs at about 2% under load, and most of that is from hardware interrupts). It looks like a lot of people use the Alix 2D13 for this, but I rejected it for poor throughput (it would be great for the internet connection, but it sounds like it might be a serious bottleneck between the internal networks). Jetway makes a number of promising-looking Atom boards, including the 4-interface NF38, but the NF38 and many other JetWays use the Realtek RTL8111EVL, which doesn't appear to be OpenBSD-friendly. You can add interfaces to Jetway boards via their daughterboards, but those are either Realtek RTL8111F or Intel 82574L; same problem. (Google turns up one report of the RTL8111 series sorta working with -current, but if you read the guy's dmesg, it doesn't look like he HAS an RTL8111 in the first place.) ...anyway, if you have a low-power OpenBSD network appliance with 3-4 interfaces that you're happy with, please give me a yell. I've been through a lot of boards without finding a winner so far! [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
Re: Hardware hunting
I have one Jetway board in production with 5.0 with intel daughterboard work fine but it's only 3 intel NIC so would have to use one realtek. I didn't try realtek NIC with lot of traffic. I now use Lanner FW-7535 instead. Cost a little more but like them better and Lanner service is great. Atom board with case + 6 Intel NIC. I think those are also 82574L so not the fastest intel NIC but for low budget firewall, those are fine. Also, the Atom is a desktop version so take more power than those in jetway I have use. Michel
Re: Hardware hunting
Have Soekris put out a Gbit NIC platform yet? I stopped using them because of this reason. -Joel On 16 November 2012 11:02, Justin Mayes jma...@careered.com wrote: Check out http://soekris.com/. I have a low end one and it works great. Little costly though. Justin Mayes -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Chris McGee Sent: Thursday, November 15, 2012 3:48 PM To: misc@openbsd.org Subject: Hardware hunting Hi guys- I am hunting for a low-power firewall for my home network. For at least 10 years, whenever my firewall hardware has started to die, I've grabbed a decommissioned game PC, added a few NIC's, and put OpenBSD on it. The firewall's current incarnation pulls about 160 watts 24/7; I'd like to lower that by a lot. Requirements are: 1) Low power (50w; I want it to pay for itself before the hardware dies) 2) 4 network interfaces (3 gigabit, one gigabit or 100mbps) 3) Cheaper is better (e.g., a $200 4-port PCIE NIC on a $75 motherboard is suboptimal) 4) Works with OpenBSD 5.2 5) Won't cause a hardware bottleneck when pushing 200mbps of multidirectional traffic through a moderately complex pf ruleset (this doesn't take a lot of CPU; a 1 GHz Athlon runs at about 2% under load, and most of that is from hardware interrupts). It looks like a lot of people use the Alix 2D13 for this, but I rejected it for poor throughput (it would be great for the internet connection, but it sounds like it might be a serious bottleneck between the internal networks). Jetway makes a number of promising-looking Atom boards, including the 4-interface NF38, but the NF38 and many other JetWays use the Realtek RTL8111EVL, which doesn't appear to be OpenBSD-friendly. You can add interfaces to Jetway boards via their daughterboards, but those are either Realtek RTL8111F or Intel 82574L; same problem. (Google turns up one report of the RTL8111 series sorta working with -current, but if you read the guy's dmesg, it doesn't look like he HAS an RTL8111 in the first place.) ...anyway, if you have a low-power OpenBSD network appliance with 3-4 interfaces that you're happy with, please give me a yell. I've been through a lot of boards without finding a winner so far! [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
Can I change ssh port forwardings on a active connection *non-interactively* ?
Hello all, I want to send the '~C' escape to ssh followed by ie. '-L 1024:localhost:1024' from the active ssh connection's shell, non-interactively from a script. Is it possible? Or is there a better way to accomplish this? I'm trying to build an idiot-proof menu for non tech savvy users to allow them create a couple of tunnels to local services (on different ports), on demand. The script needs to run a bunch of other stuff after adding the tunnels, so I can't just tell them to pass '-L etc.' to the client.. -- Manolis Tzanidakis http://mtzanidakis.com/ mtzanidakis[at]gmail[dot]com
Re: Can I change ssh port forwardings on a active connection *non-interactively* ?
On 11/15/12 23:10, Manolis Tzanidakis wrote: Hello all, I want to send the '~C' escape to ssh followed by ie. '-L 1024:localhost:1024' from the active ssh connection's shell, non-interactively from a script. Is it possible? Or is there a better way to accomplish this? Without judging the reason, `ssh -t` might be a good start. /Alexander I'm trying to build an idiot-proof menu for non tech savvy users to allow them create a couple of tunnels to local services (on different ports), on demand. The script needs to run a bunch of other stuff after adding the tunnels, so I can't just tell them to pass '-L etc.' to the client..
Re: Hardware hunting
On 11/15/12 4:06 PM, Joel WirÄmu Pauling wrote: Have Soekris put out a Gbit NIC platform yet? I stopped using them because of this reason. -Joel Yeah, the 6501 series is awesome. A bit pricy, but definitely something I recommend. On another note, I use some old Wyse WT941GL machines I bought of Ebay for my test lab. They're VIA 1Ghz/ 256MB RAM machines that I shoved some cheap HP dual (you could probably find quad) port NICs (also from Ebay) into. I think I have about $100 into each one of them, and they would be great for a non-mission critical environment where you don't mind throwing some used hardware into. -- James Shupe [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: mountd needs to reboot to change mapall argument
On Wednesday, November 14, 2012 12:30:58 PM Joe Kowalski wrote: On Saturday, November 10, 2012 04:35:33 PM Philip Guenther wrote: Hmm, it works for me, using an exports of /usr/src -mapall=guenther 127.0.0.1 /usr/obj -mapall=guenther 127.0.0.1 and switching the -mapall on /usr/src from guenther to otheruser, pkill -HUP mountd, then testing by creating a file in a mode 777 directory on the NFS mount from 127.0.0.1. Various other switches and tests show that it doesn't seem to be related to the sorting of the directory names. So: need more data. Run mountd yourself with the -d option and snag the *complete* output from start, making changes to /etc/exports and HUP'ing it, etc. I've been working with Tim on this. I looked at this some more today. Previously it seemed that the only way to change the user that mapall was configured to was to reboot the system. However today I found that by unmounting the physical partition on the server on which the export resides, and then remounting it, restarting the nfs related services, and mounting the nfs exports on the client, then the new user that mapall points to goes into effect. It seems to me that for some reason, when mountd initially applies the mapall function, the uid it applies gets stuck somewhere (the vfs layer?) and isn't cleared until the physical filesystem is unmounted and remounted. Joe Kowalski
Re: Hardware hunting
On Thu, Nov 15, 2012 at 2:47 PM, Chris McGee cmcge...@gmail.com wrote: I am hunting for a low-power firewall for my home network. For at least 10 years, whenever my firewall hardware has started to die, I've grabbed a decommissioned game PC, added a few NIC's, and put OpenBSD on it. The firewall's current incarnation pulls about 160 watts 24/7; I'd like to lower that by a lot. Requirements are: 1) Low power (50w; I want it to pay for itself before the hardware dies) 2) 4 network interfaces (3 gigabit, one gigabit or 100mbps) 3) Cheaper is better (e.g., a $200 4-port PCIE NIC on a $75 motherboard is suboptimal) 4) Works with OpenBSD 5.2 5) Won't cause a hardware bottleneck when pushing 200mbps of multidirectional traffic through a moderately complex pf ruleset (this doesn't take a lot of CPU; a 1 GHz Athlon runs at about 2% under load, and most of that is from hardware interrupts). It looks like a lot of people use the Alix 2D13 for this, but I rejected it for poor throughput (it would be great for the internet connection, but it sounds like it might be a serious bottleneck between the internal networks). Are you open to purchasing a VLAN-capable switch for home use? While this might be considered overkill for home use, if you like data networks, VLANs tend to be invaluable. I did this years ago and I'm quite pleased with the flexibility of my home network as a result--that and my OpenBSD firewall at home is a used low-power legacy notebook with a single GigE em NIC that I picked up for 75USD. Cheers.
5.2 boot hang on amd64 (only once)
I installed 5.2 on my amd64 laptop. I'm using the altroot softraid method of encrypting /, posted by Nick on geekyschmidt.com. Anyway, the first boot hung on cpu3: AMD erratum 721 detected and fixed. I powered off and rebooted, and haven't had a problem since. I'm not able to reproduce it, so I don't think further details are warranted. I'm reporting this just in case others encounter this issue. P.S. Thanks very much for the new pthreads. It's working great.
Re: Hardware hunting
Thanks for all the feedback! I really like the look of the Soekris boards. The Soekris website isn't that helpful, but I jotted down all my research in case someone else wanted to look at it: https://docs.google.com/spreadsheet/ccc?key=0AqjAAj_-IRQkdEs3TWNkZnZrUGs0S0FjYnRYQjFJZlE (That's not meant to be comprehensive; I stopped researching a model when it failed one of my requirements.) The text-only version (for those reading this in elm or pine :P) is: The Soekris Net6x series is an Intel Atom E6 with an EG20T, and 4 82574L 10/100/1000 chips, which are supported by the em driver. $299 - $456 for the board. The Soekris Net5x series is an AMD Geode LX with a CS5536, and 4 VT6105m 10/100 chips, which are supported by the vr driver. $254 - $222 for the board. The Soekris Net4x series uses an anonymous ethernet chip that you can't quite read in the photos and it's not listed in the spec sheet. I am pretty sure the Net4501-30 has a VM552RR chip, but I don't know who makes that. It does have a logo that looks a bit like an old Via logo. $135 - $178 for the board, but my current guess is that that mystery ethernet chip is not gonna have a driver. I think I will probably spring for the 6501-50 with their custom enclosure and external power. That lists at $380, plus $50 for a cheapo SSD, and I should be running at less than 30 watts for $480- which is a savings of 1,227 KWh per year (or about $283 at my local power rates), so it'll pay for itself in around 19 months. (Since I want to go to bed, I'm not going to attempt to figure in the change in heat loading's effect on heating and AC bills... they'll balance each other out, dammit. ;) ) Thanks again! On Thu, Nov 15, 2012 at 4:47 PM, Chris McGee cmcge...@gmail.com wrote: Hi guys- I am hunting for a low-power firewall for my home network. For at least 10 years, whenever my firewall hardware has started to die, I've grabbed a decommissioned game PC, added a few NIC's, and put OpenBSD on it. The firewall's current incarnation pulls about 160 watts 24/7; I'd like to lower that by a lot. Requirements are: 1) Low power (50w; I want it to pay for itself before the hardware dies) 2) 4 network interfaces (3 gigabit, one gigabit or 100mbps) 3) Cheaper is better (e.g., a $200 4-port PCIE NIC on a $75 motherboard is suboptimal) 4) Works with OpenBSD 5.2 5) Won't cause a hardware bottleneck when pushing 200mbps of multidirectional traffic through a moderately complex pf ruleset (this doesn't take a lot of CPU; a 1 GHz Athlon runs at about 2% under load, and most of that is from hardware interrupts). It looks like a lot of people use the Alix 2D13 for this, but I rejected it for poor throughput (it would be great for the internet connection, but it sounds like it might be a serious bottleneck between the internal networks). Jetway makes a number of promising-looking Atom boards, including the 4-interface NF38, but the NF38 and many other JetWays use the Realtek RTL8111EVL, which doesn't appear to be OpenBSD-friendly. You can add interfaces to Jetway boards via their daughterboards, but those are either Realtek RTL8111F or Intel 82574L; same problem. (Google turns up one report of the RTL8111 series sorta working with -current, but if you read the guy's dmesg, it doesn't look like he HAS an RTL8111 in the first place.) ...anyway, if you have a low-power OpenBSD network appliance with 3-4 interfaces that you're happy with, please give me a yell. I've been through a lot of boards without finding a winner so far!
Re: Hardware hunting
On Thu, Nov 15, 2012 at 3:47 PM, Chris McGee cmcge...@gmail.com wrote: Hi guys- I am hunting for a low-power firewall for my home network. For at least 10 years, whenever my firewall hardware has started to die, I've grabbed a decommissioned game PC, added a few NIC's, and put OpenBSD on it. The firewall's current incarnation pulls about 160 watts 24/7; I'd like to lower that by a lot. Requirements are: 1) Low power (50w; I want it to pay for itself before the hardware dies) 2) 4 network interfaces (3 gigabit, one gigabit or 100mbps) 3) Cheaper is better (e.g., a $200 4-port PCIE NIC on a $75 motherboard is suboptimal) 4) Works with OpenBSD 5.2 5) Won't cause a hardware bottleneck when pushing 200mbps of multidirectional traffic through a moderately complex pf ruleset (this doesn't take a lot of CPU; a 1 GHz Athlon runs at about 2% under load, and most of that is from hardware interrupts). It looks like a lot of people use the Alix 2D13 for this, but I rejected it for poor throughput (it would be great for the internet connection, but it sounds like it might be a serious bottleneck between the internal networks). Jetway makes a number of promising-looking Atom boards, including the 4-interface NF38, but the NF38 and many other JetWays use the Realtek RTL8111EVL, which doesn't appear to be OpenBSD-friendly. You can add interfaces to Jetway boards via their daughterboards, but those are either Realtek RTL8111F or Intel 82574L; same problem. (Google turns up one report of the RTL8111 series sorta working with -current, but if you read the guy's dmesg, it doesn't look like he HAS an RTL8111 in the first place.) ...anyway, if you have a low-power OpenBSD network appliance with 3-4 interfaces that you're happy with, please give me a yell. I've been through a lot of boards without finding a winner so far! The supermicro Atom based machines are nice. I am a fan of the remote management interface, which allows power cycle, KVM over IP, virtual media, etc. It comes with 2 network interfaces, but has a PCI-E x4 that you could use for additional network ports. As another user posted, if you can spring for a layer 2 managed switch, you could get by with just 1 NIC. http://www.supermicro.com/products/system/1U/5015/SYS-5015A-EHF-D525.cfm Here is a dmesg if you are interested in the chipsets (note this is an older model with a D510 CPU): OpenBSD 5.0 (GENERIC.MP) #59: Wed Aug 17 10:19:44 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Atom(TM) CPU D510 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE real mem = 3220283392 (3071MB) avail mem = 3157540864 (3011MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/26/10, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.6 @ 0x9ac00 (19 entries) bios0: vendor American Megatrends Inc. version 1.0c date 05/26/2010 bios0: Supermicro X7SPA-HF acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET acpi0: wakeup devices P0P1(S4) PS2K(S4) PS2M(S4) USB0(S4) USB1(S4) USB2(S4) USB5(S4) EUSB(S4) USB3(S4) USB4(S4) USB6(S4) USBE(S4) P0P4( S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) GBE_(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 166MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Atom(TM) CPU D510 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: 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,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE ioapic0 at mainbus0: apid 3 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 1, remapped to apid 3 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P0P1) acpiprt2 at acpi0: bus 1 (P0P4) acpiprt3 at acpi0: bus -1 (P0P5) acpiprt4 at acpi0: bus -1 (P0P6) acpiprt5 at acpi0: bus -1 (P0P7) acpiprt6 at acpi0: bus 2 (P0P8) acpiprt7 at acpi0: bus 3 (P0P9) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 ipmi at mainbus0 not configured pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x02 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 3 int 16 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 3 int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02: apic 3 int 19 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x02: apic 3 int 18 usb0 at ehci0: USB revision 2.0 uhub0 at usb0
Re: uhub error
On Mon, Nov 12, 2012 at 07:14:52AM +0100, Tomas Bodzar wrote: On Mon, Nov 12, 2012 at 12:11 AM, Chris Chung chunc...@gmail.com wrote: On Sun, Nov 11, 2012 at 07:05:43PM +0100, Tomas Bodzar wrote: On Sun, Nov 11, 2012 at 5:15 PM, Chris Chung chunc...@gmail.com wrote: On Sun, Nov 11, 2012 at 08:14:49AM +0100, Tomas Bodzar wrote: On Sun, Nov 11, 2012 at 2:53 AM, Chris Chung chunc...@gmail.com wrote: Hello, When attempting to connect an external hard drive through a usb port I'm receiving the error below. I can sucessfully mount my dvd drive and sd memory cards without issue. This could be a hardware issue, but I'm not sure. I have read the relevant FAQ sections along with the man pages for disklabel and mount but still at a loss, so any additional insights would be appreciated. # /var/log/messages openbox /bsd: uhub5: device problem, disabling port 2 From code http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/uhub.c?rev=1.59 if (err) { DPRINTFN(-1,(uhub_explore: usbd_new_device failed, error=%s\n, usbd_errstr(err))); /* Avoid addressing problems by disabling. */ /* usbd_reset_port(dev, port, up-status); */ /* * The unit refused to accept a new address, or had * some other serious problem. Since we cannot leave * at 0 we have to disable the port instead. */ printf(%s: device problem, disabling port %d\n, sc-sc_dev.dv_xname, port); usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE); # dmesg OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 686-class) 2.67 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF real mem = 3178491904 (3031MB) avail mem = 3116384256 (2972MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/17/11, BIOS32 rev. 0 @ 0xfdc50, SMBIOS rev. 2.4 @ 0xe0010 (80 entries) bios0: vendor LENOVO version 6FET88WW (3.18 ) date 03/17/2011 bios0: LENOVO 4063HK6 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4620 serial 1283 type LION oem Panasonic acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 0xd2000/0x1000 0xde000/0x1800! 0xe/0x1 cpu0: Enhanced SpeedStep 2661 MHz: speeds: 2667, 2666, 2133, 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5