Re: Hardware hunting
On Thu, Nov 15, 2012 at 04:47:53PM -0500, Chris McGee 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! Hi, At work, i'm using a bytemine appliance: http://blog.bytemine.net/2012/08/15/bytemine-appliance-6a16e/ https://shop.bytemine.net/startseitenprodukte/bytemine-appliance-6a16e.html Works very fine. -- Pierre-Emmanuel André pea at raveland.org GPG key: 0x7AE329DC
Re: Can I change ssh port forwardings on a active connection *non-interactively* ?
On Thu (15/11/12), Alexander Hall wrote: 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. Hey there, thanks for answering. Could you be more specific pls? I'm not sure how this could help. All users will have regular logins (pseudo-ttys) and can send escape sequences to ssh. 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.. Let me rephrase this to avoid further misunderstandings. I've got this scenario (anything prior to '$' is the hostname): userbox$ ssh u...@foo.bar foo.bar$ printf %s@%s\n `whoami` `hostname` u...@foo.bar Let's say the user wants to add a tunnel to her current ssh connection for accessing httpd running on server foo.bar. The httpd listens on localhost only. I want to automate this process: foo.bar$ ~C ssh -L 2000:localhost:80 Forwarding port. -- Manolis Tzanidakis http://mtzanidakis.com/ mtzanidakis[at]gmail[dot]com
Re: Hardware hunting
2012/11/16 Pierre-Emmanuel André p...@raveland.org: At work, i'm using a bytemine appliance: http://blog.bytemine.net/2012/08/15/bytemine-appliance-6a16e/ https://shop.bytemine.net/startseitenprodukte/bytemine-appliance-6a16e.html Very nice. What do you use for mass storage? The industrial compact flash options by bytemine are quite expensive... :-( Best Martin
Re: Hardware hunting
On Thu, Nov 15, 2012 at 10:30:26PM -0600, Axton wrote: 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. Really? KVM over IP on Supermicro doesn't work from OpenBSD. Serial console redirection to real serial port looks quite shitty. Or what do you have in BIOS for serial console redirection? jirib
Re: Unified BSD?
On Fri, Nov 16, 2012 at 9:34 AM, Hub- FreeBSD free...@hub.org wrote: Actually, according to what we are tracking at http://bsdstats.org, there are currently *8*: PC-BSD FreeBSD PYC-BSD (aka Rus-BSD) DesktopBSD OpenBSD NetBSD DragonflyBSD MidnightBSD Tracking something like DesktopBSD which doesn't exist for quite a long time make statistics not much useful. MidnightBSD seems to be same case as last activy on mailing list last year in May, forums doesn't working at all so we are still on 4 core BSDs (Open/Net/Free/Dfly). On 2012-11-16, at 12:30 AM, Alfred Perlstein bri...@mu.org wrote: On 11/13/12 2:45 AM, Ignatios Souvatzis wrote: On Tue, Nov 13, 2012 at 10:08:08AM +0100, Joost van de Griek wrote: On 12 Nov 2012, at 21:37 , Robin Björklin robin.bjork...@gmail.com wrote: Am I bat crap crazy for thinking it could be good to merge the four largest BSD variants out there, take the best bits and pieces out of each and create a Unified BSD? You'd end up creating a fifth. At least a sixth, IIRC. You left out MirBSD from your distribution list. Also, you could argue that Minix, with its NetBSD compatibility, is a seventh and MacOS-X, with its partially (Free-/Net-)BSD compatible userland, an eighth. And Free/Net derived kernel. (at least for unix services: vfs, inet, process) -is ___ freebsd-c...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org ___ freebsd-c...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org
Re: Hardware hunting
Chris McGee cmcge...@gmail.com wrote: 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's just the transformer. The net45xx and net48xx series use the National Semiconductor DP83816, supported by the sis(4) driver. -- Christian naddy Weisgerber na...@mips.inka.de
athn(4) Atheros AR9300 testing request
Is anyone able to test athn(4) in -current with the following device, and report back to me (off-list is fine) whether or not it is working? Atheros AR9300 Vendor ID: 168c Product ID: 0030 (vendor and produced IDs are shown by 'sudo pcidump -v') I'm trying to get a similar device to work (AR9485), which shares driver code with the AR9300, and would like to know whether problems I'm seeing are specific to that device. Thanks!
Re: Unified BSD?
On 2012-11-16 12:48, Tomas Bodzar wrote: On Fri, Nov 16, 2012 at 9:34 AM, Hub- FreeBSD free...@hub.org wrote: Actually, according to what we are tracking at http://bsdstats.org, there are currently *8*: PC-BSD FreeBSD PYC-BSD (aka Rus-BSD) DesktopBSD OpenBSD NetBSD DragonflyBSD MidnightBSD Tracking something like DesktopBSD which doesn't exist for quite a long time make statistics not much useful. MidnightBSD seems to be same case as last activy on mailing list last year in May, forums doesn't working at all so we are still on 4 core BSDs (Open/Net/Free/Dfly). I find it rather meaningless as a tracking tool for BSD in general. There is no way something like 2BSD would ever appear there, no matter how many systems were installed. And I also do happen to consider OS-X to be a BSD system. :-) Johnny On 2012-11-16, at 12:30 AM, Alfred Perlstein bri...@mu.org wrote: On 11/13/12 2:45 AM, Ignatios Souvatzis wrote: On Tue, Nov 13, 2012 at 10:08:08AM +0100, Joost van de Griek wrote: On 12 Nov 2012, at 21:37 , Robin Björklin robin.bjork...@gmail.com wrote: Am I bat crap crazy for thinking it could be good to merge the four largest BSD variants out there, take the best bits and pieces out of each and create a Unified BSD? You'd end up creating a fifth. At least a sixth, IIRC. You left out MirBSD from your distribution list
5.2 ospfd and carp
Hi All, From what I've read previously I've seen that ospfd will advertise routes on carp interfaces that are in the BACKUP state. Is this still the case these days with 5.2? Whilst I'm sure I can do some magic with ifstated, I just wanted to make sure I'm not solving something that is already fixed. My use-case is that I have a pair of routers that have many vlan interfaces shared between them via carp for resilience. These routers then communicate with the rest of the network via ospf. They use 'redistribute connected' to distribute the subnets on the vlan interfaces. If an entire router fails then obviously the backup route is there in OSPF, but if for some reason there is a carp failover for other reasons and ospfd is still running on the backup router then the rest of the ospf neighbours don't know to use the route to the backup carp router (which is now master). -Matt
Re: OpenBSD hangs when i unplug USB disk
Kenneth R Westerback wrote: On Thu, Nov 15, 2012 at 12:48:03PM -0300, Marcos Laufer wrote: 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 Arrg. Need to kill all reference to that second device. Try a kernel with this diff. It should prevent probing anything but lun 0. Ken Index: umass_scsi.c === RCS file: /cvs/src/sys/dev/usb/umass_scsi.c,v retrieving revision 1.38 diff -u -p -r1.38 umass_scsi.c --- umass_scsi.c 17 Jul 2011 22:46:48 - 1.38 +++ umass_scsi.c 15 Nov 2012 17:17:06 - @@ -92,7 +92,7 @@ umass_scsi_attach(struct umass_softc *sc scbus = umass_scsi_setup(sc); scbus-sc_link.adapter_target = UMASS_SCSIID_HOST; - scbus-sc_link.luns = sc-maxlun + 1; + scbus-sc_link.luns = 1; scbus-sc_link.flags = ~SDEV_ATAPI; scbus-sc_link.flags |= SDEV_UMASS; Ken, i've applied your patch on an old OpenBSD 4.5 i use for testing purposes and the problem got solved. Now i can unplug the USB disk and no freeze at all. Is it safe to apply it on older and newer OpenBSD versions as well? These are the new dmesg lines: umass0 at uhub0 port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd0: 953837MB, 512 bytes/sec, 1953458176 sec total and after unpluggin the USB cord i get: sd0 detached scsibus0 detached umass0 detached And the OS does not freeze anymore. Thank you very much!
Re: Hardware hunting
On Fri, Nov 16, 2012 at 12:06:54PM +0100, Martin Schröder wrote: 2012/11/16 Pierre-Emmanuel André p...@raveland.org: At work, i'm using a bytemine appliance: http://blog.bytemine.net/2012/08/15/bytemine-appliance-6a16e/ https://shop.bytemine.net/startseitenprodukte/bytemine-appliance-6a16e.html Very nice. What do you use for mass storage? The industrial compact flash options by bytemine are quite expensive... :-( We use a ssd drive wd0: 16-sector PIO, LBA48, 61057MB, 125045424 sectors -- Pierre-Emmanuel André pea at raveland.org GPG key: 0x7AE329DC
Re: Hardware hunting
On Thu, Nov 15, 2012 at 5:06 PM, Michel Blais mic...@targointernet.comwrote: 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 Like Michel, I went with a Lanner box as well, but I went with the FW-7565 [1]. I have upgraded from 4.9 on through 5.2 on this box, and have had nary a problem, nor do I hear this machine either. It runs pf, openvpn, bind, dhcpd, and other small daemons. I mainly bought the machine because I liked being able to throw a cheap huge PATA hard drive in there, and not be concerned with flash's supposed write-limit, or mucking about with read-only filesystem, among other things. Obligatory dmesg: 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 = 2136604672 (2037MB) avail mem = 2057416704 (1962MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfc120 (24 entries) bios0: vendor American Megatrends Inc. version 080015 date 11/23/2010 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI acpi0: wakeup devices P0P1(S4) PS2K(S4) PS2M(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) HDAC(S4) USB4(S4) USB5(S4) USBE(S4) GBEC(S4) 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) Atom(TM) CPU D510 @ 1.66GHz, 1666.89 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu0: 512KB 64b/line 8-way L2 cache cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.67 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu1: 512KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.67 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu2: 512KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.67 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu3: 512KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 1, remapped to apid 4 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 7 (P0P1) acpiprt2 at acpi0: bus 1 (P0P4) acpiprt3 at acpi0: bus 2 (P0P5) acpiprt4 at acpi0: bus 3 (P0P6) acpiprt5 at acpi0: bus 4 (P0P7) acpiprt6 at acpi0: bus 5 (P0P8) acpiprt7 at acpi0: bus 6 (P0P9) acpicpu0 at acpi0 acpicpu1 at acpi0 acpicpu2 at acpi0 acpicpu3 at acpi0 acpibtn0 at acpi0: PWRB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x02 vga1 at pci0 dev 2 function 0 Intel Pineview 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 0xd000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 drm0 at inteldrm0 Intel Pineview Video rev 0x02 at pci0 dev 2 function 1 not configured ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: msi pci1 at ppb0 bus 1 em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi, address 00:90:0b:1f:95:ba ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: msi pci2 at ppb1 bus 2 em1 at pci2 dev 0 function 0 Intel PRO/1000 (82583V) rev 0x00: msi, address 00:90:0b:1f:95:bb ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: msi pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 Intel PRO/1000 (82583V) rev 0x00: msi, address 00:90:0b:1f:95:bc ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: msi pci4 at ppb3 bus 4 em3 at pci4 dev 0 function 0 Intel PRO/1000 (82583V) rev 0x00: msi, address 00:90:0b:1f:95:bd ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: msi pci5 at ppb4 bus 5 em4 at pci5 dev 0 function 0 Intel PRO/1000 (82583V) rev 0x00: msi, address 00:90:0b:1f:95:be ppb5 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x03: msi pci6 at ppb5 bus 6 em5 at pci6 dev 0 function 0 Intel
Re: OpenBSD hangs when i unplug USB disk
On Fri, Nov 16, 2012 at 12:02:11PM -0300, Marcos Laufer wrote: Kenneth R Westerback wrote: On Thu, Nov 15, 2012 at 12:48:03PM -0300, Marcos Laufer wrote: 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 Arrg. Need to kill all reference to that second device. Try a kernel with this diff. It should prevent probing anything but lun 0. Ken Index: umass_scsi.c === RCS file: /cvs/src/sys/dev/usb/umass_scsi.c,v retrieving revision 1.38 diff -u -p -r1.38 umass_scsi.c --- umass_scsi.c 17 Jul 2011 22:46:48 - 1.38 +++ umass_scsi.c 15 Nov 2012 17:17:06 - @@ -92,7 +92,7 @@ umass_scsi_attach(struct umass_softc *sc scbus = umass_scsi_setup(sc); scbus-sc_link.adapter_target = UMASS_SCSIID_HOST; -scbus-sc_link.luns = sc-maxlun + 1; +scbus-sc_link.luns = 1; scbus-sc_link.flags = ~SDEV_ATAPI; scbus-sc_link.flags |= SDEV_UMASS; Ken, i've applied your patch on an old OpenBSD 4.5 i use for testing purposes and the problem got solved. Now i can unplug the USB disk and no freeze at all. Is it safe to apply it on older and newer OpenBSD versions as well? These are the new dmesg lines: umass0 at uhub0 port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd0: 953837MB, 512 bytes/sec, 1953458176 sec total and after unpluggin the USB cord i get: sd0 detached scsibus0 detached umass0 detached And the OS does not freeze anymore. Thank you very much! I had deliberately NOT copied misc@ so random diagnostic patches are not floating around for the more excitable of our community to apply and forget about. :-) The diff is not the solution. It merely confirms that it is the ses* devices that are the problem. http://wdc.custhelp.com/app/answers/detail/a_id/3739/~/what-is-the-ses-driver,-why-is-it-needed,-and-how-to-get-the-driver-popup-to is a fascinating page that google found for me. If you have windows or os x available you might be able to disable the ses functionality, which would be a better solution. The proper OpenBSD solution is likely to involve upgrading the ses driver to properly get disconnected. Ken
Re: Unified BSD?
Actually, according to what we are tracking at http://bsdstats.org, there are currently *8*: PC-BSD FreeBSD PYC-BSD (aka Rus-BSD) DesktopBSD OpenBSD NetBSD DragonflyBSD MidnightBSD On 2012-11-16, at 12:30 AM, Alfred Perlstein bri...@mu.org wrote: On 11/13/12 2:45 AM, Ignatios Souvatzis wrote: On Tue, Nov 13, 2012 at 10:08:08AM +0100, Joost van de Griek wrote: On 12 Nov 2012, at 21:37 , Robin Björklin robin.bjork...@gmail.com wrote: Am I bat crap crazy for thinking it could be good to merge the four largest BSD variants out there, take the best bits and pieces out of each and create a Unified BSD? You'd end up creating a fifth. At least a sixth, IIRC. You left out MirBSD from your distribution list. Also, you could argue that Minix, with its NetBSD compatibility, is a seventh and MacOS-X, with its partially (Free-/Net-)BSD compatible userland, an eighth. And Free/Net derived kernel. (at least for unix services: vfs, inet, process) -is ___ freebsd-c...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org ___ freebsd-c...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org
Re: Unified BSD?
On 2012-11-16, at 6:42 AM, Erich Dollansky erichfreebsdl...@alogreentechnologies.com wrote: Hi, On Fri, 16 Nov 2012 14:52:48 +0100 Johnny Billquist b...@update.uu.se wrote: On 2012-11-16 12:48, Tomas Bodzar wrote: On Fri, Nov 16, 2012 at 9:34 AM, Hub- FreeBSD free...@hub.org wrote: Actually, according to what we are tracking at http://bsdstats.org, there are currently *8*: PC-BSD FreeBSD PYC-BSD (aka Rus-BSD) DesktopBSD OpenBSD NetBSD DragonflyBSD MidnightBSD Tracking something like DesktopBSD which doesn't exist for quite a long time make statistics not much useful. MidnightBSD seems to be same case as last activy on mailing list last year in May, forums doesn't working at all so we are still on 4 core BSDs (Open/Net/Free/Dfly). I find it rather meaningless as a tracking tool for BSD in general. There is no way something like 2BSD would ever appear there, no matter how many systems were installed. the number of FreeBSD installations for Indonesia seem also very, very low. We would have 20% of the installation base then. Its a purely opt-in system, excepf for PC-BSD, which has theirs as an opt-out when you install the OS … that is why its numbers are so much higher then everyone else …
Re: Unified BSD?
On 2012-11-16, at 5:52 AM, Johnny Billquist b...@update.uu.se wrote: On 2012-11-16 12:48, Tomas Bodzar wrote: On Fri, Nov 16, 2012 at 9:34 AM, Hub- FreeBSD free...@hub.org wrote: Actually, according to what we are tracking at http://bsdstats.org, there are currently *8*: PC-BSD FreeBSD PYC-BSD (aka Rus-BSD) DesktopBSD OpenBSD NetBSD DragonflyBSD MidnightBSD Tracking something like DesktopBSD which doesn't exist for quite a long time make statistics not much useful. MidnightBSD seems to be same case as last activy on mailing list last year in May, forums doesn't working at all so we are still on 4 core BSDs (Open/Net/Free/Dfly). I find it rather meaningless as a tracking tool for BSD in general. There is no way something like 2BSD would ever appear there, no matter how many systems were installed. And I also do happen to consider OS-X to be a BSD system. :-) I agree on that point, which is why I run it for my desktops … but until you mention it, I'd never thought of even trying to get the script to run … have to play with that this weekend and see how out of the box it works, if it does …
Re: Hardware hunting
Forman, Jeffrey li...@jeffreyforman.net wrote: I mainly bought the machine because I liked being able to throw a cheap huge PATA hard drive in there, and not be concerned with flash's supposed write-limit, or mucking about with read-only filesystem, among other things. Funny. I'd rather throw in a flash than a fragile hard drive. -- Christian naddy Weisgerber na...@mips.inka.de
XenServer and re0 watchdog timeout
Hi all, Has anybody tested XenServer 6.0 with OpenBSD 5.2 amd64 as a guest? Network doesn't work and I all get are re0 watchdog timeout over and over... p.s. no dmesg because I don't have network access
Re: XenServer and re0 watchdog timeout
On Fri, Nov 16, 2012 at 04:43:42PM +, Rodolfo Gouveia wrote: Hi all, Has anybody tested XenServer 6.0 with OpenBSD 5.2 amd64 as a guest? Network doesn't work and I all get are re0 watchdog timeout over and over... p.s. no dmesg because I don't have network access qemu's doing the device emulation and it does not implement the device's watchdog timer. You need to switch to a different emulated nic, or patch the re(4) driver so that it doesn't expect a watchdog. Two ways: 1. Change the vif type in XenServer to be e1000 or ne2k 2. There is a patch for NetBSD that disables the watchdog timer. A quick google search will find it for you. You might need to massage it a bit to get it to apply to -current. -ml
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 I procured the device and tried it here. It's interesting that some laptops get the ses device and some don't. Will play with it some more on the device that can see the ses to see if we can reproduce the problem and perhaps get a solution. So far no machine has hung even when they see the ses device, although we haven't tried doing any i/o to it. Ken
Re: Hardware hunting
Am 16.11.2012 um 20:11 schrieb Russell Garrison russell.garri...@gmail.com: I can also vouch for the Lanner, but make sure you get the fanless model. I bought the ones with fans to go into a noisy server room, but they spent a week or two in testing on my desk. People walking by kept thinking that a faucet was running full blast in my cubicle, so you probably don't want that in a home-based scenario. I got my Lanner from bytemine. Here is some photos: http://emea.centroid.eu/blog/index.php?article=1294095600 That's the previous model, they are offering the 'e' model now I think. Anyhow I got the Intel SSD separately for it. Yesterday I upgraded it to OpenBSD 5.2, it's been really stable since I bought it. One thing that is weird that I found out was that no matter what load is on the CPU I registered 20 Watts on my electricity meter. I still use apmd -C on it so that it conserves on heat, not that it gets hot, but it gets warm. You can put your hand on the top and it would be about 40 degrees, so bareable. Regards, -peter
ftp(1) errors on an HTTPS url
Hello, It seems that https://www.prelude-ids.org doesn't play well with the ftp(1). I normally get an 'improper response': $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received 'f' ftp: Improper response from www.prelude-ids.org but sometimes the error is different : $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received ' User-Agent: OpenBSD ftp ' ftp: Error retrieving file: OpenBSD ftp All the above are with OpenBSD 5.2 but with 4.8 I get more garbage: $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received '-CZr���6Vgy-Hd���(=Sj���'Ffw��� #=Xt���$8Mcz���7Vv3Mh���!4H]s��#=Xt���$8Mcz���7Vv0`0+0�,http://crt.comodoca.com/EssentialSSLCA_2.crt0+0�http://ocsp.comodoca.com' $ er response from www.prelude-ids.org
Re: Unified BSD?
Did anyone bothered to check wikipedia? 80+? http://en.wikipedia.org/wiki/List_of_BSD_operating_systems On Fri, 2012-11-16 at 00:34 -0800, Hub- FreeBSD wrote: Actually, according to what we are tracking at http://bsdstats.org, there are currently *8*: PC-BSD FreeBSD PYC-BSD (aka Rus-BSD) DesktopBSD OpenBSD NetBSD DragonflyBSD MidnightBSD On 2012-11-16, at 12:30 AM, Alfred Perlstein bri...@mu.org wrote: On 11/13/12 2:45 AM, Ignatios Souvatzis wrote: On Tue, Nov 13, 2012 at 10:08:08AM +0100, Joost van de Griek wrote: On 12 Nov 2012, at 21:37 , Robin Björklin robin.bjork...@gmail.com wrote: Am I bat crap crazy for thinking it could be good to merge the four largest BSD variants out there, take the best bits and pieces out of each and create a Unified BSD? You'd end up creating a fifth. At least a sixth, IIRC. You left out MirBSD from your distribution list. Also, you could argue that Minix, with its NetBSD compatibility, is a seventh and MacOS-X, with its partially (Free-/Net-)BSD compatible userland, an eighth. And Free/Net derived kernel. (at least for unix services: vfs, inet, process) -is ___ freebsd-c...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org ___ freebsd-c...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to freebsd-chat-unsubscr...@freebsd.org
Re: Hardware hunting
On 2012-11-16, Forman, Jeffrey li...@jeffreyforman.net wrote: I mainly bought the machine because I liked being able to throw a cheap huge PATA hard drive in there, and not be concerned with flash's supposed write-limit, or mucking about with read-only filesystem, among other things. I've used flash quite a lot in the last 10 years (CF, disk-on-module, and more recently SSD), they do fail sometimes of course, but the majority of failures I had were in the first month or two of use and not anything I can attribute to wear. Only time I mess around with read-only FS etc is for things where I want to avoid automatic fsck failing if the power gets pulled etc. Sometimes I do use syslog memory buffers for things (e.g. debug logging) which don't need to go to permanent storage, but mainly that's just because it can be a bit slow on some of these devices..
Crowding out OpenBSD
https://lwn.net/Articles/524606/ don't have a subscription but for those who do, enjoy.
Re: athn(4) Atheros AR9300 testing request
I have an AR9285. Is that useful? Also, please while you're in there... I get device timeout's constantly, and it disconnects and reconnects to my router. Maybe you can find the cause. On Fri, Nov 16, 2012 at 4:20 AM, Stefan Sperling s...@openbsd.org wrote: Is anyone able to test athn(4) in -current with the following device, and report back to me (off-list is fine) whether or not it is working? Atheros AR9300 Vendor ID: 168c Product ID: 0030 (vendor and produced IDs are shown by 'sudo pcidump -v') I'm trying to get a similar device to work (AR9485), which shares driver code with the AR9300, and would like to know whether problems I'm seeing are specific to that device. Thanks!
Re: Crowding out OpenBSD
On Fri, 16 Nov 2012 20:49:37 -0600, Amit Kulkarni wrote: https://lwn.net/Articles/524606/ don't have a subscription but for those who do, enjoy. But http://lwn.net/Articles/524920/ will give you the idea without $$$ R/ *** NOTE *** Please DO NOT CC me. I am subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it.
Re: Hardware hunting
On Fri, Nov 16, 2012 at 11:33:28AM +0100, Pierre-Emmanuel Andr? wrote: At work, i'm using a bytemine appliance: http://blog.bytemine.net/2012/08/15/bytemine-appliance-6a16e/ https://shop.bytemine.net/startseitenprodukte/bytemine-appliance-6a16e.html Works very fine. Does anyone know the dimensions of it? Can't find them on the website of Bytemine and I was wondering if it would fit in 1U when placed on a rack shelf. Thanks, Maurice
Re: Crowding out OpenBSD
On Sat, Nov 17, 2012 at 1:55 AM, Rod Whitworth glis...@witworx.com wrote: On Fri, 16 Nov 2012 20:49:37 -0600, Amit Kulkarni wrote: https://lwn.net/Articles/524606/ don't have a subscription but for those who do, enjoy. But http://lwn.net/Articles/524920/ will give you the idea without $$$ rleigh, it's really not as easy as you think. Making the event loop portable to kqueue is complex, but doable, I can agree to that. -- But the trouble starts beyond that. The BSDs don't have anything like cgroups. *There's no way to attach a name to a group of processes, in a hierarchal, secure way*. And you cannot emulate this. (And no, don't say BSD jail now, because that is something very different). But this already is at the very core of systemd. It's how systemd tracks services. how can someone write this and not explain why a process managing pgroups can't achieve the same results? pgroups is going to be the first alternative for someone instinctively looking for a portable alternative, so i'm genuinely interested in knowing why they've discarded the idea i am, however, aware of differences *unrelated* to writing a systemd like appliance. pgroups do not provide per item hostname and other virtualization facilities in freebsd jails/linux cgroups, but what about *relevant* differences? something weak like the index for for cgroups is wide enough to fit an UUID? in other words, something that *doesn't* require a completely new api?