From owner-freebsd-hardware@FreeBSD.ORG Sun Oct 11 00:03:58 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7C7C10656AD; Sun, 11 Oct 2009 00:03:58 +0000 (UTC) (envelope-from sten@blinkenlights.nl) Received: from mx1.blinkenlights.nl (mx1.blinkenlights.nl [IPv6:2a02:898:17:8000::25]) by mx1.freebsd.org (Postfix) with ESMTP id 3477E8FC14; Sun, 11 Oct 2009 00:03:58 +0000 (UTC) Received: from bastard.snore.nl (bastard.snore.nl [IPv6:2001:7b8:666:ffff:0:42ff:fe00:4]) by mx1.blinkenlights.nl (Postfix) with ESMTP id 4114511461; Sun, 11 Oct 2009 02:03:56 +0200 (CEST) Received: by bastard.snore.nl (Postfix, from userid 1000) id 223F728A037; Sun, 11 Oct 2009 02:03:55 +0200 (CEST) X-Original-To: sten@blinkenlights.nl Delivered-To: sten@blinkenlights.nl Received: from mx0.blinkenlights.nl (mx0.blinkenlights.nl [IPv6:2a01:1b0:201:1::25]) by zaphod.blinkenlights.nl (Postfix) with ESMTP id 06A6B17F455 for ; Wed, 25 Apr 2007 10:50:32 +0200 (CEST) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx0.blinkenlights.nl (Postfix) with ESMTP id 55A8373025 for ; Wed, 25 Apr 2007 10:50:31 +0200 (CEST) Received: from hub.freebsd.org (hub.freebsd.org [69.147.83.54]) by mx2.freebsd.org (Postfix) with ESMTP id 1295B2F2FE; Wed, 25 Apr 2007 08:48:03 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E7E8816A527; Wed, 25 Apr 2007 08:48:02 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D89B016A407 for ; Wed, 25 Apr 2007 08:47:55 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 3AD3C13C468 for ; Wed, 25 Apr 2007 08:47:54 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 96195 invoked from network); 25 Apr 2007 12:53:28 +0400 Received: from unknown (HELO localhost) (88.212.205.2) by mail.sub.ru with SMTP; 25 Apr 2007 12:53:28 +0400 X-Virus-Scanned: by amavisd-new at mail.sub.ru Received: from unknown ([88.212.205.2]) by localhost (mail-new.sub.ru [88.212.205.2]) (amavisd-new, port 10024) with SMTP id Ma+AwGTooFUH; Wed, 25 Apr 2007 12:53:24 +0400 (MSD) Received: from unknown (HELO ?89.222.147.9?) (tarkhil%sub.ru@89.222.147.9) by techno.sub.ru with SMTP; 25 Apr 2007 08:53:24 -0000 Message-ID: <462F15B4.4010201@webmail.sub.ru> From: Alex Povolotsky User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: freebsd-smp@freebsd.org, FreeBSD Stable , freebsd-hardware@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org Cc: Subject: 6.2-RELEASE does not use second CPU on pentium D X-BeenThere: freebsd-hardware@freebsd.org List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 11 Oct 2009 00:03:58 -0000 X-Original-Date: Wed, 25 Apr 2007 12:47:48 +0400 X-List-Received-Date: Sun, 11 Oct 2009 00:03:58 -0000 Hello! I have a Pentium D box, running 6.2-RELEASE. In dmesg, I see CPU#1 launched, but I never see any process running on it, and mptable shows cluster-one# mptable -verbose =============================================================================== MPTable looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009e800 searching CMOS 'top of mem' @ 0x0009e400 (633K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000fe200 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fe200 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x9f mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000fe210 signature: 'PCMP' base table length: 64 version: 1.4 checksum: 0x7f OEM ID: '' Product ID: '' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 1 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x14 BSP, usable 15 6 4 0xbfebfbff =============================================================================== while in dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p3 #2: Thu Apr 19 00:19:54 MSD 2007 tarkhil@cluster-one.zinester.com:/usr/obj/usr/src/sys/P4D WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf64 Stepping = 4 Features=0xbfebfbff Features2=0xe49d,> AMD Features=0x20100000 AMD Features2=0x1 real memory = 1046757376 (998 MB) avail memory = 1015095296 (968 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard [...] SMP: AP CPU #1 Launched! The kernel is, of course, SMP. What can I do, where can I search for solution? Second core IS enabled in BIOS cluster-one# sysctl hw | grep cpu hw.ncpu: 2 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% cluster-one# sysctl machdep | grep cpu machdep.cpu_idle_hlt: 1 machdep.hlt_cpus: 2 machdep.hlt_logical_cpus: 0 machdep.logical_cpus_mask: 2 so second CPU is halted, attempt to start it with sysctl does not help Alex. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Mon Oct 12 16:18:11 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8837B106566B for ; Mon, 12 Oct 2009 16:18:11 +0000 (UTC) (envelope-from case@sdf.lonestar.org) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.freebsd.org (Postfix) with ESMTP id 5259F8FC19 for ; Mon, 12 Oct 2009 16:18:10 +0000 (UTC) Received: from sdf.lonestar.org (IDENT:case@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.14.3/8.14.3) with ESMTP id n9CG3uWu027522 for ; Mon, 12 Oct 2009 16:03:56 GMT Received: (from case@localhost) by sdf.lonestar.org (8.14.3/8.12.8/Submit) id n9CG3t7F015236; Mon, 12 Oct 2009 16:03:56 GMT Date: Mon, 12 Oct 2009 16:03:55 +0000 (UTC) From: John Case X-X-Sender: case@otaku.freeshell.org To: freebsd-hardware@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: SSL/AES acceleration in FreeBSD ? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 16:18:11 -0000 This presentation document from meetBSD 2008: http://www.paeps.cx/pubs/crypto_acceleration/slides.pdf lists these supported devices: glxsb(4) AMD Geode hifn(4) Hifn padlock(4) VIA Padlock safe(4) SafeNet ubsec(4) Broadcom/Bluesteel However, I can only find "safe" as a isted device in generic kernel configuration files. The other devices are not anywhere in kernel config files. I am able to find hifn.ko and /sys/modules/padlock and ubsec.ko in the source tree, however. glxsb, however, is nowhere to be found. My goal is to accelerate the Tor onion router using hardware on FreeBSD. Since safe(4) is a standard kernel config option, that seemed a likely starting place, however a cursory search shows that this is not really a working device and certainly not a trouble-free item to implement. Are any implementations of hardware crypto acceleration both stable and trouble-free in FreeBSD ? I appreciate all comments and suggestions. From owner-freebsd-hardware@FreeBSD.ORG Mon Oct 12 18:33:19 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F27FE106566B for ; Mon, 12 Oct 2009 18:33:19 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id AFF768FC08 for ; Mon, 12 Oct 2009 18:33:19 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Mon, 12 Oct 2009 13:43:47 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::0 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-hardware@freebsd.org X-SMFBL: ZnJlZWJzZC1oYXJkd2FyZUBmcmVlYnNkLm9yZw== Message-ID: <4AD3728E.8010509@comcast.net> Date: Mon, 12 Oct 2009 14:16:46 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.23 (X11/20090902) MIME-Version: 1.0 To: John Case References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hardware@freebsd.org Subject: Re: SSL/AES acceleration in FreeBSD ? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 18:33:20 -0000 John Case wrote: > > This presentation document from meetBSD 2008: > > http://www.paeps.cx/pubs/crypto_acceleration/slides.pdf > > lists these supported devices: > > glxsb(4) AMD Geode > hifn(4) Hifn > padlock(4) VIA Padlock > safe(4) SafeNet > ubsec(4) Broadcom/Bluesteel > > However, I can only find "safe" as a isted device in generic kernel > configuration files. The other devices are not anywhere in kernel > config files. cd > I can personally verify FreeBSD's support for the Geode (glxsb(4)) and various hifn(4) and ubsec(4) devices. The code is all there and has been there for some time: glxsb(4) - /usr/src/sys/dev/glxsb hifn(4) - /usr/src/sys/dev/hifn ubsec(4) - /usr/src/sys/dev/ubsec I'm not sure about the kernel options, but all of the above are typically built as modules with the GENERIC kernel. After loading the module, the devices are then made available through the cryptodev(4) driver. OpenSSL and several tools (/usr/src/tools/tools/crypto/cryptotest & cryptostats) can confirm they are being used. > > My goal is to accelerate the Tor onion router using hardware on > FreeBSD. Since safe(4) is a standard kernel config option, that seemed > a likely starting place, however a cursory search shows that this is > not really a working device and certainly not a trouble-free item to > implement. You will may find that for any fairly modern dual-core CPU (even an Athlon64 X2), the CPU will outperform pretty much all of the hardware crypto-accelerator offerings, except for the most recent and high-end. This is *especially* true when you are doing many small cryptographic operations, which I assume Tor may be doing. You'll still at least get the benefit of offloading all of these operations from the CPU, freeing it up to spend time on other tasks. > > Are any implementations of hardware crypto acceleration both stable > and trouble-free in FreeBSD ? In the testing I've done, the hifn, ubsec, and glxsb devices all work quite well. I haven't seen any problems with any of them. If you're still looking to select a card, I'd recommend the newest Broadcom offerings that you can find on eBay at a fair price - these use the ubsec(4) driver. > > I appreciate all comments and suggestions. > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org" > From owner-freebsd-hardware@FreeBSD.ORG Tue Oct 13 14:42:15 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C2A81065676; Tue, 13 Oct 2009 14:42:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 05F9D8FC12; Tue, 13 Oct 2009 14:42:14 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 571F646B2C; Tue, 13 Oct 2009 10:42:14 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A07378A01B; Tue, 13 Oct 2009 10:42:13 -0400 (EDT) From: John Baldwin To: freebsd-smp@freebsd.org Date: Tue, 13 Oct 2009 10:40:55 -0400 User-Agent: KMail/1.9.7 References: <462F15B4.4010201@webmail.sub.ru> In-Reply-To: <462F15B4.4010201@webmail.sub.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910131040.55465.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 13 Oct 2009 10:42:13 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-hardware@freebsd.org, FreeBSD Stable Subject: Re: 6.2-RELEASE does not use second CPU on pentium D X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 14:42:15 -0000 On Wednesday 25 April 2007 4:47:48 am Alex Povolotsky wrote: > Hello! > > I have a Pentium D box, running 6.2-RELEASE. In dmesg, I see CPU#1 > launched, but I never see any process running on it, and mptable shows > > cluster-one# mptable -verbose > > =============================================================================== > > MPTable > > looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009e800 > searching CMOS 'top of mem' @ 0x0009e400 (633K) > searching default 'top of mem' @ 0x0009fc00 (639K) > searching BIOS @ 0x000f0000 > > MP FPS found in BIOS @ physical addr: 0x000fe200 > > ------------------------------------------------------------------------------- > > MP Floating Pointer Structure: > > location: BIOS > physical address: 0x000fe200 > signature: '_MP_' > length: 16 bytes > version: 1.4 > checksum: 0x9f > mode: Virtual Wire > > ------------------------------------------------------------------------------- > > MP Config Table Header: > > physical address: 0x000fe210 > signature: 'PCMP' > base table length: 64 > version: 1.4 > checksum: 0x7f > OEM ID: '' > Product ID: '' > OEM table pointer: 0x00000000 > OEM table size: 0 > entry count: 1 > local APIC address: 0xfee00000 > extended table length: 0 > extended table checksum: 0 > > ------------------------------------------------------------------------------- > > MP Config Base Table Entries: > > -- > Processors: APIC ID Version State Family Model Step > Flags > 0 0x14 BSP, usable 15 6 4 > 0xbfebfbff > > =============================================================================== > > while in dmesg > > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 6.2-RELEASE-p3 #2: Thu Apr 19 00:19:54 MSD 2007 > tarkhil@cluster-one.zinester.com:/usr/obj/usr/src/sys/P4D > WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant > WARNING: MPSAFE network stack disabled, expect reduced performance. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.41-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf64 Stepping = 4 > > Features=0xbfebfbff ,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=0xe49d,> > AMD Features=0x20100000 > AMD Features2=0x1 > real memory = 1046757376 (998 MB) > avail memory = 1015095296 (968 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > > [...] > SMP: AP CPU #1 Launched! > > The kernel is, of course, SMP. > > What can I do, where can I search for solution? > > Second core IS enabled in BIOS > cluster-one# sysctl hw | grep cpu > hw.ncpu: 2 > hw.acpi.cpu.cx_supported: C1/0 > hw.acpi.cpu.cx_lowest: C1 > hw.acpi.cpu.cx_usage: 100.00% > cluster-one# sysctl machdep | grep cpu > machdep.cpu_idle_hlt: 1 > machdep.hlt_cpus: 2 > machdep.hlt_logical_cpus: 0 > machdep.logical_cpus_mask: 2 > > so second CPU is halted, attempt to start it with sysctl does not help > Alex. What does 'sysctl machdep | grep hyper' show? -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 14 06:55:35 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27C691065696; Wed, 14 Oct 2009 06:55:35 +0000 (UTC) (envelope-from paul+fbsd@it.ca) Received: from mail.it.ca (mail.it.ca [216.235.7.67]) by mx1.freebsd.org (Postfix) with ESMTP id BDE3F8FC08; Wed, 14 Oct 2009 06:55:34 +0000 (UTC) Received: from mail.it.ca (paul@mail [216.235.7.67]) by mail.it.ca (8.13.3/8.13.3) with ESMTP id n9E6rAQk098355; Wed, 14 Oct 2009 02:53:10 -0400 (EDT) (envelope-from paul+fbsd@it.ca) DomainKey-Signature: a=rsa-sha1; s=a; d=it.ca; c=nofws; q=dns; h=received:x-authentication-warning:date:from:to:cc:subject: message-id:references:mime-version:content-type: content-disposition:in-reply-to:user-agent; b=ciSnGhFunVStVQgcrj6Fz4hQv2FKKGQGJH1W0ozuISvZY79X/XSC2hAovDAjfCJgb iDsOhAxRnJGaT1fW7cHuBokp9lcVEqlxzq+kbqndOCk7853CRUKbNCgwqHVkJBd Received: (from paul@localhost) by mail.it.ca (8.13.3/8.13.3/Submit) id n9E6r9CV098354; Wed, 14 Oct 2009 02:53:09 -0400 (EDT) (envelope-from paul+fbsd@it.ca) X-Authentication-Warning: mail.it.ca: paul set sender to paul+fbsd@it.ca using -f Date: Wed, 14 Oct 2009 02:53:09 -0400 From: Paul Chvostek To: Sean Bruno Message-ID: <20091014065309.GA95320@it.ca> References: <20091010211452.GA44208@it.ca> <1255211359.2521.15.camel@Lappy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1255211359.2521.15.camel@Lappy> User-Agent: Mutt/1.5.12-2006-07-14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.it.ca [216.235.7.67]); Wed, 14 Oct 2009 02:53:10 -0400 (EDT) Cc: freebsd-scsi@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured" X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 06:55:35 -0000 Hi Sean, On Sat, Oct 10, 2009 at 02:49:19PM -0700, Sean Bruno wrote: > > On Sat, 2009-10-10 at 17:14 -0400, Paul Chvostek wrote: > > 000031L4 > > Huh ... have you tried moving the tape by "voltag" ?? > > e.g. > > move voltag 000020L4 drive 0 I have now, but with the same result: # chio status -v | grep drive drive 0: voltag: <000039L4:0> drive 1: voltag: <000030L4:0> # # chio move voltag 000030L4 slot 44 chio: /dev/ch0: CHIOMOVE: Device not configured # # tail -6 /var/log/messages Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): MOVE MEDIUM. CDB: a5 0 0 0 0 2 4 15 0 0 0 0 Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): CAM Status: SCSI Status Error Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): SCSI Status: Check Condition Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): ILLEGAL REQUEST asc:25,0 Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Logical unit not supported Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Unretryable error Is there a way to determine whether this problem is with the device or with FreeBSD? Note that I *can* move the tapes around using the juke box's web gui, so it's not a physical problem. For reference: # grep 'at isp0' /var/run/dmesg.boot sa0 at isp0 bus 0 target 0 lun 0 ch0 at isp0 bus 0 target 0 lun 1 Thanks muchly. -- Paul Chvostek Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 14 15:20:12 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5E34106566B for ; Wed, 14 Oct 2009 15:20:12 +0000 (UTC) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1AC8FC26 for ; Wed, 14 Oct 2009 15:20:11 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.13.6) with ESMTP id n9EF1CkI054968; Wed, 14 Oct 2009 09:01:12 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id n9EF1Br7054966; Wed, 14 Oct 2009 09:01:11 -0600 (MDT) (envelope-from ken) Date: Wed, 14 Oct 2009 09:01:11 -0600 From: "Kenneth D. Merry" To: Paul Chvostek Message-ID: <20091014150111.GA54658@nargothrond.kdm.org> References: <20091010211452.GA44208@it.ca> <1255211359.2521.15.camel@Lappy> <20091014065309.GA95320@it.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091014065309.GA95320@it.ca> User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.92.1/9894/Wed Oct 14 05:07:27 2009 on nargothrond.kdm.org X-Virus-Status: Clean Cc: Sean Bruno , freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured" X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 15:20:12 -0000 On Wed, Oct 14, 2009 at 02:53:09 -0400, Paul Chvostek wrote: > Hi Sean, > > On Sat, Oct 10, 2009 at 02:49:19PM -0700, Sean Bruno wrote: > > > > On Sat, 2009-10-10 at 17:14 -0400, Paul Chvostek wrote: > > > 000031L4 > > > > Huh ... have you tried moving the tape by "voltag" ?? > > > > e.g. > > > > move voltag 000020L4 drive 0 > > I have now, but with the same result: > > # chio status -v | grep drive > drive 0: voltag: <000039L4:0> > drive 1: voltag: <000030L4:0> > # > # chio move voltag 000030L4 slot 44 > chio: /dev/ch0: CHIOMOVE: Device not configured > # > # tail -6 /var/log/messages > Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): MOVE MEDIUM. CDB: a5 0 0 0 0 2 4 15 0 0 0 0 > Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): CAM Status: SCSI Status Error > Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): SCSI Status: Check Condition > Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): ILLEGAL REQUEST asc:25,0 > Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Logical unit not supported > Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Unretryable error Typically a "Logical unit not supported" error means that that particular LUN (in this case LUN 1) isn't supported/doesn't exist. (Which would be strange, given that it does probe.) Could the changer be in autoloader mode? That's the only thing I can think of that would cause an error like that. The only other explanation is that they're misusing that error to say that it doesn't like the particular move you're trying to do. > Is there a way to determine whether this problem is with the device or > with FreeBSD? Note that I *can* move the tapes around using the juke > box's web gui, so it's not a physical problem. > > For reference: > > # grep 'at isp0' /var/run/dmesg.boot > sa0 at isp0 bus 0 target 0 lun 0 > ch0 at isp0 bus 0 target 0 lun 1 Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 15 13:03:18 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32B10106566C for ; Thu, 15 Oct 2009 13:03:18 +0000 (UTC) (envelope-from dean@fragfest.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id ABCE98FC20 for ; Thu, 15 Oct 2009 13:03:17 +0000 (UTC) Received: from [172.29.0.131] (c122-106-149-121.carlnfd1.nsw.optusnet.com.au [122.106.149.121]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n9FD39mB008871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Oct 2009 00:03:11 +1100 Message-ID: <4AD71DD8.4030009@fragfest.com.au> Date: Fri, 16 Oct 2009 00:04:24 +1100 From: Dean Hamstead User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: Steve Polyack References: <4AD3728E.8010509@comcast.net> In-Reply-To: <4AD3728E.8010509@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: John Case , freebsd-hardware@freebsd.org Subject: Re: SSL/AES acceleration in FreeBSD ? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 13:03:18 -0000 > You will may find that for any fairly modern dual-core CPU (even an > Athlon64 X2), the CPU will outperform pretty much all of the hardware > crypto-accelerator offerings, except for the most recent and high-end. > This is *especially* true when you are doing many small cryptographic > operations, which I assume Tor may be doing. You'll still at least get > the benefit of offloading all of these operations from the CPU, freeing > it up to spend time on other tasks. this website gives more details confirming this statement. http://sslacceleration.info/64bit.shtml Interestingly, GMP benchmarking puts the Athlon64 significantly ahead of the intel offerings (i7 being one of them) for complex math. Although one must consider that the compilers are different versions etc. http://gmplib.org/gmpbench.html Certainly, given the low cost of the amd64 chips. For a CPU bound task like SSL Acceleration, it would be interesting to see what the best bang for buck would be in a cluster. Dean From owner-freebsd-hardware@FreeBSD.ORG Sat Oct 17 01:52:28 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C8D106566C for ; Sat, 17 Oct 2009 01:52:28 +0000 (UTC) (envelope-from northsidesoxfan@comcast.net) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 428EC8FC1F for ; Sat, 17 Oct 2009 01:52:27 +0000 (UTC) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA06.westchester.pa.mail.comcast.net with comcast id tc8Y1c00X0mv7h056deHAx; Sat, 17 Oct 2009 01:38:17 +0000 Received: from comcast.net ([98.193.195.91]) by OMTA11.westchester.pa.mail.comcast.net with comcast id tdfD1c0041ynaMN3XdfDtq; Sat, 17 Oct 2009 01:39:13 +0000 Received: by comcast.net (nbSMTP-1.00) for uid 1001 northsidesoxfan@comcast.net; Sat, 17 Oct 2009 09:38:06 -0500 (CDT) Date: Sat, 17 Oct 2009 09:38:06 -0500 From: Bryan Cassidy To: freebsd-hardware@freebsd.org Message-ID: <20091017143806.GB85318@.hsd1.tn.comcast.net.> Mail-Followup-To: freebsd-hardware@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X=Operating-System: 'uname -a' Subject: HP Photosmart C4180 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 01:52:28 -0000 Anyone using this printer and have it working? From owner-freebsd-hardware@FreeBSD.ORG Sat Oct 17 07:45:25 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A9B21065672 for ; Sat, 17 Oct 2009 07:45:25 +0000 (UTC) (envelope-from walkerindarkness@gmail.com) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.211.178]) by mx1.freebsd.org (Postfix) with ESMTP id C83718FC0A for ; Sat, 17 Oct 2009 07:45:24 +0000 (UTC) Received: by ywh8 with SMTP id 8so2564766ywh.3 for ; Sat, 17 Oct 2009 00:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=a8ZUPThFyRtC7uO7oZCCviTfiGqArKz0KQc04HHKLIM=; b=NXSLptxiYJGnuKZcvEHW1UgXyWbtOrTcE6nI6rymjosqOzGV/ohcTcbmwTQyHJ0U7S CZJ4Xpu57TIJAmOkmG9rc7RfScI4bfbgAI4lmFa8pPPqmQ/25BNA8kT+GOs1c9jrGD0u 8QLaFefUt8+4OBzhthevs2gSsVw6kJKLG588k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EuVRri9Dxid187kMxMn0esEMfmNycXH0iUPp+jDp0+qmtzbm4Ht+XQW3EhNQ0yuX0G vfTQWI0AusAF0O/eV6QDbbkw1wGsD39TiwjV8SOBSmy9id6uao9Cn+NrAf069DklSvf/ aNJY/MyAtzf2q3b1MgC+9sdqrq2q69ZbDf1LQ= MIME-Version: 1.0 Received: by 10.101.29.9 with SMTP id g9mr2796564anj.115.1255763725642; Sat, 17 Oct 2009 00:15:25 -0700 (PDT) In-Reply-To: <20091017143806.GB85318@.hsd1.tn.comcast.net.> References: <20091017143806.GB85318@.hsd1.tn.comcast.net.> Date: Sat, 17 Oct 2009 03:15:25 -0400 Message-ID: From: jason henson To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: HP Photosmart C4180 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 07:45:25 -0000 I have a hp photosmart c3140, I think you can use the driver for generic hp, plc or plc 3 I think. I can check my freebsd machine later if you need more. I also used lpr, the built in system print spooler I think. On Sat, Oct 17, 2009 at 10:38 AM, Bryan Cassidy wrote: > > Anyone using this printer and have it working? > > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org > " > From owner-freebsd-hardware@FreeBSD.ORG Sat Oct 17 19:39:55 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 568E7106566C for ; Sat, 17 Oct 2009 19:39:55 +0000 (UTC) (envelope-from northsidesoxfan@comcast.net) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id F3AF58FC14 for ; Sat, 17 Oct 2009 19:39:54 +0000 (UTC) Received: from OMTA23.westchester.pa.mail.comcast.net ([76.96.62.74]) by QMTA10.westchester.pa.mail.comcast.net with comcast id tvUF1c0021c6gX85AvfvkH; Sat, 17 Oct 2009 19:39:55 +0000 Received: from comcast.net ([98.193.195.91]) by OMTA23.westchester.pa.mail.comcast.net with comcast id tvmD1c00Z1ynaMN3jvmEmN; Sat, 17 Oct 2009 19:46:14 +0000 Received: by comcast.net (nbSMTP-1.00) for uid 1001 northsidesoxfan@comcast.net; Sun, 18 Oct 2009 03:38:47 -0500 (CDT) Date: Sun, 18 Oct 2009 03:38:46 -0500 From: Bryan Cassidy To: freebsd-hardware@freebsd.org Message-ID: <20091018083846.GA65104@.hsd1.tn.comcast.net.> Mail-Followup-To: freebsd-hardware@freebsd.org References: <20091017143806.GB85318@.hsd1.tn.comcast.net.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X=Operating-System: 'uname -a' Subject: Re: HP Photosmart C4180 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 19:39:55 -0000 Yes, please give me more info when you find the time. I tried setting it up a while back but just got done building a new machine and wanted to give it another go. I got a good deal on the all-in-one and would love to get it working. On Sat, Oct 17, 2009 at 03:15:25AM -0400, jason henson wrote: > I have a hp photosmart c3140, I think you can use the driver for generic hp, > plc or plc 3 I think. I can check my freebsd machine later if you need > more. I also used lpr, the built in system print spooler I think. On Sat, > Oct 17, 2009 at 10:38 AM, Bryan Cassidy wrote: > > > > Anyone using this printer and have it working? > > > > _______________________________________________ > > freebsd-hardware@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org > > " > > > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Sat Oct 17 21:34:46 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDE891065672 for ; Sat, 17 Oct 2009 21:34:46 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 896228FC0C for ; Sat, 17 Oct 2009 21:34:46 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 8FF4B1E006F1; Sat, 17 Oct 2009 23:14:50 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n9HKVv5i087746; Sat, 17 Oct 2009 22:31:57 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id n9HKVuJV087745; Sat, 17 Oct 2009 22:31:56 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 17 Oct 2009 22:31:56 +0200 To: Bryan Cassidy Message-ID: <20091017203156.GA87576@triton8.kn-bremen.de> References: <20091017143806.GB85318@.hsd1.tn.comcast.net.> <20091018083846.GA65104@.hsd1.tn.comcast.net.> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091018083846.GA65104@.hsd1.tn.comcast.net.> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hardware@freebsd.org Subject: Re: HP Photosmart C4180 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 21:34:46 -0000 On Sun, Oct 18, 2009 at 03:38:46AM -0500, Bryan Cassidy wrote: > Yes, please give me more info when you find the time. I tried setting it up > a while back but just got done building a new machine and wanted to give it > another go. I got a good deal on the all-in-one and would love to get it > working. > > On Sat, Oct 17, 2009 at 03:15:25AM -0400, jason henson wrote: > > I have a hp photosmart c3140, I think you can use the driver for generic hp, > > plc or plc 3 I think. I can check my freebsd machine later if you need > > more. I also used lpr, the built in system print spooler I think. On Sat, > > Oct 17, 2009 at 10:38 AM, Bryan Cassidy wrote: I don't know if that particular one speaks plc, but if you want to be able to scan too (and have X installed on the box for the gui) then look at /usr/ports/print/hplip3 - looks like it supports your all-in-one, including printing (using cups), scanning (using sane) and status info: http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c4100_series.html HTH, Juergen PS: I think all I had to do when testing an earlier update of that port was setting up ugen* permissions for my user in /etc/devfs.rules (there's some info in /usr/ports/print/hplip3/files/pkg-message.in - things are a little different with the new usb stack in 8 and -current tho) and then running hp-setup as root (so it can access the cups config), selecting the right ppd file for the printer. (seems to be hp-photosmart_c4100_series-hpijs.ppd.gz for yours.) PPS: your mailer sends broken Message-ID headers. :)