From owner-freebsd-stable@FreeBSD.ORG Mon Apr 30 01:50:56 2007 Return-Path: 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 727A816A400; Mon, 30 Apr 2007 01:50:56 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 189AD13C45D; Mon, 30 Apr 2007 01:50:55 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HiL2P-0005DF-0S; Mon, 30 Apr 2007 10:50:49 +0900 Message-ID: <46354B78.5000909@micom.mng.net> Date: Mon, 30 Apr 2007 09:50:48 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.0 (X11/20070425) MIME-Version: 1.0 To: Thomas Quinot References: <20070427150134.64D3713C448@mx1.freebsd.org> <20070427153218.GA9091@melamine.cuivre.fr.eu.org> <20070427174922.GA5655@zone3000.net> <46324CCF.7040109@samsco.org> <20070427193119.GA95165@melamine.cuivre.fr.eu.org> In-Reply-To: <20070427193119.GA95165@melamine.cuivre.fr.eu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@FreeBSD.ORG, bug-followup@FreeBSD.ORG, linimon@FreeBSD.ORG, Nikolay Pavlov , mjacob@FreeBSD.ORG Subject: Re: kern/112119: system hangs when starts k3b on RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 01:50:56 -0000 Thomas Quinot wrote: > * Scott Long, 2007-04-27 : > > >> Oh hell, I know exactly what the problem is! The opcode for a >> TEST_UNIT_READY is 0x00. This is probably the command that is >> generating the CHECK_CONDITION. The test for saved_cmd is entirely >> bogus. >> > > Hmmmm. Looks like a very plausible culprit. Good catch Scott! > (I felt there had to be something wrong when I wrote that test, > incidentally, precisely because of TEST_UNIT_READY). > > Nikolay, Ganbold, (and others), here's another patch against 1.42.2.3, > please let me know if it works for you. > > Thomas. > > Index: atapi-cam.c > =================================================================== > RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v > retrieving revision 1.50 > diff -u -r1.50 atapi-cam.c > --- atapi-cam.c 14 Mar 2007 01:59:00 -0000 1.50 > +++ atapi-cam.c 27 Apr 2007 19:26:09 -0000 > @@ -729,7 +743,7 @@ > * issued a REQUEST SENSE automatically and that operation > * returned without error. > */ > - if (request->u.atapi.saved_cmd != 0 && request->error == 0) { > + if (request->u.atapi.sense.key != 0 && request->error == 0) { > bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct atapi_sense)); > csio->ccb_h.status |= CAM_AUTOSNS_VALID; > } > > > > Scott, Thomas, thank you very much for the effort fixing this problem. k3b starts fine with this patch. Ganbold From owner-freebsd-stable@FreeBSD.ORG Mon Apr 30 09:27:28 2007 Return-Path: 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 8852816A400; Mon, 30 Apr 2007 09:27:28 +0000 (UTC) (envelope-from thomas@FreeBSD.ORG) Received: from melamine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [82.225.155.84]) by mx1.freebsd.org (Postfix) with ESMTP id 46FB113C4B8; Mon, 30 Apr 2007 09:27:28 +0000 (UTC) (envelope-from thomas@FreeBSD.ORG) Received: by melamine.cuivre.fr.eu.org (Postfix, from userid 1000) id 5A1C55C185; Mon, 30 Apr 2007 11:27:27 +0200 (CEST) Date: Mon, 30 Apr 2007 11:27:27 +0200 From: Thomas Quinot To: Ganbold Message-ID: <20070430092727.GA76467@melamine.cuivre.fr.eu.org> References: <20070427150134.64D3713C448@mx1.freebsd.org> <20070427153218.GA9091@melamine.cuivre.fr.eu.org> <20070427174922.GA5655@zone3000.net> <46324CCF.7040109@samsco.org> <20070427193119.GA95165@melamine.cuivre.fr.eu.org> <46354B78.5000909@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46354B78.5000909@micom.mng.net> X-message-flag: WARNING! Using Outlook can damage your computer. User-Agent: Mutt/1.5.11 Cc: freebsd-stable@FreeBSD.ORG, bug-followup@FreeBSD.ORG, linimon@FreeBSD.ORG, Nikolay Pavlov , mjacob@FreeBSD.ORG Subject: Re: kern/112119: system hangs when starts k3b on RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 09:27:28 -0000 * Ganbold, 2007-04-30 : > Scott, Thomas, thank you very much for the effort fixing this problem. > k3b starts fine with this patch. Thanks for your feedback. The fix has been committed on HEAD. Thomas. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 30 18:18:50 2007 Return-Path: X-Original-To: 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 69FD816A402; Mon, 30 Apr 2007 18:18:50 +0000 (UTC) (envelope-from thomas@FreeBSD.ORG) Received: from melamine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [82.225.155.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2AEF013C44C; Mon, 30 Apr 2007 18:18:50 +0000 (UTC) (envelope-from thomas@FreeBSD.ORG) Received: by melamine.cuivre.fr.eu.org (Postfix, from userid 1000) id BF4805C219; Mon, 30 Apr 2007 19:50:45 +0200 (CEST) Date: Mon, 30 Apr 2007 19:50:45 +0200 From: Thomas Quinot To: Oliver Peter Message-ID: <20070430175045.GA8888@melamine.cuivre.fr.eu.org> References: <200704182205.52028.beni@brinckman.info> <200704191812.50545.lofi@freebsd.org> <46281AA5.10307@micom.mng.net> <20070426170350.GH9767@nemesis.frida.mouhaha.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070426170350.GH9767@nemesis.frida.mouhaha.de> X-message-flag: WARNING! Using Outlook can damage your computer. User-Agent: Mutt/1.5.11 Cc: stable@freebsd.org, kde@freebsd.org, current@freebsd.org, h.eichmann@gmx.de, Michael Nottebrock , Ganbold , Beni Subject: Re: [kde-freebsd] problem hal - k3b ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 18:18:50 -0000 * Oliver Peter, 2007-04-26 : > > My problem is the same as Beni's. Splash screen appears and hangs. > > I have to press power button to turn off and on my laptop. > > Didn't try ctrl+alt+del though. > > I have the same problem with my 7.0-CURRENT (yesterday). > If I can assist you testing or debugging drivers please drop me an > e-mail. > > FreeBSD 7.0-CURRENT i386 with k3b-1.0_1 / hal-0.5.8.20070403_1 This looks similar to kern/112119, which is fixed by rev. 1.52 of sys/dev/ata/atapi-cam.c, committed today on HEAD. Thomas. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 30 20:14:34 2007 Return-Path: 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 59FE216A402 for ; Mon, 30 Apr 2007 20:14:34 +0000 (UTC) (envelope-from scs@b1tt3r.org) Received: from nibiru.b1tt3r.org (206-45-95-183.static.mts.net [206.45.95.183]) by mx1.freebsd.org (Postfix) with ESMTP id E5E8E13C45B for ; Mon, 30 Apr 2007 20:14:31 +0000 (UTC) (envelope-from scs@b1tt3r.org) Received: from nibiru.b1tt3r.org (localhost.b1tt3r.org [127.0.0.1]) by nibiru.b1tt3r.org (8.14.1/8.13.8) with ESMTP id l3UKG43i024669 for ; Mon, 30 Apr 2007 15:16:04 -0500 (CDT) (envelope-from scs@b1tt3r.org) Received: (from scs@localhost) by nibiru.b1tt3r.org (8.14.1/8.13.8/Submit) id l3UKG4kN024666 for freebsd-stable@freebsd.org; Mon, 30 Apr 2007 15:16:04 -0500 (CDT) (envelope-from scs@b1tt3r.org) X-Authentication-Warning: nibiru.b1tt3r.org: scs set sender to scs@b1tt3r.org using -f Date: Mon, 30 Apr 2007 15:16:04 -0500 From: Sam Stein To: freebsd-stable@freebsd.org Message-ID: <20070430201604.GA24386@nibiru.b1tt3r.org> Mail-Followup-To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Organization: b1tt3r X-OS: FreeBSD nibiru.b1tt3r.org 6.2-STABLE i386 User-Agent: Mutt/1.5.15 (2007-04-06) Subject: Just saying hi. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 20:14:34 -0000 Hi everyone, just thought I'd say hello, new to the list. Hope I can help with some problems; and if I have any, I hope you guys can help me. :D -- Sam Stein Computer Technician/Programmer b1tt3r From owner-freebsd-stable@FreeBSD.ORG Tue May 1 00:31:57 2007 Return-Path: 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 D70DD16A404 for ; Tue, 1 May 2007 00:31:57 +0000 (UTC) (envelope-from cuongvt@fpt.vn) Received: from isp-go.FPT.NET (isp-go.fpt.net [210.245.0.153]) by mx1.freebsd.org (Postfix) with ESMTP id 611B113C4AE for ; Tue, 1 May 2007 00:31:56 +0000 (UTC) (envelope-from cuongvt@fpt.vn) Received: from isp-mta3.fpt.vn ([210.245.0.150]) by isp-go.FPT.NET with Microsoft SMTPSVC(5.0.2195.6713); Tue, 1 May 2007 07:18:02 +0700 Received: from [58.187.33.135] by isp-mta3.fpt.vn [210.245.0.150] Message-ID: <46366B21.9090602@fpt.vn> Date: Tue, 01 May 2007 07:18:09 +0900 From: vuthecuong User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 May 2007 00:18:02.0539 (UTC) FILETIME=[2E8057B0:01C78B86] Cc: Subject: this mail if for test purpose only X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 00:31:57 -0000 I just join this mailing list, I just want to test this mail arrived to list or not. Sorry for any incovinience. From owner-freebsd-stable@FreeBSD.ORG Tue May 1 00:37:32 2007 Return-Path: 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 95A4816A400 for ; Tue, 1 May 2007 00:37:32 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 54BD213C45D for ; Tue, 1 May 2007 00:37:32 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1634299wra for ; Mon, 30 Apr 2007 17:37:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=lwpeRbJ7o/gwqJM5LX03LHC8ZmR4urKoEF9xz+F0d6F3HQJWGERX3hI+5gYSz0pPnPj0zDKYr+zwuebS1SttkpydfEHegIGgC6MBysHYf/r9LNXM78GWG5vCGSmBUW2HTNFjdPZCoKITWIEfhZdz02iaauh9OKPtKnktsBchumY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=C9YjQhMihfDyggE1PItWTQix2QSy/F9rKEjyGKA6pHegPCC5BYE8FxqOtbpfveZWN2J5xT+z2PMbP+KdI62tRxDTFm6IBPMoSiwytwMRGWt0juYSgj7CPjhajuBsgX1PXNmJKFo6lNzokchOc+2kRfZUmPxhn4yp+LBUo8889x4= Received: by 10.114.194.1 with SMTP id r1mr2192318waf.1177979851208; Mon, 30 Apr 2007 17:37:31 -0700 (PDT) Received: by 10.114.194.5 with HTTP; Mon, 30 Apr 2007 17:37:31 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 04:37:31 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: freebsd-stable@freebsd.org In-Reply-To: <20070430201604.GA24386@nibiru.b1tt3r.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070430201604.GA24386@nibiru.b1tt3r.org> X-Google-Sender-Auth: 740e0b5c2ca86558 Subject: Re: Just saying hi. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 00:37:32 -0000 On 5/1/07, Sam Stein wrote: > Hi everyone, just thought I'd say hello, new to the list. Hope I can help > with some problems; and if I have any, I hope you guys can help me. :D Welcome! From owner-freebsd-stable@FreeBSD.ORG Tue May 1 01:38:40 2007 Return-Path: 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 4C10D16A404 for ; Tue, 1 May 2007 01:38:40 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id E9ADC13C459 for ; Tue, 1 May 2007 01:38:39 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1561935ana for ; Mon, 30 Apr 2007 18:38:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=JEWQV6e5aUWg03poi/ilZJnOuZ5vnW0R0d6GeUrKj4/oSHynbym+PcbGmRyXkK8+CB7w26GjNet5RjYkpsdCQ5bDUFU9MdNpSUNLmuoNMhh+Vk2RNUfeClS+O/c2q1GyGHYRZ7XEGuJZt1pC6F0QBrntNj5fnRdLMrMMMH2Fjls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=k+9hwrHChQAzgJw2O+ZuYXMiWSHQGH4oaW33DbbK3GYcjPXlucj1mrbWGN9n6XkMizRBoeTHURdJ2wv8ELIeCE1zTSXkpw8Lpxanx1lY5sAw04QiggYUmp7Ohoxzr8ss50nyHGc7o7ad5/JEUIOxpR4E+rdVgpYzNGggMoNpXRY= Received: by 10.114.156.1 with SMTP id d1mr2187966wae.1177981888113; Mon, 30 Apr 2007 18:11:28 -0700 (PDT) Received: by 10.114.76.14 with HTTP; Mon, 30 Apr 2007 18:11:28 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 09:11:28 +0800 From: "Ken Chen" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 01:38:40 -0000 After moving the database from Linux 2.4 to FreeBSD 6.2, the mysqld crash very frequently! I think the problem is on FreeBSD when myusql is heaving loading. I have another same machine with lower loading, the mysql is stable. ===== 8< ================ Version: '5.0.37-log' socket: '/tmp/mysql2.sock' port: 3307 MySQL Community Server (GPL) mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=402653184 read_buffer_size=2093056 max_used_connections=69 max_connections=130 threads_connected=53 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 1191414 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. ===== 8< ================ db1# limits Resource limits (current): cputime infinity secs filesize infinity kB datasize 2621440 kB stacksize 524288 kB coredumpsize infinity kB memoryuse infinity kB memorylocked infinity kB maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kB db1# ===== 8< ================ The configuration in my.cnf: [mysqld2] port = 3307 socket = /tmp/mysql2.sock character-set-server = utf8 datadir = /db/data2 max_connections = 130 interactive_timeout = 20 nice=-15 thread_concurrency = 8 skip-locking key_buffer = 256M max_allowed_packet = 1M table_cache = 400 sort_buffer_size = 4M read_buffer_size = 2M read_rnd_buffer_size = 4M myisam_sort_buffer_size = 64M thread_cache_size = 32 query_cache_size= 64M join_buffer_size = 4M server-id = 233 log-bin = mysql-bin skip-bdb innodb_data_home_dir = /db/data2/ innodb_data_file_path = ibdata1:2G:autoextend innodb_buffer_pool_size = 512M innodb_additional_mem_pool_size = 8M # Set .._log_file_size to 25 % of buffer pool size innodb_log_file_size = 64M innodb_log_buffer_size = 6M ##innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 30 replicate-ignore-table=friend.SendVKiss replicate-wild-ignore-table=friend.fc_% replicate-wild-ignore-table=friend._search_result_% ===== 8< ================ Last, the FreeBSD boot message: 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 #0: Thu Apr 26 15:13:29 CST 2007 root@db3.topfong.com:/usr/src/sys/i386/compile/db3 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2791.78-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 4160684032 (3967 MB) avail memory = 4078329856 (3889 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard ioapic3 irqs 72-95 on motherboard ioapic4 irqs 96-119 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 From owner-freebsd-stable@FreeBSD.ORG Tue May 1 02:07:22 2007 Return-Path: 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 5448E16A408 for ; Tue, 1 May 2007 02:07:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.192.82]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5DD13C43E for ; Tue, 1 May 2007 02:07:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (rwcrmhc12) with ESMTP id <20070501020721m1200ch9q7e>; Tue, 1 May 2007 02:07:21 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 694B21FA01D; Mon, 30 Apr 2007 19:07:21 -0700 (PDT) Date: Mon, 30 Apr 2007 19:07:21 -0700 From: Jeremy Chadwick To: Ken Chen Message-ID: <20070501020721.GA44472@icarus.home.lan> Mail-Followup-To: Ken Chen , freebsd-stable@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 02:07:22 -0000 On Tue, May 01, 2007 at 09:11:28AM +0800, Ken Chen wrote: > After moving the database from Linux 2.4 to FreeBSD 6.2, the mysqld crash > very frequently! I think the problem is on FreeBSD when myusql is heaving > loading. > > I have another same machine with lower loading, the mysql is stable. I can confirm this problem. Normally sig11 is an indication that you have hardware-related problems, but in this particular case (at least in my experience), it can also be caused by some lack-of loader.conf tunables permitting mysqld to allocate the amount of memory you're claiming in my.cnf. My loader.conf comments may not be absolutely correct (folks who know the innards of the VM will probably correct me in my claims), but I can confirm that increasing kern.maxdsiz/dfldsiz/maxssiz relieved all bizarre sig11 issues we were seeing. I'll use our production SQL server as an example: # dmesg | grep ' memory' real memory = 1073676288 (1023 MB) avail memory = 1041801216 (993 MB) # top -d 1 -U mysql Mem: 207M Active, 598M Inact, 138M Wired, 42M Cache, 111M Buf, 11M Free Swap: 8192M Total, 16K Used, 8192M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 914 mysql 6 20 0 754M 173M kserel 31:54 0.00% mysqld 877 mysql 1 8 0 1812K 900K wait 0:00 0.00% sh # pkg_info | grep ^mysql mysql-client-5.0.27 Multithreaded SQL database (client) mysql-server-5.0.27 Multithreaded SQL database (server) (The mysql ports were not build with any special options; all were literally their defaults.) # mysqladmin version | grep 'Server version' Server version 5.0.27 /boot/loader.conf : # Increase maximum allocatable memory on a process to 768MB. # (We don't choose 1GB (our max RAM) since that would exhaust # all memory, and result in a kernel panic.) # Set default memory size as 768MB. # Maximum stack size is 128MB. # kern.maxdsiz="768M" kern.dfldsiz="768M" kern.maxssiz="128M" my.cnf : set-variable = tmp_table_size=64M set-variable = max_allowed_packet=32M set-variable = table_cache=256 set-variable = key_buffer_size=64M set-variable = join_buffer_size=8M set-variable = sort_buffer_size=8M set-variable = read_buffer_size=8M set-variable = query_cache_size=64M set-variable = query_cache_limit=32M set-variable = innodb_buffer_pool_size=512M set-variable = innodb_additional_mem_pool_size=20M set-variable = innodb_log_file_size=128M set-variable = innodb_log_buffer_size=8M The my.cnf settings you see above were chosen somewhat carefully. Initially I had all the *_buffer_size variables set to something much higher, but after coming across some tuning documentation on MySQL's site, I read that there's actually a "sweet spot" as far as what you set the sizes to vs. how much memory you have. Anyways, I hope this helps. If not, I would definitely recommend running memtest86 (not a 100% failsafe way to test memory, but it usually catches obvious things) and/or swapping out some hardware. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue May 1 02:59:24 2007 Return-Path: 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 34EA216A401 for ; Tue, 1 May 2007 02:59:24 +0000 (UTC) (envelope-from cuongvt@fpt.vn) Received: from isp-go.FPT.NET (isp-go.fpt.net [210.245.0.153]) by mx1.freebsd.org (Postfix) with ESMTP id B03D613C44C for ; Tue, 1 May 2007 02:59:23 +0000 (UTC) (envelope-from cuongvt@fpt.vn) Received: from isp-mta3.fpt.vn ([210.245.0.150]) by isp-go.FPT.NET with Microsoft SMTPSVC(5.0.2195.6713); Tue, 1 May 2007 09:58:57 +0700 Received: from [58.187.33.135] by isp-mta3.fpt.vn [210.245.0.150] Message-ID: <463690D7.30805@fpt.vn> Date: Tue, 01 May 2007 09:59:03 +0900 From: vuthecuong User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 May 2007 02:58:57.0617 (UTC) FILETIME=[A9605410:01C78B9C] Cc: Subject: vietnamese input X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 02:59:24 -0000 Is there a utility to allow input vietnamese? Currently I'm using Scim-anthy for Japanese input. I heared that m17n can be used to input about 17 languages including Vietnamese. I already searched Google but still dont know what is it's exact name. Could anyone give me some info about input Vietnamese. Tnx. From owner-freebsd-stable@FreeBSD.ORG Tue May 1 03:41:15 2007 Return-Path: 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 669BF16A501 for ; Tue, 1 May 2007 03:41:15 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mx1.freebsd.org (Postfix) with ESMTP id E223F13C447 for ; Tue, 1 May 2007 03:41:14 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id A046524B377; Tue, 1 May 2007 05:41:13 +0200 (CEST) Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 9146E2DADEF; Tue, 1 May 2007 05:41:13 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-134-219.pools.arcor-ip.net [84.61.134.219]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id E1C6735E5A9; Tue, 1 May 2007 05:41:12 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l413fAYv021993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 May 2007 05:41:11 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l413fAm2047472; Tue, 1 May 2007 05:41:10 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l413fAxM047471; Tue, 1 May 2007 05:41:10 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: freebsd-stable@freebsd.org Date: Tue, 1 May 2007 05:41:05 +0200 User-Agent: KMail/1.9.6 References: <463690D7.30805@fpt.vn> In-Reply-To: <463690D7.30805@fpt.vn> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1645048.5i8Irsnjjj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705010541.10226.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: vuthecuong Subject: Re: vietnamese input X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 03:41:15 -0000 --nextPart1645048.5i8Irsnjjj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday, 1. May 2007, vuthecuong wrote: > Is there a utility to allow input vietnamese? > Currently I'm using Scim-anthy for Japanese input. > I heared that m17n can be used to input about 17 languages including > Vietnamese. Xvnkb (http://xvnkb.sourceforge.net/) is available in ports under=20 vietnamese/xvnkb. HTH, =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1645048.5i8Irsnjjj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGNrbSXhc68WspdLARAtKcAKCRkOvqU3c9irCQBefHz4ORv76D9ACfequt XHWsuu+Ih4NKlsskJEy5F6g= =oaLg -----END PGP SIGNATURE----- --nextPart1645048.5i8Irsnjjj-- From owner-freebsd-stable@FreeBSD.ORG Tue May 1 03:55:50 2007 Return-Path: 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 E46A216A400 for ; Tue, 1 May 2007 03:55:50 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8A34E13C45B for ; Tue, 1 May 2007 03:55:50 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:HJTrnuef5rfgbMHK3ewnyQ8V3u/lDCXhqgKol7QZs6NvzjYJTod8mckwJwGzXknv@kasuga.mahoroba.org [IPv6:2001:2f0:104:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id l413MSKX085378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 May 2007 12:22:34 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 01 May 2007 12:22:27 +0900 Message-ID: From: Hajimu UMEMOTO To: vuthecuong In-Reply-To: <463690D7.30805@fpt.vn> References: <463690D7.30805@fpt.vn> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.0.99 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Tue, 01 May 2007 12:22:35 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ameno.mahoroba.org Cc: freebsd-stable@FreeBSD.ORG Subject: Re: vietnamese input X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 03:55:51 -0000 Hi, >>>>> On Tue, 01 May 2007 09:59:03 +0900 >>>>> vuthecuong said: cuongvt> Is there a utility to allow input vietnamese? cuongvt> Currently I'm using Scim-anthy for Japanese input. cuongvt> I heared that m17n can be used to input about 17 languages including cuongvt> Vietnamese. cuongvt> I already searched Google but still dont know what is it's exact name. cuongvt> Could anyone give me some info about input Vietnamese. cuongvt> Tnx. I think it's ports/devel/m17n-lib. Though there is scim-plugin called scim-m17n, it is not supplied by the ports. There is a port of a plugin for UIM; ports/textproc/uim-m17nlib. Perhaps, you can use it from SCIM using ports/japanese/scim-uim. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-stable@FreeBSD.ORG Tue May 1 06:58:07 2007 Return-Path: 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 E3ACB16A401 for ; Tue, 1 May 2007 06:58:07 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.freebsd.org (Postfix) with ESMTP id 8B36B13C45D for ; Tue, 1 May 2007 06:58:07 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so1521854nze for ; Mon, 30 Apr 2007 23:58:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Jp0TBQsumHNiDVPPiJ8EmZMz2qVHNV3iydbJPjTAu6ThUXStgNtgu14qhi0ucl15zhrsi1/KW5bT8O71zzT3OjVYFK+FLD4VW1jSajlFwY/vMzdb15pVfm2zR8rp/tDme+HEdO+m4ePOamBqVcMZ+Ozw27Md9NQBqu1C2ta65e8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JdDknEgFL9cSM+xt0c8t6sskgzb1PeHJToSgiMleFfhC40/Tl5x5Jh4X70Hzqnt6qxLJ1o8BdB/23Xr2xP1WjuojM5ydwLyDXeUEsV87YBj5CGdvcyyezI3oPVltPeUE20NYB0j0zAlPcVcjE4NUJk0inxbhcut7GAlmHtmYI6k= Received: by 10.114.171.1 with SMTP id t1mr2284448wae.1178002686660; Mon, 30 Apr 2007 23:58:06 -0700 (PDT) Received: by 10.114.76.14 with HTTP; Mon, 30 Apr 2007 23:58:06 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 14:58:06 +0800 From: "Ken Chen" To: "Ken Chen" , freebsd-stable@freebsd.org In-Reply-To: <20070501020721.GA44472@icarus.home.lan> MIME-Version: 1.0 References: <20070501020721.GA44472@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 06:58:08 -0000 2007/5/1, Jeremy Chadwick : > > > I can confirm this problem. Normally sig11 is an indication that you > have hardware-related problems, but in this particular case (at least in > my experience), it can also be caused by some lack-of loader.conf > tunables permitting mysqld to allocate the amount of memory you're > claiming in my.cnf. Jeremy, thank you for your information.But I has modified /boot/loader.conf already, you can check the 'limits' output in my last post. The mysql run well on my other machine with low-loading, but at the high-loading box. mysql always get 'mysqld got signal 11'. From owner-freebsd-stable@FreeBSD.ORG Tue May 1 09:22:37 2007 Return-Path: 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 1772C16A401 for ; Tue, 1 May 2007 09:22:37 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id D0DE113C447 for ; Tue, 1 May 2007 09:22:36 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1636459ana for ; Tue, 01 May 2007 02:22:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZZQ/xadpBhSl4tzOIbSaoM5DGWIU7vxDshw6Cp6CozUrtYrcOLH5kuyoJe7ldOnmIs46aS7w4d5IamthafxGYfbKSIZkQZUm2VyibJRIenLTe9aclmhr0lRTHIwx5GN4eZcSYGqjmHystipTwIpNG8e85OplhkHxEWal96N60PQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pBqRDkoVoLSdTUR81J9jP4cFgZ5oVo45PgVidZDi2P5YvicplHeOz5psKiO+KL9D44KeHlD9gL54gb/lrzA+XBezTkntAMoQjLBLhh1KtfnnPByK+IEMXsy1OqvnCEQZup5ML1V8emEGpwcUqQ0JzYSlEqVb/XOFdVB+nucTN6E= Received: by 10.100.86.8 with SMTP id j8mr4810234anb.1178009868281; Tue, 01 May 2007 01:57:48 -0700 (PDT) Received: by 10.100.111.5 with HTTP; Tue, 1 May 2007 01:57:48 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 10:57:48 +0200 From: "Pietro Cerutti" To: vuthecuong In-Reply-To: <46366B21.9090602@fpt.vn> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46366B21.9090602@fpt.vn> Cc: freebsd-stable@freebsd.org Subject: Re: this mail if for test purpose only X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 09:22:37 -0000 On 5/1/07, vuthecuong wrote: > I just join this mailing list, I just want to test this mail arrived to > list or not. > Sorry for any incovinience. For further tests, please take into consideration freebsd-test@freebsd.org. BTW, welcome to the list. -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org From owner-freebsd-stable@FreeBSD.ORG Tue May 1 09:29:37 2007 Return-Path: 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 5729016A400 for ; Tue, 1 May 2007 09:29:37 +0000 (UTC) (envelope-from wilbury@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0FD13C459 for ; Tue, 1 May 2007 09:29:36 +0000 (UTC) (envelope-from wilbury@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so1544756nze for ; Tue, 01 May 2007 02:29:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LnN1UBkLfevJ0OulpkKzGfPgd3Ohw78BTp9USHjOSoSeJjYK0FWingPlE1JzUy4Cbgolrc2uiy7ju6Q5QyrhQt/ii7vlxgPPpz/B+bVbdfLo+9hyd+JZPC8lCONEnH/2qEJljnwGp2lCOmnEz9iNz2S378gKnTATIkhaeoHU9Mw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VjDhdFO9YDwE2xLZlow294eXJE6tL9m3DfTIg83DkN6pVlb6fgR2dInloaR91rIpQCgLcXQD0Clqt02dPUb0PbZMJoMgX7iNTpcuQr3hRei0dINCe6WVx6ZYDh7ScDAF9h34N1xGsr8Z/951Uf/8+Vr3tSPTQAeDvP1W42WMtb8= Received: by 10.114.110.1 with SMTP id i1mr2340913wac.1178011775786; Tue, 01 May 2007 02:29:35 -0700 (PDT) Received: by 10.114.179.19 with HTTP; Tue, 1 May 2007 02:29:35 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 11:29:35 +0200 From: "Juraj Lutter" To: "FreeBSD stable" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: PR kern/102211 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 09:29:37 -0000 Hi, is anyone working on commiting this patch or at least considering it? It would help a lot to have it incorporated. As per my testing, using it solves the panic situation I've been seeing otherwise after one of disks in ICH(7|8) RAID has failed. Thanks a lot otis -- Sincerely yours, Juraj Lutter From owner-freebsd-stable@FreeBSD.ORG Tue May 1 09:59:30 2007 Return-Path: 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 44C8816A400 for ; Tue, 1 May 2007 09:59:30 +0000 (UTC) (envelope-from jason@FreeBSD.csie.nctu.edu.tw) Received: from FreeBSD.csie.nctu.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id 17E6913C458 for ; Tue, 1 May 2007 09:59:28 +0000 (UTC) (envelope-from jason@FreeBSD.csie.nctu.edu.tw) Received: from localhost (unknown [127.0.0.1]) by FreeBSD.csie.nctu.edu.tw (Postfix) with ESMTP id 3DEE67F0A4 for ; Tue, 1 May 2007 17:46:46 +0800 (CST) Received: from FreeBSD.csie.nctu.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RSO-IT60zf+j for ; Tue, 1 May 2007 17:46:43 +0800 (CST) Received: by FreeBSD.csie.nctu.edu.tw (Postfix, from userid 1002) id 6BC827F0A5; Tue, 1 May 2007 17:46:43 +0800 (CST) From: Jason Chang To: freebsd-stable@freebsd.org User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 8bit Message-Id: <20070501094643.6BC827F0A5@FreeBSD.csie.nctu.edu.tw> Date: Tue, 1 May 2007 17:46:43 +0800 (CST) Subject: Re: bge watchdog timeout -- resetting problem on recent update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 09:59:30 -0000 Dear All, After further testing, we concluded that 1. sysctl hw.pci.enable_msi hw.pci.enable_msix does not change the result. bge still timeout. 2. using latest(2007/04) 7-current source does not have this problem. 3. we are very sure the problem results from if_bge.c 1.91.2.21 if_bgereg.h 1.36.2.10 brgphy.c 1.34.2.13 which are all commited at 2007/03/21 22:53 Please help to check the source code and find out why it affects bge (BCM 5704 and 5714) network nics. Thanks very much. Sincerely, Jason Chang ±z¦b ¤å³¹¤º´£¨ì: > > Dear All, > > After recent cvsup and make world, my server suffered from the > bge watchdog timeout -- resetting problem. Manually revert the > bge related source to older version and compiled a new kernel > may solve the problem. So I guess the recent committed source > does not go well with bge nics onboard of IBM e326m servers. > > 1. server model > IBM e326m server with dual AMD opteron cpus > http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?brandind=5000008&lndocid=MIGR-61692 > bge chipset is Broadcom BCM5714 B3, ASIC rev. 0x8003 > > 2. senario > large network i/o results in error: > bge0: watchdog timeout -- resetting > bge0: link DOWN > bge0: link state changed to DOWN > bge0: link UP > bge0: link state changed to UP > > 3. how to reproduce > just ftp a file larger then 20mb, and the bge will have trouble in 30sec. > > 4. source version verified to work abnormally. > if_bge.c 1.91.2.22 > if_bgereg.h 1.36.2.10 > brgphy.c 1.34.2.13 > > 5. source version verified to work normally. > if_bge.c 1.91.2.19 > if_bgereg.h 1.36.2.9 > brgphy.c 1.34.2.12 > > 6. system 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-STABLE #13: Sat Apr 14 10:57:10 CST 2007 > root@ccsun52.cc.ntu.edu.tw:/usr/src/sys/amd64/compile/CCSUN52 > Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff8061a000. > INTR: Adding local APIC 0 as a target > ACPI APIC Table: > Calibrating clock(s) ... i8254 clock: 1193293 Hz > CLK_USE_I8254_CALIBRATION not specified - using default frequency > Timecounter "i8254" frequency 1193182 Hz quality 0 > Calibrating TSC clock ... TSC clock: 2793019707 Hz > CPU: AMD Opteron(tm) Processor 254 (2793.02-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x20f51 Stepping = 1 > Features=0x78bfbff OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > Features2=0x1 > AMD Features=0xe2500800 > AMD Features2=0x1 > L1 2MB data TLB: 8 entries, fully associative > L1 2MB instruction TLB: 8 entries, fully associative > L1 4KB data TLB: 32 entries, fully associative > L1 4KB instruction TLB: 32 entries, fully associative > L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > L2 2MB unified TLB: 0 entries, disabled/not present > L2 4KB data TLB: 512 entries, 4-way associative > L2 4KB instruction TLB: 512 entries, 4-way associative > L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative > real memory = 2146828288 (2047 MB) > Physical memory chunk(s): > 0x0000000000001000 - 0x0000000000096fff, 614400 bytes (150 pages) > 0x0000000000717000 - 0x000000007c2fcfff, 2076073984 bytes (506854 pages) > avail memory = 2066284544 (1970 MB) > INTR: Adding local APIC 1 as a target > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > APIC: CPU 0 has ACPI ID 0 > APIC: CPU 1 has ACPI ID 1 > MADT: Found IO APIC ID 4, Interrupt 0 at 0xfec00000 > ioapic0: Routing external 8259A's -> intpin 0 > MADT: Found IO APIC ID 5, Interrupt 16 at 0xfec01000 > MADT: Found IO APIC ID 6, Interrupt 32 at 0xfec02000 > MADT: Interrupt override: source 0, irq 2 > ioapic0: Routing IRQ 0 -> intpin 2 > lapic0: Routing NMI -> LINT1 > lapic0: LINT1 trigger: edge > lapic0: LINT1 polarity: high > lapic1: Routing NMI -> LINT1 > lapic1: LINT1 trigger: edge > lapic1: LINT1 polarity: high > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0: intpin 9 polarity: low > ioapic0: intpin 9 trigger: level > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > ioapic2 irqs 32-47 on motherboard > cpu0 BSP: > ID: 0x00000000 VER: 0x00040010 LDR: 0x00000000 DFR: 0xffffffff > lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > timer: 0x000100ef therm: 0x00000000 err: 0x00010000 pcm: 0x00010000 > null: > random: > mem: > ichwd module loaded > io: > acpi0: on motherboard > ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48 > acpi0: [MPSAFE] > acpi0: Power Button (fixed) > pci_open(1): mode 1 addr port (0x0cf8) is 0x80016844 > pci_open(1a): mode1res=0x80000000 (0x80000000) > pci_cfgcheck: device 0 1 [class=060400] [hdr=01] is there (id=00361166) > AcpiOsDerivePciId: bus 0 dev 24 func 1 > unknown: I/O range not supported > ACPI timer: 0/4 0/5 0/4 0/4 0/4 0/4 0/3 0/4 0/4 0/4 -> 0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > pci_link0: Index IRQ Rtd Ref IRQs > Initial Probe 0 10 N 0 10 11 > Validation 0 10 N 0 10 11 > After Disable 0 255 N 0 10 11 > pci_link1: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 10 11 > Validation 0 255 N 0 10 11 > After Disable 0 255 N 0 10 11 > pci_link2: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 5 7 10 11 > Validation 0 255 N 0 5 7 10 11 > After Disable 0 255 N 0 5 7 10 11 > pci_link3: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link4: Index IRQ Rtd Ref IRQs > Initial Probe 0 5 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 5 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link5: Index IRQ Rtd Ref IRQs > Initial Probe 0 11 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 11 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link6: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link7: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 9 11 > Validation 0 255 N 0 9 11 > After Disable 0 255 N 0 9 11 > pci_link8: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 9 11 > Validation 0 255 N 0 9 11 > After Disable 0 255 N 0 9 11 > pci_link9: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link10: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link11: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link12: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link13: Index IRQ Rtd Ref IRQs > Initial Probe 0 7 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 7 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link14: Index IRQ Rtd Ref IRQs > Initial Probe 0 10 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 10 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link15: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link16: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link17: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link18: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link19: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link20: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link21: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link22: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link23: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link24: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link25: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link26: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link27: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link28: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link29: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link30: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link31: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link32: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link33: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > pci_link34: Index IRQ Rtd Ref IRQs > Initial Probe 0 255 N 0 3 4 5 7 10 11 12 14 15 > Validation 0 255 N 0 3 4 5 7 10 11 12 14 15 > After Disable 0 255 N 0 3 4 5 7 10 11 12 14 15 > cpu0: on acpi0 > cpu0: switching to generic Cx mode > powernow0: on cpu0 > powernow0: STATUS: 0x4060604141414 > powernow0: STATUS: maxfid: 0x14 > powernow0: STATUS: maxvid: 0x04 > device_attach: powernow0 attach returned 6 > cpu1: on acpi0 > powernow1: on cpu1 > powernow1: STATUS: 0x4060604141414 > powernow1: STATUS: maxfid: 0x14 > powernow1: STATUS: maxvid: 0x04 > device_attach: powernow1 attach returned 6 > pcib0: on acpi0 > ACPI: Found matching pin for 0.3.INTA at func 0: 10 > pci0: on pcib0 > pci0: physical bus=0 > found-> vendor=0x1166, dev=0x0036, revid=0x00 > bus=0, slot=1, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0205, revid=0x00 > bus=0, slot=2, func=0 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0147, statreg=0x0200, cachelnsz=0 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0214, revid=0x00 > bus=0, slot=2, func=1 > class=01-01-8a, hdrtype=0x00, mfdev=1 > cmdreg=0x0155, statreg=0x0210, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > powerspec 2 supports D0 D3 current D0 > map[20]: type 4, range 32, base 00002000, size 4, enabled > found-> vendor=0x1166, dev=0x0234, revid=0x00 > bus=0, slot=2, func=2 > class=06-01-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0147, statreg=0x0200, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0223, revid=0x01 > bus=0, slot=3, func=0 > class=0c-03-10, hdrtype=0x00, mfdev=1 > cmdreg=0x0157, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=10 > powerspec 2 supports D0 D3 current D0 > map[10]: type 1, range 32, base e8011000, size 12, enabled > map[14]: type 4, range 32, base 00001000, size 8, enabled > pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKU:0) > ioapic0: Changing trigger for pin 10 to level > ioapic0: Changing polarity for pin 10 to low > pcib0: slot 3 INTA routed to irq 10 via \\_SB_.LNKU > found-> vendor=0x1166, dev=0x0223, revid=0x01 > bus=0, slot=3, func=1 > class=0c-03-10, hdrtype=0x00, mfdev=0 > cmdreg=0x0157, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=10 > powerspec 2 supports D0 D3 current D0 > map[10]: type 1, range 32, base e8012000, size 12, enabled > map[14]: type 4, range 32, base 00001400, size 8, enabled > pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKU:0) > pcib0: slot 3 INTA routed to irq 10 via \\_SB_.LNKU > found-> vendor=0x1166, dev=0x0223, revid=0x01 > bus=0, slot=3, func=2 > class=0c-03-20, hdrtype=0x00, mfdev=0 > cmdreg=0x0157, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=10 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[10]: type 1, range 32, base e8013000, size 12, enabled > map[14]: type 4, range 32, base 00001800, size 8, enabled > pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKU:0) > pcib0: slot 3 INTA routed to irq 10 via \\_SB_.LNKU > found-> vendor=0x1002, dev=0x515e, revid=0x01 > bus=0, slot=4, func=0 > class=03-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0183, statreg=0x0290, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns) > intpin=a, irq=5 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[10]: type 3, range 32, base f0000000, size 27, enabled > map[14]: type 4, range 32, base 00001c00, size 8, enabled > map[18]: type 1, range 32, base e8000000, size 16, enabled > pcib0: matched entry for 0.4.INTA > pcib0: slot 4 INTA hardwired to IRQ 17 > found-> vendor=0x1166, dev=0x0130, revid=0xa3 > bus=0, slot=6, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x07 (1750 ns), maxlat=0x02 (500 ns) > found-> vendor=0x1166, dev=0x0130, revid=0xa3 > bus=0, slot=7, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0132, revid=0xa3 > bus=0, slot=8, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0132, revid=0xa3 > bus=0, slot=9, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0132, revid=0xa3 > bus=0, slot=10, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1166, dev=0x0132, revid=0xa3 > bus=0, slot=11, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0147, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1100, revid=0x00 > bus=0, slot=24, func=0 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1101, revid=0x00 > bus=0, slot=24, func=1 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1102, revid=0x00 > bus=0, slot=24, func=2 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1103, revid=0x00 > bus=0, slot=24, func=3 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1100, revid=0x00 > bus=0, slot=25, func=0 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1101, revid=0x00 > bus=0, slot=25, func=1 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1102, revid=0x00 > bus=0, slot=25, func=2 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > found-> vendor=0x1022, dev=0x1103, revid=0x00 > bus=0, slot=25, func=3 > class=06-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > pcib1: at device 1.0 on pci0 > pcib1: secondary bus 1 > pcib1: subordinate bus 2 > pcib1: I/O decode 0x3000-0x3fff > pcib1: memory decode 0xe8100000-0xe81fffff > pcib1: prefetched decode 0xfff00000-0xfffff > pci1: on pcib1 > pci1: physical bus=1 > found-> vendor=0x1166, dev=0x0104, revid=0xb2 > bus=1, slot=13, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > cmdreg=0x0157, statreg=0x0230, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x07 (1750 ns), maxlat=0x02 (500 ns) > pcib2: at device 13.0 on pci1 > pcib2: secondary bus 2 > pcib2: subordinate bus 2 > pcib2: I/O decode 0x3000-0x3fff > pcib2: memory decode 0xe8100000-0xe81fffff > pcib2: prefetched decode 0xfff00000-0xfffff > pci2: on pcib2 > pci2: physical bus=2 > found-> vendor=0x1000, dev=0x0030, revid=0x08 > bus=2, slot=3, func=0 > class=01-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0157, statreg=0x0230, cachelnsz=16 (dwords) > lattimer=0x48 (2160 ns), mingnt=0x11 (4250 ns), maxlat=0x12 (4500 ns) > intpin=a, irq=11 > powerspec 2 supports D0 D1 D2 D3 current D0 > MSI supports 1 message, 64 bit > map[10]: type 4, range 32, base 00003000, size 8, enabled > pcib2: requested I/O range 0x3000-0x30ff: in range > pcib1: requested I/O range 0x3000-0x30ff: in range > map[14]: type 1, range 64, base e8120000, size 17, enabled > pcib2: requested memory range 0xe8120000-0xe813ffff: good > pcib1: requested memory range 0xe8120000-0xe813ffff: good > map[1c]: type 1, range 64, base e8100000, size 17, enabled > pcib2: requested memory range 0xe8100000-0xe811ffff: good > pcib1: requested memory range 0xe8100000-0xe811ffff: good > pcib2: matched entry for 2.3.INTA > pcib2: slot 3 INTA hardwired to IRQ 18 > mpt0: port 0x3000-0x30ff mem 0xe8120000-0xe813fff > f,0xe8100000-0xe811ffff irq 18 at device 3.0 on pci2 > mpt0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x3000 > mpt0: Reserved 0x20000 bytes for rid 0x14 type 3 at 0xe8120000 > ioapic1: routing intpin 2 (PCI IRQ 18) to vector 49 > mpt0: [GIANT-LOCKED] > mpt0: MPI Version=1.2.12.0 > mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE ) > mpt0: 0 Active Volumes (1 Max) > mpt0: 0 Hidden Drive Members (6 Max) > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x > 177,0x376,0x2000-0x200f at device 2.1 on pci0 > atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x2000 > ata0: on atapci0 > atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 > atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 > ata0: reset tp1 mask=03 ostat0=50 ostat1=00 > ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb > ata0: stat1=0x00 err=0x04 lsb=0x00 msb=0x00 > ata0: reset tp2 stat0=00 stat1=00 devices=0x4 > ioapic0: routing intpin 14 (ISA IRQ 14) to vector 50 > ata0: [MPSAFE] > ata1: on atapci0 > atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 > atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 > ata1: reset tp1 mask=00 ostat0=ff ostat1=ff > ioapic0: routing intpin 15 (ISA IRQ 15) to vector 51 > ata1: [MPSAFE] > isab0: at device 2.2 on pci0 > isa0: on isab0 > ohci0: port 0x1000-0x10ff mem 0xe8011000-0xe8011 > fff irq 10 at device 3.0 on pci0 > ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8011000 > ohci0: (New OHCI DeviceId=0x02231166) > ioapic0: routing intpin 10 (ISA IRQ 10) to vector 52 > ohci0: [GIANT-LOCKED] > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > ohci1: port 0x1400-0x14ff mem 0xe8012000-0xe8012 > fff irq 10 at device 3.1 on pci0 > ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8012000 > ohci1: (New OHCI DeviceId=0x02231166) > ohci1: [GIANT-LOCKED] > usb1: OHCI version 1.0, legacy support > usb1: SMM does not respond, resetting > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > ehci0: port 0x1800-0x18ff mem 0xe8013000-0xe > 8013fff irq 10 at device 3.2 on pci0 > ehci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8013000 > ehci0: (New EHCI DeviceId=0x02231166) > ehci0: [GIANT-LOCKED] > usb2: EHCI version 1.0 > usb2: companion controllers, 2 ports each: usb0 usb1 > usb2: on ehci0 > usb2: USB revision 2.0 > uhub2: (0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub2: 4 ports with 4 removable, self powered > pci0: at device 4.0 (no driver attached) > pcib3: at device 6.0 on pci0 > pcib3: secondary bus 3 > pcib3: subordinate bus 3 > pcib3: I/O decode 0xf000-0xfff > pcib3: memory decode 0xfff00000-0xfffff > pcib3: prefetched decode 0xfff00000-0xfffff > pci3: on pcib3 > pci3: physical bus=3 > pcib4: at device 7.0 on pci0 > pcib4: secondary bus 4 > pcib4: subordinate bus 4 > pcib4: I/O decode 0xf000-0xfff > pcib4: memory decode 0xe8200000-0xe82fffff > pcib4: prefetched decode 0xfff00000-0xfffff > pci4: on pcib4 > pci4: physical bus=4 > found-> vendor=0x14e4, dev=0x166a, revid=0x03 > bus=4, slot=4, func=0 > class=02-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0156, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) > intpin=a, irq=7 > powerspec 2 supports D0 D3 current D0 > MSI supports 8 messages, 64 bit > map[10]: type 1, range 64, base e8210000, size 16, enabled > pcib4: requested memory range 0xe8210000-0xe821ffff: good > map[18]: type 1, range 64, base e8200000, size 16, enabled > pcib4: requested memory range 0xe8200000-0xe820ffff: good > pcib4: matched entry for 4.4.INTA > pcib4: slot 4 INTA hardwired to IRQ 26 > found-> vendor=0x14e4, dev=0x166a, revid=0x03 > bus=4, slot=4, func=1 > class=02-00-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0156, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) > intpin=b, irq=10 > powerspec 2 supports D0 D3 current D0 > MSI supports 8 messages, 64 bit > map[10]: type 1, range 64, base e8230000, size 16, enabled > pcib4: requested memory range 0xe8230000-0xe823ffff: good > map[18]: type 1, range 64, base e8220000, size 16, enabled > pcib4: requested memory range 0xe8220000-0xe822ffff: good > pcib4: matched entry for 4.4.INTB > pcib4: slot 4 INTB hardwired to IRQ 27 > bge0: mem 0xe8210000-0xe821ffff,0xe82000 > 00-0xe820ffff irq 26 at device 4.0 on pci4 > bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xe8210000 > miibus0: on bge0 > brgphy0: on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX > -FDX, auto > bge0: bpf attached > bge0: Ethernet address: 00:11:25:c4:1d:62 > ioapic1: routing intpin 10 (PCI IRQ 26) to vector 53 > bge0: [MPSAFE] > bge1: mem 0xe8230000-0xe823ffff,0xe82200 > 00-0xe822ffff irq 27 at device 4.1 on pci4 > bge1: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xe8230000 > miibus1: on bge1 > brgphy1: on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX > -FDX, auto > bge1: bpf attached > bge1: Ethernet address: 00:11:25:c4:1d:63 > ioapic1: routing intpin 11 (PCI IRQ 27) to vector 54 > bge1: [MPSAFE] > pcib5: at device 8.0 on pci0 > pcib5: secondary bus 5 > pcib5: subordinate bus 5 > pcib5: I/O decode 0xf000-0xfff > pcib5: memory decode 0xfff00000-0xfffff > pcib5: prefetched decode 0xfff00000-0xfffff > pci5: on pcib5 > pci5: physical bus=5 > pcib6: at device 9.0 on pci0 > pcib6: secondary bus 6 > pcib6: subordinate bus 6 > pcib6: I/O decode 0xf000-0xfff > pcib6: memory decode 0xfff00000-0xfffff > pcib6: prefetched decode 0xfff00000-0xfffff > pci6: on pcib6 > pci6: physical bus=6 > pcib7: at device 10.0 on pci0 > pcib7: secondary bus 7 > pcib7: subordinate bus 7 > pcib7: I/O decode 0xf000-0xfff > pcib7: memory decode 0xfff00000-0xfffff > pcib7: prefetched decode 0xfff00000-0xfffff > pci7: on pcib7 > pci7: physical bus=7 > pcib8: at device 11.0 on pci0 > pcib8: secondary bus 8 > pcib8: subordinate bus 8 > pcib8: I/O decode 0xf000-0xfff > pcib8: memory decode 0xfff00000-0xfffff > pcib8: prefetched decode 0xfff00000-0xfffff > pcib8: could not get PCI interrupt routing table for \\_SB_.PCI0.EXB4 - AE_NOT_F > OUND > pci8: on pcib8 > pci8: physical bus=8 > pcib9: on acpi0 > pcib9: reading config registers from 0:25:0 > pcib9: couldn't read bus number from cfg space > pcib9: trying bus number 9 > pcib9: could not get PCI interrupt routing table for \\_SB_.PCI1 - AE_NOT_FOUND > pci9: on pcib9 > pci9: physical bus=9 > acpi_button0: on acpi0 > speaker0: port 0x61 on acpi0 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: irq maps: 0 0 0 0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sio0: type 16550A > ioapic0: routing intpin 4 (ISA IRQ 4) to vector 55 > sio: sio0 already exists; skipping it > pnp_identify: Trying Read_Port at 203 > pnp_identify: Trying Read_Port at 243 > pnp_identify: Trying Read_Port at 283 > pnp_identify: Trying Read_Port at 2c3 > pnp_identify: Trying Read_Port at 303 > pnp_identify: Trying Read_Port at 343 > pnp_identify: Trying Read_Port at 383 > pnp_identify: Trying Read_Port at 3c3 > PNP Identify complete > sc: sc0 already exists; skipping it > vga: vga0 already exists; skipping it > isa_probe_children: disabling PnP devices > isa_probe_children: probing non-PnP devices > ipmi0: on isa0 > ipmi0: KCS mode found at io 0xca2 alignment 0x1 on isa > orm0: at iomem 0xc0000-0xc8fff,0xc9000-0xccfff on isa0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > atkbd: the current kbd controller command byte 0047 > atkbd: keyboard ID 0xffffffff (1) > atkbd: failed to reset the keyboard. > kbd0 at atkbd0 > kbd0: atkbd0, AT 84 (1), config:0x0, flags:0x3d0000 > ioapic0: routing intpin 1 (ISA IRQ 1) to vector 56 > atkbd0: [GIANT-LOCKED] > fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > ppc0 failed to probe at irq 7 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: irq maps: 0 0 0 0 > sio1: probe failed test(s): 0 1 2 4 6 7 9 > sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 > sio2: not probed (disabled) > sio3: not probed (disabled) > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > isa_probe_children: probing PnP devices > ukbd0: ATEN UC-10KM V1.3.121, rev 1.10/1.00, addr 2, iclass 3/1 > kbd: new array size 4 > kbd1 at ukbd0 > kbd1: ukbd0, generic (0), config:0x0, flags:0x1d0000 > Device configuration finished. > Reducing kern.maxvnodes 130867 -> 100000 > lapic: Divisor 2, Frequency 99750465 hz > Timecounter "TSC" frequency 2793019707 Hz quality -100 > Timecounters tick every 1.000 msec > ipfw2 initialized, divert loadable, rule-based forwarding disabled, default to d > eny, logging limited to 100 packets/entry by default > lo0: bpf attached > Waiting 3 seconds for SCSI devices to settle > (xpt0:mpt0:0:-1:-1): reset bus > ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire > ipmi0: IPMI device rev. 1, firmware rev. 1.81, version 1.5 > ipmi0: Number of channels 3 > ipmi0: Attached watchdog > (probe1:mpt0:1:0:0): error 22 > (probe1:mpt0:1:0:0): Unretryable Error > (probe1:mpt0:1:1:0): error 22 > (probe1:mpt0:1:1:0): Unretryable Error > (probe1:mpt0:1:2:0): error 22 > (probe1:mpt0:1:2:0): Unretryable Error > (probe1:mpt0:1:3:0): error 22 > (probe1:mpt0:1:3:0): Unretryable Error > (probe1:mpt0:1:4:0): error 22 > (probe1:mpt0:1:4:0): Unretryable Error > (probe1:mpt0:1:5:0): error 22 > (probe1:mpt0:1:5:0): Unretryable Error > (probe0:mpt0:0:0:0): Retrying Command > (probe0:mpt0:0:1:0): Retrying Command > ses0 at mpt0 bus 0 target 8 lun 0 > ses0: Fixed Processor SCSI-2 device > ses0: Serial Number 1 > ses0: 3.300MB/s transfers > ses0: SAF-TE Compliant Device > pass0 at mpt0 bus 0 target 0 lun 0 > pass0: Fixed Direct Access SCSI-4 device > pass0: Serial Number 3KT4A4RN00007640LBTT > pass0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Ena > bled > pass1 at mpt0 bus 0 target 1 lun 0 > pass1: Fixed Direct Access SCSI-4 device > pass1: Serial Number 3KT4DDM700007640LDQE > pass1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Ena > bled > pass2 at mpt0 bus 0 target 8 lun 0 > pass2: Fixed Processor SCSI-2 device > pass2: Serial Number 1 > pass2: 3.300MB/s transfers > pt0 at mpt0 bus 0 target 8 lun 0 > pt0: Fixed Processor SCSI-2 device > pt0: Serial Number 1 > pt0: 3.300MB/s transfers > GEOM: new disk da0 > GEOM: new disk da1 > SMP: AP CPU #1 Launched! > cpu1 AP: > ID: 0x01000000 VER: 0x00040010 LDR: 0x00000000 DFR: 0xffffffff > lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > timer: 0x000200ef therm: 0x00000000 err: 0x00010000 pcm: 0x00010000 > ioapic0: Assigning ISA IRQ 1 to local APIC 0 > ioapic0: Assigning ISA IRQ 4 to local APIC 1 > ioapic0: Assigning ISA IRQ 9 to local APIC 0 > ioapic0: Assigning ISA IRQ 10 to local APIC 1 > ioapic0: Assigning ISA IRQ 14 to local APIC 0 > ioapic0: Assigning ISA IRQ 15 to local APIC 1 > ioapic1: Assigning PCI IRQ 18 to local APIC 0 > ioapic1: Assigning PCI IRQ 26 to local APIC 1 > ioapic1: Assigning PCI IRQ 27 to local APIC 0 > da0 at mpt0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-4 device > da0: Serial Number 3KT4A4RN00007640LBTT > da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabl > ed > da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) > da1 at mpt0 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI-4 device > da1: Serial Number 3KT4DDM700007640LDQE > da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabl > ed > da1: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) > > Thanks for your time. > > Sincerely, > Jason Chang > > _______________________________________________ > 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-stable@FreeBSD.ORG Tue May 1 12:52:56 2007 Return-Path: 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 3C59416A402 for ; Tue, 1 May 2007 12:52:56 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id CA12C13C45E for ; Tue, 1 May 2007 12:52:55 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by ug-out-1314.google.com with SMTP id 71so37281ugh for ; Tue, 01 May 2007 05:52:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=RcjFaVxvNdO/Q2I0C4/LSQBEDXrqteST+iQ27/aVWJkt8mwBaS1NHmAwNu7l3FqWMyuBoUwzE6VPsP5pMkvhA2baOv6W6tJh9AiGwuiFNJ2ITkp8iPN5MdOybLz0voloRCxjxq0QvzY8chlCIu2T4Ffu5WZmg0p9lYqjBJ0AF6I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=DkGGSSe892eBhO5TlnjINCRFEnb+1YG4OAKdVk0mxZa+bE1b9DVoRtS80XRUGfqEgk5Ywgt8rGxoToCN2506riIXHMExxmm4C7+JVj8dRE+oIta94p4505shS8Koq+QHBBtBaHuZByhiBskjX1JBTIZ98VA4AuU/isDkOnc1ErY= Received: by 10.82.123.16 with SMTP id v16mr13968817buc.1178023974258; Tue, 01 May 2007 05:52:54 -0700 (PDT) Received: by 10.82.184.17 with HTTP; Tue, 1 May 2007 05:52:53 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 13:52:53 +0100 From: "Chris Rees" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: kern/112119: system hangs when starts k3b on RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 12:52:56 -0000 If it's committed on HEAD, doesn't that mean it's only on 7-CURRENT? When does this fix get through to 6-STABLE, if you know, please? Or am I being ignorant? Thanks Chris Message: 2 > Date: Mon, 30 Apr 2007 11:27:27 +0200 > From: Thomas Quinot > Subject: Re: kern/112119: system hangs when starts k3b on RELENG_6 > To: Ganbold > Cc: freebsd-stable@FreeBSD.ORG, bug-followup@FreeBSD.ORG, > linimon@FreeBSD.ORG, Nikolay Pavlov , > mjacob@FreeBSD.ORG > Message-ID: <20070430092727.GA76467@melamine.cuivre.fr.eu.org> > Content-Type: text/plain; charset=us-ascii > > * Ganbold, 2007-04-30 : > > > Scott, Thomas, thank you very much for the effort fixing this problem. > > k3b starts fine with this patch. > > Thanks for your feedback. The fix has been committed on HEAD. > > Thomas. > > > > ------------------------------ > > _______________________________________________ > 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" > > End of freebsd-stable Digest, Vol 204, Issue 1 > ********************************************** > From owner-freebsd-stable@FreeBSD.ORG Tue May 1 13:38:18 2007 Return-Path: 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 63E7C16A404 for ; Tue, 1 May 2007 13:38:18 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id EA17B13C46C for ; Tue, 1 May 2007 13:38:17 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ug-out-1314.google.com with SMTP id 71so42768ugh for ; Tue, 01 May 2007 06:38:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=Or5KJWKoBx0IJFZYCoaJAgJGmHVDKPN3ITXGH29dRu40pUBdbLL+AlwqU33xapayvIyy/sGRFaI/Zb/ljuWP0xKQrbB2vkQz6rYs2e5IHfsk2KixZEhZIboB24Q/+YLwowid5lBwPdLsF+x5NzqHwz3kdbnqxVIxQOJ/BJSkcgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=QZHzaHzKc/XPUQf3VLGOZ5UMOKYCiqFbSUxDOwFgMMu1vADgAV6Z8IG1jArPRo3iAFgUctesO3Bc2Ct0LAjY6qJYT3K9a6ei6n5+FXE309fEYTW25zBf7rqIRD9gCL0eKlMr7lyWYtMxQD+sS35WZldVgvAxPMzKvYLw0dJTieM= Received: by 10.82.158.12 with SMTP id g12mr13895906bue.1178026696559; Tue, 01 May 2007 06:38:16 -0700 (PDT) Received: from ?127.0.0.1? ( [213.206.147.169]) by mx.google.com with ESMTP id y34sm4127711iky.2007.05.01.06.38.15; Tue, 01 May 2007 06:38:15 -0700 (PDT) From: Tom Evans To: utisoft@gmail.com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WYaZpnjqsobRJNntJrOs" Date: Tue, 01 May 2007 14:38:13 +0100 Message-Id: <1178026693.1239.8.camel@zoot.mintel.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: freebsd-stable@freebsd.org Subject: Re: kern/112119: system hangs when starts k3b on RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 13:38:18 -0000 --=-WYaZpnjqsobRJNntJrOs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-05-01 at 13:52 +0100, Chris Rees wrote: > If it's committed on HEAD, doesn't that mean it's only on 7-CURRENT? When > does this fix get through to 6-STABLE, if you know, please? Or am I being > ignorant? >=20 > Thanks > Chris >=20 Don't top-post please, very difficult to follow.=20 In the commit message, it will state when it should be MFC'ed (Merged =46rom Current). In this case: On Mon, 2007-04-30 at 09:26 +0000, Thomas Quinot wrote: > thomas 2007-04-30 09:26:43 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/dev/ata atapi-cam.c=20 > Log: > (atapi_cb): Fix test for the presence of sense data. An incorrect > condition > was being tested, which would result in a system hang in some > configurations. >=20 > PR: kern/112119 > Reviewed by: scottl > MFC after: 3 days >=20 > Revision Changes Path > 1.52 +2 -2 src/sys/dev/ata/atapi-cam.c --=-WYaZpnjqsobRJNntJrOs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGN0LClcRvFfyds/cRAtIMAKClL6y6TTZntCQJq06mKb7GkgxNJACgh32c ieSezMPU8FreKkcnlCn+4Bk= =Rj8w -----END PGP SIGNATURE----- --=-WYaZpnjqsobRJNntJrOs-- From owner-freebsd-stable@FreeBSD.ORG Tue May 1 13:50:41 2007 Return-Path: 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 091E716A403 for ; Tue, 1 May 2007 13:50:41 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id C87C413C4BF for ; Tue, 1 May 2007 13:50:40 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 47DE848A331 for ; Tue, 1 May 2007 10:50:34 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 40772-01 for ; Tue, 1 May 2007 10:50:34 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id DAA6D48A31E for ; Tue, 1 May 2007 10:50:33 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3ED42359D6 for ; Tue, 1 May 2007 10:50:45 -0300 (ADT) Date: Tue, 01 May 2007 10:50:45 -0300 From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <366565EAE2F989935287015E@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 13:50:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm still being hit by this one ... more frequently right now as I had to move a bit more stuff *onto* that server ... I'm trying to figure out what I can monitor for a 'leak' somewhere, but the only thing I'm able to find is the whole nmbclusters stuff: mars# netstat -m | grep "mbuf clusters" 130/542/672/25600 mbuf clusters in use (current/cache/total/max) the above is after 26hrs uptime ... Is there something else that will trigger/generate the above error message? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGN0W14QvfyHIvDvMRAo+CAKCGpBrcf30/BWFJcrKsJNFr2G7jJQCff67L FxFIiBd52huPFdQgb88AtHE= =mbLc -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue May 1 14:38:48 2007 Return-Path: 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 1479B16A401 for ; Tue, 1 May 2007 14:38:48 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.freebsd.org (Postfix) with SMTP id B7C5813C45B for ; Tue, 1 May 2007 14:38:47 +0000 (UTC) (envelope-from mikej@rogers.com) Received: (qmail 416 invoked from network); 1 May 2007 14:12:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Received:Message-ID:In-Reply-To:References:Date:Subject:From:To:Cc:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance; b=lxU1TtyQaoOgdQjJnr06e5C787YomIbczk8VlnRtVA2NJagFSkqSGudGYvzNZK68EJlbSeMx+p1SPiisEgNtLCGRun5dBkE2h37KgtRxydZHv6bYQqeNZDEsqHoYwsfjRogAKQqusMNLgysSu/lEZa4HO+Z5Yb4kmsUdLTIaSYM= ; Received: from unknown (HELO wettoast.dyndns.org) (mikej@rogers.com@99.244.62.78 with login) by smtp105.rog.mail.re2.yahoo.com with SMTP; 1 May 2007 14:12:07 -0000 X-YMail-OSG: Gsd6v00VM1mdcjWVQ8MOwaY3tUdKtiNMec._Ek9tKtSSyKLGRRi8RfXtgOMO2EtQYQ-- Received: from 209.47.38.69 (SquirrelMail authenticated user mikej) by wettoast.dyndns.org with HTTP; Tue, 1 May 2007 10:12:03 -0400 (EDT) Message-ID: <53892.209.47.38.69.1178028723.squirrel@wettoast.dyndns.org> In-Reply-To: References: <20070501020721.GA44472@icarus.home.lan> Date: Tue, 1 May 2007 10:12:03 -0400 (EDT) From: "Mike Jakubik" To: "Ken Chen" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 14:38:48 -0000 On Tue, May 1, 2007 2:58 am, Ken Chen wrote: > 2007/5/1, Jeremy Chadwick : >> >> >> I can confirm this problem. Normally sig11 is an indication that you >> have hardware-related problems, but in this particular case (at least in >> my experience), it can also be caused by some lack-of loader.conf >> tunables permitting mysqld to allocate the amount of memory you're >> claiming in my.cnf. > > > Jeremy, thank you for your information.But I has modified > /boot/loader.conf > already, you can check the 'limits' output in my last post. > > The mysql run well on my other machine with low-loading, but at the > high-loading box. mysql always get 'mysqld got signal 11'. I've had problems with 6.2 and mysql on a large server as well. High CPU usage and crashes. I switched the threading library to libthr and the problems went away. From owner-freebsd-stable@FreeBSD.ORG Tue May 1 15:26:26 2007 Return-Path: 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 6925216A400 for ; Tue, 1 May 2007 15:26:26 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id E4F3613C455 for ; Tue, 1 May 2007 15:26:25 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ug-out-1314.google.com with SMTP id 71so57540ugh for ; Tue, 01 May 2007 08:26:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=WZ88rSxLnxEzEkKRSpR11I78WJ89l0vZCa9cEKt+7cINaSnbKLM0IIKhOqrY5HittNwNV3ljhEsHIg1MRhP6axf6K8qirB62aw7JRAY2HVRmCkkZpsbZFZbfjxcHKWl3oK4AqGtHN0T47mM9SCqYw3ETe0AmbHYbAbRBuKFLVpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=k/vzXwFkeDQPwKJX9Jy3CL43D2PJDtegyrQlS9S6k/rbrZ+EQM0WMUWw7rDKqOG5i5BZKxKIvrVr7WwNnOZ+iFCaexeexaHASUpjSH9Lu8YWzhDd5Mo7FdYYBOAoSGSMo7ycNrNQgDtFisWiGjoF07Qs/33GHVMC33DJFuDQIC0= Received: by 10.82.151.14 with SMTP id y14mr14204881bud.1178033184630; Tue, 01 May 2007 08:26:24 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id b30sm5162934ika.2007.05.01.08.26.23; Tue, 01 May 2007 08:26:23 -0700 (PDT) From: Tom Evans To: Mike Jakubik In-Reply-To: <53892.209.47.38.69.1178028723.squirrel@wettoast.dyndns.org> References: <20070501020721.GA44472@icarus.home.lan> <53892.209.47.38.69.1178028723.squirrel@wettoast.dyndns.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZDL3l4CLXDnKdl1gztow" Date: Tue, 01 May 2007 16:26:20 +0100 Message-Id: <1178033180.1239.13.camel@zoot.mintel.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: freebsd-stable@freebsd.org, Ken Chen Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 15:26:26 -0000 --=-ZDL3l4CLXDnKdl1gztow Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-05-01 at 10:12 -0400, Mike Jakubik wrote: > I've had problems with 6.2 and mysql on a large server as well. High CPU > usage and crashes. I switched the threading library to libthr and the > problems went away. >=20 ME_TOO++ If you don't know how to switch what threading library is used, libmap.conf(5) should explain it, or here is what we use: [/usr/local/libexec/mysqld] libpthread.so.2 libthr.so.2 libpthread.so libthr.so --=-ZDL3l4CLXDnKdl1gztow Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGN1wYlcRvFfyds/cRAiUpAJ4777cO9+li3obj14TBndKI8REO5wCfWE5s xfcJfnuGPGf5154gRS8L1pk= =Jphe -----END PGP SIGNATURE----- --=-ZDL3l4CLXDnKdl1gztow-- From owner-freebsd-stable@FreeBSD.ORG Tue May 1 15:47:29 2007 Return-Path: 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 5BA4C16A403 for ; Tue, 1 May 2007 15:47:29 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 2073D13C483 for ; Tue, 1 May 2007 15:47:28 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l41FkACI073253; Tue, 1 May 2007 11:46:10 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-stable@FreeBSD.org Date: Tue, 1 May 2007 11:46:04 -0400 User-Agent: KMail/1.6.2 References: <20070501094643.6BC827F0A5@FreeBSD.csie.nctu.edu.tw> In-Reply-To: <20070501094643.6BC827F0A5@FreeBSD.csie.nctu.edu.tw> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200705011146.07715.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3188/Tue May 1 06:24:57 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Jason Chang Subject: Re: bge watchdog timeout -- resetting problem on recent update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 15:47:29 -0000 On Tuesday 01 May 2007 05:46 am, Jason Chang wrote: > Dear All, > > After further testing, we concluded that > > 1. sysctl > hw.pci.enable_msi > hw.pci.enable_msix > does not change the result. bge still timeout. Okay. > 2. using latest(2007/04) 7-current source does not have this > problem. That's weird. The only difference between -CURRENT and -STABLE is this: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91.2.21;r2=1.186 Are you sure it is okay with -CURRENT? Ah, I see that you have IPMI module. Can you add the following line in /boot/loader.conf: hw.bge.allow_asf="1" and reboot? > 3. we are very sure the problem results from > if_bge.c 1.91.2.21 > if_bgereg.h 1.36.2.10 > brgphy.c 1.34.2.13 > which are all commited at 2007/03/21 22:53 > > Please help to check the source code and find out why it affects > bge (BCM 5704 and 5714) network nics. Let me know how it goes. Jung-uk Kim From owner-freebsd-stable@FreeBSD.ORG Tue May 1 18:34:39 2007 Return-Path: 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 BC6A216A403 for ; Tue, 1 May 2007 18:34:39 +0000 (UTC) (envelope-from metrol.net@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7CF13C489 for ; Tue, 1 May 2007 18:34:39 +0000 (UTC) (envelope-from metrol.net@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2005594wxc for ; Tue, 01 May 2007 11:34:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WKr3wmGyrUqD/IxDHZG5GOrd29KRbWd8+UWxaAOJ3/SZUlh+8Z0TintFsW48MVIS6MDJiiGFeHUrageMJ7KAuP2PXgENpyRZBfsuqbwNGzdarRSGw+K8GHunwsDNvPowQ/gKE8TiiQtMwdTh4a3If+mp2R7yh+iOTjEOMdERcZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=P8K8ufXd6oh7coqX1b5veIyN3leFlhYw8bCJJnEzaW35PcrxC8VKw+QpF+EMlUJn6gjgmlGCyPiJOtBLQ5Qpiepd/IPsdvbc2juXJnCEnHd2QPHBgt/61Au9OQQ9ZCZyRdxiwDNm7YxVl22ludLDr40VI+fssCOuA91qeMOeZSk= Received: by 10.70.77.2 with SMTP id z2mr13147135wxa.1178042737947; Tue, 01 May 2007 11:05:37 -0700 (PDT) Received: by 10.70.74.4 with HTTP; Tue, 1 May 2007 11:05:37 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 11:05:37 -0700 From: "Michael Collette" To: "FreeBSD Stable" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Another em0 watchdog timeout X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 18:34:39 -0000 I realize there is a previous thread discussing this, but my symptoms seem to be a little bit different. Here's the stats... FreeBSD 6.2-STABLE #1: Fri Apr 27 17:28:22 PDT 2007 em0@pci13:0:0: class=0x020000 card=0x108c15d9 chip=0x108c8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/1000 PM' class = network subclass = ethernet em1@pci14:0:0: class=0x020000 card=0x109a15d9 chip=0x109a8086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet em0: port 0x5000-0x501f mem 0xea300000-0xea31ffff irq 16 at device 0.0 on pci13 em0: Ethernet address: 00:30:48:5c:cc:84 em1: port 0x6000-0x601f mem 0xea400000-0xea41ffff irq 17 at device 0.0 on pci14 em1: Ethernet address: 00:30:48:5c:cc:85 I'm seeing the following entries in my messages log pop up about 2-4 times a day... May 1 08:29:38 alpha kernel: em0: watchdog timeout -- resetting May 1 08:29:38 alpha kernel: em0: link state changed to DOWN May 1 08:29:41 alpha kernel: em0: link state changed to UP I've gone and added the DEVICE_POLLING option in the kernel, but this doesn't seem to help. The problem only seems to happen during the hours that my users would be hitting this box, so it really gets noticed when those 3 seconds go by. And yes, it's almost always a 3 second drop on the interface. Is there anything I can do to prevent this from happening? I saw mention of a firmware update I might try, but haven't been able to locate the file in question. Thanks, -- "When you come to a fork in the road....Take it" - Yogi Berra From owner-freebsd-stable@FreeBSD.ORG Tue May 1 18:41:45 2007 Return-Path: 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 CC48A16A400 for ; Tue, 1 May 2007 18:41:45 +0000 (UTC) (envelope-from daniel.mouritsen@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id 59B9113C487 for ; Tue, 1 May 2007 18:41:45 +0000 (UTC) (envelope-from daniel.mouritsen@gmail.com) Received: by ik-out-1112.google.com with SMTP id b35so431308ika for ; Tue, 01 May 2007 11:41:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=DOqIcKdeccwRXZCpk6Xob5sjLTSIPMZ78ealXYHkHVQfbNwbX311XyFs7Un/7VJeEgaHVbDgMNjXzJaSI0OXg0ufsmcOHy16NfEZf2XWpgFVwQI6uLaMB2Ri07pOmlJgTj6h6k0z4Wwp+QQHdNxsS2WHx8EUq5U0LP4/oDcOyt0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=EzibbKBzs/gpE66gN64DBrXPsDDLV2qia3sFlyOpK/Y0AxeXH7Z5IbVNESZ+ZHDQuqhIT4JwgSlP1zBeQbb1683H7CaqW/PteQK68V946F6MWSyzNzv1KDe8Yo6IC/48brER0NyRno+QMipcoRKPfQ1c8QgXHErtjDEfsUNzBqM= Received: by 10.82.191.3 with SMTP id o3mr14430796buf.1178043236436; Tue, 01 May 2007 11:13:56 -0700 (PDT) Received: by 10.82.181.6 with HTTP; Tue, 1 May 2007 11:13:56 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 20:13:56 +0200 From: "Daniel Mouritsen" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Python 2.5 (and mod_python) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 18:41:46 -0000 Hi :) First off, I am still new to the ports package management system, so be gentle if the following text contains dumb questions yeah? Okies, here goes. I installed python 2.5 from the lang/python25 port. And then installed mod_python from www/mod_python3 during install mod_python bullied python 2.4.4 onto my system, and complied against it. After this the default python binary on my system was 2.4.4 , and reinstalling 2.5 didn't help this. First off, how can i change this back? (im guessing that just copying the python2.5 binary is not a good idea, is there a command for choosing the default python interpreter) secondly, how come the mod_python installation didnt choose to use 2.5? i looked in the makefile, and it uses a variable called PYTHON_CMD , shudn't python 2.5 have set this variable? From owner-freebsd-stable@FreeBSD.ORG Tue May 1 18:49:46 2007 Return-Path: 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 544D116A403 for ; Tue, 1 May 2007 18:49:46 +0000 (UTC) (envelope-from richardtector@thekeelecentre.com) Received: from mx0.thekeelecentre.com (mx0.thekeelecentre.com [217.206.238.167]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1D413C45E for ; Tue, 1 May 2007 18:49:45 +0000 (UTC) (envelope-from richardtector@thekeelecentre.com) Received: from localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) by mx0.thekeelecentre.com (Postfix) with ESMTP id CD8DB41AE; Tue, 1 May 2007 19:49:44 +0100 (BST) X-Virus-Scanned: by amavisd-new at mx0.thekeelecentre.com Received: from mx0.thekeelecentre.com ([217.206.238.167]) by localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) (amavisd-new, port 10024) with ESMTP id 4yqH2QLWHalZ; Tue, 1 May 2007 19:49:41 +0100 (BST) Received: from [217.206.238.190] (sylvester.tector.org.uk [217.206.238.190]) by mx0.thekeelecentre.com (Postfix) with ESMTP id BD13D40BD; Tue, 1 May 2007 19:49:41 +0100 (BST) Message-ID: <46378C44.5050202@thekeelecentre.com> Date: Tue, 01 May 2007 19:51:48 +0100 From: Richard Tector User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Daniel Mouritsen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Python 2.5 (and mod_python) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 18:49:46 -0000 Daniel Mouritsen wrote: > Hi :) > > First off, I am still new to the ports package management system, so be > gentle if the following text contains dumb questions yeah? > > Okies, here goes. I installed python 2.5 from the lang/python25 port. And > then installed mod_python from www/mod_python3 > > during install mod_python bullied python 2.4.4 onto my system, and > complied > against it. After this the default python binary on my system was 2.4.4 , > and reinstalling 2.5 didn't help this. First off, how can i change this > back? (im guessing that just copying the python2.5 binary is not a good > idea, is there a command for choosing the default python interpreter) > > secondly, how come the mod_python installation didnt choose to use 2.5? i > looked in the makefile, and it uses a variable called PYTHON_CMD , > shudn't > python 2.5 have set this variable? It is because mod_python uses the lang/python port as a dependency. This by default installs version 2.4. If you uninstall your current mod_python and python 2.4, then set PYTHON_VERSION=python2.5 in make.conf, if you install lang/python or mod_python, it'll then install and use lang/python2.5. Hope that helps, Richard From owner-freebsd-stable@FreeBSD.ORG Tue May 1 19:16:56 2007 Return-Path: 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 3755D16A401 for ; Tue, 1 May 2007 19:16:56 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 83DC613C489 for ; Tue, 1 May 2007 19:16:55 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 01 May 2007 18:50:13 -0000 Received: from c-134-226-22.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.226.22] by mail.gmx.net (mp052) with SMTP; 01 May 2007 20:50:13 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX1/X2U4myDzX5UGwnGxvtkLjZ0fEU+DqJra/RwY9WY KDJgUCCd88b7ao Received: (qmail 97060 invoked by uid 1001); 1 May 2007 18:50:10 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 1 May 2007 18:50:10 -0000 Date: Tue, 1 May 2007 20:50:10 +0200 (CEST) From: Martin Dieringer To: freebsd-stable@freebsd.org Message-ID: <20070501204548.L860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Subject: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 19:16:56 -0000 Hi, I get about half a second time offsets after 10 seconds, and more than 100s after half an hour or so. I think it has to do with powerd, if I kill that, the time stays correct. It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. Can this be solved? thanks m. From owner-freebsd-stable@FreeBSD.ORG Tue May 1 20:36:55 2007 Return-Path: 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 D721A16A402 for ; Tue, 1 May 2007 20:36:55 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from bart.milos.co.za (bart.milos.co.za [196.38.18.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8B16A13C457 for ; Tue, 1 May 2007 20:36:54 +0000 (UTC) (envelope-from clay@milos.co.za) Received: (qmail 68977 invoked by uid 89); 1 May 2007 20:30:53 -0000 Received: by simscan 1.2.0 ppid: 68972, pid: 68974, t: 0.7035s scanners: attach: 1.2.0 clamav: 0.88.7/m:42/d:2560 Received: from unknown (HELO claylaptop) (clay@milos.za.net@155.239.112.143) by bart.milos.co.za with ESMTPA; 1 May 2007 20:30:52 -0000 Message-ID: <005901c78c30$63944a10$4b2e3e0a@claylaptop> From: "Clayton Milos" To: "Martin Dieringer" , References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> Date: Tue, 1 May 2007 22:36:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 20:36:55 -0000 > Hi, > > I get about half a second time offsets after 10 seconds, and more > than 100s after half an hour or so. > I think it has to do with powerd, if I kill that, the time stays correct. > It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. > > Can this be solved? > thanks > m. This has got to do with the speed stepping of the CPU to save battery. Far as I know there's no fix yet. Guys is it possible to hack powerd to change a sysctl variable when it changes the CPU frequency or isn't it that simple? -Clay From owner-freebsd-stable@FreeBSD.ORG Tue May 1 20:44:47 2007 Return-Path: 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 0428116A400 for ; Tue, 1 May 2007 20:44:47 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: from omega.omnis.ch (omega.omnis.ch [195.134.143.43]) by mx1.freebsd.org (Postfix) with SMTP id 48AB613C45B for ; Tue, 1 May 2007 20:44:45 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: (qmail 30007 invoked from network); 1 May 2007 20:44:42 -0000 Received: from bigapple.omnis.ch ([195.134.148.35]) by omega.omnis.ch ([195.134.143.43]) with ESMTP via TCP; 01 May 2007 20:44:42 -0000 From: Olivier Mueller To: Tom Evans In-Reply-To: <1178033180.1239.13.camel@zoot.mintel.co.uk> References: <20070501020721.GA44472@icarus.home.lan> <53892.209.47.38.69.1178028723.squirrel@wettoast.dyndns.org> <1178033180.1239.13.camel@zoot.mintel.co.uk> Content-Type: text/plain Date: Tue, 01 May 2007 22:44:42 +0200 Message-Id: <1178052282.1279.6.camel@bigapple.omnis.ch> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 20:44:47 -0000 Hi, On Tue, 2007-05-01 at 16:26 +0100, Tom Evans wrote: > On Tue, 2007-05-01 at 10:12 -0400, Mike Jakubik wrote: > > I've had problems with 6.2 and mysql on a large server as well. High CPU > > usage and crashes. I switched the threading library to libthr and the > > problems went away. > If you don't know how to switch what threading library is used, > libmap.conf(5) should explain it, or here is what we use: [...] Thanks for the input! Do you have to recompile the mysql server after the change, or just to restart it to validate the change? And does anyone know if it will help in case of such errors (FreeBSD) 6.0 and 6.1, latest 5.x mysqld) : 070426 0:11:30 [ERROR] /usr/local/libexec/mysqld: Incorrect key file for table './pia/pia_ads.MYI'; try to repair it [root@pidb1 /var/db/mysql/pia]# ls -la pia_ads.* -rw-rw---- 1 mysql mysql 216427164 Apr 25 23:59 pia_ads.MYD -rw-rw---- 1 mysql mysql 561668096 Apr 26 00:15 pia_ads.MYI -rw-rw---- 1 mysql mysql 40200 Feb 25 23:38 pia_ads.frm The table is not that big, but there are 48 (!) indexes. And the problem only occurs on high load, after a few minutes/hours, it's hard to reproduce "on request" (I wish I could, to submit a bugreport to the mysql devs). Regards, Olivier From owner-freebsd-stable@FreeBSD.ORG Tue May 1 21:10:42 2007 Return-Path: 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 AAE0C16A402 for ; Tue, 1 May 2007 21:10:42 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E78D813C484 for ; Tue, 1 May 2007 21:10:41 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 01 May 2007 21:10:40 -0000 Received: from c-134-228-222.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.228.222] by mail.gmx.net (mp051) with SMTP; 01 May 2007 23:10:40 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX1/aHMlT7xbakB+4GHWSIdJ++NjaqgL4fSJTmNXuhe dF8SjfgubRdC7l Received: (qmail 98014 invoked by uid 1001); 1 May 2007 21:10:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 1 May 2007 21:10:38 -0000 Date: Tue, 1 May 2007 23:10:38 +0200 (CEST) From: Martin Dieringer To: Clayton Milos In-Reply-To: <005901c78c30$63944a10$4b2e3e0a@claylaptop> Message-ID: <20070501230300.S860@thinkpad.dieringer.dyndns.org> References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 21:10:42 -0000 On Tue, 1 May 2007, Clayton Milos wrote: >> Hi, >> >> I get about half a second time offsets after 10 seconds, and more >> than 100s after half an hour or so. >> I think it has to do with powerd, if I kill that, the time stays correct. >> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. >> >> Can this be solved? >> thanks >> m. > > This has got to do with the speed stepping of the CPU to save battery. > Far as I know there's no fix yet. > > Guys is it possible to hack powerd to change a sysctl variable when it > changes the CPU frequency or isn't it that simple? Another effect of the problem seems to be the intermittent sound output. Playback is ok when powerd is killed. When changing freq by sysctl, I still get hickups in sound, so this would be no solution. This is quite serious ;-) not to mention the energy waste. m. From owner-freebsd-stable@FreeBSD.ORG Tue May 1 21:58:01 2007 Return-Path: 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 4D9AF16A403 for ; Tue, 1 May 2007 21:58:01 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id A040213C45D for ; Tue, 1 May 2007 21:58:00 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from anc (nb-h.matik.com.br [200.152.88.34] (may be forged)) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l41LvtbH015916; Tue, 1 May 2007 18:57:56 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: Martin Dieringer , freebsd-stable@freebsd.org Date: Tue, 1 May 2007 18:57:45 -0300 User-Agent: KMail/1.9.6 References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> In-Reply-To: <20070501230300.S860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200705011857.45894.joao@matik.com.br> X-Spam-Status: No, score=-0.3 required=5.0 tests=ALL_TRUSTED,AWL,MR_DIFF_MID autolearn=unavailable version=3.1.8 X-Spam-Checker-Version: Antispam Datacenter Matik msrv.matik.com.br X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 21:58:01 -0000 On Tuesday 01 May 2007 18:10:38 Martin Dieringer wrote: > not to mention the energy waste power off solve this if it is really your issue ... :S =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Tue May 1 22:04:58 2007 Return-Path: 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 6D9CF16A400 for ; Tue, 1 May 2007 22:04:58 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id BEF7913C4BC for ; Tue, 1 May 2007 22:04:57 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from anc (nb-h.matik.com.br [200.152.88.34] (may be forged)) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l41M4tSO016277 for ; Tue, 1 May 2007 19:04:56 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Tue, 1 May 2007 19:04:43 -0300 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200705011904.44643.joao@matik.com.br> X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.1.8 X-Spam-Checker-Version: Antispam Datacenter Matik msrv.matik.com.br X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on msrv.matik.com.br X-Virus-Status: Clean Subject: make -D recent problem? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 22:04:58 -0000 make -DFORCE_PKG_REGISTER [re]install do install a second port (duplicate) = =20 is this a bug or do I have some problem on this machine? 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 27 20:46:32 BRT 2007 portsnap update I did today =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Tue May 1 22:09:33 2007 Return-Path: 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 AC77D16A404; Tue, 1 May 2007 22:09:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 93F0613C46E; Tue, 1 May 2007 22:09:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 716091A4D9E; Tue, 1 May 2007 15:10:06 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E235151451; Tue, 1 May 2007 18:09:32 -0400 (EDT) Date: Tue, 1 May 2007 18:09:32 -0400 From: Kris Kennaway To: JoaoBR Message-ID: <20070501220932.GA6579@xor.obsecurity.org> References: <200705011904.44643.joao@matik.com.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <200705011904.44643.joao@matik.com.br> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: make -D recent problem? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 22:09:33 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 01, 2007 at 07:04:43PM -0300, JoaoBR wrote: >=20 > make -DFORCE_PKG_REGISTER [re]install do install a second port (duplicate= ) =20 >=20 > is this a bug or do I have some problem on this machine? >=20 > 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 27 20:46:32 BRT 2007 >=20 > portsnap update I did today Please show us what you mean. Kris P.S. Redirected to the correct list. --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGN7qcWry0BWjoQKURArVzAKDTv8jRLqZ+yAVmfY7yow1FFCxhTQCfSTu6 PuQyGRVaemb8twXYVryZb8A= =ukEx -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 01:42:17 2007 Return-Path: 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 394ED16A400 for ; Wed, 2 May 2007 01:42:17 +0000 (UTC) (envelope-from jason@FreeBSD.csie.nctu.edu.tw) Received: from FreeBSD.csie.nctu.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id 0171213C46C for ; Wed, 2 May 2007 01:42:16 +0000 (UTC) (envelope-from jason@FreeBSD.csie.nctu.edu.tw) Received: from localhost (unknown [127.0.0.1]) by FreeBSD.csie.nctu.edu.tw (Postfix) with ESMTP id 0F14E7F14A; Wed, 2 May 2007 09:44:42 +0800 (CST) Received: from FreeBSD.csie.nctu.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nFTHC+I2cQnh; Wed, 2 May 2007 09:44:41 +0800 (CST) Received: by FreeBSD.csie.nctu.edu.tw (Postfix, from userid 1002) id 2ECC57F14B; Wed, 2 May 2007 09:44:41 +0800 (CST) From: Jason Chang To: freebsd-stable@freebsd.org,jkim@FreeBSD.org User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-RELEASE (i386)) Message-Id: <20070502014441.2ECC57F14B@FreeBSD.csie.nctu.edu.tw> Date: Wed, 2 May 2007 09:44:41 +0800 (CST) Cc: Subject: Re: bge watchdog timeout -- resetting problem on recent update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 01:42:17 -0000 Dear Kim, >> 2. using latest(2007/04) 7-current source does not have this >> problem. > > That's weird. The only difference between -CURRENT and -STABLE is > this: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91.2.21;r2=1.186 > > Are you sure it is okay with -CURRENT? The 7-current system was installed via 7.0-CURRENT-200704-amd64-disc1.iso which is from the snapshots/200704 directory. #uname -a FreeBSD ccsun50.cc.ntu.edu.tw 7.0-CURRENT-200704 FreeBSD 7.0-CURRENT-200704 #0: Sun Apr 1 12:57:43 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 #sysctl -a | grep bge hw.bge.allow_asf: 1 hw.bge.fake_autoneg: 0 dev.bge.0.%desc: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x8003 dev.bge.0.%driver: bge dev.bge.0.%location: slot=4 function=0 dev.bge.0.%pnpinfo: vendor=0x14e4 device=0x166a subvendor=0x1014 subdevice=0x0329 class=0x020000 dev.bge.0.%parent: pci4 dev.bge.0.stats.FramesDroppedDueToFilters: 0 dev.bge.0.stats.DmaWriteQueueFull: 0 dev.bge.0.stats.DmaWriteHighPriQueueFull: 0 dev.bge.0.stats.NoMoreRxBDs: 0 dev.bge.0.stats.InputDiscards: 0 dev.bge.0.stats.InputErrors: 0 dev.bge.0.stats.RecvThresholdHit: 0 dev.bge.0.stats.DmaReadQueueFull: 0 dev.bge.0.stats.DmaReadHighPriQueueFull: 0 dev.bge.0.stats.SendDataCompQueueFull: 0 dev.bge.0.stats.RingSetSendProdIndex: 0 dev.bge.0.stats.RingStatusUpdate: 0 dev.bge.0.stats.Interrupts: 0 dev.bge.0.stats.AvoidedInterrupts: 0 dev.bge.0.stats.SendThresholdHit: 0 dev.bge.0.stats.rx.Octets: 0 dev.bge.0.stats.rx.Fragments: 0 dev.bge.0.stats.rx.UcastPkts: 0 dev.bge.0.stats.rx.MulticastPkts: 0 dev.bge.0.stats.rx.FCSErrors: 0 dev.bge.0.stats.rx.AlignmentErrors: 0 dev.bge.0.stats.rx.xonPauseFramesReceived: 0 dev.bge.0.stats.rx.xoffPauseFramesReceived: 0 dev.bge.0.stats.rx.ControlFramesReceived: 0 dev.bge.0.stats.rx.xoffStateEntered: 0 dev.bge.0.stats.rx.FramesTooLong: 0 dev.bge.0.stats.rx.Jabbers: 0 dev.bge.0.stats.rx.UndersizePkts: 0 dev.bge.0.stats.rx.inRangeLengthError: 0 dev.bge.0.stats.rx.outRangeLengthError: 0 dev.bge.0.stats.tx.Octets: 0 dev.bge.0.stats.tx.Collisions: 0 dev.bge.0.stats.tx.XonSent: 0 dev.bge.0.stats.tx.XoffSent: 0 dev.bge.0.stats.tx.flowControlDone: 0 dev.bge.0.stats.tx.InternalMacTransmitErrors: 0 dev.bge.0.stats.tx.SingleCollisionFrames: 0 dev.bge.0.stats.tx.MultipleCollisionFrames: 0 dev.bge.0.stats.tx.DeferredTransmissions: 0 dev.bge.0.stats.tx.ExcessiveCollisions: 0 dev.bge.0.stats.tx.LateCollisions: 0 dev.bge.0.stats.tx.UcastPkts: 0 dev.bge.0.stats.tx.MulticastPkts: 0 dev.bge.0.stats.tx.BroadcastPkts: 0 dev.bge.0.stats.tx.CarrierSenseErrors: 0 dev.bge.0.stats.tx.Discards: 0 dev.bge.0.stats.tx.Errors: 0 > Ah, I see that you have IPMI module. Can you add the following line > in /boot/loader.conf: > > hw.bge.allow_asf="1" > > and reboot? The result is the same: bge0: watchdog timeout -- resetting bge0: link state changed to DOWN bge0: link state changed to UP The only difference is that ssh connection will break when using hw.bge.allow_asf="0", and after turning to "1", ssh connection will not break. Sincerely, Jason Chang From owner-freebsd-stable@FreeBSD.ORG Wed May 2 01:43:28 2007 Return-Path: X-Original-To: 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 2AE0316A404 for ; Wed, 2 May 2007 01:43:28 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: from dsl254-019-221.sea1.dsl.speakeasy.net (dsl254-019-221.sea1.dsl.speakeasy.net [216.254.19.221]) by mx1.freebsd.org (Postfix) with ESMTP id E41B113C45A for ; Wed, 2 May 2007 01:43:27 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 39620 invoked from network); 2 May 2007 01:43:32 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with ESMTP; 2 May 2007 01:43:32 -0000 Message-ID: <4637ECC3.20205@zircon.seattle.wa.us> Date: Tue, 01 May 2007 18:43:31 -0700 From: Joe Kelsey User-Agent: Thunderbird 1.5.0.9 (X11/20070120) MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: DVD Device Errors X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 01:43:28 -0000 FreeBSD zircon.zircon.seattle.wa.us 6.2-STABLE FreeBSD 6.2-STABLE #2: Sun Apr 22 14:47:33 PDT 2007 root@zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON amd64 I have a Sony RW DVD hooked up to my system and it does not operate properly. Here is the dmesg: acd0: DVDR at ata0-master UDMA66 When I place a movie in the player and attempt to play it I get: +acd0: FAILURE - READ_BIG HARDWARE ERROR asc=0x08 ascq=0x03 This is using libdvdread in mplayer or ogle. Am I missing something about setting up the player? I have also enabled atapicam in order to use the dvdrwtools, but I get similar errors, except related to writing. I have the device in group operator, to which I belong. Can anyone offer any suggestions? Thank you very much for any help. /Joe From owner-freebsd-stable@FreeBSD.ORG Wed May 2 01:51:29 2007 Return-Path: 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 34F9C16A403 for ; Wed, 2 May 2007 01:51:29 +0000 (UTC) (envelope-from jason@FreeBSD.csie.nctu.edu.tw) Received: from FreeBSD.csie.nctu.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id F33C113C45D for ; Wed, 2 May 2007 01:51:28 +0000 (UTC) (envelope-from jason@FreeBSD.csie.nctu.edu.tw) Received: from localhost (unknown [127.0.0.1]) by FreeBSD.csie.nctu.edu.tw (Postfix) with ESMTP id 0E4D97F14E; Wed, 2 May 2007 09:53:54 +0800 (CST) Received: from FreeBSD.csie.nctu.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BN37Y7KzMh-U; Wed, 2 May 2007 09:53:53 +0800 (CST) Received: by FreeBSD.csie.nctu.edu.tw (Postfix, from userid 1002) id 70E687F150; Wed, 2 May 2007 09:53:53 +0800 (CST) From: CQ CQ de Jason To: freebsd-stable@FreeBSD.org,jkim@FreeBSD.org User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-RELEASE (i386)) Message-Id: <20070502015353.70E687F150@FreeBSD.csie.nctu.edu.tw> Date: Wed, 2 May 2007 09:53:53 +0800 (CST) Cc: Subject: Re: bge watchdog timeout -- resetting problem on recent update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 01:51:29 -0000 Dear Kim, >> 2. using latest(2007/04) 7-current source does not have this >> problem. > > That's weird. The only difference between -CURRENT and -STABLE is > this: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91.2.21;r2=1.186 > > Are you sure it is okay with -CURRENT? There is something strange here. The server model is IBM e326m AMD Opteron. But 6.2 & 7 get the different bge chipset model number. 6.2-STABLE uname -a FreeBSD ccsun51.cc.ntu.edu.tw 6.2-STABLE-200704 FreeBSD 6.2-STABLE-200704 #0: Sun Apr 1 08:57:24 UTC 2007 root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64 bge0: mem 0xe8210000-0xe821ffff,0xe82000 00-0xe820ffff irq 26 at device 4.0 on pci4 7.0-CURRENT uname -a FreeBSD ccsun50.cc.ntu.edu.tw 7.0-CURRENT-200704 FreeBSD 7.0-CURRENT-200704 #0: Sun Apr 1 12:57:43 UTC 2007 root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 bge0: mem 0xe 8210000-0xe821ffff,0xe8200000-0xe820ffff irq 26 at device 4.0 on pci4 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto Sincerely, Jason Chang From owner-freebsd-stable@FreeBSD.ORG Wed May 2 02:03:25 2007 Return-Path: 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 9C74116A404 for ; Wed, 2 May 2007 02:03:25 +0000 (UTC) (envelope-from vistua@sdf.lonestar.org) Received: from sdf.lonestar.org (mx.freeshell.ORG [192.94.73.18]) by mx1.freebsd.org (Postfix) with ESMTP id 583B413C484 for ; Wed, 2 May 2007 02:03:25 +0000 (UTC) (envelope-from vistua@sdf.lonestar.org) Received: from sdf.lonestar.org (vistua@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.14.1/8.13.8) with ESMTP id l4223Jh9015923 for ; Wed, 2 May 2007 02:03:19 GMT Received: (from vistua@localhost) by sdf.lonestar.org (8.14.1/8.12.8/Submit) id l4223J6V006019 for freebsd-stable@freebsd.org; Wed, 2 May 2007 02:03:19 GMT Date: Wed, 2 May 2007 02:03:19 +0000 From: John Walthall To: freebsd-stable@freebsd.org Message-ID: <20070502020319.GB6419@SDF.LONESTAR.ORG> References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070501204548.L860@thinkpad.dieringer.dyndns.org> User-Agent: Mutt/1.4.2.1i Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 02:03:25 -0000 On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: > I think it has to do with powerd, if I kill that, the time stays correct. With powerd enabled, are you able to maintain a "reasonably" correct time with frequent NTP syncronizations? Sorry if it's just me, but I am not quite clear about that, from what has been written already. --John -- LHPDR! SDF Public Access UNIX System - http://sdf.lonestar.org From owner-freebsd-stable@FreeBSD.ORG Wed May 2 02:04:07 2007 Return-Path: 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 D7C6E16A401 for ; Wed, 2 May 2007 02:04:07 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2882D13C4B8 for ; Wed, 2 May 2007 02:04:06 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 02 May 2007 02:04:05 -0000 Received: from c-134-228-222.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.228.222] by mail.gmx.net (mp018) with SMTP; 02 May 2007 04:04:05 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX1+8r7l6OGK817kg2f6jIz9upnxHoIazR1mdCAMO3r 2O+r0GCg4vrzVO Received: (qmail 3027 invoked by uid 1001); 2 May 2007 02:04:03 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 May 2007 02:04:03 -0000 Date: Wed, 2 May 2007 04:04:03 +0200 (CEST) From: Martin Dieringer To: Clayton Milos In-Reply-To: <20070501230300.S860@thinkpad.dieringer.dyndns.org> Message-ID: <20070502040125.M860@thinkpad.dieringer.dyndns.org> References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 02:04:07 -0000 On Tue, 1 May 2007, Martin Dieringer wrote: > On Tue, 1 May 2007, Clayton Milos wrote: > >>> Hi, >>> >>> I get about half a second time offsets after 10 seconds, and more >>> than 100s after half an hour or so. >>> I think it has to do with powerd, if I kill that, the time stays correct. >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. >>> >>> Can this be solved? >>> thanks >>> m. >> >> This has got to do with the speed stepping of the CPU to save battery. >> Far as I know there's no fix yet. >> >> Guys is it possible to hack powerd to change a sysctl variable when it >> changes the CPU frequency or isn't it that simple? > > > Another effect of the problem seems to be the intermittent sound > output. Playback is ok when powerd is killed. > When changing freq by sysctl, I still get hickups in sound, so this > would be no solution. the hiccups have reappeared, so they are not related to powerd. I still have 0.5 seconds time offsets after 10 minutes, on the thinkpad, without powerd... m. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 03:00:18 2007 Return-Path: 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 73ADD16A401 for ; Wed, 2 May 2007 03:00:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 34D3913C468 for ; Wed, 2 May 2007 03:00:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1884199ana for ; Tue, 01 May 2007 20:00:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FiFZ+KYbnD2Tw0IxjVvXMJ7dnm3gvRrmj2JllQNmrM/oWF5FhV7X0IXasDHRKeL3Jw6XtjXVrOVJvoYCFd9slHxdosu8zHuNIFDLiVeRa9jCErCeE3+JJlyul2P+vM8i/R73XeoXV/xyIBIDeyMrnovTIKn1TfHqz4dSe8Xsok8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rnvj04RaJM43t2qNEkqHs4SwIEytCkBG+F96OHZY9eAJWlEw2hRBBIlMdzrM01J4DF7uyl8CxN+Z8LVa70pPQ4DwJLzqqltXEbnw1Jnht6y5QrSvIig3mOl5IDI255oIkGiTuniqGjyncfjAAhTvhQUGbjRwkwUGpeTCGwxY+R4= Received: by 10.100.34.16 with SMTP id h16mr116091anh.1178074817309; Tue, 01 May 2007 20:00:17 -0700 (PDT) Received: by 10.100.197.3 with HTTP; Tue, 1 May 2007 20:00:17 -0700 (PDT) Message-ID: Date: Wed, 2 May 2007 11:00:17 +0800 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Marc G. Fournier" In-Reply-To: <366565EAE2F989935287015E@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <366565EAE2F989935287015E@ganymede.hub.org> X-Google-Sender-Auth: 9440b7aa43b455e0 Cc: freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 03:00:18 -0000 On 01/05/07, Marc G. Fournier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I'm still being hit by this one ... more frequently right now as I had to move > a bit more stuff *onto* that server ... I'm trying to figure out what I can > monitor for a 'leak' somewhere, but the only thing I'm able to find is the > whole nmbclusters stuff: > > mars# netstat -m | grep "mbuf clusters" > 130/542/672/25600 mbuf clusters in use (current/cache/total/max) > > the above is after 26hrs uptime ... > > Is there something else that will trigger/generate the above error message? It doesn't panic whe it happens, no? I'd check the number of sockets you've currently got open at that point. Some applications might be holding open a whole load of sockets and their buffers stay allocated until they're closed. If they don't handle/don't get told about the error then they'll just hold open the mbufs. (I came across this when banging TCP connections through a simple TCP socket proxy and wondered why networking would lock up. Turns out FreeBSD-6 isn't logging the "please consider raising NMBCLUSTERS" kernel message anymore and I needed to do exactly that. Killing the proxy process actually restored network connectivity.) Adrian -- Adrian Chadd - adrian@freebsd.org From owner-freebsd-stable@FreeBSD.ORG Wed May 2 03:41:43 2007 Return-Path: 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 32DEE16A400 for ; Wed, 2 May 2007 03:41:43 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 21C3F13C459 for ; Wed, 2 May 2007 03:41:43 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 01 May 2007 20:41:44 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAOykN0aC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050120414108-903 ; Tue, 1 May 2007 20:41:41 -0700 Date: Tue, 1 May 2007 20:41:40 -0700 (PDT) From: KAYVEN RIESE cc: freeBSD bugs mailing list In-Reply-To: <20070502040125.M860@thinkpad.dieringer.dyndns.org> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/01/2007 20:41:41, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/01/2007 20:41:41, Serialize complete at 05/01/2007 20:41:41 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 03:41:43 -0000 i was told by a guy on experts-exchange gheist: You have to install SCSI over ATAPI driver. GENERIC kernel does not have one. Only burncd in base system can use acd driver for burning CD/DVD, others do use SCSI cd driver Create a file with following content in /usr/src/sys/i386/conf: include GENERIC ident KAYVEY nocpu I486_CPU nocpu I586_CPU options SMP device atapicam nodevice acd -- Then run config NEW_FILE Go into kernel build directory run make cleandepend ; make depend ; make && make install The new kernel will let you use cd0 device. acd0 is gone for good - update /etc/fstab accordingly. he didn't explain what the kernel directory is. i am trying to make my dvd player werk. i am looking here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html and am compfuzed. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 04:34:03 2007 Return-Path: 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 1238A16A402 for ; Wed, 2 May 2007 04:34:03 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.freebsd.org (Postfix) with ESMTP id E4D7913C457 for ; Wed, 2 May 2007 04:34:02 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1Hj6DB-0009Do-1z; Wed, 02 May 2007 00:13:05 -0400 Date: Wed, 2 May 2007 00:13:04 -0400 From: Gary Palmer To: KAYVEN RIESE Message-ID: <20070502041304.GA33045@in-addr.com> Mail-Followup-To: KAYVEN RIESE , freeBSD bugs mailing list References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freeBSD bugs mailing list Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 04:34:03 -0000 On Tue, May 01, 2007 at 08:41:40PM -0700, KAYVEN RIESE wrote: > > i was told by a guy on experts-exchange > > gheist: > You have to install SCSI over ATAPI driver. GENERIC kernel does not have > one. Only burncd in base system can use acd driver for burning CD/DVD, > others do use SCSI cd driver You forgot to mention what release of FreeBSD you are running, but in theory kldload atapicam from a root command prompt should fix it. If it does, put the line atapicam_load="YES" into /boot/loader.conf From owner-freebsd-stable@FreeBSD.ORG Wed May 2 04:51:01 2007 Return-Path: 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 22BD516A400 for ; Wed, 2 May 2007 04:51:01 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc14.comcast.net (alnrmhc14.comcast.net [206.18.177.54]) by mx1.freebsd.org (Postfix) with ESMTP id 03EBE13C43E for ; Wed, 2 May 2007 04:51:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (alnrmhc14) with ESMTP id <20070502045100b140087tfie>; Wed, 2 May 2007 04:51:00 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id DB7BB1FA01D; Tue, 1 May 2007 21:50:59 -0700 (PDT) Date: Tue, 1 May 2007 21:50:59 -0700 From: Jeremy Chadwick To: Martin Dieringer Message-ID: <20070502045059.GA69219@icarus.home.lan> Mail-Followup-To: Martin Dieringer , freebsd-stable@freebsd.org References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070501204548.L860@thinkpad.dieringer.dyndns.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 04:51:01 -0000 On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: > I get about half a second time offsets after 10 seconds, and more > than 100s after half an hour or so. > I think it has to do with powerd, if I kill that, the time stays correct. > It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. I'm sorry this isn't more conclusive... This almost sounds like an interrupt-related problem while in a power-saving state. I swear I just read a thread about this on -stable, pertaining to how certain power states disable features of interrupt controllers... I can't seem to find the discussion though, argh! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed May 2 05:28:39 2007 Return-Path: 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 9177116A401 for ; Wed, 2 May 2007 05:28:39 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE1C13C46A for ; Wed, 2 May 2007 05:28:38 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp147-16.lns2.adl2.internode.on.net [121.44.147.16]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l425SNld031573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 May 2007 14:58:34 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Wed, 2 May 2007 14:58:00 +0930 User-Agent: KMail/1.9.5 References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2524420.Eu7Drinzao"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705021458.01813.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: KAYVEN RIESE Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 05:28:39 -0000 --nextPart2524420.Eu7Drinzao Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 02 May 2007 13:11, KAYVEN RIESE wrote: > gheist: > You have to install SCSI over ATAPI driver. GENERIC kernel does not > have one. Only burncd in base system can use acd driver for burning > CD/DVD, others do use SCSI cd driver kldload atapicam will do this putting atapicam_load=3D"YES" in /boot/loader.conf will do it every reboot. > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd This is silly, leave acd there, and you don't need SMP unless you have=20 an SMP system (ie it is unrelated to this problem) > The new kernel will let you use cd0 device. > acd0 is gone for good - update /etc/fstab accordingly. I think it's OK to stick with acd0. The only time you *need* ATAPICAM is to burn CD/DVDs with something like=20 growisofs or cdrecord, or you want to use cdda2wav. > i am trying to make my dvd player werk. How are you trying to play DVDs? You should start by stating the problem you're trying to solve, not have=20 it as a rider at the end of your email. If you are using xine then you can make a dvd symlink in /dev and do=20 xine dvd:/ If you edit /etc/devfs.conf and make sure it has these 2 lines.. # Commonly used by many ports link acd0 cdrom link acd0 dvd then run /etc/rc.d/devfs restart it should do it for you. Then DVD playing apps should find your drive OK. If not please give=20 actual error messages and fully describe what you're trying. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2524420.Eu7Drinzao Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGOCFh5ZPcIHs/zowRAsT9AJ9p8OJfuzDJYuT+XLJfeaAp9vYPvQCfQOGj ZhgXiSyjXPEzyWkZukj2IWc= =LPAx -----END PGP SIGNATURE----- --nextPart2524420.Eu7Drinzao-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 06:58:17 2007 Return-Path: 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 8083A16A400 for ; Wed, 2 May 2007 06:58:17 +0000 (UTC) (envelope-from zenture@argonath.homeunix.org) Received: from argonath.homeunix.org (253.Red-88-3-115.dynamicIP.rima-tde.net [88.3.115.253]) by mx1.freebsd.org (Postfix) with ESMTP id EB0DB13C468 for ; Wed, 2 May 2007 06:58:16 +0000 (UTC) (envelope-from zenture@argonath.homeunix.org) Received: from localhost (amsterdam [10.0.0.3]) by argonath.homeunix.org (Postfix) with ESMTP id E2D407310A for ; Wed, 2 May 2007 08:40:04 +0200 (CEST) Date: Wed, 2 May 2007 08:40:04 +0200 From: Fernando =?iso-8859-1?Q?Jim=E9nez?= Solano To: freebsd-stable@freebsd.org Message-ID: <20070502064004.GA4108@localdomain> Mail-Followup-To: freebsd-stable@freebsd.org References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070501204548.L860@thinkpad.dieringer.dyndns.org> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 06:58:17 -0000 On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: > Hi, > > I get about half a second time offsets after 10 seconds, and more > than 100s after half an hour or so. > I think it has to do with powerd, if I kill that, the time stays correct. > It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. > > Can this be solved? > thanks > m. You have the option of running ntpd instead of ntpdate. This assures a continous polling against the server. IIRC ntpd would solve the clock skew via ntp.drift. -- How fortunate the man with none. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 08:09:44 2007 Return-Path: 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 5CDE316A401 for ; Wed, 2 May 2007 08:09:44 +0000 (UTC) (envelope-from freebsd-stable@claranet.nl) Received: from mail1-new.vianetworks.nl (mail1-new.vianetworks.nl [212.61.9.28]) by mx1.freebsd.org (Postfix) with ESMTP id 25DF513C469 for ; Wed, 2 May 2007 08:09:43 +0000 (UTC) (envelope-from freebsd-stable@claranet.nl) Received: from [192.168.181.124] (firebox.nl.clara.net [212.61.20.1]) by mail1-new.vianetworks.nl (Postfix) with ESMTP id F0E90DAFD5E; Wed, 2 May 2007 10:22:09 +0200 (CEST) Message-ID: <46384746.8080707@claranet.nl> Date: Wed, 02 May 2007 10:09:42 +0200 From: Jasper Berlijn User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: Jack Vogel References: <46150E1A.9050900@claranet.nl> <2a41acea0704051118t5e7965f6m76ee26b6263bb9cc@mail.gmail.com> In-Reply-To: <2a41acea0704051118t5e7965f6m76ee26b6263bb9cc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: em0 watchdog timeout with nfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 08:09:44 -0000 Hi all, The problem still exists, the following I've tried: * Using: FreeBSD 6.2-RELEASE-p4 * Disabled all 'interal' devices (usb / serial / sound) * Also tried dcgdis.ThisIsZip (the Ethernet Controller didn't need this, but tried it anyway) * Swapped with a new em network card and swithed pci bus. Also using iperf the timeouts occurs! (without nfs) Reverted back to 4.11 which is still running stable (also with iperf) Any ideas? Jack Vogel wrote: > On 4/5/07, Jasper Berlijn wrote: >> Hi, >> >> At this moment I'm running FreeBSD 4.11 without any problems. A couple >> of times I've tried to upgrade to 6.x but without any luck because of >> the watchdog timeout errors on em0 when using nfs. >> >> Mar 30 11:30:48 large kernel: em0: watchdog timeout -- resetting >> Mar 30 11:30:48 large kernel: em0: link state changed to DOWN >> Mar 30 11:30:51 large kernel: em0: link state changed to UP >> Mar 30 11:31:01 large kernel: em0: watchdog timeout -- resetting >> Mar 30 11:31:01 large kernel: em0: link state changed to DOWN >> Mar 30 11:31:03 large kernel: em0: link state changed to UP >> Mar 30 11:31:20 large kernel: em0: watchdog timeout -- resetting >> Mar 30 11:31:20 large kernel: em0: link state changed to DOWN >> Mar 30 11:31:23 large kernel: em0: link state changed to UP >> >> em0@pci0:14:0: class=0x020000 card=0x002e8086 chip=0x100e8086 rev=0x02 >> hdr=0x00 >> vendor = 'Intel Corporation' >> device = '82540EM Gigabit Ethernet Controller' >> class = network >> subclass = ethernet >> >> When I try to copy a large file (1gb) then after a couple of mb's >> (100mb) the wachtdog timeout will occur. The system is most of the time >> idle. Using debug.mpsafenet="0" in /boot/loader.conf doesn't make any >> difference. >> >> Any ideas? > > The driver in 6.2 RELEASE fixed all known problems with > watchdogs, other than REAL issues with the network/hardware. > Have you tried installing that? > > Jack > _______________________________________________ > 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 - Wed From owner-freebsd-stable@FreeBSD.ORG Wed May 2 08:34:27 2007 Return-Path: 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 DE90C16A400 for ; Wed, 2 May 2007 08:34:26 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6694D13C4AE for ; Wed, 2 May 2007 08:34:26 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ik-out-1112.google.com with SMTP id b35so57480ika for ; Wed, 02 May 2007 01:34:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=l3sM5pXuFUSXzMmuoyQAe9qrp1fWJyvODA/kQVUIM3Qf6EJB2VnG+P7f3zmaKDuYWosHoPrl+GlQwBV7ec0PaWtyHQjU6S+KeHAeKTTyFBUhA0b7OYzXOPOqz5K7f4sn6+f3EDXfhBinqr3CVu3SHjuTf5sP5YSYzbRKRPGpZEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=tSq/ZwvyKE5GfMfWm67kp5uRYK6YwyVsNdPUtBh8CdZqlKGFf4jx+e19G3xX91HLj/A5+foxMkPidTq6Lov3P9lhCkzG6bkQiBdYEiQpK2qpq7Qdf5JziPflUrqwxdRubDOsBRM0ePAu7t+fiGDGRoQb/8S1ayjUeyhnXsZWnQQ= Received: by 10.82.188.15 with SMTP id l15mr927308buf.1178094865276; Wed, 02 May 2007 01:34:25 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id b33sm1852901ika.2007.05.02.01.34.21; Wed, 02 May 2007 01:34:24 -0700 (PDT) From: Tom Evans To: Olivier Mueller In-Reply-To: <1178052282.1279.6.camel@bigapple.omnis.ch> References: <20070501020721.GA44472@icarus.home.lan> <53892.209.47.38.69.1178028723.squirrel@wettoast.dyndns.org> <1178033180.1239.13.camel@zoot.mintel.co.uk> <1178052282.1279.6.camel@bigapple.omnis.ch> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yarqMf8V0Pmp+IBD25NH" Date: Wed, 02 May 2007 09:34:18 +0100 Message-Id: <1178094858.1217.5.camel@zoot.mintel.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: freebsd-stable@freebsd.org Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 08:34:27 -0000 --=-yarqMf8V0Pmp+IBD25NH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-05-01 at 22:44 +0200, Olivier Mueller wrote: > Hi, >=20 > On Tue, 2007-05-01 at 16:26 +0100, Tom Evans wrote: > > On Tue, 2007-05-01 at 10:12 -0400, Mike Jakubik wrote: > > > I've had problems with 6.2 and mysql on a large server as well. High = CPU > > > usage and crashes. I switched the threading library to libthr and the > > > problems went away. > > If you don't know how to switch what threading library is used, > > libmap.conf(5) should explain it, or here is what we use: [...] >=20 > Thanks for the input! Do you have to recompile the mysql server after > the change, or just to restart it to validate the change?=20 >=20 >=20 > And does anyone know if it will help in case of such errors (FreeBSD) > 6.0 and 6.1, latest 5.x mysqld) : >=20 > 070426 0:11:30 [ERROR] /usr/local/libexec/mysqld: Incorrect key file > for table './pia/pia_ads.MYI'; try to repair it > =20 > [root@pidb1 /var/db/mysql/pia]# ls -la pia_ads.* > -rw-rw---- 1 mysql mysql 216427164 Apr 25 23:59 pia_ads.MYD > -rw-rw---- 1 mysql mysql 561668096 Apr 26 00:15 pia_ads.MYI > -rw-rw---- 1 mysql mysql 40200 Feb 25 23:38 pia_ads.frm >=20 > The table is not that big, but there are 48 (!) indexes. And the problem > only occurs on high load, after a few minutes/hours, it's hard to > reproduce "on request" (I wish I could, to submit a bugreport to the > mysql devs).=20 >=20 > Regards, > Olivier >=20 You shouldn't have to recompile mysql, just restart (as long as it is dynamically linked; default from ports is). I'd always use mysql from ports, as it is more targeted to freebsd. We saw key file errors when using mysql 5.0(.27 iirc), but we have in fact moved all of our production boxes back to mysql 4.0, as 5.0 branch seemed far too unstable, slow and error prone (not wanting to start a holy war here, just our experiences :). Cheers Tom --=-yarqMf8V0Pmp+IBD25NH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGOE0GlcRvFfyds/cRAljcAJ9BtVoCYzhcjvP8k1Pdnz0wUmX3YQCghps5 Bb5qWKzKqTZxShGSNKI6Axw= =Hr3c -----END PGP SIGNATURE----- --=-yarqMf8V0Pmp+IBD25NH-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 08:46:00 2007 Return-Path: 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 9D24816A400 for ; Wed, 2 May 2007 08:46:00 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: from omega.omnis.ch (omega.omnis.ch [195.134.143.43]) by mx1.freebsd.org (Postfix) with SMTP id E64C813C448 for ; Wed, 2 May 2007 08:45:59 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: (qmail 1776 invoked from network); 2 May 2007 08:45:57 -0000 Received: from bigapple.omnis.ch ([195.134.148.35]) by omega.omnis.ch ([195.134.143.43]) with ESMTP via TCP; 02 May 2007 08:45:57 -0000 From: Olivier Mueller To: Tom Evans In-Reply-To: <1178094858.1217.5.camel@zoot.mintel.co.uk> References: <20070501020721.GA44472@icarus.home.lan> <53892.209.47.38.69.1178028723.squirrel@wettoast.dyndns.org> <1178033180.1239.13.camel@zoot.mintel.co.uk> <1178052282.1279.6.camel@bigapple.omnis.ch> <1178094858.1217.5.camel@zoot.mintel.co.uk> Content-Type: text/plain Date: Wed, 02 May 2007 10:45:57 +0200 Message-Id: <1178095558.16168.1.camel@bigapple.omnis.ch> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: mysql frequently crash on 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 08:46:00 -0000 On Wed, 2007-05-02 at 09:34 +0100, Tom Evans wrote: > You shouldn't have to recompile mysql, just restart (as long as it is > dynamically linked; default from ports is). I'd always use mysql from > ports, as it is more targeted to freebsd. ok. > We saw key file errors when using mysql 5.0(.27 iirc), but we have in > fact moved all of our production boxes back to mysql 4.0, as 5.0 branch > seemed far too unstable, slow and error prone (not wanting to start a > holy war here, just our experiences :). Uhuh... :-) Ok, thanks for your feedback! BTW, google seems to do the same: they have coded some patches, but only for the 4.x branch (yet): http://google-code-updates.blogspot.com/2007/04/google-releases-patches-that-enhance.html regards, Olivier From owner-freebsd-stable@FreeBSD.ORG Wed May 2 09:09:14 2007 Return-Path: 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 475DC16A404; Wed, 2 May 2007 09:09:14 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA8F13C45D; Wed, 2 May 2007 09:09:11 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id TAA09161; Wed, 2 May 2007 19:08:24 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 2 May 2007 19:08:23 +1000 (EST) From: Ian Smith To: Martin Dieringer In-Reply-To: <20070502040125.M860@thinkpad.dieringer.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Clayton Milos , freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 09:09:14 -0000 On Wed, 2 May 2007, Martin Dieringer wrote: > On Tue, 1 May 2007, Martin Dieringer wrote: > > > On Tue, 1 May 2007, Clayton Milos wrote: > > > >>> Hi, > >>> > >>> I get about half a second time offsets after 10 seconds, and more > >>> than 100s after half an hour or so. > >>> I think it has to do with powerd, if I kill that, the time stays correct. > >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. > >>> > >>> Can this be solved? > >>> thanks > >>> m. > >> > >> This has got to do with the speed stepping of the CPU to save battery. > >> Far as I know there's no fix yet. > >> > >> Guys is it possible to hack powerd to change a sysctl variable when it > >> changes the CPU frequency or isn't it that simple? > > > > > > Another effect of the problem seems to be the intermittent sound > > output. Playback is ok when powerd is killed. > > When changing freq by sysctl, I still get hickups in sound, so this > > would be no solution. > > the hiccups have reappeared, so they are not related to powerd. > > I still have 0.5 seconds time offsets after 10 minutes, on the > thinkpad, without powerd... I'm wondering if this might have to do with power_profile's settings of hw.acpi.cpu.cx_lowest when moving from AC to battery power? If you don't specify {performance,economy}_cpu_freq="NONE" in rc.conf, powerd and power_profile will argue the toss on every switch of line state (running powerd -v illustrates this nicely). powerd, however, does not as yet affect the cx setting also. The default values of {performance,economy}_cx_lowest are "HIGH" and "LOW" on my 6.1-R system, but "HIGH" and "HIGH" on my 5.5-STABLE box, though the latter isn't using ACPI; you might want to check these in your /etc/defaults/rc.conf and override them in rc.conf if necessary. Anyway, this is a bit of a stab in the dark, but try setting in rc.conf economy_cx_lowest="C2" which has the effect of having power_profile set hw.acpi.cpu.cx_lowest="C2" on line state change rather than the "LOW" value, probably C3, to see if this might affect your timing problem? On my T23 on 6.1-R, I noticed that the C3 state is never used (as shown by hw.acpi.cpu.cx_usage) unless the machine was booted up on battery :-/ I also seem to recall reading that C3 may be problematic on some boxes, possibly related to timing problems, but like Jeremy I'm not sure where. Cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Wed May 2 11:26:39 2007 Return-Path: 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 764A316A401 for ; Wed, 2 May 2007 11:26:39 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id B92B113C465 for ; Wed, 2 May 2007 11:26:38 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 02 May 2007 11:26:37 -0000 Received: from c-134-225-153.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.225.153] by mail.gmx.net (mp047) with SMTP; 02 May 2007 13:26:37 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX19khfIR8DlkmZgvZaJYGPvgUpHTFnNVD9I1rvudAD 3WPqo0ZgJ3P5tV Received: (qmail 3305 invoked by uid 1001); 2 May 2007 11:26:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 May 2007 11:26:35 -0000 Date: Wed, 2 May 2007 13:26:35 +0200 (CEST) From: Martin Dieringer To: John Walthall In-Reply-To: <20070502020319.GB6419@SDF.LONESTAR.ORG> Message-ID: <20070502132330.U860@thinkpad.dieringer.dyndns.org> References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502020319.GB6419@SDF.LONESTAR.ORG> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 11:26:39 -0000 On Wed, 2 May 2007, John Walthall wrote: > On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: >> I think it has to do with powerd, if I kill that, the time stays correct. > > With powerd enabled, are you able to maintain a "reasonably" > correct time with frequent NTP syncronizations? Sorry if it's just > me, but I am not quite clear about that, from what has been written > already. I would have to update every minute at least and would still be more than 5 seconds off. m. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 11:30:48 2007 Return-Path: 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 7EE4816A400 for ; Wed, 2 May 2007 11:30:48 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D91DB13C448 for ; Wed, 2 May 2007 11:30:47 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 02 May 2007 11:30:46 -0000 Received: from c-134-225-153.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.225.153] by mail.gmx.net (mp048) with SMTP; 02 May 2007 13:30:46 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX1+wKxMw/cWwk/iUVa4/cVAwC4tsDQePyXp5ctbTaR UMxSZyIjK3HzRT Received: (qmail 3334 invoked by uid 1001); 2 May 2007 11:30:44 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 May 2007 11:30:44 -0000 Date: Wed, 2 May 2007 13:30:44 +0200 (CEST) From: Martin Dieringer To: Ian Smith In-Reply-To: Message-ID: <20070502132901.L860@thinkpad.dieringer.dyndns.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: Clayton Milos , freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 11:30:48 -0000 On Wed, 2 May 2007, Ian Smith wrote: > On Wed, 2 May 2007, Martin Dieringer wrote: > > On Tue, 1 May 2007, Martin Dieringer wrote: > > > > > On Tue, 1 May 2007, Clayton Milos wrote: > > > > > >>> Hi, > > >>> > > >>> I get about half a second time offsets after 10 seconds, and more > > >>> than 100s after half an hour or so. > > >>> I think it has to do with powerd, if I kill that, the time stays correct. > > >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. > > >>> > > >>> Can this be solved? > > >>> thanks > > >>> m. > > >> > > >> This has got to do with the speed stepping of the CPU to save battery. > > >> Far as I know there's no fix yet. > > >> > > >> Guys is it possible to hack powerd to change a sysctl variable when it > > >> changes the CPU frequency or isn't it that simple? > > > > > > > > > Another effect of the problem seems to be the intermittent sound > > > output. Playback is ok when powerd is killed. > > > When changing freq by sysctl, I still get hickups in sound, so this > > > would be no solution. > > > > the hiccups have reappeared, so they are not related to powerd. > > > > I still have 0.5 seconds time offsets after 10 minutes, on the > > thinkpad, without powerd... > > I'm wondering if this might have to do with power_profile's settings of > hw.acpi.cpu.cx_lowest when moving from AC to battery power? I don't have these values, are they ACPI? I switched off ACPI on both machines, but I use APM. m. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 12:09:16 2007 Return-Path: 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 D2FD116A407 for ; Wed, 2 May 2007 12:09:16 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 3867A13C457 for ; Wed, 2 May 2007 12:09:16 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 02 May 2007 12:09:14 -0000 Received: from c-134-225-153.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.225.153] by mail.gmx.net (mp048) with SMTP; 02 May 2007 14:09:14 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX19KCcst0RVKAWlNBVDeSjq2CLhdEnCFYXxGLhU4kS s7DclB86AfDUDy Received: (qmail 3873 invoked by uid 1001); 2 May 2007 12:09:12 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 May 2007 12:09:12 -0000 Date: Wed, 2 May 2007 14:09:12 +0200 (CEST) From: Martin Dieringer To: Ian Smith In-Reply-To: <20070502132901.L860@thinkpad.dieringer.dyndns.org> Message-ID: <20070502140536.K860@thinkpad.dieringer.dyndns.org> References: <20070502132901.L860@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: Clayton Milos , freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 12:09:16 -0000 On Wed, 2 May 2007, Martin Dieringer wrote: > On Wed, 2 May 2007, Ian Smith wrote: > >> On Wed, 2 May 2007, Martin Dieringer wrote: >> > On Tue, 1 May 2007, Martin Dieringer wrote: >> > >> > > On Tue, 1 May 2007, Clayton Milos wrote: >> > > >> > >>> Hi, >> > >>> >> > >>> I get about half a second time offsets after 10 seconds, and more >> > >>> than 100s after half an hour or so. >> > >>> I think it has to do with powerd, if I kill that, the time stays >> correct. >> > >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. >> > >>> >> > >>> Can this be solved? >> > >>> thanks >> > >>> m. >> > >> >> > >> This has got to do with the speed stepping of the CPU to save battery. >> > >> Far as I know there's no fix yet. >> > >> >> > >> Guys is it possible to hack powerd to change a sysctl variable when it >> > >> changes the CPU frequency or isn't it that simple? >> > > >> > > >> > > Another effect of the problem seems to be the intermittent sound >> > > output. Playback is ok when powerd is killed. >> > > When changing freq by sysctl, I still get hickups in sound, so this >> > > would be no solution. >> > >> > the hiccups have reappeared, so they are not related to powerd. >> > >> > I still have 0.5 seconds time offsets after 10 minutes, on the >> > thinkpad, without powerd... >> >> I'm wondering if this might have to do with power_profile's settings of >> hw.acpi.cpu.cx_lowest when moving from AC to battery power? > > > I don't have these values, are they ACPI? > I switched off ACPI on both machines, but I use APM. Might this have to do with it? Now I got following while playing sound on the Compaq: kernel: calcru: runtime went backwards from 183711700 usec to 183167434 usec for pid 12 (swi4: clock sio) here I have a working clock, but also intermittent sound output m. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 13:48:50 2007 Return-Path: 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 2CAC716A400 for ; Wed, 2 May 2007 13:48:50 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id C555213C48C for ; Wed, 2 May 2007 13:48:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id XAA16672; Wed, 2 May 2007 23:48:39 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 2 May 2007 23:48:38 +1000 (EST) From: Ian Smith To: Martin Dieringer In-Reply-To: <20070502140536.K860@thinkpad.dieringer.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 13:48:50 -0000 On Wed, 2 May 2007, Martin Dieringer wrote: [chomping, ccs too] > >> > >>> I get about half a second time offsets after 10 seconds, and more > >> > >>> than 100s after half an hour or so. > >> > >>> I think it has to do with powerd, if I kill that, the time stays > >> correct. > >> > >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop. > >> > > Another effect of the problem seems to be the intermittent sound > >> > > output. Playback is ok when powerd is killed. > >> > > When changing freq by sysctl, I still get hickups in sound, so this > >> > > would be no solution. > >> > > >> > the hiccups have reappeared, so they are not related to powerd. > >> > > >> > I still have 0.5 seconds time offsets after 10 minutes, on the > >> > thinkpad, without powerd... > >> I'm wondering if this might have to do with power_profile's settings of > >> hw.acpi.cpu.cx_lowest when moving from AC to battery power? > > > > I don't have these values, are they ACPI? > > I switched off ACPI on both machines, but I use APM. Ah, silly me, yes assuming ACPI. powerd doesn't run on my Compaq 1500c 5.5-STABLE on APM, providing no dev.cpu.0.freq or dev.cpu.0.freq_levels (though its APM BIOS provides working selectable half-speed on battery) > Might this have to do with it? > Now I got following while playing sound on the Compaq: > > kernel: calcru: runtime went backwards from 183711700 usec to 183167434 usec for pid 12 (swi4: clock sio) > > here I have a working clock, but also intermittent sound output http://www.freebsd.org/doc/en/books/faq/book.html#CALCRU-NEGATIVE and http://lists.freebsd.org/pipermail/freebsd-stable/ searching for 'calcru: runtime went backwards' provides many hits, as does google; seems it could be a number of things, perhaps choice of timecounter. Out of my depth, Ian From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:11:00 2007 Return-Path: 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 98EE416A403 for ; Wed, 2 May 2007 15:11:00 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8099113C4BF for ; Wed, 2 May 2007 15:11:00 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 08:10:12 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CABxHOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050208101072-910 ; Wed, 2 May 2007 08:10:10 -0700 Date: Wed, 2 May 2007 08:10:10 -0700 (PDT) From: KAYVEN RIESE To: Gary Palmer In-Reply-To: <20070502041304.GA33045@in-addr.com> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <20070502041304.GA33045@in-addr.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 08:10:10, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 08:10:11, Serialize complete at 05/02/2007 08:10:11 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freeBSD bugs mailing list Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:11:00 -0000 now i have both "acd0" and "cd0" is that a problem? bsd@/root# ls /dev acd0 cuad0.init kmem psm0 ttyv5 acpi cuad0.lock log ptyp0 ttyv6 ad0 devctl lpt0 ptyp1 ttyv7 ad0s1 devstat lpt0.ctl ptyp2 ttyv8 ad0s1a dsp0.0 mdctl random ttyv9 ad0s1b dsp0.1 mem sndstat ttyva ad0s1c dspW0.0 mixer0 stderr ttyvb ad0s1d dspW0.1 net stdin ttyvc ad0s2 dspr0.1 net1 stdout ttyvd agpgart fd net2 sysmouse ttyve apm fido net3 ttyd0 ttyvf ata fw0 net4 ttyd0.init ums0 atkbd0 fw0.0 network ttyd0.lock urandom audio0.0 fwmem0 nfs4 ttyp0 usb audio0.1 fwmem0.0 nfslock ttyp1 usb0 bpsm0 geom.ctl null ttyp2 usb1 cd0 io pass0 ttyv0 usb2 console kbd0 pccard0.cis ttyv1 usb3 consolectl kbd1 pccard1.cis ttyv2 xpt0 ctty kbdmux0 pci ttyv3 zero cuad0 klog ppi0 ttyv4 bsd@/root# On Wed, 2 May 2007, Gary Palmer wrote: > On Tue, May 01, 2007 at 08:41:40PM -0700, KAYVEN RIESE wrote: >> >> i was told by a guy on experts-exchange >> >> gheist: >> You have to install SCSI over ATAPI driver. GENERIC kernel does not have >> one. Only burncd in base system can use acd driver for burning CD/DVD, >> others do use SCSI cd driver > > You forgot to mention what release of FreeBSD you are running, but > in theory > > kldload atapicam > > from a root command prompt should fix it. If it does, put the line > > atapicam_load="YES" > > into /boot/loader.conf > From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:20:23 2007 Return-Path: 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 80A7816A406 for ; Wed, 2 May 2007 15:20:23 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron1.sfsu.edu (iron1.sfsu.edu [130.212.10.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6A38613C487 for ; Wed, 2 May 2007 15:20:23 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron1.sfsu.edu with ESMTP; 02 May 2007 08:20:23 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAMBIOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050208202169-911 ; Wed, 2 May 2007 08:20:21 -0700 Date: Wed, 2 May 2007 08:20:21 -0700 (PDT) From: KAYVEN RIESE To: Daniel O'Connor In-Reply-To: <200705021458.01813.doconnor@gsoft.com.au> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 08:20:21, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 08:20:22, Serialize complete at 05/02/2007 08:20:22 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:20:23 -0000 okay i am trying this xine thing.. where do i put the sysctl dingies? ******************************************************** * Make sure you've enough shared memory, the xine FAQ * * advises to have the following sysctl settings: * * * * kern.ipc.shmmax=67108864 * * kern.ipc.shmall=32768 * * * * To suppress many xitk warnings, please put following * * setting in ~/.xitkrc. * * * * feature.shm = 0 * ******************************************************** bsd@/root# On Wed, 2 May 2007, Daniel O'Connor wrote: > On Wednesday 02 May 2007 13:11, KAYVEN RIESE wrote: >> gheist: >> You have to install SCSI over ATAPI driver. GENERIC kernel does not >> have one. Only burncd in base system can use acd driver for burning >> CD/DVD, others do use SCSI cd driver > > kldload atapicam will do this > putting > atapicam_load="YES" > in /boot/loader.conf will do it every reboot. >> include GENERIC >> >> ident KAYVEY >> nocpu I486_CPU >> nocpu I586_CPU >> >> options SMP >> device atapicam >> nodevice acd > > This is silly, leave acd there, and you don't need SMP unless you have > an SMP system (ie it is unrelated to this problem) > >> The new kernel will let you use cd0 device. >> acd0 is gone for good - update /etc/fstab accordingly. > > I think it's OK to stick with acd0. > > The only time you *need* ATAPICAM is to burn CD/DVDs with something like > growisofs or cdrecord, or you want to use cdda2wav. > >> i am trying to make my dvd player werk. > > How are you trying to play DVDs? > You should start by stating the problem you're trying to solve, not have > it as a rider at the end of your email. > > If you are using xine then you can make a dvd symlink in /dev and do > xine dvd:/ > > If you edit /etc/devfs.conf and make sure it has these 2 lines.. > # Commonly used by many ports > link acd0 cdrom > link acd0 dvd > > then run > /etc/rc.d/devfs restart > > it should do it for you. > > Then DVD playing apps should find your drive OK. If not please give > actual error messages and fully describe what you're trying. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:24:33 2007 Return-Path: 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 E8DBB16A400 for ; Wed, 2 May 2007 15:24:33 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id D284213C448 for ; Wed, 2 May 2007 15:24:33 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 08:24:34 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAPxIOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050208243165-912 ; Wed, 2 May 2007 08:24:31 -0700 Date: Wed, 2 May 2007 08:24:31 -0700 (PDT) From: KAYVEN RIESE To: Daniel O'Connor In-Reply-To: <200705021458.01813.doconnor@gsoft.com.au> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 08:24:31, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 08:24:33, Serialize complete at 05/02/2007 08:24:33 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:24:34 -0000 the actual current goal is to use freeBSD to burn a DVD of the show 24 to watch on my new liteon dvd player. i have had sporatic success on using files from my puters to view on the thing. it is supposed to be able to do a lot of different things. it can view jpegs. i haven't even burned a dvd data disk on freeBSD yet. some of the disks i have burned on an XP puter (that i do not have access to right now) using a sonic burner application have werked, and some haven't. On Wed, 2 May 2007, Daniel O'Connor wrote: > On Wednesday 02 May 2007 13:11, KAYVEN RIESE wrote: >> gheist: >> You have to install SCSI over ATAPI driver. GENERIC kernel does not >> have one. Only burncd in base system can use acd driver for burning >> CD/DVD, others do use SCSI cd driver > > kldload atapicam will do this > putting > atapicam_load="YES" > in /boot/loader.conf will do it every reboot. >> include GENERIC >> >> ident KAYVEY >> nocpu I486_CPU >> nocpu I586_CPU >> >> options SMP >> device atapicam >> nodevice acd > > This is silly, leave acd there, and you don't need SMP unless you have > an SMP system (ie it is unrelated to this problem) > >> The new kernel will let you use cd0 device. >> acd0 is gone for good - update /etc/fstab accordingly. > > I think it's OK to stick with acd0. > > The only time you *need* ATAPICAM is to burn CD/DVDs with something like > growisofs or cdrecord, or you want to use cdda2wav. > >> i am trying to make my dvd player werk. > > How are you trying to play DVDs? > You should start by stating the problem you're trying to solve, not have > it as a rider at the end of your email. > > If you are using xine then you can make a dvd symlink in /dev and do > xine dvd:/ > > If you edit /etc/devfs.conf and make sure it has these 2 lines.. > # Commonly used by many ports > link acd0 cdrom > link acd0 dvd > > then run > /etc/rc.d/devfs restart > > it should do it for you. > > Then DVD playing apps should find your drive OK. If not please give > actual error messages and fully describe what you're trying. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:31:00 2007 Return-Path: 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 952D516A401 for ; Wed, 2 May 2007 15:31:00 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id 7E78E13C465 for ; Wed, 2 May 2007 15:31:00 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CABpLOEaC1Apk/2dsb2JhbAA Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 02 May 2007 08:30:59 -0700 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050208305621-913 ; Wed, 2 May 2007 08:30:56 -0700 Date: Wed, 2 May 2007 08:30:56 -0700 (PDT) From: KAYVEN RIESE To: Daniel O'Connor In-Reply-To: <200705021458.01813.doconnor@gsoft.com.au> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 08:30:56, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 08:30:58, Serialize complete at 05/02/2007 08:30:58 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:31:00 -0000 was this supposed to werk Unmatched ". > xine /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "xine" > On Wed, 2 May 2007, Daniel O'Connor wrote: > On Wednesday 02 May 2007 13:11, KAYVEN RIESE wrote: >> gheist: >> You have to install SCSI over ATAPI driver. GENERIC kernel does not >> have one. Only burncd in base system can use acd driver for burning >> CD/DVD, others do use SCSI cd driver > > kldload atapicam will do this > putting > atapicam_load="YES" > in /boot/loader.conf will do it every reboot. >> include GENERIC >> >> ident KAYVEY >> nocpu I486_CPU >> nocpu I586_CPU >> >> options SMP >> device atapicam >> nodevice acd > > This is silly, leave acd there, and you don't need SMP unless you have > an SMP system (ie it is unrelated to this problem) > >> The new kernel will let you use cd0 device. >> acd0 is gone for good - update /etc/fstab accordingly. > > I think it's OK to stick with acd0. > > The only time you *need* ATAPICAM is to burn CD/DVDs with something like > growisofs or cdrecord, or you want to use cdda2wav. > >> i am trying to make my dvd player werk. > > How are you trying to play DVDs? > You should start by stating the problem you're trying to solve, not have > it as a rider at the end of your email. > > If you are using xine then you can make a dvd symlink in /dev and do > xine dvd:/ > > If you edit /etc/devfs.conf and make sure it has these 2 lines.. > # Commonly used by many ports > link acd0 cdrom > link acd0 dvd > > then run > /etc/rc.d/devfs restart > > it should do it for you. > > Then DVD playing apps should find your drive OK. If not please give > actual error messages and fully describe what you're trying. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:47:36 2007 Return-Path: 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 3349C16A400; Wed, 2 May 2007 15:47:36 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.freebsd.org (Postfix) with ESMTP id 0262F13C457; Wed, 2 May 2007 15:47:35 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from uucp by noop.in-addr.com with local-rmail (Exim 4.54 (FreeBSD)) id 1HjH3H-000BAm-9g; Wed, 02 May 2007 11:47:35 -0400 Received: from localhost.home.in-addr.com ([127.0.0.1]:57445 helo=rimmer.home.in-addr.com) by rimmer.home.in-addr.com with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HjH2M-000CX7-NH; Wed, 02 May 2007 16:46:38 +0100 Message-ID: <4638B25E.70005@freebsd.org> Date: Wed, 02 May 2007 16:46:38 +0100 From: Gary Palmer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070403 SeaMonkey/1.1.1 MIME-Version: 1.0 To: KAYVEN RIESE References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <20070502041304.GA33045@in-addr.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freeBSD bugs mailing list Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:47:36 -0000 KAYVEN RIESE wrote: > now i have both "acd0" and "cd0" is that a problem? > > bsd@/root# ls /dev > acd0 cuad0.init kmem psm0 ttyv5 > acpi cuad0.lock log ptyp0 ttyv6 > ad0 devctl lpt0 ptyp1 ttyv7 > ad0s1 devstat lpt0.ctl ptyp2 ttyv8 > ad0s1a dsp0.0 mdctl random ttyv9 > ad0s1b dsp0.1 mem sndstat ttyva > ad0s1c dspW0.0 mixer0 stderr ttyvb > ad0s1d dspW0.1 net stdin ttyvc > ad0s2 dspr0.1 net1 stdout ttyvd > agpgart fd net2 sysmouse ttyve > apm fido net3 ttyd0 ttyvf > ata fw0 net4 ttyd0.init ums0 > atkbd0 fw0.0 network ttyd0.lock urandom > audio0.0 fwmem0 nfs4 ttyp0 usb > audio0.1 fwmem0.0 nfslock ttyp1 usb0 > bpsm0 geom.ctl null ttyp2 usb1 > cd0 io pass0 ttyv0 usb2 > console kbd0 pccard0.cis ttyv1 usb3 > consolectl kbd1 pccard1.cis ttyv2 xpt0 > ctty kbdmux0 pci ttyv3 zero > cuad0 klog ppi0 ttyv4 > bsd@/root# No, it is not a problem. It is meant to do that. And please do not top-post. > > On Wed, 2 May 2007, Gary Palmer wrote: > >> On Tue, May 01, 2007 at 08:41:40PM -0700, KAYVEN RIESE wrote: >>> >>> i was told by a guy on experts-exchange >>> >>> gheist: >>> You have to install SCSI over ATAPI driver. GENERIC kernel does not >>> have >>> one. Only burncd in base system can use acd driver for burning CD/DVD, >>> others do use SCSI cd driver >> >> You forgot to mention what release of FreeBSD you are running, but >> in theory >> >> kldload atapicam >> >> from a root command prompt should fix it. If it does, put the line >> >> atapicam_load="YES" >> >> into /boot/loader.conf >> > > From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:56:38 2007 Return-Path: X-Original-To: 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 972BF16A40F for ; Wed, 2 May 2007 15:56:38 +0000 (UTC) (envelope-from 2894_5023_304259199@rtmail.ctinews.com) Received: from edm3.ctinews.com (edm3.ctinews.com [61.63.84.3]) by mx1.freebsd.org (Postfix) with ESMTP id 90C7313C4AE for ; Wed, 2 May 2007 15:56:37 +0000 (UTC) (envelope-from 2894_5023_304259199@rtmail.ctinews.com) Received: from edm3.ctinews.com (edm3.ctinews.com [127.0.0.1]) by edm3.ctinews.com (8.11.6/8.11.6) with ESMTP id l42Bdsn19815 for ; Wed, 2 May 2007 19:39:55 +0800 Date: Wed, 2 May 2007 19:39:55 +0800 Message-ID: <21128766.1178105994302.JavaMail.root@edm3.ctinews.com> From: =?big5?B?pKSuybr0uPQg?= To: =?big5?B?pKSuybr0uPS3fK37IA==?= Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_227323_4951089.1178105973297" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: =?big5?b?tdy6uLRJpcC/y7hguXfByqFBsqK7ZaRXpasg?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:56:38 -0000 ------=_Part_227323_4951089.1178105973297 Content-Transfer-Encoding: 8bit Content-Language: big5 MIME-Version: 1.0 Content-Type: text/plain [edm_r1_c10.gif] ¹q¤l°Ó°È¡G[1]q³ø¡U[2]Áʪ«¡U[3]°Ó«°¡U[4]¶R®Ñ ¥[­ ȪA°È¡G[5]·s»DÀ˯Á¡U[6]§K¶O¼·±µ¡U[7]ªÑ¥«¬Ý½L¡U[8]¸`¶O¹q¸Ü¡U[9]¤ÀÃþ¼s§i [10]µo¦æ¬Fµ¦ [11]Ãö©ó§ÚÌ [12][USEMAP:edm_r2_c1.gif] [edm_r3_c2.gif] [13]µÜº¸´I¥À¿Ë¸`¹wÁÊ¡A²¢»e¤W¥« [14][bg--1.gif] [15][bg--1.gif] ³Ì²¢»eªº¸`¤é¡X¥À¿Ë¸`´Nn¨ìÅo¡I¤µ¦~µÜº¸´I·Ç³Æ¤F20´Ú¸g¨å³J¿|°Ó«~¡AnÅý¨C­ Ó¶ý¶ý¹LÓ²¢»e¡B©¯ºÖªº¥À¿Ë¸`¡C ¤µ¦~«×µÜº¸´I±À¥X20´Ú¦U¦¡¦W®a¸g¨å¥À¿Ë¸`³J¿|¡A¾A¦X¨C­ Ó¤£¦P»Ý¨Dªº«È¼h¡F±qºZ¾Pªº´£©Ô¦ÌĬ¡B¶Â´ËªL³J¿|¨ìºë½o¤â¤uªºÂЬ֤l¨Å¹T¹õ´ µ¡B¯ó²ù¥¬¦C¶ð¥§³J¿|¡B°·±d¨ú¦VªºÄÑ¥]Àu¥ý-ªÛ³Â¹õ´µ³J¿|µ¥¡C¤µ¦~µÜº¸´I§ó°w ¹ï¤p®a®x±À¥X¦h¤J¸ËªºªM¸Ë³J¿|-¥d²ï¨©©Ô ´£©Ô¦ÌĬ¶ê»R¦±¡B¥_®ü¹D¯ÂÂA¨Å³J¿|µ¥«~¶µ¡A¦U¦¡«~ÃþÀ³¦³ºÉ¦³¡C ¦b»ù®æ±a¤è±¡A°w¹ï¤£¦P»Ý¨Dªº®ø¶OªÌ¡A»ù®æ±a±q¥­ »ùªº299¤¸ªº»´¨Å¹T³J¿|¨ì700¤¸°ª¶Qºë½oªº¯ó²ù¥¬¦C¶ð¥§¡A²£«~±¤@À³­ Ñ¥þ¡F¹wºâ¦³­ ªº¾Ç¥Í±Ú¥i¥H¿ï¾Ü¤f·PÃPºø²Ó½oªºªi¤h¹y¬£¡B³ßÅw¤é¦¡¿N?¤lªº®ø¶OªÌ¡A´N¥i¥HÀ |À|¯S®í¤f·Pªº»È®y¤j½à¿N»ñ±ùª´ºÀ¬£¡A«OÃҦեؤ@·s¡C §Y¤é°_¦Ü5¤ë6¤é¡A¨ìµÜº¸´I¥þªù¥«¹wÁÊ¥À¿Ë¸`³J¿|§²°¡A5¤ë11¤é¨ì12¤é´N¥i¥H» ´»´ÃPÃPÅw«×¥À¿Ë¸`Åo¡I ¡°µÜº¸´I¥À¿Ë¸`¹wÁÊ°Ó«~¤@Äýªí NO «~¦W °â»ù ¦v°t»ù ¤¶²Ð 1 ¥d²ï¨©©Ô-ªi¤h¹y¬£ 299 399 ±·³J¿|¤f·PÃPºø²Ó½o¡A·f°t§C¿}ÂA¥¤ªo¡Aªí­ ±Åxº¡°ª¶t¥¤¯»¡A¦¨¬°µ´¨Î¦Ó¯Â²bªº²Õ¦X¡A¨É¨ü²¢ÂIµLt¾á¡C 2 s¶ý-¥_®ü¹D¯ÂÂA¨Å³J¿| 299 420 ÄY¿ï¥_®ü¹D¯ÂÂA¨Å¡B¤gÂû³J¡A³æ¯Âªº¯À®Æ¡A§ó¯àÅã¥Ü¤j®v30¾l¦~ªº¥\¤O¡A¤J¤f§Y ¤Æ¡Bºø±Kªº³J¿|Åé¡A¦õ¥H»¯Â¿@§ªº¼}´µ¡AÅý±z·P¨ü¨ì­ ì¨Ó²³æ¤]¬O¤@ºØ¤£¤Zªº¨É¨ü! 3 ¥d²ï¨©©Ô-´£©Ô¦ÌĬ¶ê»R¦± 299 399 ¸q¤j§Q°êÄ_¯Å²¢ÂI´£©Ô¦ÌĬ¡A¤J¤f§Y¤Æªº¨Å¹T¼}´µ¡A¥[¤W²Ó½oºø±K³J¿|Åé¡A¤f¨ý ¦h¼Ë¤Æ¡C±Ä¥Î³»¯Å¹§÷¡B¥¿²Î°t¤è¡A¯Â¤â¤u»s§@¦Ó¦¨ 4 Bread First-»´¨Å¹T³J¿| 299 398 ¿ï¥Î¶i¤f¨Å¹T°_¥q¤Î¥ú¬uÂA¥¤¡A¥H¤â¤uºë½o¦Ó¦¨¡A¿@§¨Å­ »¤Æ¦b¤f¤¤¡A¥Rº¡©¯ºÖ·P¨ü 5 ±©«Èº¸-Âù¬P¥P¤l¸Á»e³J¿| 380 470 ÄY¿ï³¥¥ÍÀs²´¸Á»e»s¦¨¸Á»e³J¿|¡A½è¦a²Ó¿°³nºø¡AÄÆ´²µÛ¸Á»e¥Ì²¢¦ÛµMªº­ ·¨ý¡C¨R÷¶Â¿}³J¿|½è·Pºø±K²n¤f¡Aµ½¥Î¶Â¿}¯Â¾ë¡B§C²¢«×ªº¯S¦â¡A·¨ý§ó¥[­ »¾J¡C 6 ¤@¤§¶m¶ý«}relax¸Á»e³J¿|§²° 420 510 »¾Jªºì¨ý¸Á»e³J¿|¥Nªí³Ì¿@­ §ªº·P¿E¡A»ñ±ù¡B©@°Ø¸Á»e³J¿|²M·sªº¤f¨ý¤Î§²°¤¤ªºª´ºÀ¤J¯D¾¯¡A«h¬O§Æ±æ¶ý¶ ý¦n¦n»´ÃP¤@¤U~ 7 ¤¤§ø¯MµH¼p©Ð-»È®y¤j½à¿N»ñ±ùª´ºÀ¬£ 480 600 ¥HªF¨Ê»È®y­ ·®æ¡A¤Þ¶i¯S®í¿N?¤l¤uªk¡A§e²{¥X·LµJªº·P¨ü¡A¬£¥Ö¤¤²K¥[³»¯Å¤û¥¤¡A¼W²K¿@­ §¤f·P¡A»P»ñ±ùªG»¬Û©IÀ³¡A¬O¤¤§ø¯MµH¼p©Ð¥Nªí©Ê°Ó«~¡C 8 Le Gout²¢ÂI¤u§{-ª÷¨å¹Ú¤Û¥©§J¤O³J¿| 490 610 ±Ä¥Îªk°êVALRHONA¥©§J¤O»s§@¡A·P¨ü²Ó¿°¡B·Æ·Èªº¤f·P¡AÅý¨äºCºC·»¤Æ¡A±N´¦¾å ³»¯Å¥©§J¤Oºø±K»¿@ªº¶ø¯µ¡AÅý»®ðÄjº©±zªº¨ýÁ¢¡C 9 Le Gout²¢ÂI¤u§{-ÂЬ֤l¨Å¹T¹õ´µ 490 610 ÂЬ֤lªGªd©MÂA¥¤ªo°µ¦¨ªº¼}´µ¡AÂЬ֤lªº»Ä²¢¤£¦ý¤£·|¹L©ó¿@­ §¡A¤Ï¦Ó´²µo¥X²M²nªG»¡A«~À|®É§¹¥þ¤£¿°¤f³á! 10 ²Î¤@¤sÃĨ¡ªd³J¿| 630 750 ÄY¿ï¤j¥Ò¨¡ÀY¡A¯S§O½Õ»s±N­ »¿@ªº¨¡ÀY¤Æ¦¨ºø·Æ¶¶¤fªº¨¡ªdÀ`¡A·f°t¤sÃÄÀ`¡Aªí¼h²O¤Wµµ¥©§J¤O²OÂæ¡A¨Ï¥Î¡ u¤ÑµM®üĦ¿}¡v°§C²¢¿°¡AÅý¬ü¨ý¤£¥´§é¡B°·±d§ó¤É¯Å¡C 11 ²Î¤@¼w¦¡¶Â´ËªL³J¿| 630 750 ¥¿²Î¹D¦aªº¶Â´ËªL³J¿|¡Aºë¿ï¼w°ê¯S»sµL²K¥[¨¾»G¾¯ªº¶ÂÄå®çªGÂæ¤ÎÂA¥¤ªo½Õ©M ¦Ó¦¨³Ì¨Î¤ñ¨Òªº¤f·P¡A»Ä²¢ªºÄå®çÂæ·f°t¿@­ §ªº¥©§J¤O³J¿|§¨¼h¡A¬O³Ì¸g¨åªº²Õ¦X¡A³Ð³y¯MµH·~¬É¿W¯Sªº¶Â´ËªL¤f·P¡C 12 Bread First-ªÛ³Â¼}´µ³J¿| 660 780 §tºû¥L©REªº¶ÂªÛ³Â¡A¬O·R¬üªº¤é¥»¤k©ÊÁé·Rªº¹§÷¤§¤@¡A ¯S®í»¨ýÅý¤HµLªk©Úµ´ 13 §§{-¦t³£®c¬õ¨§³J¿| 680 800 ±Ä¥Î¤é¥»¦t³£®cºë¿ïºñ¯ù¯»¡A·f°tº¡º¡¬õ¨§Áû²Éªº§¨À`¡A¥Ì¾J¯ù»»P¿@­ §¬õ¨§²Õ¦X¡A¤f·Pµ´¨Î 14 §§{-´£©Ô¦ÌĬ 680 800 ºë¿ï¸q¤j§Q¶i¤fMascarpone¨Å¹T¬°¤ºÀ`¡A¨Ã¥H¥dÂP«z©@°Ø²¢°s½Õ¨ý¡A¤W¿ïªº¤Ú¦è ©@°Ø»s¦¨ªº®³ÅK³J¿|¡A¯S®í¿@§ªº·Æ¿°¤f·P¬O¸g¨å¸q¦¡²¢ÂI¡C 15 ±©«Èº¸-¨Èº¸ÂÄ´µ 680 800 »¾íªºªG»»P·L»Äªº¯S¦â»Î±µµÛ¥©§J¤Oªº¿@§§óÅã±o²M²n¡C¹B¥ÎW²¢¥©§J¤O²¢¤¤±a­ Wªº²`«p·¨ý¡AÅý¥©§J¤O¼}´µ§e²{ºø±KÀã¼íªº¤f·P«o¤£²¢¿°¡A¤f·P¦hÅÜ! 16 ´LÀï¤j¶º©±-¥_®ü¹D´I¿@¨Å?³J¿| 680 800 ÄY¿ï¥_®ü¹D»¿@Âù¦â¤û¥¤°_¥q¡A¥[¤W¼u¤ú¤f·Pªº¶Â¿}³Âò­ ¡A¦W¼p¥©«ä¥H¾ï¤l¥Ö²K¥[²M²n­ »®ð¡A©³³¡¥H¤â¤uºë½o«Â¤Æ»æ»P¤û¥¤¿Ä¦X¦¨»æ¥Ö¡A¨C¤@¤f§¡¥O¤Hº¡¨¬ 17 ªk¦¡»¯ó¤d¼h³J¿| 680 800 14¼h¿W¤@µL¤Gªº¦ÛµM¯¾¸ô³J¥Ö»P¬ü¨ý³J¿|ªº·f°t¡A¦õ¥H»¯ó³J¿|·f°t­ »¿@¤ºÀ`¡A¯Â¤â¤u»s§@¡A§e²{¤£¦Pªº¼h¦¸ÅܤƻP¬ü¨ý¤f·P¡A¬°ÂÍÁp¤é¥»¦Ê¤j©ú¬P² ¢«~¡C 18 §§{-µJ¿}©@°Ø»X¥¬®Ô 700 820 ³»¯Å®³ÅK³J¿|·f°tµJ¿}¼}´µ¤Î»¯ó¼}´µªº¤ºÀ`¡A©@°Øªº»»PµJ¿}ªº²¢§e²{¥X¿@­ §»·Æ¤f·P¡A¬O©@°Ø³J¿|³Ì¸g¨å¤§§@¡Aȱo±z²Ó²Ó«~À| 19 ±©«Èº¸-¯ó²ù¥¬¦C¶ð¥§ 700 820 ¥D­ n¥HÂû³J¤û¥¤Á¡»æ»s¦¨¡A¨C¼h³£©Ù¤W·sÂA¯ó²ùªGªd»s¦¨ªº¯ó²ù¥d¤h¹FÂæ¡A¼h¼h°ïÅ |19¼h¡C¦Y°_¨Ó¤f·P»´¬X²Ó½o¡A·Æ¹à²n¤f¡A¥ô½Ö³£©è¾×¤£¦í¥¦»²¢»¤¤Hªº§l¤Þ¤O! 20 §§{-ª÷Æp¿@±¡¥©§J¤O 750 870 ºø±K²Ó½o¥©§J¤O³J¿|¡A§¨¼h¼}´µ¥H¿@­ §W²¢ªº¥©§J¤O½Õ°tªk°ê¶i¤fÂA¥¤ªo»P¥ÕÄõ¦a°s¦Ó¦¨¡A¥~¼h²O¤W¤¦³Á§Þ³N¤Þ¶i¥©§J ¤OÂæ¡A¥æ´¦Ó¦¨·¥½o¸g¨åªº¥©§J¤O·¨ý µÜº¸´I°ê»ÚªÑ¥÷¦³¤½¥q? [16]www.hilife.com.tw ·s»DÁpµ¸¤H??? ¦æ¾P³B??? ³¯°öN? ¡]02¡^25779868#248? 0927-501516?? [spacer.gif] [edm_r3_c2.gif] ¶W in ¦n ±d ±À ÂË [17][20070102tina01.gif] [_arrow1.GIF] [18]¶³ªù»R¶°»RÁбЫǨൣ¦¨ªø°ÝÃD¤j¸Ñ±K ¿ï¥X±z³ÌÃö¤ßªº«Ä¤l¦¨ªø°ÝÃD¡A§Y¥iÀò±o¶³ªù»R¶°»RÁбЫǯS§O ³W¹ºªº¡uÄ_¨©¨Å馨ªøQ&A¡v¡AÁÙ¥i¦C¦L¨àµ£§K¶O»RÁÐÅéÅç¨é³á¡I [19]²{¦b´N¥h¦C¦L¨àµ£§K¶O»RÁÐÅéÅç¨é GO¡÷ [edm_r5_c2.gif] «¢ ¿N °Ó «~ ±À ÂË [20][summer_120120_060705.gif] [_arrow1.GIF] [21]<¦~²×¯S´f¦n§> ¤¤°ê®É³øÀu´f±M®× ¥þÂû¤j¯N½c ¡B ¿¯Å]®v¯uªÅ¿T¿N´£Áç ¡B¹q¤lÁç¡B¯NÄÑ¥]¾÷....µ¥µ¥¡AÅý±z¦n§®³¤£§¹! [22]²{¦b´N¥hÅéÅç¦n±d GO¡÷ [spacer.gif] [spacer.gif] [spacer.gif] ¡D [23]¸g¨å®M®Ñ¡Aµ£¨¥µ£»y--¶Kªñ«Ä¤lªº¥Í¬¡¡I ¡D [24]·m·í 13 »õ¤Hªº²z°]³W¹º®v ¡D [25]q¤u°Ó1¦~´Á°e±z ºqªL¹q¤lÁç¡I ¡D [26]¸¤W±mi»ñ¸¸¹qµøºt°Ûºë¿ï·mÁÊ¡I ¡D [27]¦~²×¤j±½°£¡A²M¼ä¥Î«~À°¦£±z¡I ¡D [28]q®É³ø©P¥Z¡A¦n§¤j¬Û°e¡I ¡D [29]q¾\¤¤°ê®É³ø¦n§¯uªº®³¤£§¹¡I ¡D [30]¤°»ò?!¹Ø¥q³o»ò²³æ´N¥i¥H°µ¥X¨Ó?! ¡D [31]¤j®v¤å¤Æ·³¥½¦^õX¯S§O§¡I ¡D [32]¤û¹y¨t¦CÂO®Ñ¡AÂ×´I±zªºª¾ÃѾǰݡI [33][USEMAP:edm_r13_c2.gif] ¢x[34]¦pªG±z·Qq¾\¤¤®É°Ó°È³ø¡A½ÐÂI¿ï³o¸Ì¢x[35]°hq¢x[36]»P§Ú­ ÌÁpµ¸¡U[37]Áô¨pÅv«OÅ@¡U © Copyright 1995 - [38]China Times Inc. ½Ð´L­ «´¼¼z°]²£Åv¤Å¥ô·NÂà¸ü¹HªÌ¨Ìªk¥²¨s [Response.asp?iEventID=2894&iMailBatchID=5023&iMailID=304259199&sSentD ate=20070502&sSentTime=190101] References Visible links 1. https://www.cshopping.com.tw/index.htm 2. http://chinatimes.obuy.com.tw/ 3. http://mm0018.hi178.com/ 4. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1100648&channel=1 5. http://www.tol.com.tw/ 6. http://free.chinatimes.com/free00/main.html 7. http://vipcmoney888.megatime.com.tw/ 8. http://shop.member.chinatimes.com/telecom/index.aspx 9. http://www.ctcar.com.tw/car/index.htm 10. http://sso.chinatimes.com/sign.aspx 11. http://www.chinatimes.com/about/index.htm 12. LYNXIMGMAP:file://localhost/tmp/tmpyT9Xp9.html#edm_r2_c1Map 13. http://pedm.chinatimes.com/Redirect.asp?iEventID=2894&iMailBatchID=5023&iLinkID=197939&iLinkOrder=1&iMailID=304259199&sSentDate=20070502&sSentTime=190101 14. http://pedm.chinatimes.com/Redirect.asp?iEventID=2894&iMailBatchID=5023&iLinkID=197939&iLinkOrder=1&iMailID=304259199&sSentDate=20070502&sSentTime=190101 15. http://pedm.chinatimes.com/Redirect.asp?iEventID=2894&iMailBatchID=5023&iLinkID=197939&iLinkOrder=1&iMailID=304259199&sSentDate=20070502&sSentTime=190101 16. http://pedm.chinatimes.com/Redirect.asp?iEventID=2894&iMailBatchID=5023&iLinkID=197939&iLinkOrder=1&iMailID=304259199&sSentDate=20070502&sSentTime=190101 17. http://www.cgds.com.tw/form/qna/006/index.html 18. http://www.cgds.com.tw/form/qna/006/index.html 19. http://www.cgds.com.tw/form/qna/006/index.html 20. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1282127&channel=1 21. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1282127&channel=1 22. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1282127&channel=1 23. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/buyproduct2.d2w/report?prrfnbr=1719132&channel=1 24. http://scedna.sce.pccu.edu.tw/webmarketnet/pay/ClassDetail.aspx?WebId=MS&ClassId=0W7195101 25. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/chinatimes/buyproduct2.d2w/report?prrfnbr=1831479&channel=1 26. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category4.d2w/report?g1=1217749&g2=1217750&channel=1 27. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category4.d2w/report?g1=1683001&g2=1711190&channel=1 28. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1100651&channel=1 29. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1282127&channel=1 30. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/buyproduct2.d2w/report?prrfnbr=1718690&channel=1 31. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/buyproduct2.d2w/report?prrfnbr=1824264&channel=1 32. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/buyproduct2.d2w/report?prrfnbr=1697016&channel=1 33. LYNXIMGMAP:file://localhost/tmp/tmpyT9Xp9.html#edm_r13_c1Map 34. http://epaper.chinatimes.com/unsubscribe.htm 35. http://faq.chinatimes.com/news/main.htm 36. http://faq.chinatimes.com/newsletters/message.htm 37. http://sso.chinatimes.com/faq/privacy.htm 38. http://news.chinatimes.com/Chinatimes/html/copyright/0,1153,,00.html Hidden links: 39. file://localhost/tmp/tmpyT9Xp9.html 40. http://pedm.chinatimes.com/Redirect.asp?iEventID=2894&iMailBatchID=5023&iLinkID=197939&iLinkOrder=1&iMailID=304259199&sSentDate=20070502&sSentTime=190101 41. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1742915&channel=1 42. https://www.cshopping.com.tw/cgi-bin/ncommerce3/ExecMacro/cshopping/category3.d2w/report?g1=1742915&channel=1 ------=_Part_227323_4951089.1178105973297-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 15:57:12 2007 Return-Path: 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 A5C6716A400 for ; Wed, 2 May 2007 15:57:12 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 60C5813C44C for ; Wed, 2 May 2007 15:57:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l42Fv7kH032952; Wed, 2 May 2007 11:57:07 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: CQ CQ de Jason Date: Wed, 2 May 2007 11:57:01 -0400 User-Agent: KMail/1.6.2 References: <20070502015353.70E687F150@FreeBSD.csie.nctu.edu.tw> In-Reply-To: <20070502015353.70E687F150@FreeBSD.csie.nctu.edu.tw> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200705021157.04509.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3195/Wed May 2 05:34:51 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-stable@FreeBSD.org Subject: Re: bge watchdog timeout -- resetting problem on recent update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 15:57:12 -0000 On Tuesday 01 May 2007 09:53 pm, CQ CQ de Jason wrote: > Dear Kim, > > >> 2. using latest(2007/04) 7-current source does not have this > >> problem. > > > > That's weird. The only difference between -CURRENT and -STABLE > > is this: > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.di > >ff?r1=1.91.2.21;r2=1.186 > > > > Are you sure it is okay with -CURRENT? > > There is something strange here. The server model is IBM e326m AMD > Opteron. But 6.2 & 7 get the different bge chipset model number. > > 6.2-STABLE > uname -a > FreeBSD ccsun51.cc.ntu.edu.tw 6.2-STABLE-200704 FreeBSD > 6.2-STABLE-200704 #0: Sun Apr 1 08:57:24 UTC 2007 > root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64 > > bge0: mem > 0xe8210000-0xe821ffff,0xe82000 00-0xe820ffff irq 26 at device 4.0 > on pci4 > > 7.0-CURRENT > uname -a > FreeBSD ccsun50.cc.ntu.edu.tw 7.0-CURRENT-200704 FreeBSD > 7.0-CURRENT-200704 #0: Sun Apr 1 12:57:43 UTC 2007 > root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > bge0: 0x8003> mem 0xe 8210000-0xe821ffff,0xe8200000-0xe820ffff irq 26 at > device 4.0 on pci4 miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseTX, 1000baseTX -FDX, auto They are actually the same chipset, i.e., both ASIC's are 0x8003. -STABLE does not have VPD support, so it prints driver built-in model number while -CURRENT prints VPD product information. JK From owner-freebsd-stable@FreeBSD.ORG Wed May 2 16:12:49 2007 Return-Path: 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 6F1F016A400 for ; Wed, 2 May 2007 16:12:49 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5835813C457 for ; Wed, 2 May 2007 16:12:49 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 09:12:49 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CADRVOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050209123889-919 ; Wed, 2 May 2007 09:12:38 -0700 Date: Wed, 2 May 2007 09:12:38 -0700 (PDT) From: KAYVEN RIESE To: Daniel O'Connor In-Reply-To: <200705021458.01813.doconnor@gsoft.com.au> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 09:12:39, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 09:12:48, Serialize complete at 05/02/2007 09:12:48 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 16:12:49 -0000 On Wed, 2 May 2007, Daniel O'Connor wrote: > On Wednesday 02 May 2007 13:11, KAYVEN RIESE wrote: >> gheist: >> You have to install SCSI over ATAPI driver. GENERIC kernel does not >> have one. Only burncd in base system can use acd driver for burning >> CD/DVD, others do use SCSI cd driver > > kldload atapicam will do this > putting > atapicam_load="YES" > in /boot/loader.conf will do it every reboot. >> include GENERIC >> >> ident KAYVEY >> nocpu I486_CPU >> nocpu I586_CPU >> >> options SMP >> device atapicam >> nodevice acd > okay the thing about this is such: he tells me to do this: Then run config NEW_FILE Go into kernel build directory run make cleandepend ; make depend ; make && make install but i don't know what the "kernel build directory" is prolly simple for you guys. i just did the command in the /usr/src/sys/i386/conf directory and it didn't werk. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 16:45:41 2007 Return-Path: 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 F0C8D16A400 for ; Wed, 2 May 2007 16:45:41 +0000 (UTC) (envelope-from djv@iki.fi) Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi [195.197.172.116]) by mx1.freebsd.org (Postfix) with ESMTP id 9ECE813C4DB for ; Wed, 2 May 2007 16:45:41 +0000 (UTC) (envelope-from djv@iki.fi) Received: from [127.0.0.1] (a91-153-147-41.elisa-laajakaista.fi [91.153.147.41]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 446C91391BC for ; Wed, 2 May 2007 19:35:08 +0300 (EEST) Message-ID: <4638BDBC.4070805@iki.fi> Date: Wed, 02 May 2007 19:35:08 +0300 From: Tuomo Latto User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.7.3.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> In-Reply-To: X-Enigmail-Version: 0.92.0.0 X-Rays: Do not expose this message to X-rays. X-Dictionary: Use it to look up more words starting with X. X-Been-There: Done That. Got the T-shirt. X-Spook: Hello to all my Fans in domestic surveillance X-Subliminal-Message: The Corps is Mother, The Corps is Father. X-Jedi-Mindtrick: This isn't the email you are looking for X-Tyler-Durden-says: Make soap. X-Headers: It's what separates us from the animals. Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000737-2, 04/30/2007), Outbound message X-Antivirus-Status: Clean Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 16:45:42 -0000 KAYVEN RIESE wrote: > Then run config NEW_FILE > > Go into kernel build directory run > make cleandepend ; make depend ; make && make install > > but i don't know what the "kernel build directory" is > > prolly simple for you guys. i just did the command > in the > > /usr/src/sys/i386/conf > > directory and it didn't werk. Try these: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html -- Tuomo ... > It certainly is still a made-up word. Unlike all the English words that are found in nature. -- http://thedailywtf.com/Comments/Brevity_Is_Important.aspx?pg=2 From owner-freebsd-stable@FreeBSD.ORG Wed May 2 16:45:42 2007 Return-Path: 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 8B7F016A411 for ; Wed, 2 May 2007 16:45:42 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 105D313C4E5 for ; Wed, 2 May 2007 16:45:41 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ug-out-1314.google.com with SMTP id 71so230785ugh for ; Wed, 02 May 2007 09:45:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=A9r4Y+quqUY9P4mU7qyxHJDm0KnPU18mLPPTrdinbxcRJVBfLnSkYopRnDYAFfKV5QB28Bpj/SF16ugtHd242r6MEHc1TY875729cDTN9fJhSIekRaChtvQKNY/NkJvYgv7r9UQz3Bk2ocNeUvYwCdODKlfb78SZnEVkP+9t+7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=R7u/I6P5bjW8Wv66BuvJlnBmbsE+myCVum5cFrLK0igH1CT1Rn/Q9/vaPou48f8O46rFQbV4YrF9jyquf1REL1R+GvfKEhCPLQ6dt5iCOKjC1Vchkp1UPzeHk+eGe7P0h1CHZXRWMAnmg2JcRgGg/B6S8A+ioKv7sUS9q+TkOa8= Received: by 10.82.120.14 with SMTP id s14mr1784085buc.1178124340787; Wed, 02 May 2007 09:45:40 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id b33sm148235ika.2007.05.02.09.45.30; Wed, 02 May 2007 09:45:37 -0700 (PDT) From: Tom Evans To: Martin Dieringer In-Reply-To: <20070502040125.M860@thinkpad.dieringer.dyndns.org> References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <005901c78c30$63944a10$4b2e3e0a@claylaptop> <20070501230300.S860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-qOX77j+QZ0etW6T+pWg4" Date: Wed, 02 May 2007 17:45:25 +0100 Message-Id: <1178124325.1217.19.camel@zoot.mintel.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: Clayton Milos , freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 16:45:42 -0000 --=-qOX77j+QZ0etW6T+pWg4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-05-02 at 04:04 +0200, Martin Dieringer wrote: >=20 > the hiccups have reappeared, so they are not related to powerd. >=20 > I still have 0.5 seconds time offsets after 10 minutes, on the > thinkpad, without powerd... >=20 > m. I think the two effects (losing time, sound hiccups) are unrelated. I believe that the processor speed changes affect the sound (although it doesn't on my centrino duo), and an old/low charge BIOS battery is causing the time discrepancies. Of course, locating/replacing a BIOS battery may be a bit tricky on a laptop. Cheers Tom --=-qOX77j+QZ0etW6T+pWg4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGOMAhlcRvFfyds/cRApxvAJ99pUFDcsdzM4ubJz/b1f/rHRLTFwCfedQj 1mxp5CAdAjET7NHp+ASTw9I= =Px/b -----END PGP SIGNATURE----- --=-qOX77j+QZ0etW6T+pWg4-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 16:56:16 2007 Return-Path: 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 AE0F716A402 for ; Wed, 2 May 2007 16:56:16 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9650A13C4BC for ; Wed, 2 May 2007 16:56:16 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 09:56:18 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALhfOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050209561541-929 ; Wed, 2 May 2007 09:56:15 -0700 Date: Wed, 2 May 2007 09:56:14 -0700 (PDT) From: KAYVEN RIESE To: Tuomo Latto In-Reply-To: <4638BDBC.4070805@iki.fi> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <4638BDBC.4070805@iki.fi> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 09:56:15, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 09:56:16, Serialize complete at 05/02/2007 09:56:16 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 16:56:16 -0000 On Wed, 2 May 2007, Tuomo Latto wrote: > KAYVEN RIESE wrote: >> Then run config NEW_FILE >> >> Go into kernel build directory run >> make cleandepend ; make depend ; make && make install >> >> but i don't know what the "kernel build directory" is >> >> prolly simple for you guys. i just did the command >> in the >> >> /usr/src/sys/i386/conf >> >> directory and it didn't werk. > > Try these: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > okay. i was there. should "MYKERNEL" be "NEW_FILE?" > > -- > Tuomo > > ... > It certainly is still a made-up word. > Unlike all the English words that are found in nature. > -- http://thedailywtf.com/Comments/Brevity_Is_Important.aspx?pg=2 > > _______________________________________________ > 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-stable@FreeBSD.ORG Wed May 2 16:59:38 2007 Return-Path: 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 BFC5816A402 for ; Wed, 2 May 2007 16:59:38 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id A71B913C459 for ; Wed, 2 May 2007 16:59:38 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 09:59:38 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALhfOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050209593330-930 ; Wed, 2 May 2007 09:59:33 -0700 Date: Wed, 2 May 2007 09:59:33 -0700 (PDT) From: KAYVEN RIESE To: Tuomo Latto In-Reply-To: <4638BDBC.4070805@iki.fi> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <4638BDBC.4070805@iki.fi> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 09:59:33, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 09:59:37, Serialize complete at 05/02/2007 09:59:37 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 16:59:38 -0000 On Wed, 2 May 2007, Tuomo Latto wrote: > KAYVEN RIESE wrote: >> Then run config NEW_FILE >> >> Go into kernel build directory run >> make cleandepend ; make depend ; make && make install >> >> but i don't know what the "kernel build directory" is >> >> prolly simple for you guys. i just did the command >> in the >> >> /usr/src/sys/i386/conf >> >> directory and it didn't werk. > > Try these: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html i don't see any "config NEW_FILE" like statements on these pages.. i see the /usr/src/sys/i386/conf directory.. and i don't see that command he told me to do: make cleandepend ; make depend ; make && make install i see "make buildkernel" and "make installkernel" that makes me very nervous. > > > -- > Tuomo > > ... > It certainly is still a made-up word. > Unlike all the English words that are found in nature. > -- http://thedailywtf.com/Comments/Brevity_Is_Important.aspx?pg=2 > > _______________________________________________ > 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-stable@FreeBSD.ORG Wed May 2 17:26:20 2007 Return-Path: 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 5513C16A400 for ; Wed, 2 May 2007 17:26:20 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 12A9113C4D1 for ; Wed, 2 May 2007 17:26:19 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so214650ana for ; Wed, 02 May 2007 10:26:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=knAWbHLtoWqv/ysj9I6fqu4BIrw268KDMS7vx3YAtdYYYWOcmOFlMWPWrslYBDX1H8fa5oASADyugQ7ahEa2I6gYUARlaan7o5DTW8+0IyKGsBuucS3VcGNtZZEoynp4EWIYnOFCiZiUeeaTjzOKEhoPpqtnOSa+w6WVKWy6pcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JOsE90XXF95Q3qmkI4usHHg8SCkq9K6ghhcAXGbB8LFZoE7yD+qTgFkV7m0Jqk9/rdYVyBFdEnFs9xHzDMqkdTe/1QLBHNROIf2BU+fizmtVjCmIRns5AykGQfEWFmazC2Q6UvxMbIC/UwMI6cIflfvXaH4lq1HNDcyqLxu7IUU= Received: by 10.100.112.19 with SMTP id k19mr674739anc.1178125220739; Wed, 02 May 2007 10:00:20 -0700 (PDT) Received: by 10.100.141.14 with HTTP; Wed, 2 May 2007 10:00:20 -0700 (PDT) Message-ID: <790a9fff0705021000v516f96a3t40853714af5d228a@mail.gmail.com> Date: Wed, 2 May 2007 12:00:20 -0500 From: "Scot Hetzel" To: "KAYVEN RIESE" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 17:26:20 -0000 On 5/2/07, KAYVEN RIESE wrote: > okay i am trying this xine thing.. where do i put > the sysctl dingies? > > > ******************************************************** > * Make sure you've enough shared memory, the xine FAQ * > * advises to have the following sysctl settings: * > * * > * kern.ipc.shmmax=67108864 * > * kern.ipc.shmall=32768 * > * * Place them in /etc/sysctl.conf, and then either re-boot the system or run /etc/rc.d/sysctl start. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 17:34:56 2007 Return-Path: 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 3FC1A16A404 for ; Wed, 2 May 2007 17:34:56 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 0370B13C468 for ; Wed, 2 May 2007 17:34:55 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id B193148BEA5; Wed, 2 May 2007 14:34:53 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 99500-08; Wed, 2 May 2007 14:34:53 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 3E59648A32F; Wed, 2 May 2007 14:34:53 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 4A7A635460; Wed, 2 May 2007 14:34:55 -0300 (ADT) Date: Wed, 02 May 2007 14:34:55 -0300 From: "Marc G. Fournier" To: Adrian Chadd Message-ID: <7F7C3ECEFCC7914576DA2033@ganymede.hub.org> In-Reply-To: References: <366565EAE2F989935287015E@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 17:34:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Wednesday, May 02, 2007 11:00:17 +0800 Adrian Chadd wrote: > It doesn't panic whe it happens, no? Nope ... I can login via ssh (sometimes it takes a try or two, but I can always login) and then do a 'reboot', and all is well again for another 72 hours or so ... > I'd check the number of sockets you've currently got open at that > point. ie: # netstat | egrep "tcp4|udp4" | awk '{print $1}' | uniq -c 171 tcp4 103 udp4 or is there a better command I should be using? > Some applications might be holding open a whole load of sockets > and their buffers stay allocated until they're closed. If they don't > handle/don't get told about the error then they'll just hold open the > mbufs. Is there any way of determining which apps are holding open which sockets? ie. lsof for open files? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOMu/4QvfyHIvDvMRAldVAJ9B4uUUGbON16nWw+dR5QKveyQevACgju4M TtBVUWAqf2PGqHVQxOnRbew= =4/1c -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 17:49:07 2007 Return-Path: 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 9424F16A400 for ; Wed, 2 May 2007 17:49:07 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF1F13C448 for ; Wed, 2 May 2007 17:49:07 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so223192ana for ; Wed, 02 May 2007 10:49:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ATAkiZsfwP57F+T1vrDAlP6a995ueC2PF67WPNR8cEZ6enXFrwS0bFq/bE2wtmci9RSBMlOZLPpzRo7Nbqm2dyl0WoL1JZ3hC98fbD3DgnYkDNi29XipfvHA97KtTDNl/diJCKKzu0TtOoF0V9GBj5K2o//r2+VG6GdI2fRm73E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZwpxBIqxUSEDtJfsS6tZY3dlAXYKYFd5mkJumGLLLDa1qPgXAoqCOvUhtCcBlgbi6HoU43VAtbKw4GrUkPxyA9UGWJ+9VjQS4EWkNvGGERUjHftI7F1i8rsOM822n1GjxlVg1Bp+HpaSP08u65Uj8sj+ADdU0vjwWffwehEFiuM= Received: by 10.100.241.20 with SMTP id o20mr710366anh.1178128141052; Wed, 02 May 2007 10:49:01 -0700 (PDT) Received: by 10.100.141.14 with HTTP; Wed, 2 May 2007 10:49:00 -0700 (PDT) Message-ID: <790a9fff0705021049i72979babya2cf173222dcda20@mail.gmail.com> Date: Wed, 2 May 2007 12:49:00 -0500 From: "Scot Hetzel" To: "KAYVEN RIESE" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <4638BDBC.4070805@iki.fi> Cc: freebsd-stable@freebsd.org, Tuomo Latto Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 17:49:07 -0000 On 5/2/07, KAYVEN RIESE wrote: > On Wed, 2 May 2007, Tuomo Latto wrote: > > > KAYVEN RIESE wrote: > >> Then run config NEW_FILE > >> > >> Go into kernel build directory run > >> make cleandepend ; make depend ; make && make install > >> > >> but i don't know what the "kernel build directory" is > >> > >> prolly simple for you guys. i just did the command > >> in the > >> > >> /usr/src/sys/i386/conf > >> > >> directory and it didn't werk. > > > > Try these: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > > i don't see any "config NEW_FILE" like statements on these pages.. i see > the /usr/src/sys/i386/conf directory.. and i don't see that command he > told me to do: > > make cleandepend ; make depend ; make && make install > > i see "make buildkernel" and "make installkernel" that makes me very > nervous. > Don't be. What the first person advised you on was the old way of compiling a kernel, the new way is to use make buildkernel and make installkernel from /usr/src. Just follow the example in the hand book. On 5/2/07, KAYVEN RIESE wrote: > okay. i was there. should "MYKERNEL" be "NEW_FILE?" > MYKERNEL, NEW_FILE are just the name of the kernel configuration file. cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/KAYVEN vi /usr/src/sys/i386/conf/KAYVEN Change 'ident GENERIC' to 'ident KAYVEN'. This is to identify which kernel your system is running. Add/remove devices, options as needed. cd /usr/src make buildkernel KERNCONF=KAYVEN make installkernel KERNCONF=KAYVEN Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-stable@FreeBSD.ORG Wed May 2 17:49:57 2007 Return-Path: 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 31B1E16A400 for ; Wed, 2 May 2007 17:49:57 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id DCAAF13C4B7 for ; Wed, 2 May 2007 17:49:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 20558 invoked by uid 399); 2 May 2007 17:23:15 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 2 May 2007 17:23:15 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <4638C8FD.3060606@FreeBSD.org> Date: Wed, 02 May 2007 10:23:09 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Martin Dieringer References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502020319.GB6419@SDF.LONESTAR.ORG> <20070502132330.U860@thinkpad.dieringer.dyndns.org> In-Reply-To: <20070502132330.U860@thinkpad.dieringer.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 17:49:57 -0000 Martin Dieringer wrote: > On Wed, 2 May 2007, John Walthall wrote: > >> On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: >>> I think it has to do with powerd, if I kill that, the time stays >>> correct. >> >> With powerd enabled, are you able to maintain a "reasonably" >> correct time with frequent NTP syncronizations? Sorry if it's just >> me, but I am not quite clear about that, from what has been written >> already. > > I would have to update every minute at least and would still be more > than 5 seconds off. I think you misunderstand how ntpd works vs. how ntpdate works. ntpd is a daemon, so you don't run it every minute, it runs in the background and keeps the clock up to date. Assuming that 1.2.3.4 is the IP address of the server you're using for ntpdate, create a file named /etc/ntp.conf that looks like this: server 1.2.3.4 driftfile /var/db/ntp.drift logfile /var/log/ntpd Then make sure you have the following in /etc/rc.conf: ntpdate_enable="yes" ntpdate_flags="-sb 1.2.3.4" ntpd_enable="yes" Turn off all of the power management, and any other service that might be affecting the clock, and then reboot. If your system is able to maintain correct time under these circumstances, start adding things in until you find the culprit and let us know. If you're still having problems, it might be the HZ setting. I upgraded an older box to 6-stable recently and the clock went nuts in spite of having ntpd running. The ntpd process couldn't adjust fast enough. I solved it by putting options HZ=100 in my kernel config file. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Wed May 2 18:02:55 2007 Return-Path: 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 B455616A402; Wed, 2 May 2007 18:02:55 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 78BE713C48C; Wed, 2 May 2007 18:02:55 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id CCD8F1CC0AF; Wed, 2 May 2007 20:02:54 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 42AFFB838; Wed, 2 May 2007 20:02:54 +0200 (CEST) Date: Wed, 2 May 2007 20:02:54 +0200 From: Henrik Brix Andersen To: Doug Barton Message-ID: <20070502180254.GD13603@tirith.brixandersen.dk> Mail-Followup-To: Doug Barton , Martin Dieringer , freebsd-stable@freebsd.org References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502020319.GB6419@SDF.LONESTAR.ORG> <20070502132330.U860@thinkpad.dieringer.dyndns.org> <4638C8FD.3060606@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GPJrCs/72TxItFYR" Content-Disposition: inline In-Reply-To: <4638C8FD.3060606@FreeBSD.org> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org, Martin Dieringer Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 18:02:55 -0000 --GPJrCs/72TxItFYR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 02, 2007 at 10:23:09AM -0700, Doug Barton wrote: [snip /etc/ntp.conf configuration file instructions] > Then make sure you have the following in /etc/rc.conf: >=20 > ntpdate_enable=3D"yes" > ntpdate_flags=3D"-sb 1.2.3.4" > ntpd_enable=3D"yes" Just a side note - according to the ntpdate(8) man page, ntpdate is deprecated and will eventually be removed from the distribution since the same functionality is available in ntpd(8). Thus, all you need to put in /etc/rc.conf is this: ntpd_enable=3D"YES" ntpd_sync_on_start=3D"YES" You still need a properly configured /etc/ntp.conf file. Regards, Brix --=20 Henrik Brix Andersen --GPJrCs/72TxItFYR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFGONJNv+Q4flTiePgRAnF/AJ9HD1jN8NToH9S6bacgw7ExzFfRZwCfdakD h/sdB550UwUOXASa9MQslqc= =Qzlp -----END PGP SIGNATURE----- --GPJrCs/72TxItFYR-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 18:17:03 2007 Return-Path: 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 7ACF816A401 for ; Wed, 2 May 2007 18:17:03 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 5305E13C45D for ; Wed, 2 May 2007 18:17:03 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (581fye6v6kbrabi8@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l42IH2F8025101; Wed, 2 May 2007 11:17:02 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l42IH2Gl025100; Wed, 2 May 2007 11:17:02 -0700 (PDT) (envelope-from jmg) Date: Wed, 2 May 2007 11:17:02 -0700 From: John-Mark Gurney To: "Marc G. Fournier" Message-ID: <20070502181702.GG17958@funkthat.com> Mail-Followup-To: "Marc G. Fournier" , Adrian Chadd , freebsd-stable@freebsd.org References: <366565EAE2F989935287015E@ganymede.hub.org> <7F7C3ECEFCC7914576DA2033@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7F7C3ECEFCC7914576DA2033@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Adrian Chadd , freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 18:17:03 -0000 Marc G. Fournier wrote this message on Wed, May 02, 2007 at 14:34 -0300: > Is there any way of determining which apps are holding open which sockets? ie. > lsof for open files? netstat -A will list the socket address, fstat will list the fd, and what socket it connected to that fd.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-stable@FreeBSD.ORG Wed May 2 18:39:57 2007 Return-Path: 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 376BD16A400 for ; Wed, 2 May 2007 18:39:57 +0000 (UTC) (envelope-from marsgmiro@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by mx1.freebsd.org (Postfix) with ESMTP id EE6D713C44C for ; Wed, 2 May 2007 18:39:56 +0000 (UTC) (envelope-from marsgmiro@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so248930nze for ; Wed, 02 May 2007 11:39:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kJ4jvY220pNUujckmj2Uora8JLxgsfnQNGJ4Uol407cS+2tK8nATLv9Ip3jHb7wHvHsR0ibEhwkn6n9MK70CKUqDt6+AbvjOIVO5P1EJsEO2UO60WBr5yfEzexfgpVJL1v8ThCHG1hGSGxzJA5ckl24gTfhYCjAdj0nhL7lAoxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kY7GyLYfYRzDGxJStaxqocw2QUmC+YjePhK6cKw22rU433f+olOyvzxz/KaB0Thwm/Ab/V3Z95yn1KijZ6jbxjgfxxn0bsMDLKajbyagg8keh4IjPJS3nyOteWs863TfA0WX94gSEXA4z72gXcTjfOeC79YIwz/stKsRN/TmlRY= Received: by 10.114.130.1 with SMTP id c1mr328586wad.1178131195635; Wed, 02 May 2007 11:39:55 -0700 (PDT) Received: by 10.114.59.16 with HTTP; Wed, 2 May 2007 11:39:55 -0700 (PDT) Message-ID: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> Date: Thu, 3 May 2007 02:39:55 +0800 From: "Mars G. Miro" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 18:39:57 -0000 Greetz, I got my hands on a SunFire x4600. This is a dual-core 8-way Opteron (dmesg shows 16 CPUs) w/c has 32G RAM. FreeBSD 6.2/amd64 runs fine on it despite: - 'reboot' doesnt work, machine just hangs in there. - front USB ports wont work for a USB keyboard, just use da ports at da back. I've read a lot of threads in da past (and da BSDCan 2006 paper) regarding mfs on /usr/src and /usr/obj to speed up buildworlds, unfortunately it doesnt seem to improve things. I've tried both a malloc and swap based async non-softupdates mfs (and rebooted da box every after) but my buildworld speeds seem to be just da same as I do it on da MPT SAS disk w/c is just around ~18mins. Yeah, i know there's da tmpfs project but I was just wondering if I may have missed somthing in my mfs adventures. Thanks ;-) cheers mars From owner-freebsd-stable@FreeBSD.ORG Wed May 2 18:51:05 2007 Return-Path: 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 1603516A402 for ; Wed, 2 May 2007 18:51:05 +0000 (UTC) (envelope-from andrej@antiszoc.hu) Received: from mail.webmedia.hu (webmedia.hu [195.70.37.84]) by mx1.freebsd.org (Postfix) with ESMTP id CBB3713C458 for ; Wed, 2 May 2007 18:51:04 +0000 (UTC) (envelope-from andrej@antiszoc.hu) X-Virus-Scanned: amavisd-new at webmedia.hu Received: from [192.168.1.41] (catv-506346c6.catv.broadband.hu [80.99.70.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webmedia.hu (Postfix) with ESMTP id 222D21EDC930 for ; Wed, 2 May 2007 20:51:01 +0200 (CEST) Message-ID: <4638DD94.1020702@antiszoc.hu> Date: Wed, 02 May 2007 20:51:00 +0200 From: =?ISO-8859-1?Q?Andras_G=F3t?= User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: FreeBSD Stable References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> In-Reply-To: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 18:51:05 -0000 Hi, Can you provide some more details about what's not working? Someone may be interested in (at least trying) fixing these bugs. :) Did you try buildworld with -j option? Regards, Andras Mars G. Miro wrote: > Greetz, > > I got my hands on a SunFire x4600. This is a dual-core 8-way > Opteron (dmesg shows 16 CPUs) w/c has 32G RAM. FreeBSD 6.2/amd64 runs > fine on it despite: > - 'reboot' doesnt work, machine just hangs in there. > - front USB ports wont work for a USB keyboard, just use da ports at > da back. > > I've read a lot of threads in da past (and da BSDCan 2006 paper) > regarding mfs on /usr/src and /usr/obj to speed up buildworlds, > unfortunately it doesnt seem to improve things. I've tried both a > malloc and swap based async non-softupdates mfs (and rebooted da box > every after) but my buildworld speeds seem to be just da same as I do > it on da MPT SAS disk w/c is just around ~18mins. > > Yeah, i know there's da tmpfs project but I was just wondering if I > may have missed somthing in my mfs adventures. > > Thanks ;-) > > > cheers > mars > _______________________________________________ > 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-stable@FreeBSD.ORG Wed May 2 19:07:36 2007 Return-Path: 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 9ACB316A403 for ; Wed, 2 May 2007 19:07:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 74D9D13C44C for ; Wed, 2 May 2007 19:07:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6AB191A4D86; Wed, 2 May 2007 12:08:10 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 967C651446; Wed, 2 May 2007 15:07:33 -0400 (EDT) Date: Wed, 2 May 2007 15:07:33 -0400 From: Kris Kennaway To: "Mars G. Miro" Message-ID: <20070502190732.GA42282@xor.obsecurity.org> References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 19:07:36 -0000 On Thu, May 03, 2007 at 02:39:55AM +0800, Mars G. Miro wrote: > Greetz, > > I got my hands on a SunFire x4600. This is a dual-core 8-way > Opteron (dmesg shows 16 CPUs) w/c has 32G RAM. FreeBSD 6.2/amd64 runs > fine on it despite: > - 'reboot' doesnt work, machine just hangs in there. There is a sysctl to specify an alternate reboot method. > - front USB ports wont work for a USB keyboard, just use da ports at da > back. > > I've read a lot of threads in da past (and da BSDCan 2006 paper) > regarding mfs on /usr/src and /usr/obj to speed up buildworlds, > unfortunately it doesnt seem to improve things. I've tried both a > malloc and swap based async non-softupdates mfs (and rebooted da box > every after) but my buildworld speeds seem to be just da same as I do > it on da MPT SAS disk w/c is just around ~18mins. It is probably a combination of issues: 1) There is still some disk access because of accessing things like binaries in /usr. This will hurt more for parallel builds because your disk hardware is single-threaded, so I/O delays will serialize you. If you really wanted you could compare to a build in a md-hosted chroot to completely eliminate the disk, but this is just a game. 2) Buildworld doesn't parallelize well to 16 CPUs. Large parts of it are completely non-parallel. This is probably your main problem. You definitely should be measuring some difference - you need to use time(1) though instead of just estimating. Kris From owner-freebsd-stable@FreeBSD.ORG Wed May 2 19:29:11 2007 Return-Path: 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 8784616A410 for ; Wed, 2 May 2007 19:29:11 +0000 (UTC) (envelope-from marsgmiro@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by mx1.freebsd.org (Postfix) with ESMTP id 2A42B13C4D5 for ; Wed, 2 May 2007 19:29:05 +0000 (UTC) (envelope-from marsgmiro@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so265439nze for ; Wed, 02 May 2007 12:29:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mj23v38viX1Pj6PllyllEW1yUpEVf5UlMtV1TP7HQYGO9cumd8njaDBQ9adScDXZaxKmqztaRp7J5cCD6xwOsYTpKZc7ZcUy3g720StgEALi3ovwsnZ2xruzprTdMZS+T1TAQ24ovoL2THldGGDMzkt8obMo4ac1UzWg5onXyhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RAbycKIj2jQOsY5c9ntRZt3b1cn8oISoMc7UIyJPWCI+X5vTdHFXVu5Yo3h3asKUjrFU0WWnBFAbMAaB80Jum8sd1Ix0xpQPtUpeF8fzORapwvHEKaKyhqOJu7MPze14vsOEEl12EuFi6fg6rfdpcr6X8Js15+GmBdGfP51Qgm8= Received: by 10.114.202.15 with SMTP id z15mr367192waf.1178134145285; Wed, 02 May 2007 12:29:05 -0700 (PDT) Received: by 10.114.59.16 with HTTP; Wed, 2 May 2007 12:29:05 -0700 (PDT) Message-ID: <28edec3c0705021229w50380f5cqf8608c694bbbf267@mail.gmail.com> Date: Thu, 3 May 2007 03:29:05 +0800 From: "Mars G. Miro" To: "Kris Kennaway" In-Reply-To: <20070502190732.GA42282@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> <20070502190732.GA42282@xor.obsecurity.org> Cc: freebsd-stable@freebsd.org Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 19:29:11 -0000 On 5/3/07, Kris Kennaway wrote: > On Thu, May 03, 2007 at 02:39:55AM +0800, Mars G. Miro wrote: > > Greetz, > > > > I got my hands on a SunFire x4600. This is a dual-core 8-way > > Opteron (dmesg shows 16 CPUs) w/c has 32G RAM. FreeBSD 6.2/amd64 runs > > fine on it despite: > > - 'reboot' doesnt work, machine just hangs in there. > > There is a sysctl to specify an alternate reboot method. > > > - front USB ports wont work for a USB keyboard, just use da ports at da > > back. > > > > I've read a lot of threads in da past (and da BSDCan 2006 paper) > > regarding mfs on /usr/src and /usr/obj to speed up buildworlds, > > unfortunately it doesnt seem to improve things. I've tried both a > > malloc and swap based async non-softupdates mfs (and rebooted da box > > every after) but my buildworld speeds seem to be just da same as I do > > it on da MPT SAS disk w/c is just around ~18mins. > > It is probably a combination of issues: > > 1) There is still some disk access because of accessing things like > binaries in /usr. This will hurt more for parallel builds because > your disk hardware is single-threaded, so I/O delays will serialize > you. If you really wanted you could compare to a build in a md-hosted > chroot to completely eliminate the disk, but this is just a game. > > 2) Buildworld doesn't parallelize well to 16 CPUs. Large parts of it > are completely non-parallel. This is probably your main problem. > I guess that might explain it, see more below... > You definitely should be measuring some difference - you need to use > time(1) though instead of just estimating. > I did use time, here: make -j32 buildworld: disk 3229.975u 8981.269s 18:55.21 1075.6% 3804+2164k 19702+6594io 2158pf+0w malloc mfs ( mdmfs -SM -o async,noatime -s 2G md {src, obj} ) 3069.783u 9546.250s 18:57.58 1109.0% 3844+2147k 18504+4422io 2628pf+0w swap mfs ( mdmfs -S -o async,noatime -s 2G md {src, obj} ) 3061.682u 9682.776s 19:08.90 1109.2% 3849+2164k 13732+4402io 2053pf+0w make -j16 buildworld: disk 3218.722u 7855.885s 17:42.26 1042.5% 3833+2267k 16995+6620io 2445pf+0w malloc mfs ( mdmfs -SM -o async,noatime -s 2G md {src, obj} ) 3187.753u 8199.049s 17:57.63 1056.6% 3839+2238k 6890+4436io 2346pf+0w swap mfs ( mdmfs -S -o async,noatime -s 2G md {src, obj} ) 3200.400u 8213.312s 18:06.88 1050.1% 3860+2243k 12800+4397io 2303pf+0w > Kris > Thanks cheers mars From owner-freebsd-stable@FreeBSD.ORG Wed May 2 19:35:33 2007 Return-Path: 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 EA8CD16A404 for ; Wed, 2 May 2007 19:35:33 +0000 (UTC) (envelope-from dom@goodforbusiness.co.uk) Received: from mail.goodforbusiness.co.uk (mail.goodforbusiness.co.uk [81.19.179.90]) by mx1.freebsd.org (Postfix) with ESMTP id B80BF13C46A for ; Wed, 2 May 2007 19:35:33 +0000 (UTC) (envelope-from dom@goodforbusiness.co.uk) Message-ID: <4638E370.5080606@goodforbusiness.co.uk> Date: Wed, 02 May 2007 20:16:00 +0100 From: Dominic Marks MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> In-Reply-To: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 19:35:34 -0000 Mars G. Miro wrote: > Greetz, > > I got my hands on a SunFire x4600. This is a dual-core 8-way > Opteron (dmesg shows 16 CPUs) w/c has 32G RAM. FreeBSD 6.2/amd64 runs > fine on it despite: > - 'reboot' doesnt work, machine just hangs in there. > - front USB ports wont work for a USB keyboard, just use da ports at > da back. > > I've read a lot of threads in da past (and da BSDCan 2006 paper) > regarding mfs on /usr/src and /usr/obj to speed up buildworlds, > unfortunately it doesnt seem to improve things. I've tried both a > malloc and swap based async non-softupdates mfs (and rebooted da box > every after) but my buildworld speeds seem to be just da same as I do > it on da MPT SAS disk w/c is just around ~18mins. When you have 32GB of RAM and 16 CPUs I'm not sure this applies. Is 18 minutes really too long to wait? :-) > Yeah, i know there's da tmpfs project but I was just wondering if I > may have missed somthing in my mfs adventures. > PS. s/da/the/g (please!) Dominic From owner-freebsd-stable@FreeBSD.ORG Wed May 2 19:47:41 2007 Return-Path: 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 F2C6416A402 for ; Wed, 2 May 2007 19:47:41 +0000 (UTC) (envelope-from marsgmiro@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id B113013C44B for ; Wed, 2 May 2007 19:47:41 +0000 (UTC) (envelope-from marsgmiro@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so259873wra for ; Wed, 02 May 2007 12:47:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JD9e4Ziootn8LC/D5NmqJbWzNfscObfAZ3X4naPKmSKllLulJO4YS4a6wDzKrU1W+8HuRow9W9X15vVj2W9PdkLNX3u1QAp8qkv67QK8vVnR66vIR5IF0FcmbtsTRPCTlgUu/OtPGwvpxOLZY0eE/yOrpfbdrPAlbyg1epqa1FM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DmB81EL0BeosIJUcY0fQ4b+GAT7T0zQ87WHMVAqUbT1ncCD8fHUV7IZFA8+nuLSHdYwPr6nJ5pYdPlP/gbepredz5uOvWyx3eeq9oFna3xLDC5SqdKGt934B7xtie0Jz8Tu/iShjPZhMjaZN9SFfUY1CJIIGGNGt+YIuV97vKBk= Received: by 10.115.18.1 with SMTP id v1mr369800wai.1178135260407; Wed, 02 May 2007 12:47:40 -0700 (PDT) Received: by 10.114.59.16 with HTTP; Wed, 2 May 2007 12:47:40 -0700 (PDT) Message-ID: <28edec3c0705021247s84ee50fwe7f70a839bbcb8bc@mail.gmail.com> Date: Thu, 3 May 2007 03:47:40 +0800 From: "Mars G. Miro" To: "Dominic Marks" In-Reply-To: <28edec3c0705021229w50380f5cqf8608c694bbbf267@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> <20070502190732.GA42282@xor.obsecurity.org> <28edec3c0705021229w50380f5cqf8608c694bbbf267@mail.gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 19:47:42 -0000 >> I've read a lot of threads in da past (and da BSDCan 2006 paper) >> regarding mfs on /usr/src and /usr/obj to speed up buildworlds, >> unfortunately it doesnt seem to improve things. I've tried both a >> malloc and swap based async non-softupdates mfs (and rebooted da box >> every after) but my buildworld speeds seem to be just da same as I do >> it on da MPT SAS disk w/c is just around ~18mins. >When you have 32GB of RAM and 16 CPUs I'm not sure this applies. >Is 18 minutes really too long to wait? :-) Actually, it's not about having to finish building da world in da smallest amount of time, it's about whether mfs would really speed things up... I'll try doing some testing on some of da x4100s w/ 8G of RAM here... Thanks ;-) >> Yeah, i know there's da tmpfs project but I was just wondering if I >> may have missed somthing in my mfs adventures. >> >PS. s/da/the/g (please!) >Dominic cheers mars From owner-freebsd-stable@FreeBSD.ORG Wed May 2 20:47:58 2007 Return-Path: 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 6C37B16A402; Wed, 2 May 2007 20:47:58 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 06FA713C46C; Wed, 2 May 2007 20:47:58 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 871FA48BEA5; Wed, 2 May 2007 17:47:54 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 16574-03; Wed, 2 May 2007 17:47:54 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 047F348A332; Wed, 2 May 2007 17:47:54 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id B731236790; Wed, 2 May 2007 17:47:59 -0300 (ADT) Date: Wed, 02 May 2007 17:47:59 -0300 From: "Marc G. Fournier" To: John-Mark Gurney Message-ID: <8D083D1175D331F7E56AB69D@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Adrian Chadd , freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 20:47:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Wednesday, May 02, 2007 11:17:02 -0700 John-Mark Gurney wrote: > netstat -A will list the socket address, fstat will list the fd, and what > socket it connected to that fd.. Oh wow ... according to this, I have: mars# wc -l /tmp/output 11238 /tmp/output (minus some header lines) sockets running righ tnow ... okay, next question ... under 'Active UNIX domain sockets, I see alot that have no Addr: Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr d06b7480 stream 0 0 0 c969b240 0 0 private/proxymap c969b240 stream 0 0 0 d06b7480 0 0 ce6fc870 stream 0 0 0 cf744870 0 0 private/rewrite cf744870 stream 0 0 0 ce6fc870 0 0 ce4b2630 stream 0 0 0 d0cee900 0 0 private/proxymap d0cee900 stream 0 0 0 ce4b2630 0 0 d0437240 stream 0 0 0 cf716000 0 0 private/proxymap cf716000 stream 0 0 0 d0437240 0 0 c94f4990 stream 0 0 0 cee6ed80 0 0 private/rewrite cee6ed80 stream 0 0 0 c94f4990 0 0 d0cefcf0 stream 0 0 0 cb281a20 0 0 private/rewrite cb281a20 stream 0 0 0 d0cefcf0 0 0 ce0d5240 stream 0 0 0 cb251480 0 0 private/anvil Now, the 'Conn' field from the previous line matches the 'Address' line of the 'blank Addr' ... so there are two sockets for each Addr? in vs out? To give reference point ... mars above has 91 jail'd environments running on it, its been up 2days, 9hrs now, and has 11k sockets in use ... Hrmmm ... just checked jupiter, and she has 32 jail with 1080 sockets ... venus has 62 jail with 2819 sockets ... and pluto has 35 jails with 1818 sockets ... mars is running on average 2x the number of sockets per jail then the other servers ... Is this normal? mars# grep d067f900 /tmp/output d067f900 stream 0 0 0 cafd4c60 0 0 cafd4c60 stream 0 0 0 d067f900 0 0 There is no 'Addr' related to either of them? I can scroll down pages and pages of those types of entries, that don't have any Addr field associated with them ... > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > 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" - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOPj/4QvfyHIvDvMRAsbFAKDRrAE4QazlJ1iQM6lLOULBwdNSygCfV2r2 AeY8lpmf0E+Av1zmAGijo+g= =zDXV -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 21:25:02 2007 Return-Path: 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 1D37C16A404 for ; Wed, 2 May 2007 21:25:02 +0000 (UTC) (envelope-from pvh@wfeet.za.net) Received: from ctb-mesg8.saix.net (ctb-mesg8.saix.net [196.25.240.78]) by mx1.freebsd.org (Postfix) with ESMTP id AF11E13C45D for ; Wed, 2 May 2007 21:24:59 +0000 (UTC) (envelope-from pvh@wfeet.za.net) Received: from leftside.wfeet.za.net (dsl-241-51-150.telkomadsl.co.za [41.241.51.150]) by ctb-mesg8.saix.net (Postfix) with ESMTP id F1DAD27BB for ; Wed, 2 May 2007 22:23:54 +0200 (SAST) Received: from leftside.wfeet.za.net (localhost [127.0.0.1]) by leftside.wfeet.za.net (Postfix) with ESMTP id CC9ED3015A for ; Wed, 2 May 2007 22:23:44 +0200 (SAST) X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on leftside.wfeet.za.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 Received: from [192.168.0.1] (blackstar.wfeet.za.net [192.168.0.1]) by leftside.wfeet.za.net (Postfix) with ESMTP id 9BBCA30157 for ; Wed, 2 May 2007 22:23:44 +0200 (SAST) Message-ID: <4638F350.8090001@wfeet.za.net> Date: Wed, 02 May 2007 22:23:44 +0200 From: Peter van Heusden User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (leftside.wfeet.za.net [0.0.0.0]); Wed, 02 May 2007 22:23:44 +0200 (SAST) Subject: cups + usb + FreeBSD 6-STABLE + tcgetattr() lockup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 21:25:02 -0000 Hi. I've got a HP LaserJet 1010 attached to my FreeBSD 6.2 machine via usb, on /dev/ulpt0. I recently upgraded CUPS, and after fixing the permissions issues on /dev/ulpt0, I found that when I printed the usb backend would just "hang", which turned out to be a block on tcgetattr() on the ulpt0. The code in question is: START CODE /* * Set any options provided... */ tcgetattr(device_fd, &opts); opts.c_lflag &= ~(ICANON | ECHO | ISIG); /* Raw mode */ /**** No options supported yet ****/ tcsetattr(device_fd, TCSANOW, &opts); END CODE As I see this, the code is switching the line discipline to raw on the ulpt0 device. In any event, why is tcgetattr() blocking? One solution could be to conditionally (on FreeBSD) only do a tcsetattr(). I don't want to make any suggestions to the CUPS people without first checking out what the "right" way to do this on FreeBSD is, though. (The workaround, by the way, is to set the permissions on /dev/ulpt0 so that it is write-only for user cups - then CUPS opens the device write-only and the block doesn't happen). Peter From owner-freebsd-stable@FreeBSD.ORG Wed May 2 21:45:47 2007 Return-Path: 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 504C116A407; Wed, 2 May 2007 21:45:47 +0000 (UTC) (envelope-from SRS0=5471fe43b59d11a02633384c5ae3281cf1c79984=323=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id 300CF13C480; Wed, 2 May 2007 21:45:47 +0000 (UTC) (envelope-from SRS0=5471fe43b59d11a02633384c5ae3281cf1c79984=323=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id HAG69538; Wed, 02 May 2007 14:30:38 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7509E45042; Wed, 2 May 2007 14:30:38 -0700 (PDT) To: Henrik Brix Andersen In-Reply-To: Your message of "Wed, 02 May 2007 20:02:54 +0200." <20070502180254.GD13603@tirith.brixandersen.dk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1178141438_18150P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 02 May 2007 14:30:38 -0700 From: "Kevin Oberman" Message-Id: <20070502213038.7509E45042@ptavv.es.net> Cc: Doug Barton , freebsd-stable@freebsd.org, Martin Dieringer Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 21:45:47 -0000 --==_Exmh_1178141438_18150P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Wed, 2 May 2007 20:02:54 +0200 > From: Henrik Brix Andersen > Sender: owner-freebsd-stable@freebsd.org > > On Wed, May 02, 2007 at 10:23:09AM -0700, Doug Barton wrote: > [snip /etc/ntp.conf configuration file instructions] > > Then make sure you have the following in /etc/rc.conf: > > > > ntpdate_enable="yes" > > ntpdate_flags="-sb 1.2.3.4" > > ntpd_enable="yes" > > Just a side note - according to the ntpdate(8) man page, ntpdate is > deprecated and will eventually be removed from the distribution since > the same functionality is available in ntpd(8). > > Thus, all you need to put in /etc/rc.conf is this: > > ntpd_enable="YES" > ntpd_sync_on_start="YES" > > You still need a properly configured /etc/ntp.conf file. A few more comments: If ntpd is started with the '-g' flag, it will initially step the time so you get your clock set as you would have with ntpdate. This is set in /etc/rc.conf as 'ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift -g". You also should add 'iburst' to each server line in ntp.conf. This will cause several queries to be made to each server at startup so that there will not be a long delay before the clock is synchronized. Without the 'iburst', your time won't be set for about 4or 5 minutes. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1178141438_18150P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFGOQL+kn3rs5h7N1ERAj2uAJ98gRkEfo2DP3gNa/4oX6+eZaieLgCglXXJ F/OHUkZR2Ffz70LxrnRhtak= =UZzc -----END PGP SIGNATURE----- --==_Exmh_1178141438_18150P-- From owner-freebsd-stable@FreeBSD.ORG Wed May 2 22:03:30 2007 Return-Path: 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 C826D16A410 for ; Wed, 2 May 2007 22:03:30 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B597D13C44C for ; Wed, 2 May 2007 22:03:30 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D6AD91A4D89; Wed, 2 May 2007 15:04:04 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0461651387; Wed, 2 May 2007 18:03:29 -0400 (EDT) Date: Wed, 2 May 2007 18:03:29 -0400 From: Kris Kennaway To: "Mars G. Miro" Message-ID: <20070502220329.GA44785@xor.obsecurity.org> References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> <20070502190732.GA42282@xor.obsecurity.org> <28edec3c0705021229w50380f5cqf8608c694bbbf267@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28edec3c0705021229w50380f5cqf8608c694bbbf267@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 22:03:30 -0000 On Thu, May 03, 2007 at 03:29:05AM +0800, Mars G. Miro wrote: > >You definitely should be measuring some difference - you need to use > >time(1) though instead of just estimating. > > > > I did use time, here: > > make -j32 buildworld: > disk > 3229.975u 8981.269s 18:55.21 1075.6% 3804+2164k 19702+6594io 2158pf+0w > > malloc mfs ( mdmfs -SM -o async,noatime -s 2G md {src, obj} ) > 3069.783u 9546.250s 18:57.58 1109.0% 3844+2147k 18504+4422io 2628pf+0w > > swap mfs ( mdmfs -S -o async,noatime -s 2G md {src, obj} ) > 3061.682u 9682.776s 19:08.90 1109.2% 3849+2164k 13732+4402io 2053pf+0w > > make -j16 buildworld: > disk > 3218.722u 7855.885s 17:42.26 1042.5% 3833+2267k 16995+6620io 2445pf+0w > > malloc mfs ( mdmfs -SM -o async,noatime -s 2G md {src, obj} ) > 3187.753u 8199.049s 17:57.63 1056.6% 3839+2238k 6890+4436io 2346pf+0w > > swap mfs ( mdmfs -S -o async,noatime -s 2G md {src, obj} ) > 3200.400u 8213.312s 18:06.88 1050.1% 3860+2243k 12800+4397io 2303pf+0w Yeah, looks to me like you're not using your CPUs at 100% capacity (because buildworld doesn't parallelize well to 16 CPUs), so you're neither I/O bound nor CPU-bound on average. With a more I/O-bound test (e.g. maybe just a parallel kernel build) you should see a clear win from using a md. Kris From owner-freebsd-stable@FreeBSD.ORG Wed May 2 23:11:05 2007 Return-Path: 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 C438A16A409 for ; Wed, 2 May 2007 23:11:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by mx1.freebsd.org (Postfix) with ESMTP id 89C9813C45E for ; Wed, 2 May 2007 23:11:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (sccrmhc14) with ESMTP id <200705022310420140025bece>; Wed, 2 May 2007 23:10:42 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 230941FA01D; Wed, 2 May 2007 16:10:42 -0700 (PDT) Date: Wed, 2 May 2007 16:10:42 -0700 From: Jeremy Chadwick To: Kevin Oberman Message-ID: <20070502231042.GA88018@icarus.home.lan> Mail-Followup-To: Kevin Oberman , Henrik Brix Andersen , Doug Barton , freebsd-stable@freebsd.org, Martin Dieringer References: <20070502180254.GD13603@tirith.brixandersen.dk> <20070502213038.7509E45042@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070502213038.7509E45042@ptavv.es.net> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Doug Barton , freebsd-stable@freebsd.org, Martin Dieringer , Henrik Brix Andersen Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 23:11:05 -0000 On Wed, May 02, 2007 at 02:30:38PM -0700, Kevin Oberman wrote: > A few more comments: > > If ntpd is started with the '-g' flag, it will initially step the time > so you get your clock set as you would have with ntpdate. This is set in > /etc/rc.conf as 'ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift -g". > > You also should add 'iburst' to each server line in ntp.conf. This will > cause several queries to be made to each server at startup so that > there will not be a long delay before the clock is synchronized. Without > the 'iburst', your time won't be set for about 4or 5 minutes. I'll include the ntp.conf configuration we use, as well relevant rc.conf portions, on a few of our production machines. There are some "FreeBSD-isms" in ntp.conf which are worth noting. I keep the comments around solely so I don't forget. :-) ntp.conf: # clock.isc.org # clepsydra.dec.com # # maxpoll 9 is used to work around PLL/FLL flipping, which # happens at exactly 1024 seconds (the default maxpoll value). # Another FreeBSD member recommended using 9 instead. # http://lists.freebsd.org/pipermail/freebsd-stable/2006-December/031512.html # server 204.152.184.72 iburst maxpoll 9 server 204.123.2.5 maxpoll 9 # Default: ignore all ntp queries from ALL other hosts restrict default ignore # Allow queries to/from the NTP hosts listed in "server" lines restrict 216.218.192.202 mask 255.255.255.255 restrict 216.218.254.202 mask 255.255.255.255 restrict 204.152.184.72 mask 255.255.255.255 restrict 204.123.2.5 mask 255.255.255.255 # Allow queries to/from localhost, used for ntpdc and other utils restrict 127.0.0.0 mask 255.0.0.0 # Allow queries to/from the local private network restrict 192.168.1.0 mask 255.255.255.0 nomodify rc.conf: ntpd_enable="yes" ntpd_sync_on_start="yes" Applicable process: root 652 0.0 0.1 3148 1564 ?? Ss 22Apr07 0:16.13 /usr/sbin/ntpd -g -p /var/run/ntpd.pid -f /var/db/ntpd.drift -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu May 3 00:35:47 2007 Return-Path: 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 6AA6B16A402 for ; Thu, 3 May 2007 00:35:47 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D305413C459 for ; Thu, 3 May 2007 00:35:46 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 03 May 2007 00:35:45 -0000 Received: from c-134-227-159.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.227.159] by mail.gmx.net (mp031) with SMTP; 03 May 2007 02:35:45 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX1/eYAoodC7ecI/hZorfirpNkVNeyz9OyK0sQ8x5BQ YU9iMxvOcWIeZm Received: (qmail 2055 invoked by uid 1001); 3 May 2007 00:35:40 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 May 2007 00:35:40 -0000 Date: Thu, 3 May 2007 02:35:40 +0200 (CEST) From: Martin Dieringer To: Doug Barton In-Reply-To: <4638C8FD.3060606@FreeBSD.org> Message-ID: <20070503022338.P839@thinkpad.dieringer.dyndns.org> References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502020319.GB6419@SDF.LONESTAR.ORG> <20070502132330.U860@thinkpad.dieringer.dyndns.org> <4638C8FD.3060606@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 00:35:47 -0000 On Wed, 2 May 2007, Doug Barton wrote: > Martin Dieringer wrote: > >> On Wed, 2 May 2007, John Walthall wrote: >> >>> On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: >>>> I think it has to do with powerd, if I kill that, the time stays correct. >>> >>> With powerd enabled, are you able to maintain a "reasonably" >>> correct time with frequent NTP syncronizations? Sorry if it's just >>> me, but I am not quite clear about that, from what has been written >>> already. >> >> I would have to update every minute at least and would still be more >> than 5 seconds off. > > I think you misunderstand how ntpd works vs. how ntpdate works. > ntpd is a daemon, so you don't run it every minute, it runs in the > background and keeps the clock up to date. > Turn off all of the power management, and any other service that > might be affecting the clock, and then reboot. If your system is > able to maintain correct time under these circumstances, start > adding things in until you find the culprit and let us know. both laptops can keep the time without powerd. apm is enabled, but not acpi. as soon as I start powerd or change cpu speed, time gets a few seconds off. It doesn't matter whether I use ntpd or ntpdate. (ntpdate at system startup makes no sense as I have to dialup first). m. From owner-freebsd-stable@FreeBSD.ORG Thu May 3 01:05:12 2007 Return-Path: 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 91B4616A401 for ; Thu, 3 May 2007 01:05:12 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 30E5F13C457 for ; Thu, 3 May 2007 01:05:11 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.61]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l431599U087267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 May 2007 10:35:10 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: KAYVEN RIESE Date: Thu, 3 May 2007 10:34:58 +0930 User-Agent: KMail/1.9.5 References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1580935.8MAQElfLqQ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705031035.06643.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 01:05:12 -0000 --nextPart1580935.8MAQElfLqQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 03 May 2007 00:50, KAYVEN RIESE wrote: > okay i am trying this xine thing.. where do i put > the sysctl dingies? You can put them in /etc/sysctl.conf They probably aren't needed.. However you only need xine for PLAYING a DVD. PS please trim your posts. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1580935.8MAQElfLqQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGOTVC5ZPcIHs/zowRAvOKAJ9SGpmfxlU9r0kLerzyvGB1/x3jIQCbBHZ/ PmFJGTGvAgA/jaXXkoxlzwk= =R6q8 -----END PGP SIGNATURE----- --nextPart1580935.8MAQElfLqQ-- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 01:08:09 2007 Return-Path: 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 66B3E16A401 for ; Thu, 3 May 2007 01:08:09 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id CB52813C465 for ; Thu, 3 May 2007 01:08:08 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.61]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l431869D087397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 May 2007 10:38:07 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: KAYVEN RIESE Date: Thu, 3 May 2007 10:38:03 +0930 User-Agent: KMail/1.9.5 References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2029444.zydFOzcZGO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705031038.05016.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 01:08:09 -0000 --nextPart2029444.zydFOzcZGO Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 03 May 2007 00:54, KAYVEN RIESE wrote: > the actual current goal is to use freeBSD to burn a DVD > of the show 24 to watch on my new liteon dvd player. > i have had sporatic success on using files from my > puters to view on the thing. it is supposed to be > able to do a lot of different things. it can view > jpegs. i haven't even burned a dvd data disk on freeBSD > yet. some of the disks i have burned on an XP puter > (that i do not have access to right now) using a sonic > burner application have werked, and some haven't. Authoring DVDs is more difficult, I haven't actually done it myself=20 except to copy existing ones (I used k9copy). Personally I'd just go out an buy a DVD player that plays DivX and/or=20 Xvid and view the eps directly.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2029444.zydFOzcZGO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGOTX05ZPcIHs/zowRAp4CAKCeo2//1Z8WMeF4DXWMEF/jE8m04gCgm/q+ faJ6nPVy+8RiA+MfDoYZWSY= =fcKz -----END PGP SIGNATURE----- --nextPart2029444.zydFOzcZGO-- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 01:09:56 2007 Return-Path: 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 0B81E16A404 for ; Thu, 3 May 2007 01:09:56 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id E7A7A13C458 for ; Thu, 3 May 2007 01:09:55 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 18:09:55 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJDSOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050218091745-993 ; Wed, 2 May 2007 18:09:17 -0700 Date: Wed, 2 May 2007 18:09:17 -0700 (PDT) From: KAYVEN RIESE To: Daniel O'Connor In-Reply-To: <200705031035.06643.doconnor@gsoft.com.au> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <200705031035.06643.doconnor@gsoft.com.au> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 18:09:17, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 18:09:54, Serialize complete at 05/02/2007 18:09:54 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 01:09:56 -0000 On Thu, 3 May 2007, Daniel O'Connor wrote: > On Thursday 03 May 2007 00:50, KAYVEN RIESE wrote: >> okay i am trying this xine thing.. where do i put >> the sysctl dingies? > > You can put them in /etc/sysctl.conf > > They probably aren't needed.. > > However you only need xine for PLAYING a DVD. i gathered that. wanna help me fix my sound? > > PS please trim your posts. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > From owner-freebsd-stable@FreeBSD.ORG Thu May 3 01:11:10 2007 Return-Path: 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 226E316A403 for ; Thu, 3 May 2007 01:11:10 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0A77913C455 for ; Thu, 3 May 2007 01:11:10 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 18:11:10 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALzTOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050218110782-994 ; Wed, 2 May 2007 18:11:07 -0700 Date: Wed, 2 May 2007 18:11:08 -0700 (PDT) From: KAYVEN RIESE To: Daniel O'Connor In-Reply-To: <200705031038.05016.doconnor@gsoft.com.au> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <200705031038.05016.doconnor@gsoft.com.au> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 18:11:08, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 18:11:09, Serialize complete at 05/02/2007 18:11:09 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 01:11:10 -0000 On Thu, 3 May 2007, Daniel O'Connor wrote: > On Thursday 03 May 2007 00:54, KAYVEN RIESE wrote: >> the actual current goal is to use freeBSD to burn a DVD >> of the show 24 to watch on my new liteon dvd player. >> i have had sporatic success on using files from my >> puters to view on the thing. it is supposed to be >> able to do a lot of different things. it can view >> jpegs. i haven't even burned a dvd data disk on freeBSD >> yet. some of the disks i have burned on an XP puter >> (that i do not have access to right now) using a sonic >> burner application have werked, and some haven't. > > Authoring DVDs is more difficult, I haven't actually done it myself > except to copy existing ones (I used k9copy). Some of the stuff i have burned has werked on my LiteON dvd player. i even watched CD's on it. I just want to see if i can get the dang thing to burn a dvd werst case so i can back up more than 655MB at a pop. > > Personally I'd just go out an buy a DVD player that plays DivX and/or > Xvid and view the eps directly.. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > From owner-freebsd-stable@FreeBSD.ORG Thu May 3 01:14:27 2007 Return-Path: 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 063E616A400 for ; Thu, 3 May 2007 01:14:27 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron1.sfsu.edu (iron1.sfsu.edu [130.212.10.35]) by mx1.freebsd.org (Postfix) with ESMTP id DE35D13C455 for ; Thu, 3 May 2007 01:14:26 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron1.sfsu.edu with ESMTP; 02 May 2007 18:14:26 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CADTUOEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050218142437-996 ; Wed, 2 May 2007 18:14:24 -0700 Date: Wed, 2 May 2007 18:14:25 -0700 (PDT) From: KAYVEN RIESE To: Scot Hetzel In-Reply-To: <790a9fff0705021049i72979babya2cf173222dcda20@mail.gmail.com> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <4638BDBC.4070805@iki.fi> <790a9fff0705021049i72979babya2cf173222dcda20@mail.gmail.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 18:14:24, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 18:14:25, Serialize complete at 05/02/2007 18:14:25 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Tuomo Latto , freebsd-stable@freebsd.org Subject: Re: install SCSI over ATAPI for DVD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 01:14:27 -0000 On Wed, 2 May 2007, Scot Hetzel wrote: > On 5/2/07, KAYVEN RIESE wrote: >> On Wed, 2 May 2007, Tuomo Latto wrote: >> > KAYVEN RIESE wrote: >> > On 5/2/07, KAYVEN RIESE wrote: >> okay. i was there. should "MYKERNEL" be "NEW_FILE?" >> > MYKERNEL, NEW_FILE are just the name of the kernel configuration file. > > cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/KAYVEN > vi /usr/src/sys/i386/conf/KAYVEN > > Change 'ident GENERIC' to 'ident KAYVEN'. This is to identify which > kernel your system is running. > Add/remove devices, options as needed. > > cd /usr/src > make buildkernel KERNCONF=KAYVEN > make installkernel KERNCONF=KAYVEN maybe i should call it something like "KAYVE_KERN" to be more usefully named? > > Scot > -- > DISCLAIMER: > No electrons were mamed while sending this message. Only slightly bruised. > _______________________________________________ > 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-stable@FreeBSD.ORG Thu May 3 03:14:30 2007 Return-Path: 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 1AC8B16A403; Thu, 3 May 2007 03:14:30 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 8412213C43E; Thu, 3 May 2007 03:14:29 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id A7ED448A325; Thu, 3 May 2007 00:14:28 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 37513-02; Thu, 3 May 2007 00:14:28 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 9C26848A322; Thu, 3 May 2007 00:14:27 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 08E8D5F068; Thu, 3 May 2007 00:14:27 -0300 (ADT) Date: Thu, 03 May 2007 00:14:26 -0300 From: "Marc G. Fournier" To: "Marc G. Fournier" , John-Mark Gurney Message-ID: <0D207188B97F03025F3CB4FB@ganymede.hub.org> In-Reply-To: <8D083D1175D331F7E56AB69D@ganymede.hub.org> References: <8D083D1175D331F7E56AB69D@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Adrian Chadd , freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 03:14:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 'k, I just rebooted the server (messages started again), and netstat -A is showing 3600 sockets open ... based on jupiter/pluto/venus numbers, this is what I'd expect to see (~1000 sockets per 30 jails) ... so, over the course of hte next 2 days, I expect that that will grow to the 11k+ that I saw when I rebooted, with most of those apparently not attached to an 'Addr' ... - --On Wednesday, May 02, 2007 17:47:59 -0300 "Marc G. Fournier" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > - --On Wednesday, May 02, 2007 11:17:02 -0700 John-Mark Gurney > wrote: > > >> netstat -A will list the socket address, fstat will list the fd, and what >> socket it connected to that fd.. > > Oh wow ... according to this, I have: > > mars# wc -l /tmp/output > 11238 /tmp/output > > (minus some header lines) sockets running righ tnow ... > > okay, next question ... under 'Active UNIX domain sockets, I see alot that > have no Addr: > > Active UNIX domain sockets > Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr > d06b7480 stream 0 0 0 c969b240 0 0 > private/proxymap > c969b240 stream 0 0 0 d06b7480 0 0 > ce6fc870 stream 0 0 0 cf744870 0 0 > private/rewrite > cf744870 stream 0 0 0 ce6fc870 0 0 > ce4b2630 stream 0 0 0 d0cee900 0 0 > private/proxymap > d0cee900 stream 0 0 0 ce4b2630 0 0 > d0437240 stream 0 0 0 cf716000 0 0 > private/proxymap > cf716000 stream 0 0 0 d0437240 0 0 > c94f4990 stream 0 0 0 cee6ed80 0 0 > private/rewrite > cee6ed80 stream 0 0 0 c94f4990 0 0 > d0cefcf0 stream 0 0 0 cb281a20 0 0 > private/rewrite > cb281a20 stream 0 0 0 d0cefcf0 0 0 > ce0d5240 stream 0 0 0 cb251480 0 0 > private/anvil > > Now, the 'Conn' field from the previous line matches the 'Address' line of > the 'blank Addr' ... so there are two sockets for each Addr? in vs out? > > To give reference point ... mars above has 91 jail'd environments running on > it, its been up 2days, 9hrs now, and has 11k sockets in use ... > > Hrmmm ... just checked jupiter, and she has 32 jail with 1080 sockets ... > venus has 62 > jail with 2819 sockets ... and pluto has 35 jails with 1818 sockets ... > > mars is running on average 2x the number of sockets per jail then the other > servers ... > > Is this normal? > > mars# grep d067f900 /tmp/output > d067f900 stream 0 0 0 cafd4c60 0 0 > cafd4c60 stream 0 0 0 d067f900 0 0 > > There is no 'Addr' related to either of them? I can scroll down pages and > pages of those types of entries, that don't have any Addr field associated > with them ... > > > >> >> -- >> John-Mark Gurney Voice: +1 415 225 5579 >> >> "All that I will do, has been done, All that I have, has not." >> _______________________________________________ >> 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" > > > > - ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (FreeBSD) > > iD8DBQFGOPj/4QvfyHIvDvMRAsbFAKDRrAE4QazlJ1iQM6lLOULBwdNSygCfV2r2 > AeY8lpmf0E+Av1zmAGijo+g= > =zDXV > -----END PGP SIGNATURE----- > > _______________________________________________ > 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" - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOVOS4QvfyHIvDvMRAv1RAJwIU84/Mh+8fdJVuyScsljFDSQB1QCg11Qe C6U/KSqScqYTHUhEM1dLXQM= =mzYI -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 03:53:34 2007 Return-Path: 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 A4AD816A401 for ; Thu, 3 May 2007 03:53:34 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8BAE913C465 for ; Thu, 3 May 2007 03:53:34 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 02 May 2007 20:53:35 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CADz5OEaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007050220533142-1012 ; Wed, 2 May 2007 20:53:31 -0700 Date: Wed, 2 May 2007 20:53:31 -0700 (PDT) From: KAYVEN RIESE cc: freeBSD bugs mailing list In-Reply-To: <790a9fff0705021049i72979babya2cf173222dcda20@mail.gmail.com> Message-ID: References: <20070501204548.L860@thinkpad.dieringer.dyndns.org> <20070502040125.M860@thinkpad.dieringer.dyndns.org> <200705021458.01813.doconnor@gsoft.com.au> <4638BDBC.4070805@iki.fi> <790a9fff0705021049i72979babya2cf173222dcda20@mail.gmail.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/02/2007 20:53:31, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/02/2007 20:53:33, Serialize complete at 05/02/2007 20:53:33 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: can't build Stop in /usr/ports/x11-toolkits/gtk20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 03:53:34 -0000 i was trying to install mplayer and this happened From owner-freebsd-stable@FreeBSD.ORG Thu May 3 05:24:03 2007 Return-Path: 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 1A01116A403 for ; Thu, 3 May 2007 05:24:03 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 45EC113C458 for ; Thu, 3 May 2007 05:24:00 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id PAA11128; Thu, 3 May 2007 15:23:54 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 3 May 2007 15:23:53 +1000 (EST) From: Ian Smith To: Martin Dieringer In-Reply-To: <20070503022338.P839@thinkpad.dieringer.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Doug Barton , freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 05:24:03 -0000 On Thu, 3 May 2007, Martin Dieringer wrote: > On Wed, 2 May 2007, Doug Barton wrote: > > > Martin Dieringer wrote: > > > >> On Wed, 2 May 2007, John Walthall wrote: > >> > >>> On Tue, May 01, 2007 at 08:50:10PM +0200, Martin Dieringer wrote: > >>>> I think it has to do with powerd, if I kill that, the time stays correct. > >>> > >>> With powerd enabled, are you able to maintain a "reasonably" > >>> correct time with frequent NTP syncronizations? Sorry if it's just > >>> me, but I am not quite clear about that, from what has been written > >>> already. > >> > >> I would have to update every minute at least and would still be more > >> than 5 seconds off. > > > > I think you misunderstand how ntpd works vs. how ntpdate works. > > ntpd is a daemon, so you don't run it every minute, it runs in the > > background and keeps the clock up to date. > > > Turn off all of the power management, and any other service that > > might be affecting the clock, and then reboot. If your system is > > able to maintain correct time under these circumstances, start > > adding things in until you find the culprit and let us know. > > both laptops can keep the time without powerd. apm is enabled, but not > acpi. as soon as I start powerd or change cpu speed, time gets a few > seconds off. > It doesn't matter whether I use ntpd or ntpdate. > > (ntpdate at system startup makes no sense as I have to dialup first). If using ppp or mpd, you could run ntpdate from a link-up script. But to address the underlying problem, quoting from earlier, you said: > > Now I got following while playing sound on the Compaq: > > > > kernel: calcru: runtime went backwards from 183711700 usec to 183167434 usec for pid 12 (swi4: clock sio) > > > > here I have a working clock, but also intermittent sound output To which I suggested, after a bit of hunting: > http://www.freebsd.org/doc/en/books/faq/book.html#CALCRU-NEGATIVE > and > http://lists.freebsd.org/pipermail/freebsd-stable/ searching for > 'calcru: runtime went backwards' provides many hits, as does google; > seems it could be a number of things, perhaps choice of timecounter. Also a bit further down in the FAQ: '5.25. Why does the clock on my laptop keep incorrect time?' Have you had a look at those FAQ entries? Might they be relevant? How about showing us /var/run/dmesg.boot for at least one of these two machines? I'm still curious as to what Timecounter & HZ is selected: show us 'sysctl kern.timecounter' and 'sysctl -a | grep -i cpu' ? Cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Thu May 3 08:57:36 2007 Return-Path: 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 E92E116A402 for ; Thu, 3 May 2007 08:57:36 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2A513C45A for ; Thu, 3 May 2007 08:57:36 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by kagate1.punkt.de with ESMTP id l438NBxB028508 for ; Thu, 3 May 2007 10:23:11 +0200 (CEST) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.12.10/8.12.10) with ESMTP id l438NAZT014495 for ; Thu, 3 May 2007 10:23:10 +0200 (CEST) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.12.10/8.12.10/Submit) id l438NAcb014494 for freebsd-stable@freebsd.org; Thu, 3 May 2007 10:23:10 +0200 (CEST) (envelope-from ry93) Date: Thu, 3 May 2007 10:23:10 +0200 From: "Patrick M. Hausen" To: freebsd-stable@freebsd.org Message-ID: <20070503082309.GG8556@hugo10.ka.punkt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.15 (2007-04-06) Subject: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 08:57:37 -0000 Hello, all! In former times configuring a kernel was a bit more cumbersome, yet more straightforward than is today: device isa device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 flags 0x0 irq 3 to keep the kernel from messing with the second device completely, you simply removed the second line. Today I have: device pci device miibus device bge I have a particular system that uses what FreeBSD 6.2 detected as bge1 for remote console access over IP. As soon as the interface is probed and activated by the kernel, the connection to the remote management controller breaks. Is there a way to limit the number of probed entities for a certain pci device class to, say, 1 in my case? I'd like to use bge0 for FreeBSD but the kernel should leave everything else that might be a bge interface alone. Thanks, Patrick P.S. If anyone is interested: it's a Fujitsu-Siemens iRMC on an RX100 server. While HP uses a dedicated port for their iLO, FSC decided to piggyback that function onto a regular network port. -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285 From owner-freebsd-stable@FreeBSD.ORG Thu May 3 11:27:08 2007 Return-Path: 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 48EAC16A400 for ; Thu, 3 May 2007 11:27:08 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 6B5E713C455 for ; Thu, 3 May 2007 11:27:07 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 03 May 2007 11:27:03 -0000 Received: from c-134-225-2.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.225.2] by mail.gmx.net (mp033) with SMTP; 03 May 2007 13:27:03 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX19y2o560gNyaksKpZb2MQ9SLnTrYNahEL0PJTeBZz 8hmHdKOqFrb7q3 Received: (qmail 4005 invoked by uid 1001); 3 May 2007 11:20:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 May 2007 11:20:19 -0000 Date: Thu, 3 May 2007 13:20:19 +0200 (CEST) From: Martin Dieringer To: Ian Smith In-Reply-To: Message-ID: <20070503130520.V839@thinkpad.dieringer.dyndns.org> References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-746919471-1178191219=:839" X-Y-GMX-Trusted: 0 Cc: Doug Barton , freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 11:27:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-746919471-1178191219=:839 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Thu, 3 May 2007, Ian Smith wrote: > > > > Now I got following while playing sound on the Compaq: > > > > > > kernel: calcru: runtime went backwards from 183711700 usec to 183167434 usec for pid 12 (swi4: clock sio) > > > > > > here I have a working clock, but also intermittent sound output > > To which I suggested, after a bit of hunting: > > > http://www.freebsd.org/doc/en/books/faq/book.html#CALCRU-NEGATIVE this refers to freebsd 4? > > and > > http://lists.freebsd.org/pipermail/freebsd-stable/ searching for > > 'calcru: runtime went backwards' provides many hits, as does google; > > seems it could be a number of things, perhaps choice of timecounter. didn't help me It was always kern.timecounter.hardware: i8254 > Also a bit further down in the FAQ: > '5.25. Why does the clock on my laptop keep incorrect time?' > > Have you had a look at those FAQ entries? Might they be relevant? > > How about showing us /var/run/dmesg.boot for at least one of these two > machines? I'm still curious as to what Timecounter & HZ is selected: > show us 'sysctl kern.timecounter' and 'sysctl -a | grep -i cpu' ? # sysctl kern.timecounter kern.timecounter.stepwarnings: 0 kern.timecounter.nbinuptime: 86077047 kern.timecounter.nnanouptime: 0 kern.timecounter.nmicrouptime: 11135 kern.timecounter.nbintime: 16738975 kern.timecounter.nnanotime: 6960807 kern.timecounter.nmicrotime: 9778174 kern.timecounter.ngetbinuptime: 1478970 kern.timecounter.ngetnanouptime: 34251 kern.timecounter.ngetmicrouptime: 6970988 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetnanotime: 1 kern.timecounter.ngetmicrotime: 14171626 kern.timecounter.nsetclock: 5 kern.timecounter.hardware: i8254 kern.timecounter.choice: TSC(-1000) i8254(0) dummy(-1000000) kern.timecounter.tick: 1 # sysctl -a | grep -i cpu kern.threads.virtual_cpu: 1 kern.ccpu: 1948 kern.smp.maxcpus: 1 kern.smp.cpus: 1 debug.cpufreq.lowest: 0 debug.cpufreq.verbose: 0 hw.ncpu: 1 machdep.cpu_idle_hlt: 1 dev.cpu.0.%driver: cpu dev.cpu.0.%parent: legacy0 dev.cpu.0.freq: 1400 dev.cpu.0.freq_levels: 1400/-1 1225/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-1 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1 dev.est.0.%parent: cpu0 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.p4tcc.0.%desc: CPU Frequency Thermal Control dev.p4tcc.0.%parent: cpu0 dmesg.today is attached m. --0-746919471-1178191219=:839 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dmesg.today Content-Transfer-Encoding: BASE64 Content-ID: <20070503132019.G839@thinkpad.dieringer.dyndns.org> Content-Description: Content-Disposition: attachment; filename=dmesg.today Q29weXJpZ2h0IChjKSAxOTkyLTIwMDcgVGhlIEZyZWVCU0QgUHJvamVjdC4N CkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4OCwg MTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NA0KCVRoZSBSZWdlbnRzIG9m IHRoZSBVbml2ZXJzaXR5IG9mIENhbGlmb3JuaWEuIEFsbCByaWdodHMgcmVz ZXJ2ZWQuDQpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1hcmsgb2Yg VGhlIEZyZWVCU0QgRm91bmRhdGlvbi4NCkZyZWVCU0QgNi4yLVNUQUJMRSAj NDogRnJpIE1hciAyMyAwNzoyMzo0NCBDRVQgMjAwNw0KICAgIG1hcnRpbkB0 aGlua3BhZC5kaWVyaW5nZXIuZHluZG5zLm9yZzovZGF0YS9vYmovdXNyL3Ny Yy9zeXMvVFA2MDBYDQptb2R1bGVfcmVnaXN0ZXI6IG1vZHVsZSBpc2EvY2Ji IGFscmVhZHkgZXhpc3RzIQ0KTW9kdWxlIGlzYS9jYmIgZmFpbGVkIHRvIHJl Z2lzdGVyOiAxNw0KbW9kdWxlX3JlZ2lzdGVyOiBtb2R1bGUgcGNpL2NiYiBh bHJlYWR5IGV4aXN0cyENCk1vZHVsZSBwY2kvY2JiIGZhaWxlZCB0byByZWdp c3RlcjogMTcNClRpbWVjb3VudGVyICJpODI1NCIgZnJlcXVlbmN5IDExOTMx ODIgSHogcXVhbGl0eSAwDQpDUFU6IEludGVsKFIpIFBlbnRpdW0oUikgTSBw cm9jZXNzb3IgMTQwME1IeiAoMTM5My4xNy1NSHogNjg2LWNsYXNzIENQVSkN CiAgT3JpZ2luID0gIkdlbnVpbmVJbnRlbCIgIElkID0gMHg2OTUgIFN0ZXBw aW5nID0gNQ0KICBGZWF0dXJlcz0weGE3ZTlmOWJmPEZQVSxWTUUsREUsUFNF LFRTQyxNU1IsTUNFLENYOCxTRVAsTVRSUixQR0UsTUNBLENNT1YsUEFULENM RkxVU0gsRFRTLEFDUEksTU1YLEZYU1IsU1NFLFNTRTIsVE0sUEJFPg0KICBG ZWF0dXJlczI9MHgxODA8RVNULFRNMj4NCnJlYWwgbWVtb3J5ICA9IDUwMzEx OTg3MiAoNDc5IE1CKQ0KYXZhaWwgbWVtb3J5ID0gNDgyOTE4NDAwICg0NjAg TUIpDQpjcHUwIG9uIG1vdGhlcmJvYXJkDQplc3QwOiA8RW5oYW5jZWQgU3Bl ZWRTdGVwIEZyZXF1ZW5jeSBDb250cm9sPiBvbiBjcHUwDQpwNHRjYzA6IDxD UFUgRnJlcXVlbmN5IFRoZXJtYWwgQ29udHJvbD4gb24gY3B1MA0KYXBtMDog PEFQTSBCSU9TPiBvbiBtb3RoZXJib2FyZA0KYXBtMDogZm91bmQgQVBNIEJJ T1MgdjEuMiwgY29ubmVjdGVkIGF0IHYxLjINCnBjaWIwOiA8SG9zdCB0byBQ Q0kgYnJpZGdlPiBwY2lidXMgMCBvbiBtb3RoZXJib2FyZA0KcGNpMDogPFBD SSBidXM+IG9uIHBjaWIwDQphZ3AwOiA8QVRJIFJTMjAwTSBBR1AgYnJpZGdl PiBtZW0gMHg5YzAwMDAwMC0weDlmZmZmZmZmLDB4OTg0ODAwMDAtMHg5ODQ4 MGZmZiBhdCBkZXZpY2UgMC4wIG9uIHBjaTANCnBjaWIxOiA8UENJLVBDSSBi cmlkZ2U+IGF0IGRldmljZSAxLjAgb24gcGNpMA0KcGNpMTogPFBDSSBidXM+ IG9uIHBjaWIxDQpwY2kxOiA8ZGlzcGxheSwgVkdBPiBhdCBkZXZpY2UgNS4w IChubyBkcml2ZXIgYXR0YWNoZWQpDQpwY20wOiA8QWNlciBMYWJzIE01NDUx PiBwb3J0IDB4MzAwMC0weDMwZmYgbWVtIDB4OTgwODAwMDAtMHg5ODA4MGZm ZiBpcnEgMTEgYXQgZGV2aWNlIDYuMCBvbiBwY2kwDQpwY20wOiA8QW5hbG9n IERldmljZXMgQUQxOTgxQiBBQzk3IENvZGVjPg0KcGNtMDogW0dJQU5ULUxP Q0tFRF0NCmlzYWIwOiA8UENJLUlTQSBicmlkZ2U+IGF0IGRldmljZSA3LjAg b24gcGNpMA0KaXNhMDogPElTQSBidXM+IG9uIGlzYWIwDQpwY2kwOiA8c2lt cGxlIGNvbW1zLCBnZW5lcmljIG1vZGVtPiBhdCBkZXZpY2UgOC4wIChubyBk cml2ZXIgYXR0YWNoZWQpDQpjYmIwOiA8TzJNaWNybyBPWjcxMU0xIFBDSS1D YXJkQnVzIEJyaWRnZT4gbWVtIDB4OTgxODAwMDAtMHg5ODE4MGZmZiBpcnEg MTEgYXQgZGV2aWNlIDExLjAgb24gcGNpMA0KY2FyZGJ1czA6IDxDYXJkQnVz IGJ1cz4gb24gY2JiMA0KcGNjYXJkMDogPDE2LWJpdCBQQ0NhcmQgYnVzPiBv biBjYmIwDQpjYmIxOiA8TzJNaWNybyBPWjcxMU0xIFBDSS1DYXJkQnVzIEJy aWRnZT4gbWVtIDB4OTgyMDAwMDAtMHg5ODIwMGZmZiBpcnEgMTEgYXQgZGV2 aWNlIDExLjEgb24gcGNpMA0KY2FyZGJ1czE6IDxDYXJkQnVzIGJ1cz4gb24g Y2JiMQ0KcGNjYXJkMTogPDE2LWJpdCBQQ0NhcmQgYnVzPiBvbiBjYmIxDQpw Y2kwOiA8YmFzZSBwZXJpcGhlcmFsPiBhdCBkZXZpY2UgMTEuMiAobm8gZHJp dmVyIGF0dGFjaGVkKQ0KYXRhcGNpMDogPEFjZXJMYWJzIE01MjI5IFVETUEx MDAgY29udHJvbGxlcj4gcG9ydCAweDFmMC0weDFmNywweDNmNiwweDE3MC0w eDE3NywweDM3NiwweDM4MDAtMHgzODBmIGlycSAxMSBhdCBkZXZpY2UgMTYu MCBvbiBwY2kwDQphdGFwY2kwOiB1c2luZyBQSU8gdHJhbnNmZXJzIGFib3Zl IDEzN0dCIGFzIHdvcmthcm91bmQgZm9yIDQ4Yml0IERNQSBhY2Nlc3MgYnVn LCBleHBlY3QgcmVkdWNlZCBwZXJmb3JtYW5jZQ0KYXRhMDogPEFUQSBjaGFu bmVsIDA+IG9uIGF0YXBjaTANCmF0YTE6IDxBVEEgY2hhbm5lbCAxPiBvbiBh dGFwY2kwDQpwY2kwOiA8YnJpZGdlPiBhdCBkZXZpY2UgMTcuMCAobm8gZHJp dmVyIGF0dGFjaGVkKQ0Kb2hjaTA6IDxORUMgdVBEIDkyMTAgVVNCIGNvbnRy b2xsZXI+IG1lbSAweDk4MzAwMDAwLTB4OTgzMDBmZmYgaXJxIDEwIGF0IGRl dmljZSAxOC4wIG9uIHBjaTANCm9oY2kwOiBbR0lBTlQtTE9DS0VEXQ0KdXNi MDogT0hDSSB2ZXJzaW9uIDEuMA0KdXNiMDogU01NIGRvZXMgbm90IHJlc3Bv bmQsIHJlc2V0dGluZw0KdXNiMDogPE5FQyB1UEQgOTIxMCBVU0IgY29udHJv bGxlcj4gb24gb2hjaTANCnVzYjA6IFVTQiByZXZpc2lvbiAxLjANCnVodWIw OiBORUMgT0hDSSByb290IGh1YiwgY2xhc3MgOS8wLCByZXYgMS4wMC8xLjAw LCBhZGRyIDENCnVodWIwOiAzIHBvcnRzIHdpdGggMyByZW1vdmFibGUsIHNl bGYgcG93ZXJlZA0Kb2hjaTE6IDxORUMgdVBEIDkyMTAgVVNCIGNvbnRyb2xs ZXI+IG1lbSAweDk4MzgwMDAwLTB4OTgzODBmZmYgaXJxIDEwIGF0IGRldmlj ZSAxOC4xIG9uIHBjaTANCm9oY2kxOiBbR0lBTlQtTE9DS0VEXQ0KdXNiMTog T0hDSSB2ZXJzaW9uIDEuMA0KdXNiMTogPE5FQyB1UEQgOTIxMCBVU0IgY29u dHJvbGxlcj4gb24gb2hjaTENCnVzYjE6IFVTQiByZXZpc2lvbiAxLjANCnVo dWIxOiBORUMgT0hDSSByb290IGh1YiwgY2xhc3MgOS8wLCByZXYgMS4wMC8x LjAwLCBhZGRyIDENCnVodWIxOiAyIHBvcnRzIHdpdGggMiByZW1vdmFibGUs IHNlbGYgcG93ZXJlZA0KZWhjaTA6IDxORUMgdVBEIDcyMDEwMCBVU0IgMi4w IGNvbnRyb2xsZXI+IG1lbSAweDk4NDAwMDAwLTB4OTg0MDAwZmYgaXJxIDEw IGF0IGRldmljZSAxOC4yIG9uIHBjaTANCmVoY2kwOiBbR0lBTlQtTE9DS0VE XQ0KdXNiMjogRUhDSSB2ZXJzaW9uIDEuMA0KdXNiMjogY29tcGFuaW9uIGNv bnRyb2xsZXJzLCAzIHBvcnRzIGVhY2g6IHVzYjAgdXNiMQ0KdXNiMjogPE5F QyB1UEQgNzIwMTAwIFVTQiAyLjAgY29udHJvbGxlcj4gb24gZWhjaTANCnVz YjI6IFVTQiByZXZpc2lvbiAyLjANCnVodWIyOiBORUMgRUhDSSByb290IGh1 YiwgY2xhc3MgOS8wLCByZXYgMi4wMC8xLjAwLCBhZGRyIDENCnVodWIyOiA1 IHBvcnRzIHdpdGggNSByZW1vdmFibGUsIHNlbGYgcG93ZXJlZA0KdW1hc3Mw OiBQcm9saWZpYyBUZWNobm9sb2d5IEluYy4gTWFzcyBTdG9yYWdlIERldmlj ZSwgcmV2IDIuMDAvMS4wMCwgYWRkciAyDQpiZ2UwOiA8QnJvYWRjb20gQkNN NTcwNSBBMSwgQVNJQyByZXYuIDB4MzAwMT4gbWVtIDB4OTgwMDAwMDAtMHg5 ODAwZmZmZiBpcnEgMTAgYXQgZGV2aWNlIDE5LjAgb24gcGNpMA0KbWlpYnVz MDogPE1JSSBidXM+IG9uIGJnZTANCmJyZ3BoeTA6IDxCQ001NzA1IDEwLzEw MC8xMDAwYmFzZVRYIFBIWT4gb24gbWlpYnVzMA0KYnJncGh5MDogIDEwYmFz ZVQsIDEwYmFzZVQtRkRYLCAxMDBiYXNlVFgsIDEwMGJhc2VUWC1GRFgsIDEw MDBiYXNlVFgsIDEwMDBiYXNlVFgtRkRYLCBhdXRvDQpiZ2UwOiBFdGhlcm5l dCBhZGRyZXNzOiAwMDowODowMjpkNDowNjpmMQ0KcG10aW1lcjAgb24gaXNh MA0Kb3JtMDogPElTQSBPcHRpb24gUk9NPiBhdCBpb21lbSAweGMwMDAwLTB4 Y2VmZmYgb24gaXNhMA0KYXRrYmRjMDogPEtleWJvYXJkIGNvbnRyb2xsZXIg KGk4MDQyKT4gYXQgcG9ydCAweDYwLDB4NjQgb24gaXNhMA0KYXRrYmQwOiA8 QVQgS2V5Ym9hcmQ+IGlycSAxIG9uIGF0a2JkYzANCmtiZDAgYXQgYXRrYmQw DQphdGtiZDA6IFtHSUFOVC1MT0NLRURdDQpwc20wOiA8UFMvMiBNb3VzZT4g aXJxIDEyIG9uIGF0a2JkYzANCnBzbTA6IFtHSUFOVC1MT0NLRURdDQpwc20w OiBtb2RlbCBHZW5lcmljIFBTLzIgbW91c2UsIGRldmljZSBJRCAwDQpwcGMw OiA8UGFyYWxsZWwgcG9ydD4gYXQgcG9ydCAweDM3OC0weDM3ZiBpcnEgNyBv biBpc2EwDQpwcGMwOiBTTUMtbGlrZSBjaGlwc2V0IChFQ1AvRVBQL1BTMi9O SUJCTEUpIGluIENPTVBBVElCTEUgbW9kZQ0KcHBjMDogRklGTyB3aXRoIDE2 LzE2LzEgYnl0ZXMgdGhyZXNob2xkDQpwcGJ1czA6IDxQYXJhbGxlbCBwb3J0 IGJ1cz4gb24gcHBjMA0KcGxpcDA6IDxQTElQIG5ldHdvcmsgaW50ZXJmYWNl PiBvbiBwcGJ1czANCmxwdDA6IDxQcmludGVyPiBvbiBwcGJ1czANCmxwdDA6 IEludGVycnVwdC1kcml2ZW4gcG9ydA0KcHBpMDogPFBhcmFsbGVsIEkvTz4g b24gcHBidXMwDQpzYzA6IDxTeXN0ZW0gY29uc29sZT4gYXQgZmxhZ3MgMHgx MDAgb24gaXNhMA0Kc2MwOiBWR0EgPDE2IHZpcnR1YWwgY29uc29sZXMsIGZs YWdzPTB4MzAwPg0Kc2lvMCBhdCBwb3J0IDB4M2Y4LTB4M2ZmIGlycSA0IGZs YWdzIDB4MTAgb24gaXNhMA0Kc2lvMDogdHlwZSAxNjU1MEENCnNpbzE6IGNv bmZpZ3VyZWQgaXJxIDMgbm90IGluIGJpdG1hcCBvZiBwcm9iZWQgaXJxcyAw DQpzaW8xOiBwb3J0IG1heSBub3QgYmUgZW5hYmxlZA0KdmdhMDogPEdlbmVy aWMgSVNBIFZHQT4gYXQgcG9ydCAweDNjMC0weDNkZiBpb21lbSAweGEwMDAw LTB4YmZmZmYgb24gaXNhMA0KdW5rbm93bjogPFBOUDAzMDM+IGNhbid0IGFz c2lnbiByZXNvdXJjZXMgKHBvcnQpDQp1bmtub3duOiA8UE5QMGYxMz4gY2Fu J3QgYXNzaWduIHJlc291cmNlcyAoaXJxKQ0KdW5rbm93bjogPFBOUDA0MDE+ IGNhbid0IGFzc2lnbiByZXNvdXJjZXMgKHBvcnQpDQp1bmtub3duOiA8UE5Q MDUwMT4gY2FuJ3QgYXNzaWduIHJlc291cmNlcyAocG9ydCkNCnNpbzQ6IDxO U0M2MDAxPiBhdCBwb3J0IDB4M2U4LTB4M2VmIGlycSAzIGRycSAzIG9uIGlz YTANCnNpbzQ6IHR5cGUgMTY1NTBBDQp1bmtub3duOiA8UE5QMGMwMj4gY2Fu J3QgYXNzaWduIHJlc291cmNlcyAobWVtb3J5KQ0KVGltZWNvdW50ZXJzIHRp Y2sgZXZlcnkgMS4wMDAgbXNlYw0KV0FSTklORzogYXBtX3NhdmVyIG1vZHVs ZSByZXF1aXJlcyBhcG0gZW5hYmxlZA0KY2FyZGJ1czA6IEV4cGVjdGluZyBs aW5rIHRhcmdldCwgZ290IDB4ZmYNCmNhcmRidXMwOiBSZXNvdXJjZSBub3Qg c3BlY2lmaWVkIGluIENJUzogaWQ9MTAsIHNpemU9MTAwMA0KY2FyZGJ1czA6 IFJlc291cmNlIG5vdCBzcGVjaWZpZWQgaW4gQ0lTOiBpZD0xNCwgc2l6ZT0x MDANCmNhcmRidXMwOiBSZXNvdXJjZSBub3Qgc3BlY2lmaWVkIGluIENJUzog aWQ9MTgsIHNpemU9MTAwDQpmd29oY2kwOiA8TkVDIHVQRDcyODczPiBtZW0g MHg4ODAwMDAwMC0weDg4MDAwZmZmLDB4ODgwMDEwMDAtMHg4ODAwMTBmZiww eDg4MDAyMDAwLTB4ODgwMDIwZmYgaXJxIDExIGF0IGRldmljZSAwLjAgb24g Y2FyZGJ1czANCmZ3b2hjaTA6IE9IQ0kgdmVyc2lvbiAxLjEwIChST009MSkN CmZ3b2hjaTA6IE5vLiBvZiBJc29jaHJvbm91cyBjaGFubmVscyBpcyA0Lg0K ZndvaGNpMDogRVVJNjQgZmY6ZmY6ZmY6ZmY6ZmY6ZmY6ZmY6ZmYNCmZ3b2hj aTA6IFBoeSAxMzk0YSBhdmFpbGFibGUgUzQwMCwgMiBwb3J0cy4NCmZ3b2hj aTA6IExpbmsgUzQwMCwgbWF4X3JlYyA2NTUzNiBieXRlcy4NCmZ3b2hjaTA6 IG1heF9yZWMgNjU1MzYgLT4gMjA0OA0KZmlyZXdpcmUwOiA8SUVFRTEzOTQo RmlyZVdpcmUpIGJ1cz4gb24gZndvaGNpMA0KZndlMDogPEV0aGVybmV0IG92 ZXIgRmlyZVdpcmU+IG9uIGZpcmV3aXJlMA0KaWZfZndlMDogRmFrZSBFdGhl cm5ldCBhZGRyZXNzOiBmZTpmZjpmZjpmZjpmZjpmZg0KZndlMDogRXRoZXJu ZXQgYWRkcmVzczogZmU6ZmY6ZmY6ZmY6ZmY6ZmYNCmZ3ZTA6IGlmX3N0YXJ0 IHJ1bm5pbmcgZGVmZXJyZWQgZm9yIEdpYW50DQpzYnAwOiA8U0JQLTIvU0NT SSBvdmVyIEZpcmVXaXJlPiBvbiBmaXJld2lyZTANCmZ3b2hjaTA6IEluaXRp YXRlIGJ1cyByZXNldA0KZndvaGNpMDogbm9kZV9pZD0weDgwMDBmZmMwLCBn ZW49MSwgbm9uIENZQ0xFTUFTVEVSIG1vZGUNCmZpcmV3aXJlMDogMiBub2Rl cywgbWF4aG9wIDw9IDEsIGNhYmxlIElSTSA9IDAgKG1lKQ0KZmlyZXdpcmUw OiByb290IG5vZGUgaXMgbm90IGN5Y2xlIG1hc3RlciBjYXBhYmxlDQpmaXJl d2lyZTA6IGJ1cyBtYW5hZ2VyIDAgKG1lKQ0KZmlyZXdpcmUwOiBOZXcgUzQw MCBkZXZpY2UgSUQ6MDAwMWEzMDAwMDA2MzUxMQ0KZGEwIGF0IHVtYXNzLXNp bTAgYnVzIDAgdGFyZ2V0IDAgbHVuIDANCmRhMDogPFNBTVNVTkcgU1AyNTE0 TiBWRjEwPiBGaXhlZCBEaXJlY3QgQWNjZXNzIFNDU0ktMCBkZXZpY2UgDQpk YTA6IDQwLjAwME1CL3MgdHJhbnNmZXJzDQpkYTA6IDIzODQ3NU1CICg0ODgz OTcxNjkgNTEyIGJ5dGUgc2VjdG9yczogMjU1SCA2M1MvVCAzMDQwMUMpDQpU cnlpbmcgdG8gbW91bnQgcm9vdCBmcm9tIHVmczovZGV2L2RhMHMxYQ0KV0FS TklORzogLyB3YXMgbm90IHByb3Blcmx5IGRpc21vdW50ZWQNCmRhMSBhdCBz YnAwIGJ1cyAwIHRhcmdldCAwIGx1biAwDQpkYTE6IDxHZW5lc3lzICA+IEZp eGVkIERpcmVjdCBBY2Nlc3MgU0NTSS0wIGRldmljZSANCmRhMTogNTAuMDAw TUIvcyB0cmFuc2ZlcnMNCmRhMTogMTUyNjI3TUIgKDMxMjU4MTgwOCA1MTIg Ynl0ZSBzZWN0b3JzOiAyNTVIIDYzUy9UIDE5NDU3QykNCldBUk5JTkc6IC92 YXIgd2FzIG5vdCBwcm9wZXJseSBkaXNtb3VudGVkDQpXQVJOSU5HOiAvdXNy IHdhcyBub3QgcHJvcGVybHkgZGlzbW91bnRlZA0KV0FSTklORzogL2RhdGEg d2FzIG5vdCBwcm9wZXJseSBkaXNtb3VudGVkDQpXQVJOSU5HOiAvQklHIHdh cyBub3QgcHJvcGVybHkgZGlzbW91bnRlZA0KaXBmdzIgKCtpcHY2KSBpbml0 aWFsaXplZCwgZGl2ZXJ0IGxvYWRhYmxlLCBydWxlLWJhc2VkIGZvcndhcmRp bmcgZGlzYWJsZWQsIGRlZmF1bHQgdG8gZGVueSwgbG9nZ2luZyBkaXNhYmxl ZA0KYmdlMDogbGluayBzdGF0ZSBjaGFuZ2VkIHRvIFVQDQpmdXNlNGJzZDog dmVyc2lvbiAwLjMuMCwgRlVTRSBBQkkgNy44DQp1aHViMzogdmVuZG9yIDB4 MDNlYiBTdGFuZGFyZCBVU0IgSHViLCBjbGFzcyA5LzAsIHJldiAxLjEwLzMu MDAsIGFkZHIgMg0KdWh1YjM6IDQgcG9ydHMgd2l0aCA0IHJlbW92YWJsZSwg c2VsZiBwb3dlcmVkDQp1Z2VuMDogTS1BdWRpbyBUcmFuc2l0IFVTQiwgcmV2 IDEuMTAvMS4wMCwgYWRkciAzDQpBbGwgdGhyZWFkcyBwdXJnZWQgZnJvbSB1 Z2VuMA0KdWdlbjA6IGRldGFjaGVkDQp1Z2VuMDogTS1BdWRpbyBUcmFuc2l0 IFVTQiwgcmV2IDEuMTAvMS4wMCwgYWRkciAzDQp1Z2VuMDogYXQgdWh1YjMg cG9ydCAxIChhZGRyIDMpIGRpc2Nvbm5lY3RlZA0KQWxsIHRocmVhZHMgcHVy Z2VkIGZyb20gdWdlbjANCnVnZW4wOiBkZXRhY2hlZA0KdWdlbjA6IFVua25v d24gVW5rbm93biwgcmV2IDEuMDAvMS4wMCwgYWRkciAzDQp1aHViMzogYXQg dWh1YjAgcG9ydCAyIChhZGRyIDIpIGRpc2Nvbm5lY3RlZA0KdWdlbjA6IGF0 IHVodWIzIHBvcnQgMSAoYWRkciAzKSBkaXNjb25uZWN0ZWQNCkFsbCB0aHJl YWRzIHB1cmdlZCBmcm9tIHVnZW4wDQp1Z2VuMDogZGV0YWNoZWQNCnVodWIz OiBkZXRhY2hlZA0KdWh1YjM6IHZlbmRvciAweDAzZWIgU3RhbmRhcmQgVVNC IEh1YiwgY2xhc3MgOS8wLCByZXYgMS4xMC8zLjAwLCBhZGRyIDINCnVodWIz OiA0IHBvcnRzIHdpdGggNCByZW1vdmFibGUsIHNlbGYgcG93ZXJlZA0KdWF1 ZGlvMDogTS1BdWRpbyBUcmFuc2l0IFVTQiwgcmV2IDEuMTAvMS4wMCwgYWRk ciAzDQp1YXVkaW8wOiBub24gc3luYy1waXBlIGVuZHBvaW50IGJ1dCBtdWx0 aXBsZSBlbmRwb2ludHMNCnVhdWRpbzA6IGlnbm9yZWQgc2V0dGluZyB3aXRo IHR5cGUgODE5MyBmb3JtYXQNCnVhdWRpbzA6IGlnbm9yZWQgc2V0dGluZyB3 aXRoIHR5cGUgODE5MyBmb3JtYXQNCnVhdWRpbzA6IGF1ZGlvIHJldiAxLjAw DQpwY20xOiA8VVNCIEF1ZGlvPiBvbiB1YXVkaW8wDQp1aHViMzogYXQgdWh1 YjAgcG9ydCAyIChhZGRyIDIpIGRpc2Nvbm5lY3RlZA0KdWF1ZGlvMDogYXQg dWh1YjMgcG9ydCAxIChhZGRyIDMpIGRpc2Nvbm5lY3RlZA0KcGNtMTogdW5y ZWdpc3Rlcjogb3BlcmF0aW9uIGluIHByb2dyZXNzDQpwY20xOiB1bnJlZ2lz dGVyOiBvcGVyYXRpb24gaW4gcHJvZ3Jlc3MNCnVodWIzOiBkZXRhY2hlZA0K cGNtMTogdW5yZWdpc3Rlcjogb3BlcmF0aW9uIGluIHByb2dyZXNzDQp1aHVi MzogdmVuZG9yIDB4MDNlYiBTdGFuZGFyZCBVU0IgSHViLCBjbGFzcyA5LzAs IHJldiAxLjEwLzMuMDAsIGFkZHIgMg0KdWh1YjM6IDQgcG9ydHMgd2l0aCA0 IHJlbW92YWJsZSwgc2VsZiBwb3dlcmVkDQp1YXVkaW8xOiBNLUF1ZGlvIFRy YW5zaXQgVVNCLCByZXYgMS4xMC8xLjAwLCBhZGRyIDMNCnVhdWRpbzE6IG5v biBzeW5jLXBpcGUgZW5kcG9pbnQgYnV0IG11bHRpcGxlIGVuZHBvaW50cw0K dWF1ZGlvMTogaWdub3JlZCBzZXR0aW5nIHdpdGggdHlwZSA4MTkzIGZvcm1h dA0KdWF1ZGlvMTogaWdub3JlZCBzZXR0aW5nIHdpdGggdHlwZSA4MTkzIGZv cm1hdA0KdWF1ZGlvMTogYXVkaW8gcmV2IDEuMDANCnBjbTI6IDxVU0IgQXVk aW8+IG9uIHVhdWRpbzENCnVodWIzOiBhdCB1aHViMCBwb3J0IDIgKGFkZHIg MikgZGlzY29ubmVjdGVkDQp1YXVkaW8xOiBhdCB1aHViMyBwb3J0IDEgKGFk ZHIgMykgZGlzY29ubmVjdGVkDQpwY20yOiB1bnJlZ2lzdGVyOiBvcGVyYXRp b24gaW4gcHJvZ3Jlc3MNCnBjbTI6IHVucmVnaXN0ZXI6IG9wZXJhdGlvbiBp biBwcm9ncmVzcw0KdWh1YjM6IGRldGFjaGVkDQpwY20yOiB1bnJlZ2lzdGVy OiBvcGVyYXRpb24gaW4gcHJvZ3Jlc3MNCnVodWIzOiB2ZW5kb3IgMHgwM2Vi IFN0YW5kYXJkIFVTQiBIdWIsIGNsYXNzIDkvMCwgcmV2IDEuMTAvMy4wMCwg YWRkciAyDQp1aHViMzogNCBwb3J0cyB3aXRoIDQgcmVtb3ZhYmxlLCBzZWxm IHBvd2VyZWQNCnVhdWRpbzI6IE0tQXVkaW8gVHJhbnNpdCBVU0IsIHJldiAx LjEwLzEuMDAsIGFkZHIgMw0KdWF1ZGlvMjogbm9uIHN5bmMtcGlwZSBlbmRw b2ludCBidXQgbXVsdGlwbGUgZW5kcG9pbnRzDQp1YXVkaW8yOiBpZ25vcmVk IHNldHRpbmcgd2l0aCB0eXBlIDgxOTMgZm9ybWF0DQp1YXVkaW8yOiBpZ25v cmVkIHNldHRpbmcgd2l0aCB0eXBlIDgxOTMgZm9ybWF0DQp1YXVkaW8yOiBh dWRpbyByZXYgMS4wMA0KcGNtMzogPFVTQiBBdWRpbz4gb24gdWF1ZGlvMg0K dWF1ZGlvMjogYXQgdWh1YjMgcG9ydCAxIChhZGRyIDMpIGRpc2Nvbm5lY3Rl ZA0KcGNtMzogZGV0YWNoZWQNCnVhdWRpbzI6IGRldGFjaGVkDQp1aHViMzog YXQgdWh1YjAgcG9ydCAyIChhZGRyIDIpIGRpc2Nvbm5lY3RlZA0KdWh1YjM6 IGRldGFjaGVkDQpjYWxjcnU6IHJ1bnRpbWUgd2VudCBiYWNrd2FyZHMgZnJv bSAxODM3MTE3MDAgdXNlYyB0byAxODMxNjc0MzQgdXNlYyBmb3IgcGlkIDEy IChzd2k0OiBjbG9jayBzaW8pDQpjYWxjcnU6IHJ1bnRpbWUgd2VudCBiYWNr d2FyZHMgZnJvbSAxODM3MTE3MDAgdXNlYyB0byAxODMxNjc0MzQgdXNlYyBm b3IgcGlkIDEyIChzd2k0OiBjbG9jayBzaW8pDQpjYWxjcnU6IHJ1bnRpbWUg d2VudCBiYWNrd2FyZHMgZnJvbSAxODM3MTE3MDAgdXNlYyB0byAxODMyMTQz MzAgdXNlYyBmb3IgcGlkIDEyIChzd2k0OiBjbG9jayBzaW8pDQpjYWxjcnU6 IHJ1bnRpbWUgd2VudCBiYWNrd2FyZHMgZnJvbSAxODM3MTE3MDAgdXNlYyB0 byAxODMyMTQzNTcgdXNlYyBmb3IgcGlkIDEyIChzd2k0OiBjbG9jayBzaW8p DQo= --0-746919471-1178191219=:839-- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 12:49:41 2007 Return-Path: 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 F045716A401 for ; Thu, 3 May 2007 12:49:41 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail2.secureworks.net (mail2.secureworks.net [65.114.32.154]) by mx1.freebsd.org (Postfix) with ESMTP id CBEC713C45B for ; Thu, 3 May 2007 12:49:41 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from localhost (localhost [127.0.0.1]) by mail2.secureworks.net (Postfix) with ESMTP id A240017410; Thu, 3 May 2007 08:49:40 -0400 (EDT) X-Virus-Scanned: amavisd-new at secureworks.net Received: from mail2.secureworks.net ([127.0.0.1]) by localhost (mail2.secureworks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zng+KoTVoA+s; Thu, 3 May 2007 08:49:40 -0400 (EDT) Received: from [192.168.23.35] (mole1.secureworks.net [63.239.86.3]) by mail2.secureworks.net (Postfix) with ESMTP id 6879017404; Thu, 3 May 2007 08:49:40 -0400 (EDT) Message-ID: <4639DA64.9090608@jellydonut.org> Date: Thu, 03 May 2007 08:49:40 -0400 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.10) Gecko/20070306 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: "Patrick M. Hausen" References: <20070503082309.GG8556@hugo10.ka.punkt.de> In-Reply-To: <20070503082309.GG8556@hugo10.ka.punkt.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 12:49:42 -0000 Patrick M. Hausen wrote: > Hello, all! > > In former times configuring a kernel was a bit more cumbersome, > yet more straightforward than is today: > > device isa > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > device sio1 at isa? port IO_COM2 flags 0x0 irq 3 > > to keep the kernel from messing with the second device > completely, you simply removed the second line. > > > Today I have: > > device pci > device miibus > device bge > > I have a particular system that uses what FreeBSD 6.2 detected > as bge1 for remote console access over IP. As soon as the > interface is probed and activated by the kernel, the connection > to the remote management controller breaks. > > Is there a way to limit the number of probed entities for > a certain pci device class to, say, 1 in my case? > I'd like to use bge0 for FreeBSD but the kernel should leave > everything else that might be a bge interface alone. > > Thanks, > Patrick > Would the following in /boot/device.hints achieve what you are after? hint.bge.1.disabled="1" hint.bge.2.disabled="1" ... -Proto From owner-freebsd-stable@FreeBSD.ORG Thu May 3 12:54:46 2007 Return-Path: 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 4A45916A406 for ; Thu, 3 May 2007 12:54:46 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.freebsd.org (Postfix) with ESMTP id B3C2313C455 for ; Thu, 3 May 2007 12:54:45 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l43Csdox015804; Thu, 3 May 2007 14:54:40 +0200 From: Pieter de Goeje To: freebsd-stable@freebsd.org, Martin Dieringer Date: Thu, 3 May 2007 14:54:39 +0200 User-Agent: KMail/1.9.6 References: <20070503130520.V839@thinkpad.dieringer.dyndns.org> In-Reply-To: <20070503130520.V839@thinkpad.dieringer.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705031454.39626.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 12:54:46 -0000 On Thursday 03 May 2007, Martin Dieringer wrote: > # sysctl kern.timecounter > kern.timecounter.hardware: i8254 > kern.timecounter.choice: TSC(-1000) i8254(0) dummy(-1000000) To me it seems that you are running with acpi disabled. For example I have this: kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000) kern.timecounter.hardware: ACPI-fast Re-enabling acpi may solve the problem. HTH, Pieter de GOeje From owner-freebsd-stable@FreeBSD.ORG Thu May 3 13:04:52 2007 Return-Path: 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 EC5E616A403 for ; Thu, 3 May 2007 13:04:52 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 38A3613C45A for ; Thu, 3 May 2007 13:04:51 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 03 May 2007 13:04:50 -0000 Received: from c-134-225-2.d.dsl.de.ignite.net (EHLO dieringer.dyndns.org) [62.134.225.2] by mail.gmx.net (mp016) with SMTP; 03 May 2007 15:04:50 +0200 X-Authenticated: #21464393 X-Provags-ID: V01U2FsdGVkX18V/PA2+csVLHcUHdP8UjEYR1ZARNtiyO/8Zvuedq sS8ogj0QsoEeKs Received: (qmail 5943 invoked by uid 1001); 3 May 2007 13:04:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 May 2007 13:04:48 -0000 Date: Thu, 3 May 2007 15:04:48 +0200 (CEST) From: Martin Dieringer To: Pieter de Goeje In-Reply-To: <200705031454.39626.pieter@degoeje.nl> Message-ID: <20070503150323.O839@thinkpad.dieringer.dyndns.org> References: <20070503130520.V839@thinkpad.dieringer.dyndns.org> <200705031454.39626.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: clock too slow - big time offset with ntpdate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:04:53 -0000 On Thu, 3 May 2007, Pieter de Goeje wrote: > On Thursday 03 May 2007, Martin Dieringer wrote: >> # sysctl kern.timecounter >> kern.timecounter.hardware: i8254 >> kern.timecounter.choice: TSC(-1000) i8254(0) dummy(-1000000) > > To me it seems that you are running with acpi disabled. For example I have > this: > kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000) > kern.timecounter.hardware: ACPI-fast > > Re-enabling acpi may solve the problem. I have had so many problems with acpi, that this is not an option. Suspend impossible, pccards not working etc. m. From owner-freebsd-stable@FreeBSD.ORG Thu May 3 13:21:04 2007 Return-Path: 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 9142416A400 for ; Thu, 3 May 2007 13:21:04 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc16.comcast.net (alnrmhc16.comcast.net [206.18.177.56]) by mx1.freebsd.org (Postfix) with ESMTP id 6A79013C455 for ; Thu, 3 May 2007 13:21:04 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (alnrmhc16) with ESMTP id <20070503132103b1600hnohie>; Thu, 3 May 2007 13:21:03 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id D721D1FA01D; Thu, 3 May 2007 06:21:02 -0700 (PDT) Date: Thu, 3 May 2007 06:21:02 -0700 From: Jeremy Chadwick To: Michael Proto Message-ID: <20070503132102.GA935@icarus.home.lan> Mail-Followup-To: Michael Proto , "Patrick M. Hausen" , freebsd-stable@freebsd.org References: <20070503082309.GG8556@hugo10.ka.punkt.de> <4639DA64.9090608@jellydonut.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4639DA64.9090608@jellydonut.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:21:04 -0000 On Thu, May 03, 2007 at 08:49:40AM -0400, Michael Proto wrote: > Would the following in /boot/device.hints achieve what you are after? > > hint.bge.1.disabled="1" > hint.bge.2.disabled="1" > ... You can put these in /boot/loader.conf, thus leaving /boot/device.hints alone; one less file to deal with during mergemaster... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu May 3 13:30:53 2007 Return-Path: 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 4E52E16A417 for ; Thu, 3 May 2007 13:30:53 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9CD13C457 for ; Thu, 3 May 2007 13:30:52 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by kagate1.punkt.de with ESMTP id l43DUpn8002686 for ; Thu, 3 May 2007 15:30:51 +0200 (CEST) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.12.10/8.12.10) with ESMTP id l43DUmZT043426; Thu, 3 May 2007 15:30:48 +0200 (CEST) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.12.10/8.12.10/Submit) id l43DUmpk043425; Thu, 3 May 2007 15:30:48 +0200 (CEST) (envelope-from ry93) Date: Thu, 3 May 2007 15:30:48 +0200 From: "Patrick M. Hausen" To: Michael Proto Message-ID: <20070503133048.GA42241@hugo10.ka.punkt.de> References: <20070503082309.GG8556@hugo10.ka.punkt.de> <4639DA64.9090608@jellydonut.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4639DA64.9090608@jellydonut.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:30:53 -0000 Hello! On Thu, May 03, 2007 at 08:49:40AM -0400, Michael Proto wrote: > > Is there a way to limit the number of probed entities for > > a certain pci device class to, say, 1 in my case? > > I'd like to use bge0 for FreeBSD but the kernel should leave > > everything else that might be a bge interface alone. > > Would the following in /boot/device.hints achieve what you are after? > > hint.bge.1.disabled="1" > hint.bge.2.disabled="1" That would be the feature I am seeking. Unfortunately this had no effect. I already tried. The latest statement I was able to find via Google claimed, that for FBSD 5.2 "you cannot disable PCI devices other than completely removing the driver". I don't know if this has changed since then. According to Fujitsu Siemens support they use something called UMP, 'Universal Management Port', to send packets to the management processor via a shared Ethernet PHY. In theory the OS should be able to use the NIC at the same time as the management processor. You can use either a true shared LAN for both or 802.1q to get both interfaces into seperate broadcast domains. The problem with FreeBSD seems to be that bge_reset() which is called by bge_attach() clears the UMP configuration area. According to them Linux does not do this. Since I like a dedicated physical management interface much better, anyway, my final solution is rather simple: In the BIOS setup program disable the LAN port on that interface while keeping the setting for "Management LAN" at "Enabled". This has the desired effect: remote management works and FreeBSD doesn't see the port at all. Costs you a NIC, though ;-) Thanks, Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285 From owner-freebsd-stable@FreeBSD.ORG Thu May 3 14:09:19 2007 Return-Path: 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 6A6EC16A400 for ; Thu, 3 May 2007 14:09:19 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from sccrmhc15.comcast.net (sccrmhc15.comcast.net [63.240.77.85]) by mx1.freebsd.org (Postfix) with ESMTP id 32F8213C45E for ; Thu, 3 May 2007 14:09:19 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (sccrmhc15) with ESMTP id <20070503140917015008m736e>; Thu, 3 May 2007 14:09:18 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8D9F91FA01D; Thu, 3 May 2007 07:09:17 -0700 (PDT) Date: Thu, 3 May 2007 07:09:17 -0700 From: Jeremy Chadwick To: "Patrick M. Hausen" Message-ID: <20070503140917.GA2167@icarus.home.lan> Mail-Followup-To: "Patrick M. Hausen" , Michael Proto , freebsd-stable@freebsd.org References: <20070503082309.GG8556@hugo10.ka.punkt.de> <4639DA64.9090608@jellydonut.org> <20070503133048.GA42241@hugo10.ka.punkt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070503133048.GA42241@hugo10.ka.punkt.de> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Michael Proto , freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 14:09:19 -0000 On Thu, May 03, 2007 at 03:30:48PM +0200, Patrick M. Hausen wrote: > On Thu, May 03, 2007 at 08:49:40AM -0400, Michael Proto wrote: > > > > Would the following in /boot/device.hints achieve what you are after? > > > > hint.bge.1.disabled="1" > > hint.bge.2.disabled="1" > > That would be the feature I am seeking. Unfortunately this > had no effect. I already tried. The latest statement I was able > to find via Google claimed, that for FBSD 5.2 "you cannot disable > PCI devices other than completely removing the driver". > I don't know if this has changed since then. I don't think it has. AFAIK you're somewhat out of luck here. This is one of the biggest complaints I have about vendors who piggyback IP management (read: KVM-over-IP, LightOut, etc.) capabilities on an existing ethernet port (and also why Compaq's iLO/iLO2 has a dedicated port ;) ). > According to Fujitsu Siemens support they use something called UMP, > 'Universal Management Port', to send packets to the management > processor via a shared Ethernet PHY. > > In theory the OS should be able to use the NIC at the same time > as the management processor. You can use either a true shared > LAN for both or 802.1q to get both interfaces into seperate > broadcast domains. Correct. However, the network driver in the operating system needs to be aware of this fact and try to "play nice" with the existing management framework. I believe at present, Jung-uk Kim maintains the bge(4) driver. There has been mention as of late about this loader option as well: hw.bge.allow_asf="1" On my systems sysctl -d claims this OID doesn't exist, so I'm not sure what all it does. But looking at the code: SYSCTL_INT(_hw_bge, OID_AUTO, allow_asf, CTLFLAG_RD, &bge_allow_asf, 0, "Allow ASF mode if available"); > The problem with FreeBSD seems to be that bge_reset() which > is called by bge_attach() clears the UMP configuration area. > According to them Linux does not do this. Linux likely has awareness of the management framework. If this is a major problem/show-stopper (and I can only speak for myself), I would end up using Linux instead of FreeBSD. It ultimately depends on how important the feature is to you. > Since I like a dedicated physical management interface much > better, anyway, my final solution is rather simple: > > In the BIOS setup program disable the LAN port on that interface > while keeping the setting for "Management LAN" at "Enabled". > > This has the desired effect: remote management works and FreeBSD > doesn't see the port at all. Costs you a NIC, though ;-) I understand what you're getting at. I'm not sure how it "costs you a NIC" though, since with those BIOS settings, essentially what you're doing is making that NIC dedicated to remote management (which is how it should be done anyways). Sorry if this Email isn't much help; it's more of a "I feel your pain, and this is why it's important to pick certain hardware vs. others" Email. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu May 3 15:06:29 2007 Return-Path: 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 AE01816A409 for ; Thu, 3 May 2007 15:06:29 +0000 (UTC) (envelope-from pvh@wfeet.za.net) Received: from ctb-mesg-1-3.saix.net (ctb-mesg-1-3.saix.net [196.25.240.81]) by mx1.freebsd.org (Postfix) with ESMTP id 4711613C469 for ; Thu, 3 May 2007 15:06:29 +0000 (UTC) (envelope-from pvh@wfeet.za.net) Received: from leftside.wfeet.za.net (dsl-241-51-150.telkomadsl.co.za [41.241.51.150]) by ctb-mesg-1-3.saix.net (Postfix) with ESMTP id E0891133D2; Thu, 3 May 2007 17:06:21 +0200 (SAST) Received: from leftside.wfeet.za.net (localhost [127.0.0.1]) by leftside.wfeet.za.net (Postfix) with ESMTP id 9DE4230161; Thu, 3 May 2007 17:06:13 +0200 (SAST) X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on leftside.wfeet.za.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 Received: from [192.168.0.1] (blackstar.wfeet.za.net [192.168.0.1]) by leftside.wfeet.za.net (Postfix) with ESMTP id 86CC03015F; Thu, 3 May 2007 17:06:13 +0200 (SAST) Message-ID: <4639FA65.7010005@wfeet.za.net> Date: Thu, 03 May 2007 17:06:13 +0200 From: Peter van Heusden User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: "Mirror of cups.bugs Newsgroup" , freebsd-stable@freebsd.org References: <5560-cups.bugs@news.easysw.com> <5561-cups.bugs@news.easysw.com> In-Reply-To: <5561-cups.bugs@news.easysw.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (leftside.wfeet.za.net [0.0.0.0]); Thu, 03 May 2007 17:06:13 +0200 (SAST) Cc: Subject: Re: [cups.bugs] tcgetattr() causes lockup in USB backend on FreeBSD6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 15:06:29 -0000 Sorry, a bit more investigation revealed that my earlier comments were wrong. Yes, the tcgetattr() call *does* "hang" - on my system it takes 10 seconds to return, before returning ENODEV (the only thing that ioctl on a ulpt returns on FreeBSD, according to my reading of the kernel). That, however, isn't the real problem - the real hang occurs when backendRunLoop() in runloop.c tries to read backchannel data from the ulpt - despite select() saying that there is data available, the read() blocks (I've even tried making the read buffer's size 1 byte, the problem persists). This causes the usb backend hang. So indeed, setting use_bc = 0 solves the problem. I'm not sure why select() / read() interact like this. Peter Michael Sweet wrote: > Peter van Heusden wrote: > >> I recently upgrade CUPS on my FreeBSD 6-STABLE server to version 1.2.10, >> and it took a while to get the USB backend working (I have a USB-connect >> HP LaserJet 1010). After some debugging, it turned out that the code in >> usb-unix.c that calls tcgetattr() on /dev/ulptN in print_device() was at >> fault - what happens is that tcgetattr() blocks, and the USB backend >> then hangs. I'm still waiting for a response from the FreeBSD developers >> on this behaviour, but in any event from my reading of the kernel it >> seems that ioctl() on a FreeBSD ulpt is a no-op anyway. >> > > The use_bc stuff doesn't control whether ioctl() (via tcget/setattr) > is used to set "raw" mode, so a separate fix will be needed. > > That said, this sounds like a serious FreeBSD bug - ioctl is needed > for POSIX conformance on all character devices. > > From owner-freebsd-stable@FreeBSD.ORG Thu May 3 15:32:06 2007 Return-Path: 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 4419716A406 for ; Thu, 3 May 2007 15:32:06 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id ECB1513C44B for ; Thu, 3 May 2007 15:32:05 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=RiMy44rTRh/Zy3ND3oqv/P+jfuvH45BPNa08GEIwQYygiP10NTlF0nZDE9h9RkK7QA77Z7Q7zwtZRdNNyPDsI0rvllF/hdKVDnBobZ6h5UUkCY/nSBvwFI1bhSbAy8+wtE7nL/w9Km5BIowSDQEiNDDE4LLlxaPqVEbgz5ZQqSQ=; Received: from codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1Hjd1q-000DNM-Mw; Thu, 03 May 2007 19:15:35 +0400 Date: Thu, 3 May 2007 19:15:30 +0400 From: Eygene Ryabinkin To: pvh@wfeet.za.net Message-ID: <20070503151530.GE27817@codelabs.ru> References: <5560-cups.bugs@news.easysw.com> <5561-cups.bugs@news.easysw.com> <4639FA65.7010005@wfeet.za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4639FA65.7010005@wfeet.za.net> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-3.4 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00 Cc: freebsd-stable@freebsd.org Subject: Re: [cups.bugs] tcgetattr() causes lockup in USB backend on FreeBSD6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 15:32:06 -0000 Peter, good day. Thu, May 03, 2007 at 05:06:13PM +0200, Peter van Heusden wrote: > Sorry, a bit more investigation revealed that my earlier comments were > wrong. Yes, the tcgetattr() call *does* "hang" - on my system it takes > 10 seconds to return, before returning ENODEV (the only thing that ioctl > on a ulpt returns on FreeBSD, according to my reading of the kernel). > That, however, isn't the real problem - the real hang occurs when > backendRunLoop() in runloop.c tries to read backchannel data from the > ulpt - despite select() saying that there is data available, the read() > blocks (I've even tried making the read buffer's size 1 byte, the > problem persists). This causes the usb backend hang. So indeed, setting > use_bc = 0 solves the problem. I'm not sure why select() / read() > interact like this. Seems like the FreeBSD kernel reports your device as the bi-directional one? I mean that 'dmesg | grep directi' shows something like 'ulpt0: using bi-directional mode'? If yes, then adding your device to the USB quirks as the uni-directional one should fix your problem. If you can rebuild the kernel, but don't know how to correct the quirks, send me the output of the 'usbdevs -v' with the printer plugged in and I will try to send you the patch for the USB quirks file. -- Eygene From owner-freebsd-stable@FreeBSD.ORG Thu May 3 15:32:07 2007 Return-Path: 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 6BFCE16A4DC for ; Thu, 3 May 2007 15:32:07 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 21C1813C44C for ; Thu, 3 May 2007 15:32:07 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=SQmMerIw9KKUnU62XuRzvKepXnoPc/TbQvkkncjt63PpQyiHMl4JMftMDihCgcMVncwR0h16y1bAiIzKAjHe+KIkGIm0lCS6Ofh8WuSlx0lYoStCkfIC4RK8HTdvObMhKn9qbWwcJrRTtknfUlUhq7gHyrJ/5c4xgKWS6mw91Zc=; Received: from codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1Hjd5p-000DNe-WE; Thu, 03 May 2007 19:19:42 +0400 Date: Thu, 3 May 2007 19:19:37 +0400 From: Eygene Ryabinkin To: pvh@wfeet.za.net Message-ID: <20070503151937.GF27817@codelabs.ru> References: <5560-cups.bugs@news.easysw.com> <5561-cups.bugs@news.easysw.com> <4639FA65.7010005@wfeet.za.net> <20070503151530.GE27817@codelabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20070503151530.GE27817@codelabs.ru> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.2 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 Cc: freebsd-stable@freebsd.org Subject: Re: [cups.bugs] tcgetattr() causes lockup in USB backend on FreeBSD6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 15:32:07 -0000 Me again. Thu, May 03, 2007 at 07:15:30PM +0400, Eygene Ryabinkin wrote: > If you can rebuild the kernel, but don't know how to correct the > quirks, send me the output of the 'usbdevs -v' with the printer > plugged in and I will try to send you the patch for the USB quirks > file. And it will be good if you will provide either the full /usr/src/sys/dev/usb/usb_quirks.c file (preferrably) or the output of the 'uname -r'. Thanks. -- Eygene From owner-freebsd-stable@FreeBSD.ORG Thu May 3 15:47:55 2007 Return-Path: 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 78DF616A401; Thu, 3 May 2007 15:47:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 481FD13C45B; Thu, 3 May 2007 15:47:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 6CD065C5A; Thu, 3 May 2007 11:18:02 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Flsl6H9bKlIj; Thu, 3 May 2007 11:18:00 -0400 (EDT) Received: from [192.168.1.3] (pool-96-224-43-99.nycmny.east.verizon.net [96.224.43.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 554155C54; Thu, 3 May 2007 11:18:00 -0400 (EDT) Message-ID: <4639FD24.9080508@mac.com> Date: Thu, 03 May 2007 11:17:56 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: "Marc G. Fournier" References: <8D083D1175D331F7E56AB69D@ganymede.hub.org> In-Reply-To: <8D083D1175D331F7E56AB69D@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: John-Mark Gurney , freebsd-stable@freebsd.org, Adrian Chadd Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 15:47:55 -0000 Marc G. Fournier wrote: [ ... ] > okay, next question ... under 'Active UNIX domain sockets, I see alot that have > no Addr: > > Active UNIX domain sockets > Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr > d06b7480 stream 0 0 0 c969b240 0 0 > private/proxymap > c969b240 stream 0 0 0 d06b7480 0 0 > ce6fc870 stream 0 0 0 cf744870 0 0 > private/rewrite > cf744870 stream 0 0 0 ce6fc870 0 0 > ce4b2630 stream 0 0 0 d0cee900 0 0 > private/proxymap The ones you're showing are from Postfix. It would be interesting to sort them by frequency and see what the majority of the use is from. If you sort the data by the conn field, do the ones without an address all hit the same thing? If you grep for that in the first field, I found a lot that are talking to /var/run/logpriv (ie, a socketpair() to syslogd, presumably). -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Thu May 3 16:55:20 2007 Return-Path: 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 72F5D16A40A; Thu, 3 May 2007 16:55:20 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 3009313C4CB; Thu, 3 May 2007 16:55:20 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 76F4148A321; Thu, 3 May 2007 13:55:12 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 49291-08; Thu, 3 May 2007 13:55:19 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id D315B48A31F; Thu, 3 May 2007 13:55:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 78AC160344; Thu, 3 May 2007 13:55:26 -0300 (ADT) Date: Thu, 03 May 2007 13:55:26 -0300 From: "Marc G. Fournier" To: Chuck Swiger Message-ID: In-Reply-To: <4639FD24.9080508@mac.com> References: <8D083D1175D331F7E56AB69D@ganymede.hub.org> <4639FD24.9080508@mac.com> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: John-Mark Gurney , freebsd-stable@freebsd.org, Adrian Chadd Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 16:55:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, May 03, 2007 11:17:56 -0400 Chuck Swiger wrote: > The ones you're showing are from Postfix. It would be interesting to sort > them by frequency and see what the majority of the use is from. > > If you sort the data by the conn field, do the ones without an address all > hit the same thing? If you grep for that in the first field, I found a lot > that are talking to /var/run/logpriv (ie, a socketpair() to syslogd, > presumably). Okay, assuming that I'm doing this right, here' what I have: Last night, before I went to bed: mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l 2705 2981 Today, 5 minutes ago: # netstat -A | grep stream | wc -l ; sockstat -u | wc -l 4397 2961 Looking at the Conn field from netstat -A: mars# awk '{print $6}' /tmp/output | sort | uniq -c | sort -nr | head -5 2125 0 1 d14dbe10 1 d14dbbd0 1 d14dbb40 1 d14dba20 So, 2125 sockets not connected to anything? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOhP+4QvfyHIvDvMRAhdvAKCZo5JRwFea0E8wb+iFblJ1aHM57gCdEb2T KMJhc7OT5kyQNMslL7Rm+LE= =+0kp -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 18:16:54 2007 Return-Path: X-Original-To: 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 DD12A16A401 for ; Thu, 3 May 2007 18:16:54 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5A313C44C for ; Thu, 3 May 2007 18:16:54 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so422349ugh for ; Thu, 03 May 2007 11:16:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=d17M9cYYWAtNPJuqR2QLbAGPbO+rjgkSGiNIqNOZ3hwoyc9+DZJ5AiRYTwJrtO8HhOHfwztp94CxL1mJ0FRtR0A0UKghTqxdyNb1CoY2sCA25rHr0jBP18ZgwvH5uGY3hiN+Cog8BwFTRLVt+YQ124SIABvcOa/L97WJ28rPO3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=LoMUwUBXZyWxnAUrV5LQ7Z90jc0jKp8rm1KMqlRATKxkO7WPInQpu57AuekiUdy7qeJCGbGLdatEwEjW/ee9LGBEKYTxfSD1Ecl4b+sAo1ABQrRDrk78FXyrXLi+B8Oim0advKAW5BUWqu7Jh+FMaNkT/RlhPrSWLu7ifnnAVSg= Received: by 10.67.105.19 with SMTP id h19mr2077131ugm.1178216213414; Thu, 03 May 2007 11:16:53 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.147.171]) by mx.google.com with ESMTP id 55sm3870864ugq.2007.05.03.11.16.49; Thu, 03 May 2007 11:16:52 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l43IGl2M002471 for ; Thu, 3 May 2007 20:16:47 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l43IGkXb002470 for stable@freebsd.org; Thu, 3 May 2007 20:16:46 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Thu, 3 May 2007 20:16:46 +0200 From: Ulrich Spoerlein To: stable@freebsd.org Message-ID: <20070503181646.GA1527@roadrunner.q.local> Mail-Followup-To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 18:16:54 -0000 Hi all, I'm having a hard time getting my external (USB, Firewire) Plextor PX-755UF to read any retail DVDs at all. I can read any kind of CDs and also DVD-Rs. But mastered DVDs are invisible to FreeBSD. I can not even read a single sector from such a DVD with the external drive, but it's working just fine with the internal one. It's really driving me nuts. umass0: umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0000 umass0:1:0:-1: Attached to scbus1 cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed cd1 at ata1 bus 0 target 0 lun 0 cd1: <_NEC DVD_RW ND-5500A 1.51> Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present The NEC drive can read DVDs just fine (although it sucks). % recoverdisk /dev/cd1 start size len state done remaining % done 0 1048576 7411912704 0 0 7411912704 0.0000000^C (130)% recoverdisk /dev/cd0 recoverdisk: DIOCGMEDIASIZE failed: No such file or directory (1)% dd if=/dev/cd0 bs=2048 0+0 records in 0+0 records out 0 bytes transferred in 0.000093 secs (0 bytes/sec) If I attach the device via Firewire, it's just the same. Perhaps it requires some sort of quirk? Where should I start looking for debug output? Which test should I run. Any help would be greatly appreciated. Bye, Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy From owner-freebsd-stable@FreeBSD.ORG Thu May 3 18:23:54 2007 Return-Path: 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 9E79416A401; Thu, 3 May 2007 18:23:54 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7665813C44B; Thu, 3 May 2007 18:23:54 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 1E2F046C97; Thu, 3 May 2007 14:23:54 -0400 (EDT) Date: Thu, 3 May 2007 19:23:53 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Marc G. Fournier" In-Reply-To: <366565EAE2F989935287015E@ganymede.hub.org> Message-ID: <20070503192139.C32808@fledge.watson.org> References: <366565EAE2F989935287015E@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 18:23:54 -0000 On Tue, 1 May 2007, Marc G. Fournier wrote: > I'm still being hit by this one ... more frequently right now as I had to > move a bit more stuff *onto* that server ... I'm trying to figure out what I > can monitor for a 'leak' somewhere, but the only thing I'm able to find is > the whole nmbclusters stuff: > > mars# netstat -m | grep "mbuf clusters" > 130/542/672/25600 mbuf clusters in use (current/cache/total/max) > > the above is after 26hrs uptime ... > > Is there something else that will trigger/generate the above error message? ENOBUFS is a common error in the network stack reflecting a lack of free memory or exceeding a system, user, or process resource limit. While the classic source of ENOBUFS is mbuf or mbuf cluster exhaustion, there are several other sources of the error. For example, you will get ENOBUFS back if you run out of sockets, or a process tries to increase the size of socket buffers beyond the user resource limit. I'd look at all the output of netstat -m, not just clusters. I'd also look at kern.ipc.numopensockets and compare it to kern.ipc.maxsockets. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-stable@FreeBSD.ORG Thu May 3 18:28:56 2007 Return-Path: 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 AFF4E16A403; Thu, 3 May 2007 18:28:56 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 851AB13C448; Thu, 3 May 2007 18:28:56 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3321E46CD2; Thu, 3 May 2007 14:28:56 -0400 (EDT) Date: Thu, 3 May 2007 19:28:56 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Marc G. Fournier" In-Reply-To: <7F7C3ECEFCC7914576DA2033@ganymede.hub.org> Message-ID: <20070503192409.W32808@fledge.watson.org> References: <366565EAE2F989935287015E@ganymede.hub.org> <7F7C3ECEFCC7914576DA2033@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Adrian Chadd , freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 18:28:56 -0000 On Wed, 2 May 2007, Marc G. Fournier wrote: > # netstat | egrep "tcp4|udp4" | awk '{print $1}' | uniq -c > 171 tcp4 > 103 udp4 > > or is there a better command I should be using? I generally recommend using a combination of netstat and sockstat. Sockets represent, loosely, IPC endpoints. There are actually two "layers" associated with each socket -- the IPC object (socket) and the protocol control block (PCB). Both are resource limited to pevent run-away processes from swamping the system, so exhaustion of either can lead to ENOBUFS. The behaviors of netstat and sockstat are quite different, even though the output is similar: netstat walks the protocol-layer connection lists and prints information about them. sockstat walks the process file descriptor table and prints information on reachable sockets. As sockets can exist without PCBs, and PCBs can exist without sockets, you need to look at both to get a full picture. This can occur if a proces exits, closes the socket, and the connection remains in, for example, the TIME_WAIT state. There are some other differences -- the same socket can appear more than once in sockstat output, as more than one process can reference the same socket. Sockets can also exist without any referencing process (if the application closes, but there is still data draining on an open socket). I would suggest starting with sockstat, as that will allow you to link socket use to applications, and provide a fairly neat summary. When using netstat, use "netstat -na", which will list all sockets and avoid name lookups. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-stable@FreeBSD.ORG Thu May 3 20:31:18 2007 Return-Path: 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 52FF816A403 for ; Thu, 3 May 2007 20:31:18 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (myrtle.kcilink.com [66.250.193.116]) by mx1.freebsd.org (Postfix) with ESMTP id 2C22A13C45A for ; Thu, 3 May 2007 20:31:18 +0000 (UTC) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 4FF6EB814 for ; Thu, 3 May 2007 16:31:15 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> References: <28edec3c0705021139h45c785c2s915941c0afb93b5d@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1D00B1EB-D5E6-48D8-BB4C-76976E6DB336@khera.org> Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Thu, 3 May 2007 16:31:14 -0400 To: FreeBSD Stable List X-Mailer: Apple Mail (2.752.2) Subject: Re: mfs and buildworlds on da SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 20:31:18 -0000 On May 2, 2007, at 2:39 PM, Mars G. Miro wrote: > - front USB ports wont work for a USB keyboard, just use da ports > at da back. applies to X4100 as well. I think sun just makes them that way :-) From owner-freebsd-stable@FreeBSD.ORG Thu May 3 20:32:54 2007 Return-Path: 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 AB39216A403 for ; Thu, 3 May 2007 20:32:54 +0000 (UTC) (envelope-from sven@dmv.com) Received: from smtp-gw-cl-c.dmv.com (smtp-gw-cl-c.dmv.com [216.240.97.41]) by mx1.freebsd.org (Postfix) with ESMTP id 485AA13C4BB for ; Thu, 3 May 2007 20:32:54 +0000 (UTC) (envelope-from sven@dmv.com) Received: from mail-gw-cl-a.dmv.com (mail-gw-cl-a.dmv.com [216.240.97.38]) by smtp-gw-cl-c.dmv.com (8.12.10/8.12.10) with ESMTP id l43KWq47043234; Thu, 3 May 2007 16:32:53 -0400 (EDT) (envelope-from sven@dmv.com) Received: from [216.240.97.46] (lanshark.dmv.com [216.240.97.46]) by mail-gw-cl-a.dmv.com (8.12.9/8.12.9) with ESMTP id l43KWquk011042; Thu, 3 May 2007 16:32:52 -0400 (EDT) (envelope-from sven@dmv.com) From: Sven Willenberger To: Michael Collette In-Reply-To: References: Content-Type: text/plain Date: Thu, 03 May 2007 16:36:26 -0400 Message-Id: <1178224586.15571.6.camel@lanshark.dmv.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 X-Scanned-By: MIMEDefang 2.48 on 216.240.97.38 Cc: FreeBSD Stable Subject: Re: Another em0 watchdog timeout X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 20:32:54 -0000 On Tue, 2007-05-01 at 11:05 -0700, Michael Collette wrote: > I realize there is a previous thread discussing this, but my symptoms > seem to be a little bit different. Here's the stats... > > FreeBSD 6.2-STABLE #1: Fri Apr 27 17:28:22 PDT 2007 > > em0@pci13:0:0: class=0x020000 card=0x108c15d9 chip=0x108c8086 rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'PRO/1000 PM' > class = network > subclass = ethernet > em1@pci14:0:0: class=0x020000 card=0x109a15d9 chip=0x109a8086 rev=0x00 hdr=0x00 > vendor = 'Intel Corporation' > class = network > subclass = ethernet > > em0: port > 0x5000-0x501f mem 0xea300000-0xea31ffff irq 16 at device 0.0 on pci13 > em0: Ethernet address: 00:30:48:5c:cc:84 > em1: port > 0x6000-0x601f mem 0xea400000-0xea41ffff irq 17 at device 0.0 on pci14 > em1: Ethernet address: 00:30:48:5c:cc:85 > > I'm seeing the following entries in my messages log pop up about 2-4 > times a day... > > May 1 08:29:38 alpha kernel: em0: watchdog timeout -- resetting > May 1 08:29:38 alpha kernel: em0: link state changed to DOWN > May 1 08:29:41 alpha kernel: em0: link state changed to UP > > I've gone and added the DEVICE_POLLING option in the kernel, but this > doesn't seem to help. The problem only seems to happen during the > hours that my users would be hitting this box, so it really gets > noticed when those 3 seconds go by. And yes, it's almost always a 3 > second drop on the interface. > > Is there anything I can do to prevent this from happening? I saw > mention of a firmware update I might try, but haven't been able to > locate the file in question. > > Thanks, Search the list for a post by Jack Vogel that contains an attachment named "dcgdis.ThisIsZip". That firmware patch solved my em watchdog timeout issues. From owner-freebsd-stable@FreeBSD.ORG Thu May 3 20:56:21 2007 Return-Path: X-Original-To: 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 0C7A616A400 for ; Thu, 3 May 2007 20:56:21 +0000 (UTC) (envelope-from sean-freebsd@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id BC43E13C43E for ; Thu, 3 May 2007 20:56:20 +0000 (UTC) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.1/8.14.1) with ESMTP id l43KJult091761; Thu, 3 May 2007 15:19:56 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Thu, 3 May 2007 15:18:16 -0500 (CDT) From: "Sean C. Farley" To: Ulrich Spoerlein In-Reply-To: <20070503181646.GA1527@roadrunner.q.local> Message-ID: <20070503150931.G35420@thor.farley.org> References: <20070503181646.GA1527@roadrunner.q.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 20:56:21 -0000 On Thu, 3 May 2007, Ulrich Spoerlein wrote: > Hi all, > > I'm having a hard time getting my external (USB, Firewire) Plextor > PX-755UF to read any retail DVDs at all. I can read any kind of CDs > and also DVD-Rs. But mastered DVDs are invisible to FreeBSD. > > I can not even read a single sector from such a DVD with the external > drive, but it's working just fine with the internal one. It's really > driving me nuts. > The NEC drive can read DVDs just fine (although it sucks). > > % recoverdisk /dev/cd1 > start size len state done remaining % done > 0 1048576 7411912704 0 0 7411912704 0.0000000^C > (130)% recoverdisk /dev/cd0 > recoverdisk: DIOCGMEDIASIZE failed: No such file or directory > (1)% dd if=/dev/cd0 bs=2048 > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000093 secs (0 bytes/sec) > > If I attach the device via Firewire, it's just the same. Perhaps it > requires some sort of quirk? Where should I start looking for debug > output? Which test should I run. Any help would be greatly > appreciated. I had an issue with ripping some DVD's to my laptop before a trip I made (note: no distribution occurred (for the lawyers :))). I wanted to just use dd to do it, but dd would fail after a small amount of data was read. If I first played a little of the DVD with mplayer, then dd would work afterwards. It probably had something to do with mplayer whispering sweet nothings to the DVD player. Sean -- sean-freebsd@farley.org From owner-freebsd-stable@FreeBSD.ORG Thu May 3 21:47:27 2007 Return-Path: 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 3326B16A40A; Thu, 3 May 2007 21:47:27 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id BFA8913C483; Thu, 3 May 2007 21:47:26 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 2EA5248A322; Thu, 3 May 2007 18:47:16 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 90077-03; Thu, 3 May 2007 18:47:25 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 8D93948A31F; Thu, 3 May 2007 18:47:15 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 7D6E56038A; Thu, 3 May 2007 18:47:35 -0300 (ADT) Date: Thu, 03 May 2007 18:47:35 -0300 From: "Marc G. Fournier" To: Robert Watson Message-ID: <5C07C592A1A1F97E055965A6@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Adrian Chadd , freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 21:47:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, May 03, 2007 19:28:56 +0100 Robert Watson wrote: > I generally recommend using a combination of netstat and sockstat. Sockets > represent, loosely, IPC endpoints. There are actually two "layers" > associated with each socket -- the IPC object (socket) and the protocol > control block (PCB). Both are resource limited to pevent run-away processes > from swamping the system, so exhaustion of either can lead to ENOBUFS. > > The behaviors of netstat and sockstat are quite different, even though the > output is similar: netstat walks the protocol-layer connection lists and > prints information about them. sockstat walks the process file descriptor > table and prints information on reachable sockets. As sockets can exist > without PCBs, and PCBs can exist without sockets, you need to look at both to > get a full picture. This can occur if a proces exits, closes the socket, and > the connection remains in, for example, the TIME_WAIT state. > > There are some other differences -- the same socket can appear more than once > in sockstat output, as more than one process can reference the same socket. > Sockets can also exist without any referencing process (if the application > closes, but there is still data draining on an open socket). > > I would suggest starting with sockstat, as that will allow you to link socket > use to applications, and provide a fairly neat summary. When using netstat, > use "netstat -na", which will list all sockets and avoid name lookups. 'k, all I'm looking at right now is the Unix Domain Sockets, and the output of netstat -> sockstat is growing since I first started counting both .. This was shortly after reboot: mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l 2705 2981 - From your explanation above, I'm guessing that the higher sockstat #s is where you were talking about one socket being used by multiple processes? But, right now: mars# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l 5025 2905 sockstat -u #s are *down*, but netstat -na is almost double ... Again, based on what you state above: "Sockets can also exist without any referencing process (if the application closes, but there is still data draining on an open socket)." Now, looking at another 6-STABLE server, but one that has been running for 2 months now, I'm seeing numbers more consistent with what mars looks like shortly after all the jails start up: venus# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l 2126 2209 So, if those sockets on mars are 'still draining on an open socket', is there some way of finding out where? If I'm understanding what you've said above, these 'draining sockets' don't have any processes associated with them anymore? So, its not like I can just kill off a process, correct? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOlh34QvfyHIvDvMRApSUAJ9jPszXBw83hXPRLbczimNWFtn6WwCgpijT nDWi/kW4Gt8/J2a4U3n2prk= =IQCW -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 21:49:53 2007 Return-Path: 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 8DCB016A403 for ; Thu, 3 May 2007 21:49:53 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 08EF313C45B for ; Thu, 3 May 2007 21:49:52 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l43Lnp0Z009166; Fri, 4 May 2007 07:49:51 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l43LnohW009165; Fri, 4 May 2007 07:49:50 +1000 (EST) (envelope-from peter) Date: Fri, 4 May 2007 07:49:50 +1000 From: Peter Jeremy To: "Patrick M. Hausen" Message-ID: <20070503214950.GS818@turion.vk2pj.dyndns.org> References: <20070503082309.GG8556@hugo10.ka.punkt.de> <4639DA64.9090608@jellydonut.org> <20070503133048.GA42241@hugo10.ka.punkt.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hYooF8G/hrfVAmum" Content-Disposition: inline In-Reply-To: <20070503133048.GA42241@hugo10.ka.punkt.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Michael Proto , freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 21:49:53 -0000 --hYooF8G/hrfVAmum Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-03 15:30:48 +0200, "Patrick M. Hausen" wrote: >Hello! > >On Thu, May 03, 2007 at 08:49:40AM -0400, Michael Proto wrote: > >> > Is there a way to limit the number of probed entities for >> > a certain pci device class to, say, 1 in my case? >> > I'd like to use bge0 for FreeBSD but the kernel should leave >> > everything else that might be a bge interface alone. >>=20 >> Would the following in /boot/device.hints achieve what you are after? >>=20 >> hint.bge.1.disabled=3D"1" >> hint.bge.2.disabled=3D"1" > >That would be the feature I am seeking. Unfortunately this >had no effect. I already tried. The latest statement I was able >to find via Google claimed, that for FBSD 5.2 "you cannot disable >PCI devices other than completely removing the driver". >I don't know if this has changed since then. Unfortunately, the 'disabled' hint is not handled generically. There is support for disabling ISA devices and a handful of other devices but bge is not amongst them. Possibly the following (untested) code would work but I have a feeling it would run afoul of dynamic device numbering. (It seems too simple a solution to have not been implemented if it would work). Index: /usr/src/sys/kern/subr_bus.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/ncvs/src/sys/kern/subr_bus.c,v retrieving revision 1.184.2.5 diff -u -r1.184.2.5 subr_bus.c --- /usr/src/sys/kern/subr_bus.c 28 Dec 2006 22:13:26 -0000 1.184.2.5 +++ /usr/src/sys/kern/subr_bus.c 3 May 2007 21:45:49 -0000 @@ -1722,7 +1722,10 @@ resource_int_value(dl->driver->name, child->unit, "flags", &child->devflags); =20 - result =3D DEVICE_PROBE(child); + if (resource_disabled(dl->driver->name, child->unit)) + result =3D ENXIO; + else + result =3D DEVICE_PROBE(child); =20 /* Reset flags and devclass before the next probe. */ child->devflags =3D 0; @@ -1805,7 +1808,8 @@ * A bit bogus. Call the probe method again to make * sure that we have the right description. */ - DEVICE_PROBE(child); + if (!resource_disabled(dl->driver->name, child->unit)) + DEVICE_PROBE(child); #if 0 child->flags |=3D DF_REBID; #endif --=20 Peter Jeremy --hYooF8G/hrfVAmum Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGOlj+/opHv/APuIcRAsNnAJ4ifGgD+wdBs/DoNqaUoBHWF7h22gCgtV6y xKIG2B7ao89HIy85QYQe+HA= =8aHe -----END PGP SIGNATURE----- --hYooF8G/hrfVAmum-- From owner-freebsd-stable@FreeBSD.ORG Thu May 3 22:07:12 2007 Return-Path: X-Original-To: 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 1EFD816A400 for ; Thu, 3 May 2007 22:07:12 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id A2C1413C44C for ; Thu, 3 May 2007 22:07:11 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so453052ugh for ; Thu, 03 May 2007 15:07:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=XahWK/YbYLT38dXtlop+aU7bXOiXTb1XDPASmgxrFRYWQ3UQl+BqTPZFEYu+tbALuCEosFsvtBbEacxDpZMt3GXtONzkGBEZx2Y+3RLaWh9kD739OR0cqfB/cN2gWFv33N52YpCObSIYNXonSWWaOsPtUlpyzqPSznDi+TfiPtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=XriZ/Uz7Msyez2TmLvdpUxlIDgPohF/MVz94xRCLglM9q2P4BnRCBP953TxTa300LN3dio3+FqB0vQ1wteDvhFj0b2Ov2GdtiVUbe3uKxesFZP940QTS+OTZoHqhDAzKgk52M6FXK8aPcI8+Umj+wXoLKaq3dVeGAmYJnmthxO4= Received: by 10.66.219.11 with SMTP id r11mr257521ugg.1178230030563; Thu, 03 May 2007 15:07:10 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.147.171]) by mx.google.com with ESMTP id j1sm4272068ugf.2007.05.03.15.07.08; Thu, 03 May 2007 15:07:08 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l43M742l016376; Fri, 4 May 2007 00:07:04 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l43M74Fx016371; Fri, 4 May 2007 00:07:04 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 4 May 2007 00:07:04 +0200 From: Ulrich Spoerlein To: "Sean C. Farley" Message-ID: <20070503220704.GA1483@roadrunner.q.local> Mail-Followup-To: "Sean C. Farley" , stable@freebsd.org, scottl@freebsd.org References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070503150931.G35420@thor.farley.org> Cc: stable@freebsd.org, scottl@freebsd.org Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 22:07:12 -0000 Sean C. Farley wrote: > On Thu, 3 May 2007, Ulrich Spoerlein wrote: > I had an issue with ripping some DVD's to my laptop before a trip I made > (note: no distribution occurred (for the lawyers :))). I wanted to > just use dd to do it, but dd would fail after a small amount of data was > read. If I first played a little of the DVD with mplayer, then dd would > work afterwards. It probably had something to do with mplayer > whispering sweet nothings to the DVD player. Wouldn't help in my case, as the disc cannot be accessed in anyway. But ... atausb(4) to the rescue! I recompiled my kernel with atausb(4) to rule out problems inside CAM, lo' and behold: umass0: umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0000 umass0:3:0:-1: Attached to scbus3 cd1 at umass-sim0 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 40.000MB/s transfers cd1: cd present [3614880 x 2048 byte records] (no glabel tasting, no reading from the device possible) umass0: at uhub3 port 1 (addr 121) disconnected (cd1:umass-sim0:0:0:0): lost device (cd1:umass-sim0:0:0:0): removing device entry umass0: detached atausb0: atausb0: using ATAPI over Bulk-Only ata2: on atausb0 acd1: DEVICE_RESET unsupported acd1: DVDR at ata2-master USB2 acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd1 at ata2 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 3.300MB/s transfers cd1: Attempt to query device size failed: NOT READY, Logical unit is inprocess of becoming ready GEOM_LABEL: Label for provider acd1 is iso9660/FIREFLY_DISC2. acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 Might these ILLEGAL REQUESTs give a clue to what is going wrong when trying to access this device with cd(4)? Why is it only reporting/using 3.3MB/s transfers? Why can I read and mount the DVD, but mplayer/xine are still unable to play the DVD? (It works fine on the internal, ATA attached, crappy NEC drive.) Perhaps Scott can share some SCSI wisdom on this matter. I really need to use this drive via Firewire, ie. cd(4), so atausb(4) is no permanent solution. Ulrich Spoerlein PS: why is iostat(1) not working for acd(4) devices? -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy From owner-freebsd-stable@FreeBSD.ORG Thu May 3 22:48:03 2007 Return-Path: X-Original-To: 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 872AB16A403 for ; Thu, 3 May 2007 22:48:03 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 33D2D13C43E for ; Thu, 3 May 2007 22:48:03 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l43MVhZB067894; Thu, 3 May 2007 16:31:43 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <463A62C9.2010707@samsco.org> Date: Thu, 03 May 2007 16:31:37 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: "Sean C. Farley" , stable@freebsd.org References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> <20070503220704.GA1483@roadrunner.q.local> In-Reply-To: <20070503220704.GA1483@roadrunner.q.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Thu, 03 May 2007 16:31:43 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 22:48:03 -0000 Ulrich Spoerlein wrote: > Sean C. Farley wrote: >> On Thu, 3 May 2007, Ulrich Spoerlein wrote: >> I had an issue with ripping some DVD's to my laptop before a trip I made >> (note: no distribution occurred (for the lawyers :))). I wanted to >> just use dd to do it, but dd would fail after a small amount of data was >> read. If I first played a little of the DVD with mplayer, then dd would >> work afterwards. It probably had something to do with mplayer >> whispering sweet nothings to the DVD player. > > Wouldn't help in my case, as the disc cannot be accessed in anyway. > > But ... > > atausb(4) to the rescue! > > I recompiled my kernel with atausb(4) to rule out problems inside CAM, > lo' and behold: > > umass0: > umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0000 > umass0:3:0:-1: Attached to scbus3 > cd1 at umass-sim0 bus 0 target 0 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 40.000MB/s transfers > cd1: cd present [3614880 x 2048 byte records] > > (no glabel tasting, no reading from the device possible) > > umass0: at uhub3 port 1 (addr 121) disconnected > (cd1:umass-sim0:0:0:0): lost device > (cd1:umass-sim0:0:0:0): removing device entry > umass0: detached > atausb0: > atausb0: using ATAPI over Bulk-Only > ata2: on atausb0 > acd1: DEVICE_RESET unsupported > acd1: DVDR at ata2-master USB2 > acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 > cd1 at ata2 bus 0 target 0 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 3.300MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Logical unit is inprocess of becoming ready > GEOM_LABEL: Label for provider acd1 is iso9660/FIREFLY_DISC2. > acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 > acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 > acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 > acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 > acd1: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 > > Might these ILLEGAL REQUESTs give a clue to what is going wrong when > trying to access this device with cd(4)? Mostly harmless bug that will be fixed in the next few months. > Why is it only reporting/using > 3.3MB/s transfers? Harmless bug that will be fixed in the next few months. It doesn't reflect the actual speed. > Why can I read and mount the DVD, but mplayer/xine > are still unable to play the DVD? (It works fine on the internal, ATA > attached, crappy NEC drive.) No idea, sorry. Do you have umass, atapicam, and ata-usb all involved here? If so, you've made the room a little crowded, and they are all arguing with each other. I know that ata-usb was inspired by the ata author having problems with umass and not wanting to fix them there, but I don't know exactly what was broken or what was fixed. > > Perhaps Scott can share some SCSI wisdom on this matter. I really need > to use this drive via Firewire, ie. cd(4), so atausb(4) is no permanent > solution. > > Ulrich Spoerlein > > PS: why is iostat(1) not working for acd(4) devices? Because acd doesn't make use of the standard kernel facilities that make iostat work. It's a deliberate choice by the driver author. Scott From owner-freebsd-stable@FreeBSD.ORG Thu May 3 22:48:04 2007 Return-Path: X-Original-To: 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 6928D16A400 for ; Thu, 3 May 2007 22:48:04 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id C9A3113C45A for ; Thu, 3 May 2007 22:48:03 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l43MLNSV067868; Thu, 3 May 2007 16:21:23 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <463A605D.6030806@samsco.org> Date: Thu, 03 May 2007 16:21:17 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: "Sean C. Farley" References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> In-Reply-To: <20070503150931.G35420@thor.farley.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Thu, 03 May 2007 16:21:23 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: stable@freebsd.org, Ulrich Spoerlein Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 22:48:04 -0000 Sean C. Farley wrote: > On Thu, 3 May 2007, Ulrich Spoerlein wrote: > >> Hi all, >> >> I'm having a hard time getting my external (USB, Firewire) Plextor >> PX-755UF to read any retail DVDs at all. I can read any kind of CDs >> and also DVD-Rs. But mastered DVDs are invisible to FreeBSD. >> >> I can not even read a single sector from such a DVD with the external >> drive, but it's working just fine with the internal one. It's really >> driving me nuts. > > > >> The NEC drive can read DVDs just fine (although it sucks). >> >> % recoverdisk /dev/cd1 >> start size len state done >> remaining % done >> 0 1048576 7411912704 0 0 7411912704 >> 0.0000000^C >> (130)% recoverdisk /dev/cd0 >> recoverdisk: DIOCGMEDIASIZE failed: No such file or directory >> (1)% dd if=/dev/cd0 bs=2048 >> 0+0 records in >> 0+0 records out >> 0 bytes transferred in 0.000093 secs (0 bytes/sec) >> >> If I attach the device via Firewire, it's just the same. Perhaps it >> requires some sort of quirk? Where should I start looking for debug >> output? Which test should I run. Any help would be greatly >> appreciated. > > I had an issue with ripping some DVD's to my laptop before a trip I made > (note: no distribution occurred (for the lawyers :))). I wanted to > just use dd to do it, but dd would fail after a small amount of data was > read. If I first played a little of the DVD with mplayer, then dd would > work afterwards. It probably had something to do with mplayer > whispering sweet nothings to the DVD player. > > Sean Yes, there are ioctls that wind up instructing DVD players to be happy. Once they are issued, they remain in effect until the disk is changed or the device is reset. An argument could be made that every open of a DVD device should perform this magic, and not rely on the app to do it. But an argument could also be made to leave well enough alone =-) Scott From owner-freebsd-stable@FreeBSD.ORG Fri May 4 00:08:42 2007 Return-Path: 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 3C33A16A404 for ; Fri, 4 May 2007 00:08:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id EEC6F13C459 for ; Fri, 4 May 2007 00:08:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so717141ana for ; Thu, 03 May 2007 17:08:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=mIQIViSm8TLcHlN0IM1Vi/gRKiLDmgNs9ppU4n742vpW6EZPK/Mh1YXSCnaXvwC3DXSgroyFkL+fuzMsViz5SKYBGtqz6vKi9M6kYFU7Tia9UmcLQXZ7UwCTU4jAFHihXfJrg/cMrwWTYbB2s+unlglEfkJt17/dX09fip3pimM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=lSHo6JEF1oSwJxU4z0ulAw/z3Hz/DK9umzEFMiDm9Lr4Us/z86zVS2q6FgxNl4gS+5YOqNO8mlwknNVoarEdW4D+LAOEa35o+9CooInKI8rb0Njs6JEsUsxxNdtpb0DAVGDSrmskEtjHuMInjW4v+k+fEbA5JVq3fZLNqj/Paa8= Received: by 10.100.144.11 with SMTP id r11mr2170226and.1178237321100; Thu, 03 May 2007 17:08:41 -0700 (PDT) Received: by 10.100.197.3 with HTTP; Thu, 3 May 2007 17:08:40 -0700 (PDT) Message-ID: Date: Fri, 4 May 2007 08:08:40 +0800 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Marc G. Fournier" In-Reply-To: <5C07C592A1A1F97E055965A6@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5C07C592A1A1F97E055965A6@ganymede.hub.org> X-Google-Sender-Auth: 1aab13a3e1fdb215 Cc: freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 00:08:42 -0000 On 04/05/07, Marc G. Fournier wrote: > 'k, all I'm looking at right now is the Unix Domain Sockets, and the output of > netstat -> sockstat is growing since I first started counting both .. Hm! What about graphing them? It shouldn't be hard to write an mrtg shell script data source to graph these things on your different servers to compare/contrast. You could graph different chunks of the netstat -m output along with the stuff below. Ever played with munin, btw? The exercise would be to find other stuff on the system to correlate against your apparent unbounded socket growth and then investigate possible causation. Adrian > > This was shortly after reboot: > > mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l > 2705 > 2981 > > - From your explanation above, I'm guessing that the higher sockstat #s is where > you were talking about one socket being used by multiple processes? But, right > now: > > mars# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l > 5025 > 2905 > > sockstat -u #s are *down*, but netstat -na is almost double ... > > Again, based on what you state above: "Sockets can also exist without any > referencing process (if the application closes, but there is still data > draining on an open socket)." > > Now, looking at another 6-STABLE server, but one that has been running for 2 > months now, I'm seeing numbers more consistent with what mars looks like > shortly after all the jails start up: > > venus# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l > 2126 > 2209 > > So, if those sockets on mars are 'still draining on an open socket', is there > some way of finding out where? If I'm understanding what you've said above, > these 'draining sockets' don't have any processes associated with them anymore? > So, its not like I can just kill off a process, correct? > > > - ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (FreeBSD) > > iD8DBQFGOlh34QvfyHIvDvMRApSUAJ9jPszXBw83hXPRLbczimNWFtn6WwCgpijT > nDWi/kW4Gt8/J2a4U3n2prk= > =IQCW > -----END PGP SIGNATURE----- > > -- Adrian Chadd - adrian@freebsd.org From owner-freebsd-stable@FreeBSD.ORG Fri May 4 01:09:05 2007 Return-Path: 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 B6C4C16A400; Fri, 4 May 2007 01:09:05 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0E113C447; Fri, 4 May 2007 01:09:05 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id ED01D48A31F; Thu, 3 May 2007 22:08:53 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 27287-02; Thu, 3 May 2007 22:09:05 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 7A99648A31E; Thu, 3 May 2007 22:08:53 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6E0DB604AE; Thu, 3 May 2007 22:09:17 -0300 (ADT) Date: Thu, 03 May 2007 22:09:17 -0300 From: "Marc G. Fournier" To: Robert Watson Message-ID: X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 01:09:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to probe this as well as I can, but network stacks and sockets have never been my strong suit ... Robert had mentioned in one of his emails about a "Sockets can also exist without any referencing process (if the application closes, but there is still data draining on an open socket)." Now, that makes sense to me, I can understand that ... but, how would that look as far as netstat -nA shows? Or, would it? For example, I have: mars# netstat -nA | grep c9655a20 c9655a20 stream 0 0 0 c95d63f0 0 0 c95d63f0 stream 0 0 0 c9655a20 0 0 mars# netstat -nA | grep c95d63f0 c9655a20 stream 0 0 0 c95d63f0 0 0 c95d63f0 stream 0 0 0 c9655a20 0 0 They are attached to each other, but there appears to be no 'referencing process' ... it is now 10pm at night ... I saved a 'snapshot' of netstat -nA output at 6:45pm, over 3 hours ago, and it has the same entries as above: c9655a20 stream 0 0 0 c95d63f0 0 0 c95d63f0 stream 0 0 0 c9655a20 0 0 again, if I'm reading this right, there is no 'referencing process' ... first, of course, am I reading this right? second ... if I am reading this right, and, if I am understanding what Robert was saying about 'draining' (alot of ifs, I know) ... isn't it odd for it to take >3 hours to drain? Again, if I'm reading / understanding things right, without the 'referencing process', it won't show up in sockstat -u, which is why my netstat -nA numbers keep growing, but sockstat -u numbers don't ... which also means that there is no way to figure out what process / program is leaving 'dangling sockets'? :( - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOoe94QvfyHIvDvMRAj2LAKDXobcYr4VGOB+WfXYqCBTatZNZLQCfbyWa zsG/o1K3RM3ybjA5RLiSW5s= =8DJi -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 01:15:18 2007 Return-Path: X-Original-To: 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 DC7A716A401 for ; Fri, 4 May 2007 01:15:18 +0000 (UTC) (envelope-from bob@mail.boulderlabs.com) Received: from mail.boulderlabs.com (mail.boulderlabs.com [206.168.112.48]) by mx1.freebsd.org (Postfix) with ESMTP id A04E813C45A for ; Fri, 4 May 2007 01:15:18 +0000 (UTC) (envelope-from bob@mail.boulderlabs.com) Received: from easter.boulderlabs.com (65-102-200-209.hlrn.qwest.net [65.102.200.209]) by mail.boulderlabs.com (8.13.8/8.13.8) with ESMTP id l440p0O1099577; Thu, 3 May 2007 18:51:00 -0600 (MDT) (envelope-from bob@mail.boulderlabs.com) Received: from easter.boulderlabs.com (localhost.boulderlabs.com [127.0.0.1]) by easter.boulderlabs.com (8.13.8/8.13.8) with ESMTP id l440orHZ009030; Thu, 3 May 2007 18:50:53 -0600 (MDT) (envelope-from bob@easter.boulderlabs.com) Message-Id: <200705040050.l440orHZ009030@easter.boulderlabs.com> From: Robert Gray To: "Sean C. Farley" In-reply-to: Your message of "Thu, 03 May 2007 15:18:16 CDT." Date: Thu, 03 May 2007 18:50:53 -0600 Sender: bob@boulderlabs.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mail.boulderlabs.com [206.168.112.48]); Thu, 03 May 2007 18:51:01 -0600 (MDT) Cc: stable@freebsd.org, Ulrich Spoerlein Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 01:15:18 -0000 >I had an issue with ripping some DVD's to my laptop before a trip I made >(note: no distribution occurred (for the lawyers :))). I wanted to >just use dd to do it, but dd would fail after a small amount of data was >read. If I first played a little of the DVD with mplayer, then dd would >work afterwards. It probably had something to do with mplayer >whispering sweet nothings to the DVD player. >Sean I've had similar experiences with DaVinci Code and Casino Royal. The error is: Outputting to /big/MOVIE/CASINO/CASINO_ROYALE1-1.vob 16MB of 6834MB written (0 %) acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 My work around so that I can watch the movie I rented is to skip over the problem area (probably intensional by Hollywood) vobcopy -b 50m Try adjusting the offset-size to your needs. Robert From owner-freebsd-stable@FreeBSD.ORG Fri May 4 01:26:31 2007 Return-Path: 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 E3E7116A404 for ; Fri, 4 May 2007 01:26:30 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id BDEED13C4AE for ; Fri, 4 May 2007 01:26:30 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.8/8.13.7) with ESMTP id l441QUbc078198; Thu, 3 May 2007 18:26:30 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.13.8/8.13.4/Submit) id l441QUZh078197; Thu, 3 May 2007 18:26:30 -0700 (PDT) Date: Thu, 3 May 2007 18:26:30 -0700 (PDT) From: Matthew Dillon Message-Id: <200705040126.l441QUZh078197@apollo.backplane.com> To: "Marc G. Fournier" References: Cc: freebsd-stable@freebsd.org, Robert Watson Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 01:26:31 -0000 :I'm trying to probe this as well as I can, but network stacks and sockets have :never been my strong suit ... : :Robert had mentioned in one of his emails about a "Sockets can also exist :without any referencing process (if the application closes, but there is still :data draining on an open socket)." : :Now, that makes sense to me, I can understand that ... but, how would that look :as far as netstat -nA shows? Or, would it? For example, I have: : :... Netstat should show any sockets, whether they are attached to processes or not. Usually you can match up the address from netstat -nA with the addresses from sockets shown by fstat to figure out what processes the sockets are attached to. There are three situations that you have to watch out for: (1) The socket was close()'d and is still draining. The socket will timeout and terminate within ~1-5 minutes. It will not be referenced to a descriptor or process. (2) The socket descriptor itself has been sent over a unix domain socket from one process to another and is currently in transit. The file pointer representing the descriptor is what is actually in transit, and will not be referenced by any processes while it is in transit. There is a garbage collector that figures out unreferencable loops. I think its called unp_gc or something like that. (3) The socket is not closed, but is idle (like having a remote shell open and never typing in it). Service processes can get stuck waiting for data on such sockets. The socket WILL be referenced by some process. These are controlled by net.inet.tcp.keep* and net.inet.tcp.always_keepalive. I almost universally turn on net.inet.tcp.always_keepalive to ensure that dead idle connections get cleaned out. Note that keepalive only applies to idle connections. A socket that has been closed and needs to drain (either data or the FIN state) will timeout and clean up itself whether keepalive is turned on or off). netstat -nA will give you the status of all your sockets. You can observe the state of any TCP sockets. Unix domain sockets have no state and closure is governed simply by them being dereferenced, just like a pipe. In this case there are really only two situations: (1) One end of the unix domain socket is still referenced by a process or (2) The socket has been sent over another unix domain socket and is 'in transit'. The socket will remain intact until it is either no longer in transit (read out from the other unix domain socket), or the garbage collector determines that the socket the descripor is transiting over is not externally referencablee, and will destroy it and any in-transit sockets contained within. Any sockets that don't fall into these categories are in trouble... either a timer has failed somewhere or (if unix domain) the garbage collector has failed to detect that it is in an unreferencable loop. - One thing you can do is drop into single user mode... kill all the processes on the system, and see if the sockets are recovered. That will give you a good idea as to whether it is a real leak or whether some process is directly or indirectly (by not draining a unix domain socket on which other sockets are being transfered) holding onto the socket. -Matt From owner-freebsd-stable@FreeBSD.ORG Fri May 4 02:16:37 2007 Return-Path: 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 99EC916A400; Fri, 4 May 2007 02:16:37 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC5013C455; Fri, 4 May 2007 02:16:37 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.184]) by hub.org (Postfix) with ESMTP id 3E9FE48A32D; Thu, 3 May 2007 23:16:25 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 00115-01; Thu, 3 May 2007 23:16:26 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 703AC48A325; Thu, 3 May 2007 23:16:19 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 975A260476; Thu, 3 May 2007 23:16:44 -0300 (ADT) Date: Thu, 03 May 2007 23:16:44 -0300 From: "Marc G. Fournier" To: Matthew Dillon Message-ID: <8B91F8463484DAC35543C340@ganymede.hub.org> In-Reply-To: <200705040126.l441QUZh078197@apollo.backplane.com> References: <200705040126.l441QUZh078197@apollo.backplane.com> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Robert Watson , freebsd-stable@freebsd.org Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 02:16:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, May 03, 2007 18:26:30 -0700 Matthew Dillon wrote: > One thing you can do is drop into single user mode... kill all the > processes on the system, and see if the sockets are recovered. That > will give you a good idea as to whether it is a real leak or whether > some process is directly or indirectly (by not draining a unix domain > socket on which other sockets are being transfered) holding onto the > socket. *groan* why couldn't this be happening on a server that I have better remote access to? :( But, based on your explanation(s) above ... if I kill off all of the jail(s) on the machine, so that there are minimal processes running, shouldn't I see a significant drop in the number of sockets in use as well? or is there something special about single user mode vs just killing off all 'extra processes'? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOpeM4QvfyHIvDvMRAoppAJ9SNmIi+i2vDXEZzrpaVe74a3uKyQCfeMY7 z3lFWXEo111CL5peXvqqsCQ= =qxmO -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 02:18:06 2007 Return-Path: X-Original-To: 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 8D8F916A401 for ; Fri, 4 May 2007 02:18:06 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (204-174-83-38.static569.dsl.ucc-net.ca [204.174.83.38]) by mx1.freebsd.org (Postfix) with ESMTP id 5164213C44B for ; Fri, 4 May 2007 02:18:06 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) by orthanc.ca (8.14.1/8.14.1) with ESMTP id l441mqqg033812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 May 2007 18:48:52 -0700 (PDT) (envelope-from lyndon@orthanc.ca) Date: Thu, 3 May 2007 18:48:52 -0700 (PDT) From: Lyndon Nerenberg To: Robert Gray In-Reply-To: <200705040050.l440orHZ009030@easter.boulderlabs.com> Message-ID: <20070503184458.P22416@orthanc.ca> References: <200705040050.l440orHZ009030@easter.boulderlabs.com> Organization: The Frobozz Magic Homing Pigeon Company MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org, "Sean C. Farley" , Ulrich Spoerlein Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 02:18:06 -0000 > I've had similar experiences with DaVinci Code and Casino Royal. Casino Royale is using something new. It managed to trip up Mac The Ripper, which so far has had a 100% success rate for me. In general the Sony infections imbed bad sectors on the disks in locations that a DVD player parsing the data stream will skip over. In most cases if you ignore the read errors and just carry on, things work fine (MTR does this to good effect). I don't know what the latest trick is. Make sure to return your DVDs for a refund, and send a letter to the manufactures telling them to go fsck themselves. --lyndon /* Pre-C-Preprocessor to translate ANSI trigraph idiocy in BUF before main CCCP processing. Name `pcp' is also in honor of the drugs the trigraph designers must have been on. */ From owner-freebsd-stable@FreeBSD.ORG Fri May 4 02:59:54 2007 Return-Path: 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 90BDF16A400; Fri, 4 May 2007 02:59:54 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id 76B8F13C44B; Fri, 4 May 2007 02:59:54 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.8/8.13.7) with ESMTP id l442xr6C078827; Thu, 3 May 2007 19:59:53 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.13.8/8.13.4/Submit) id l442xrjd078826; Thu, 3 May 2007 19:59:53 -0700 (PDT) Date: Thu, 3 May 2007 19:59:53 -0700 (PDT) From: Matthew Dillon Message-Id: <200705040259.l442xrjd078826@apollo.backplane.com> To: "Marc G. Fournier" References: <200705040126.l441QUZh078197@apollo.backplane.com> <8B91F8463484DAC35543C340@ganymede.hub.org> Cc: Robert Watson , freebsd-stable@freebsd.org Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 02:59:54 -0000 :*groan* why couldn't this be happening on a server that I have better remote :access to? :( : :But, based on your explanation(s) above ... if I kill off all of the jail(s) on :the machine, so that there are minimal processes running, shouldn't I see a :significant drop in the number of sockets in use as well? or is there :something special about single user mode vs just killing off all 'extra :processes'? : :- ---- :Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Yes, you can. Nothing special about single user... just kill all the processes that might be using sockets. Killing the jails is a good start. If you are running a lot of jails then I would strongly suspect that there is an issue with file desciptor passing over unix domain sockets. In particular, web servers, databases, and java or other applets could be the culprit. Other possibilities... you could just be running out of file descriptors in the file descriptor table. use vmstat -m and vmstat -z too... find out what allocates the socket memory and see what it reports. Check your mbuf allocation statistics too (netstat -m). Damn, I wish that information were collected on a per-jail basis but I don't think it is. Look at all the memory statistics and check to see if anything is growing unbounded over a long period of time (verses just growing into a cache balance). Create a cron job that dumps memory statistics once a minute to a file then break each report with a clear-screen sequence and cat it in a really big xterm window. -Matt Matthew Dillon From owner-freebsd-stable@FreeBSD.ORG Fri May 4 06:26:37 2007 Return-Path: X-Original-To: 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 51E1216A404 for ; Fri, 4 May 2007 06:26:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 11A8113C455 for ; Fri, 4 May 2007 06:26:35 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA19534; Fri, 4 May 2007 16:09:57 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 4 May 2007 16:09:56 +1000 (EST) From: Ian Smith To: Scott Long In-Reply-To: <463A62C9.2010707@samsco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: stable@freebsd.org, "Sean C. Farley" , Ulrich Spoerlein Subject: acd and iostat [was Re: FreeBSD vs Region Code DVDs] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 06:26:37 -0000 On Thu, 3 May 2007, Scott Long wrote: > Ulrich Spoerlein wrote: [..] > > PS: why is iostat(1) not working for acd(4) devices? > > Because acd doesn't make use of the standard kernel facilities that make > iostat work. It's a deliberate choice by the driver author. Same for systat -vm of course. I guess this was a regression, as acdX used to show up fine in 4.X in {sys,io}stat, whether or not also showing cdX (with atapicam). I often used to watch it while testing burned CDs. Was that because of an API change to said kernel facilities, perhaps? Cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Fri May 4 06:28:45 2007 Return-Path: X-Original-To: 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 7C1A316A404 for ; Fri, 4 May 2007 06:28:45 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 3521A13C465 for ; Fri, 4 May 2007 06:28:45 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l446SYRR069498; Fri, 4 May 2007 00:28:34 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <463AD28B.9070709@samsco.org> Date: Fri, 04 May 2007 00:28:27 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Fri, 04 May 2007 00:28:34 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: stable@freebsd.org, "Sean C. Farley" , Ulrich Spoerlein Subject: Re: acd and iostat [was Re: FreeBSD vs Region Code DVDs] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 06:28:45 -0000 Ian Smith wrote: > On Thu, 3 May 2007, Scott Long wrote: > > > Ulrich Spoerlein wrote: > [..] > > > PS: why is iostat(1) not working for acd(4) devices? > > > > Because acd doesn't make use of the standard kernel facilities that make > > iostat work. It's a deliberate choice by the driver author. > > Same for systat -vm of course. I guess this was a regression, as acdX > used to show up fine in 4.X in {sys,io}stat, whether or not also showing > cdX (with atapicam). I often used to watch it while testing burned CDs. > > Was that because of an API change to said kernel facilities, perhaps? > > Cheers, Ian > No, the devstat kernel API hasn't changed in since it was introduced nearly 10 years ago. Scott From owner-freebsd-stable@FreeBSD.ORG Fri May 4 06:37:15 2007 Return-Path: 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 283B516A400 for ; Fri, 4 May 2007 06:37:15 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id CACBB13C455 for ; Fri, 4 May 2007 06:37:12 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA19995; Fri, 4 May 2007 16:37:12 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 4 May 2007 16:37:11 +1000 (EST) From: Ian Smith To: "Marc G. Fournier" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org, Robert Watson Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 06:37:15 -0000 On Thu, 3 May 2007, Marc G. Fournier wrote: > Robert had mentioned in one of his emails about a "Sockets can also exist > without any referencing process (if the application closes, but there is still > data draining on an open socket)." [..] > Again, if I'm reading / understanding things right, without the 'referencing > process', it won't show up in sockstat -u, which is why my netstat -nA numbers > keep growing, but sockstat -u numbers don't ... which also means that there is > no way to figure out what process / program is leaving 'dangling sockets'? :( Marc, I don't know if it may provide any more clues in this instance, but lsof -U also shows unix domain sockets with pid, command and fd. Cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Fri May 4 06:51:23 2007 Return-Path: X-Original-To: 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 88B1416A404 for ; Fri, 4 May 2007 06:51:23 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 5115913C480 for ; Fri, 4 May 2007 06:51:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA20775; Fri, 4 May 2007 16:51:06 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 4 May 2007 16:51:05 +1000 (EST) From: Ian Smith To: Scott Long In-Reply-To: <463AD28B.9070709@samsco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: stable@freebsd.org, "Sean C. Farley" , Ulrich Spoerlein Subject: Re: acd and iostat [was Re: FreeBSD vs Region Code DVDs] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 06:51:23 -0000 On Fri, 4 May 2007, Scott Long wrote: > Ian Smith wrote: > > On Thu, 3 May 2007, Scott Long wrote: > > > > > Ulrich Spoerlein wrote: > > [..] > > > > PS: why is iostat(1) not working for acd(4) devices? > > > > > > Because acd doesn't make use of the standard kernel facilities that make > > > iostat work. It's a deliberate choice by the driver author. > > > > Same for systat -vm of course. I guess this was a regression, as acdX > > used to show up fine in 4.X in {sys,io}stat, whether or not also showing > > cdX (with atapicam). I often used to watch it while testing burned CDs. > > > > Was that because of an API change to said kernel facilities, perhaps? > > > > Cheers, Ian > > > > No, the devstat kernel API hasn't changed in since it was introduced > nearly 10 years ago. Thanks. The only other reason I can see for removing acdX from these stats would be to save on some admittedly precious screen real estate. Cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Fri May 4 09:03:14 2007 Return-Path: X-Original-To: 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 5210F16A400 for ; Fri, 4 May 2007 09:03:14 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id D340213C45B for ; Fri, 4 May 2007 09:03:13 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so511886ugh for ; Fri, 04 May 2007 02:03:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E+z+Ltj/XLheJneXH8KDMv5MshDckK9LUme7FnLTp4UtmIFSPKAfQWgnqSTi585JCeV6XZjeZ4P/ysvB4pM//434mBtH6MuyaYj5C6bp3V7a7xEpTiqt8vU2svBGJQRY6tO7Xz2b9c3k2twSo1u/iZbLwhnDERztxAGUShdq/nk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FAWSPo1N5GdfqJXoHZPfFDUTZFN+HPifSas7KLfbCPwhL2LyHn7us26ijqpbUcfk0oLsn5PeR1yxgxOEkij5Euk4Rsdp22+n5Jtrnlt3LCNtSboOA7xqAEEiF0+5vUzKMWfTmG0r5SuNY2b4Mz0GC6dFb1jPQ5Ot5P8mNwjDaj8= Received: by 10.82.151.14 with SMTP id y14mr6014996bud.1178269392647; Fri, 04 May 2007 02:03:12 -0700 (PDT) Received: by 10.82.187.10 with HTTP; Fri, 4 May 2007 02:03:12 -0700 (PDT) Message-ID: <7ad7ddd90705040203n40620advb8292c1afea7646b@mail.gmail.com> Date: Fri, 4 May 2007 11:03:12 +0200 From: "Ulrich Spoerlein" To: "Scott Long" In-Reply-To: <463A62C9.2010707@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> <20070503220704.GA1483@roadrunner.q.local> <463A62C9.2010707@samsco.org> Cc: stable@freebsd.org, "Sean C. Farley" Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 09:03:14 -0000 On 5/4/07, Scott Long wrote: > > Why can I read and mount the DVD, but mplayer/xine > > are still unable to play the DVD? (It works fine on the internal, ATA > > attached, crappy NEC drive.) > > No idea, sorry. Do you have umass, atapicam, and ata-usb all involved > here? If so, you've made the room a little crowded, and they are all > arguing with each other. I know that ata-usb was inspired by the ata > author having problems with umass and not wanting to fix them there, > but I don't know exactly what was broken or what was fixed. I only tested one subsystem at a time, and it is not that one subsystem is broken per se, it is only in combination with this single external Plextor drive. I had another external DVD drive (can't remember the brand) a few months ago and this also was working just fine. I'll try to sum it all up: Internal NEC drive, attached via ata(4): Can read all kinds of CD/DVD Internal NEC drive, attached via atapicam(4): dito Unknown Brand external DVD, attached via umass(4): dito External Plextor, attached via umass(4): Can read CDs, DVD-Rs, unable to do _anything_ with retail DVD(-Video) External Plextor, attached via firewire/sbp(4): dito External Plextor, attached via atausb(4): Can read CDs, DVD-Rs, can mount/read retail DVD(-Video), produces some errors, tough. The CSS decoder seems to fail, as I can't watch the video on the drive. I can at least _access_ the bytes though, something not possible with umass/sbp. I don't know the code, but it looks like this Plextor and cd(4) don't get along when DVD copy protection is involved. I also read in the OpenBSD 4.1 release notes, that they made changes to their cd(4) to work better with region protected DVDs. I didn't know that the OS was involved in this, I thought this was a thing left to the drive firmware or the DVD player software. Anyway, how can I tell cd(4) to give me more error output? How can I access the DVD at the bottom-most layer? Something line sending a Test Unit Ready command? Or checking if the drive recognizes an inserted medium? Uli From owner-freebsd-stable@FreeBSD.ORG Fri May 4 09:06:42 2007 Return-Path: X-Original-To: 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 2D87116A404 for ; Fri, 4 May 2007 09:06:42 +0000 (UTC) (envelope-from pj@smo.de) Received: from ilk.de (mx-out12.ilk.de [194.121.104.12]) by mx1.freebsd.org (Postfix) with ESMTP id A3AEA13C489 for ; Fri, 4 May 2007 09:06:41 +0000 (UTC) (envelope-from pj@smo.de) Received: from bologna.intern.smo.de (pool41.ka.ilk.net [212.86.194.41]) by ilk.de (8.13.4/8.13.4/ilk-relay) with ESMTP id l448mJuD030447; Fri, 4 May 2007 10:48:19 +0200 Received: from [192.168.153.208] (herdubreid.intern.smo.de [192.168.153.208]) by bologna.intern.smo.de (8.13.4+Sun/8.13.4) with ESMTP id l448k1tC025898; Fri, 4 May 2007 10:46:06 +0200 (CEST) Message-ID: <463AF37B.60109@smo.de> Date: Fri, 04 May 2007 10:48:59 +0200 From: Philipp Ost User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070323 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Robert Gray References: <200705040050.l440orHZ009030@easter.boulderlabs.com> In-Reply-To: <200705040050.l440orHZ009030@easter.boulderlabs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, "Sean C. Farley" , Ulrich Spoerlein Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 09:06:42 -0000 Robert Gray wrote: >>I had an issue with ripping some DVD's to my laptop before a trip I made >>(note: no distribution occurred (for the lawyers :))). I wanted to >>just use dd to do it, but dd would fail after a small amount of data was >>read. If I first played a little of the DVD with mplayer, then dd would >>work afterwards. It probably had something to do with mplayer >>whispering sweet nothings to the DVD player. >>Sean > > > I've had similar experiences with DaVinci Code and Casino Royal. > The error is: > > Outputting to /big/MOVIE/CASINO/CASINO_ROYALE1-1.vob > > 16MB of 6834MB written (0 %) > > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > > > My work around so that I can watch the movie I rented is to skip > over the problem area (probably intensional by Hollywood) > > vobcopy -b 50m > > Try adjusting the offset-size to your needs. Have you guys already tried sysutils/dvdbackup? Philipp -- www.familie-ost.info/~pj From owner-freebsd-stable@FreeBSD.ORG Fri May 4 09:38:06 2007 Return-Path: X-Original-To: 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 1F3CF16A400 for ; Fri, 4 May 2007 09:38:06 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id A19C313C46A for ; Fri, 4 May 2007 09:38:05 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l449c32M011188; Fri, 4 May 2007 19:38:03 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l449c37c011187; Fri, 4 May 2007 19:38:03 +1000 (EST) (envelope-from peter) Date: Fri, 4 May 2007 19:38:03 +1000 From: Peter Jeremy To: Ian Smith Message-ID: <20070504093803.GD818@turion.vk2pj.dyndns.org> References: <463AD28B.9070709@samsco.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: stable@freebsd.org Subject: Re: acd and iostat [was Re: FreeBSD vs Region Code DVDs] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 09:38:06 -0000 --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-04 16:51:05 +1000, Ian Smith wrote: >Thanks. The only other reason I can see for removing acdX from these >stats would be to save on some admittedly precious screen real estate. Having cd0, acd0 and pass0 as three separate entries does strike me as excessive. I think that, in general, what is wanted is an indication of the I/O load on a device, not the I/O load on the different I/O paths to that device. Not reporting acd0 at all is not a fix. Ideally, either the kernel or vmstat would combine these statistics into a single set (though I'm not sure how to work out that cd0, acd0 and pass0 reference the same device). --=20 Peter Jeremy --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGOv77/opHv/APuIcRAksYAKCKA0UTCCB19VYyGfc/OKVddnYGpACdHXvi nJOUVprrXGhQcSbEo5jO9Qg= =77Ia -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2-- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 09:49:20 2007 Return-Path: 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 D8F5C16A400; Fri, 4 May 2007 09:49:20 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id AD73313C43E; Fri, 4 May 2007 09:49:20 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 36FDD4729A; Fri, 4 May 2007 05:49:20 -0400 (EDT) Date: Fri, 4 May 2007 10:49:20 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Marc G. Fournier" In-Reply-To: <5C07C592A1A1F97E055965A6@ganymede.hub.org> Message-ID: <20070504104426.E30345@fledge.watson.org> References: <5C07C592A1A1F97E055965A6@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Adrian Chadd , freebsd-stable@freebsd.org Subject: Re: What triggers "No Buffer Space Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 09:49:20 -0000 On Thu, 3 May 2007, Marc G. Fournier wrote: > 'k, all I'm looking at right now is the Unix Domain Sockets, and the output > of netstat -> sockstat is growing since I first started counting both .. > > This was shortly after reboot: > > mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l > 2705 > 2981 > > - From your explanation above, I'm guessing that the higher sockstat #s is where > you were talking about one socket being used by multiple processes? But, right > now: > > mars# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l > 5025 > 2905 > > sockstat -u #s are *down*, but netstat -na is almost double ... > > Again, based on what you state above: "Sockets can also exist without any > referencing process (if the application closes, but there is still data > draining on an open socket)." > > Now, looking at another 6-STABLE server, but one that has been running for 2 > months now, I'm seeing numbers more consistent with what mars looks like > shortly after all the jails start up: > > venus# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l > 2126 > 2209 > > So, if those sockets on mars are 'still draining on an open socket', is > there some way of finding out where? If I'm understanding what you've said > above, these 'draining sockets' don't have any processes associated with > them anymore? So, its not like I can just kill off a process, correct? The draining state cannot occur for UNIX domain sockets. The only cases I know of in which UNIX domain sockets can have PCBs without a process connection is if the UNIX domain socket is attached to a socket that is being passed over another socket where the original socket has released all other references to it, and in using FIFOs. The former is a relatively rare occurence with almost all applications, since very few use explicit file descriptor passing. Is there any chance that any of your applications is using a large number of POSIX FIFOs? BTW, when using sockstat as above, you need to sockstat -u | grep -c stream, for the same reason you do it with netstat. Datagram UNIX domain sockets are quite frequently used -- for example, with syslog, so need to be omitted from the count if you are comparing only stream sockets. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-stable@FreeBSD.ORG Fri May 4 11:05:12 2007 Return-Path: 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 AFD0516A400; Fri, 4 May 2007 11:05:12 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8442B13C480; Fri, 4 May 2007 11:05:12 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id E70C846F11; Fri, 4 May 2007 07:05:11 -0400 (EDT) Date: Fri, 4 May 2007 12:05:11 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Marc G. Fournier" In-Reply-To: Message-ID: <20070504120017.O30345@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 11:05:12 -0000 On Thu, 3 May 2007, Marc G. Fournier wrote: > I'm trying to probe this as well as I can, but network stacks and sockets > have never been my strong suit ... > > Robert had mentioned in one of his emails about a "Sockets can also exist > without any referencing process (if the application closes, but there is > still data draining on an open socket)." > > Now, that makes sense to me, I can understand that ... but, how would that > look as far as netstat -nA shows? Or, would it? For example, I have: > > mars# netstat -nA | grep c9655a20 > c9655a20 stream 0 0 0 c95d63f0 0 0 > c95d63f0 stream 0 0 0 c9655a20 0 0 > mars# netstat -nA | grep c95d63f0 > c9655a20 stream 0 0 0 c95d63f0 0 0 > c95d63f0 stream 0 0 0 c9655a20 0 0 > > They are attached to each other, but there appears to be no 'referencing > process' ... it is now 10pm at night ... I saved a 'snapshot' of netstat -nA > output at 6:45pm, over 3 hours ago, and it has the same entries as above: > > c9655a20 stream 0 0 0 c95d63f0 0 0 > c95d63f0 stream 0 0 0 c9655a20 0 0 > > again, if I'm reading this right, there is no 'referencing process' ... > first, of course, am I reading this right? > > second ... if I am reading this right, and, if I am understanding what > Robert was saying about 'draining' (alot of ifs, I know) ... isn't it odd > for it to take >3 hours to drain? > > Again, if I'm reading / understanding things right, without the 'referencing > process', it won't show up in sockstat -u, which is why my netstat -nA > numbers keep growing, but sockstat -u numbers don't ... which also means > that there is no way to figure out what process / program is leaving > 'dangling sockets'? :( I think we should be careful to avoid prematurely drawing conclusions about the source of the problem. First question: have you confirmed that the resource limit on sockets is definitely what is causing the error you're seeing? I.e., does the number of sockets hit the maximum sockets? Second point: there are two kinds of resource leaks that seem likely candidates for a socket resource exhaustion problem. First, kernel bugs, in which the kernel maintains objects despite there being no application references, and second, application reference leaks, in which applications keep references to kernel objects despite no longer needing them. Our immediate goal is to determine which of these is the case: is it a kernel bug, or an application bug? Using tools like netstat and sockstat, we can try and determine if all kernel sockets are properly referenced. Experience suggests that it is an application bug, but we shouldn't rule out a kernel bug; the good news is that the tools to use in the debugging process are identical at this stage. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-stable@FreeBSD.ORG Fri May 4 12:37:10 2007 Return-Path: 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 2BE7116A40F for ; Fri, 4 May 2007 12:37:10 +0000 (UTC) (envelope-from neo@gothic-chat.de) Received: from gothnet.eu (srv1.gothnet.eu [83.133.111.128]) by mx1.freebsd.org (Postfix) with ESMTP id E150213C4B9 for ; Fri, 4 May 2007 12:37:09 +0000 (UTC) (envelope-from neo@gothic-chat.de) Received: from localhost (localhost [127.0.0.1]) by gothnet.eu (Postfix) with ESMTP id 3448E33C19 for ; Fri, 4 May 2007 14:19:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at gothnet.eu Received: from gothnet.eu ([127.0.0.1]) by localhost (gothnet.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yjAXTIoayHE3 for ; Fri, 4 May 2007 14:19:33 +0200 (CEST) Received: from [192.168.2.4] (ppp-62-245-211-208.dynamic.mnet-online.de [62.245.211.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: neo) by gothnet.eu (Postfix) with ESMTP id D3F0033C1B for ; Fri, 4 May 2007 14:19:33 +0200 (CEST) Message-ID: <463B24C3.3010906@gothic-chat.de> Date: Fri, 04 May 2007 14:19:15 +0200 From: "Neo [GC]" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Can't make buildworld in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 12:37:10 -0000 Hi, currently i have a strange problem with 'make buildworld'. I use the amd64 6-STABLE branch with daily csup on src-all. When i do a 'make buildworld' in /usr/src, the make stops with the following error: ---------- /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': /usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of 'swinfo' isn't known /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init': /usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of 'swinfo' isn't known *** Error code 1 Stop in /usr/src/lib/libkvm. ---------- When i do the same on a i386 machine wich is in config &c absolutely indetical to the amd64, buildworld runs perfectly through. make.conf: CPUTYPE=nocona CFLAGS= -O2 -pipe CC=/usr/bin/cc CXX=/usr/bin/g++ NO_BLUETOOTH= # do not build Bluetooth related stuff NO_GAMES= # do not build games (games/ subdir) NO_INET6= # do not build IPv6 related programs and libraries NO_I4B= # do not build isdn4bsd package NO_LPR= # do not build lpr and related programs NO_BIND= # Do not build any part of BIND NO_DICT= # do not build the Webster dictionary files NO_INFO= # do not make or install info files NO_KERBEROS= # do not build and install Kerberos 5 (KTH Heimdal) NO_PF= # do not build PF firewall package NO_PROFILE= # Avoid compiling profiled libraries NO_SENDMAIL= # do not build sendmail and related programs NO_SHAREDOCS= # do not build the 4.4BSD legacy docs (only difference to the i386-machine where it works is the CPUTYPE, wich is, of course, athlon-xp there). Has anyone an idea? It is currenty not THAT important, because there is a working 6.2-RELEASE world on the machine, but i don't wan't to have a broken world build if a important security advisory comes... Thank you all very much & greetings, -- Neo [GC] / Thomas Weber Webmaster @ GothNet.eu / Gothic-Chat.de EMail: neo@gothic-chat.de WWW: http://neo.gothic-chat.de/ Location: Earth::Germany::Munich From owner-freebsd-stable@FreeBSD.ORG Fri May 4 12:50:58 2007 Return-Path: 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 EC58C16A403 for ; Fri, 4 May 2007 12:50:58 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id A60C713C4BC for ; Fri, 4 May 2007 12:50:58 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 4FEAB1B10EBB; Fri, 4 May 2007 14:50:57 +0200 (CEST) Received: from hater.cmotd.com (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 4C60A1B10EA4; Fri, 4 May 2007 14:50:57 +0200 (CEST) Message-ID: <463B2C30.9020002@sun-fish.com> Date: Fri, 04 May 2007 15:50:56 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.0 (X11/20070425) MIME-Version: 1.0 To: "Neo [GC]" References: <463B24C3.3010906@gothic-chat.de> In-Reply-To: <463B24C3.3010906@gothic-chat.de> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-stable@freebsd.org Subject: Re: Can't make buildworld in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 12:50:59 -0000 Hi, Neo [GC] wrote: > Hi, > > currently i have a strange problem with 'make buildworld'. I use the > amd64 6-STABLE branch with daily csup on src-all. > > When i do a 'make buildworld' in /usr/src, the make stops with the > following error: > ---------- > /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': > /usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of > 'swinfo' isn't known > /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init': > /usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of > 'swinfo' isn't known > *** Error code 1 > > Stop in /usr/src/lib/libkvm. > ---------- > > When i do the same on a i386 machine wich is in config &c absolutely > indetical to the amd64, buildworld runs perfectly through. > > make.conf: > CPUTYPE=nocona > CFLAGS= -O2 -pipe > CC=/usr/bin/cc > CXX=/usr/bin/g++ > NO_BLUETOOTH= # do not build Bluetooth related stuff > NO_GAMES= # do not build games (games/ subdir) > NO_INET6= # do not build IPv6 related programs and libraries > NO_I4B= # do not build isdn4bsd package > NO_LPR= # do not build lpr and related programs > NO_BIND= # Do not build any part of BIND > NO_DICT= # do not build the Webster dictionary files > NO_INFO= # do not make or install info files > NO_KERBEROS= # do not build and install Kerberos 5 (KTH > Heimdal) > NO_PF= # do not build PF firewall package > NO_PROFILE= # Avoid compiling profiled libraries > NO_SENDMAIL= # do not build sendmail and related programs > NO_SHAREDOCS= # do not build the 4.4BSD legacy docs May be I'm wrong, but can you try again, after removing CPUTYPE, CFLAGS, CC and CCX from your make.conf file ? It was said many times that setting CFLAGS is bad :) and CPUTYPE should be CPUTYPE?= (so make can change it if needed) Also I'm not sure that there is any optimization available in GCC for amd64 architecture. > > (only difference to the i386-machine where it works is the CPUTYPE, > wich is, of course, athlon-xp there). > > Has anyone an idea? It is currenty not THAT important, because there > is a working 6.2-RELEASE world on the machine, but i don't wan't to > have a broken world build if a important security advisory comes... > > > Thank you all very much & greetings, > -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-stable@FreeBSD.ORG Fri May 4 12:57:51 2007 Return-Path: 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 A308816A406 for ; Fri, 4 May 2007 12:57:51 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from nibbel.kulnet.kuleuven.ac.be (nibbel.kulnet.kuleuven.ac.be [134.58.240.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3358313C4B7 for ; Fri, 4 May 2007 12:57:51 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 9C5BB4D60C; Fri, 4 May 2007 14:38:45 +0200 (CEST) Received: from smtp02.kuleuven.be (lepidus.kulnet.kuleuven.ac.be [134.58.240.72]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id C9BEE4D609; Fri, 4 May 2007 14:38:44 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtp02.kuleuven.be (Postfix) with ESMTP id 251372CAA59; Fri, 4 May 2007 14:38:44 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.8/8.13.8) with ESMTP id l44CchDb003018; Fri, 4 May 2007 14:38:43 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-stable@freebsd.org Date: Fri, 4 May 2007 14:38:40 +0200 User-Agent: KMail/1.9.6 References: <20070503181646.GA1527@roadrunner.q.local> In-Reply-To: <20070503181646.GA1527@roadrunner.q.local> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_SlyOGSFrOyBh5Tr" Message-Id: <200705041438.42358.tijl@ulyssis.org> X-Virus-Scanned: by KULeuven Antivirus Cluster Cc: Ulrich Spoerlein Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 12:57:51 -0000 --Boundary-00=_SlyOGSFrOyBh5Tr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 03 May 2007 20:16:46 Ulrich Spoerlein wrote: > I'm having a hard time getting my external (USB, Firewire) Plextor > PX-755UF to read any retail DVDs at all. I can read any kind of CDs > and also DVD-Rs. But mastered DVDs are invisible to FreeBSD. > > I can not even read a single sector from such a DVD with the > external drive, but it's working just fine with the internal one. > It's really driving me nuts. Maybe you have to change the drive region code (RPC 2). I had to do this a couple years ago with a laptop's internal drive. Either that or you need to find a patched firmware to make the drive region free (RPC 1). I wrote 2 simple programs back then to play with this, because I couldn't find anything in the base system. "regionget /dev/cd0" prints out the current drive region info, like: vendor resets left: 4 user changes left: 3 drive region: 2 rpc type: 2 "regionset /dev/cd0 3" sets the drive region code to 3. Don't forget that you can only change the region about 5 times (user changes left field). --Boundary-00=_SlyOGSFrOyBh5Tr Content-Type: text/plain; charset="iso-8859-1"; name="regionget.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="regionget.c" #include #include #include #include #include #include #include int main( int argc, char const *argv[] ) { int ret; int region; int fd; struct dvd_authinfo dvd; if( argc < 2 ) { fprintf( stderr, "Usage: %s \n", argv[ 0 ]); return -1; } fd = open( argv[ 1 ], O_RDONLY ); if( fd < 0 ) { fprintf( stderr, "Failed to open %s\n", argv[ 1 ]); return -1; } memset( &dvd, 0, sizeof( struct dvd_authinfo )); dvd.format = DVD_REPORT_RPC; ret = ioctl( fd, DVDIOCREPORTKEY, &dvd ); close( fd ); if( ret < 0 ) { fprintf( stderr, "Failed to retrieve region info. Try with a disc in the drive.\n" ); return -1; } dvd.region ^= 0xff; for( region = 0; dvd.region; dvd.region >>= 1 ) { region++; if( dvd.region == 1 ) break; } printf( "vendor resets left: %u\n", dvd.vend_rsts ); printf( "user changes left: %u\n", dvd.user_rsts ); printf( "drive region: %u\n", region ); printf( "rpc type: %u\n", dvd.rpc_scheme + 1 ); return 0; } --Boundary-00=_SlyOGSFrOyBh5Tr Content-Type: text/plain; charset="iso-8859-1"; name="regionset.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="regionset.c" #include #include #include #include #include #include #include #include int main( int argc, char const *argv[] ) { int ret, fd; uint8_t region; struct dvd_authinfo dvd; if( argc < 3 ) { fprintf( stderr, "Usage: %s \n", argv[ 0 ]); return -1; } ret = ( uint8_t ) strtol( argv[ 2 ], NULL, 10 ); if( ret <= 0 || ret > 8 ) { fprintf( stderr, "Invalid region.\n" ); return -1; } for( region = 0x01; ret > 1; ret-- ) { region <<= 1; } region ^= 0xff; fd = open( argv[ 1 ], O_RDONLY ); if( fd < 0 ) { fprintf( stderr, "Failed to open %s\n", argv[ 1 ]); return -1; } memset( &dvd, 0, sizeof( struct dvd_authinfo )); dvd.format = DVD_SEND_RPC; dvd.region = region; ret = ioctl( fd, DVDIOCSENDKEY, &dvd ); close( fd ); if( ret < 0 ) { fprintf( stderr, "Failed to set region. Try with a disc in the drive.\n" ); return -1; } return 0; } --Boundary-00=_SlyOGSFrOyBh5Tr-- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 13:49:08 2007 Return-Path: X-Original-To: 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 D7EB516A404 for ; Fri, 4 May 2007 13:49:08 +0000 (UTC) (envelope-from craig@feniz.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.freebsd.org (Postfix) with ESMTP id C11A713C43E for ; Fri, 4 May 2007 13:49:08 +0000 (UTC) (envelope-from craig@feniz.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id 542E41121C; Fri, 4 May 2007 08:37:33 -0500 (CDT) Date: Fri, 4 May 2007 08:37:30 -0500 From: Craig Boston To: Ulrich Spoerlein Message-ID: <20070504133730.GA24271@nowhere> Mail-Followup-To: Craig Boston , Ulrich Spoerlein , Scott Long , stable@freebsd.org, "Sean C. Farley" References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> <20070503220704.GA1483@roadrunner.q.local> <463A62C9.2010707@samsco.org> <7ad7ddd90705040203n40620advb8292c1afea7646b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ad7ddd90705040203n40620advb8292c1afea7646b@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: stable@freebsd.org, "Sean C. Farley" Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 13:49:08 -0000 On Fri, May 04, 2007 at 11:03:12AM +0200, Ulrich Spoerlein wrote: > I don't know the code, but it looks like this Plextor and cd(4) don't > get along when DVD copy protection is involved. I also read in the > OpenBSD 4.1 release notes, that they made changes to their cd(4) to > work better with region protected DVDs. I didn't know that the OS was > involved in this, I thought this was a thing left to the drive > firmware or the DVD player software. This is a new drive, correct? It's possible that the firmware has never been told what region it's in, and is refusing to read any protected discs from outside its region (which would be all of them). Unfortunately I don't know a way other than booting proprietary operating systems to see what region a drive is set to and/or change it. Not to say there isn't one, just that I don't know what it is. Note that most drives these days have a limited number of times they will set the region before the firmware refuses to change it anymore. HTH, Craig From owner-freebsd-stable@FreeBSD.ORG Fri May 4 14:00:15 2007 Return-Path: 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 DAC0316A402 for ; Fri, 4 May 2007 14:00:14 +0000 (UTC) (envelope-from neo@gothic-chat.de) Received: from gothnet.eu (srv1.gothnet.eu [83.133.111.128]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1E713C448 for ; Fri, 4 May 2007 14:00:14 +0000 (UTC) (envelope-from neo@gothic-chat.de) Received: from localhost (localhost [127.0.0.1]) by gothnet.eu (Postfix) with ESMTP id 7330033C1B; Fri, 4 May 2007 16:00:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at gothnet.eu Received: from gothnet.eu ([127.0.0.1]) by localhost (gothnet.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Bm4NYiqgCs6; Fri, 4 May 2007 16:00:12 +0200 (CEST) Received: from [192.168.2.4] (ppp-62-245-211-208.dynamic.mnet-online.de [62.245.211.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: neo) by gothnet.eu (Postfix) with ESMTP id C271B33C19; Fri, 4 May 2007 16:00:11 +0200 (CEST) Message-ID: <463B3C59.4040204@gothic-chat.de> Date: Fri, 04 May 2007 15:59:53 +0200 From: "Neo [GC]" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Stefan Lambrev References: <463B24C3.3010906@gothic-chat.de> <463B2C30.9020002@sun-fish.com> In-Reply-To: <463B2C30.9020002@sun-fish.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Can't make buildworld in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 14:00:15 -0000 Stefan Lambrev schrieb: > Hi, > > Neo [GC] wrote: >> Hi, >> >> currently i have a strange problem with 'make buildworld'. I use the >> amd64 6-STABLE branch with daily csup on src-all. >> >> When i do a 'make buildworld' in /usr/src, the make stops with the >> following error: >> ---------- >> /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': >> /usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of >> 'swinfo' isn't known >> /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init': >> /usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of >> 'swinfo' isn't known >> *** Error code 1 >> >> Stop in /usr/src/lib/libkvm. >> ---------- >> >> When i do the same on a i386 machine wich is in config &c absolutely >> indetical to the amd64, buildworld runs perfectly through. >> >> make.conf: >> CPUTYPE=nocona >> CFLAGS= -O2 -pipe >> CC=/usr/bin/cc >> CXX=/usr/bin/g++ >> NO_BLUETOOTH= # do not build Bluetooth related stuff >> NO_GAMES= # do not build games (games/ subdir) >> NO_INET6= # do not build IPv6 related programs and libraries >> NO_I4B= # do not build isdn4bsd package >> NO_LPR= # do not build lpr and related programs >> NO_BIND= # Do not build any part of BIND >> NO_DICT= # do not build the Webster dictionary files >> NO_INFO= # do not make or install info files >> NO_KERBEROS= # do not build and install Kerberos 5 (KTH >> Heimdal) >> NO_PF= # do not build PF firewall package >> NO_PROFILE= # Avoid compiling profiled libraries >> NO_SENDMAIL= # do not build sendmail and related programs >> NO_SHAREDOCS= # do not build the 4.4BSD legacy docs > May be I'm wrong, but can you try again, after removing CPUTYPE, CFLAGS, > CC and CCX from your make.conf file ? > It was said many times that setting CFLAGS is bad :) and CPUTYPE should > be CPUTYPE?= (so make can change it if needed) > > Also I'm not sure that there is any optimization available in GCC for > amd64 architecture. I have tried it without CPUTYPE and CFLAGS, with NO_CPU_CFLAGS and NO_CPU_COPTFLAGS, without NO_PROFILE= and -> still same error :( I don't think it has anything to do with the NO_PROFILE=, as buildworld works on my i386 machine with this flag set. But thanks for the fast answer! -- Neo [GC] / Thomas Weber Webmaster @ GothNet.eu / Gothic-Chat.de EMail: neo@gothic-chat.de WWW: http://neo.gothic-chat.de/ Location: Earth::Germany::Munich From owner-freebsd-stable@FreeBSD.ORG Fri May 4 14:00:42 2007 Return-Path: X-Original-To: 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 0FEE516A406 for ; Fri, 4 May 2007 14:00:42 +0000 (UTC) (envelope-from craig@feniz.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.freebsd.org (Postfix) with ESMTP id EDDD813C480 for ; Fri, 4 May 2007 14:00:41 +0000 (UTC) (envelope-from craig@feniz.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id B475A1121C; Fri, 4 May 2007 09:00:41 -0500 (CDT) Date: Fri, 4 May 2007 09:00:39 -0500 From: Craig Boston To: Ulrich Spoerlein , stable@freebsd.org Message-ID: <20070504140039.GB24271@nowhere> Mail-Followup-To: Craig Boston , Ulrich Spoerlein , stable@freebsd.org References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> <20070503220704.GA1483@roadrunner.q.local> <463A62C9.2010707@samsco.org> <7ad7ddd90705040203n40620advb8292c1afea7646b@mail.gmail.com> <20070504133730.GA24271@nowhere> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070504133730.GA24271@nowhere> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 14:00:42 -0000 On Fri, May 04, 2007 at 08:37:30AM -0500, Craig Boston wrote: > Unfortunately I don't know a way other than booting proprietary > operating systems to see what region a drive is set to and/or change it. > Not to say there isn't one, just that I don't know what it is. As I read further down the thread I see that Tijl Coosemans posted a couple small programs that look like they should do exactly that. Might be worth checking the output of at least the regionget one to see what the firmware is set to. Craig From owner-freebsd-stable@FreeBSD.ORG Fri May 4 14:05:45 2007 Return-Path: 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 5110716A406; Fri, 4 May 2007 14:05:45 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 1652F13C45E; Fri, 4 May 2007 14:05:45 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 89B9048C7AF; Fri, 4 May 2007 11:05:38 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66522-10; Fri, 4 May 2007 11:05:44 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 1904E48BEA8; Fri, 4 May 2007 11:05:38 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 21691602AF; Fri, 4 May 2007 11:05:49 -0300 (ADT) Date: Fri, 04 May 2007 11:05:48 -0300 From: "Marc G. Fournier" To: Robert Watson Message-ID: <472B04E731F25BFAA7104F40@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 14:05:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Friday, May 04, 2007 12:05:11 +0100 Robert Watson wrote: > I think we should be careful to avoid prematurely drawing conclusions about > the source of the problem. First question: have you confirmed that the > resource limit on sockets is definitely what is causing the error you're > seeing? I.e., does the number of sockets hit the maximum sockets? 'k, so, based on your other email this morning, about sockstat | stream, I'm now keeping an eye on: # uptime ; netstat -nA | grep -c stream ; sockstat -u | grep -c stream ; sysctl kern.ipc.numopensockets ; sysctl kern.ipc.maxsockets 8:59AM up 1 day, 9:57, 7 users, load averages: 1.63, 4.92, 5.12 6877 2323 kern.ipc.numopensockets: 8463 kern.ipc.maxsockets: 12328 I'm at least 24 hours out from the error(s) starting to happen ... > Second point: there are two kinds of resource leaks that seem likely > candidates for a socket resource exhaustion problem. First, kernel bugs, in > which the kernel maintains objects despite there being no application > references, and second, application reference leaks, in which applications > keep references to kernel objects despite no longer needing them. Our > immediate goal is to determine which of these is the case: is it a kernel > bug, or an application bug? Using tools like netstat and sockstat, we can > try and determine if all kernel sockets are properly referenced. Experience > suggests that it is an application bug, but we shouldn't rule out a kernel > bug; the good news is that the tools to use in the debugging process are > identical at this stage. 'k, in preparation for it starting, so that I can reboot as quickly as possible, but get max information ... do I just want to save the output of 'sockstat -u' and 'netstat -nA', or is there something else that will be useful? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOz294QvfyHIvDvMRAsy6AKCme99kb27uIHrgLC53fVCZrqKkSgCgheFR 2DYk1DPdmAGzoJhqAXpt+Sc= =G1NF -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 15:21:42 2007 Return-Path: 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 6557516A403 for ; Fri, 4 May 2007 15:21:42 +0000 (UTC) (envelope-from davidkallie@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id 2828213C4C2 for ; Fri, 4 May 2007 15:21:42 +0000 (UTC) (envelope-from davidkallie@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so789306wxc for ; Fri, 04 May 2007 08:21:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=H+ZrEI/gp7UExKBlQpdb+pJbRegdZXJakmRofMIewpNMaeowOzn0HmMEcO/e3m1NCgmh1boxyi5yeqq/ifLyMJpVl7whSkcyHhGepybIomiMieOAdw1MIvGCSV6qpD9k7w7REW0j4Pr+608lBuZOfD+hsdTzfpxBHgkaU1497wc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=NSSV340pyANOwNtMtc7oSZD9uy9IoCTOpgZS3Kz7YLlYjiQptAVeC5hMdqcct/9o4HZcau/RcKIKNUAvH3KKWSAaCGRzXMw3Quh5D6tr5l4igsbKybX4H5SrWo/euWs6GphNhR6hhMq99za7BJR5JuutJec505yWXtVaercAm00= Received: by 10.90.31.19 with SMTP id e19mr3285300age.1178290451516; Fri, 04 May 2007 07:54:11 -0700 (PDT) Received: by 10.90.98.14 with HTTP; Fri, 4 May 2007 07:54:11 -0700 (PDT) Message-ID: <7b0c7ad70705040754h60dd1876w8c78caa6ffec64b8@mail.gmail.com> Date: Fri, 4 May 2007 08:54:11 -0600 From: "David Kalliecharan" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 15:21:42 -0000 Hello Everyone! I seem to have run into a snag as I am trying to install FreeBSD Stable or Current (preferrable stable) on a HP Pavilion dv6308ca AMD Turion X2, No avail not even with current (installer lags?) due to the ACPI? Cannot upgrade bios because it is at the highest version. Anyway I was wondering about installing FreeBSD Stable on a Compaq Presario AMD Sempron Processor 3500+ 1.8GHz Laptop (V6317CA) - Future Shop Exclusive Will this go through the same problems as a dv6308ca pavilion? The reason I ask for the compaq presario is that it has a sempron and will hopefully not go through the same problem as a AMD turion X2. Any information will be appreciated! -- Dave From owner-freebsd-stable@FreeBSD.ORG Fri May 4 15:58:24 2007 Return-Path: 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 2D57716A400 for ; Fri, 4 May 2007 15:58:24 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152]) by mx1.freebsd.org (Postfix) with ESMTP id 192DC13C448 for ; Fri, 4 May 2007 15:58:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (rwcrmhc12) with ESMTP id <20070504155822m1200cfonpe>; Fri, 4 May 2007 15:58:23 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 98E2C1FA01D; Fri, 4 May 2007 08:58:22 -0700 (PDT) Date: Fri, 4 May 2007 08:58:22 -0700 From: Jeremy Chadwick To: "Neo [GC]" Message-ID: <20070504155822.GA25656@icarus.home.lan> Mail-Followup-To: "Neo [GC]" , Stefan Lambrev , freebsd-stable@freebsd.org References: <463B24C3.3010906@gothic-chat.de> <463B2C30.9020002@sun-fish.com> <463B3C59.4040204@gothic-chat.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <463B3C59.4040204@gothic-chat.de> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org, Stefan Lambrev Subject: Re: Can't make buildworld in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 15:58:24 -0000 On Fri, May 04, 2007 at 03:59:53PM +0200, Neo [GC] wrote: > > Neo [GC] wrote: > >> Hi, > >> > >> currently i have a strange problem with 'make buildworld'. I use the amd64 > >> 6-STABLE branch with daily csup on src-all. > >> > >> When i do a 'make buildworld' in /usr/src, the make stops with the > >> following error: > >> ---------- > >> /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': > >> /usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of 'swinfo' > >> isn't known > >> /usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init': > >> /usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of 'swinfo' > >> isn't known > >> *** Error code 1 > > I have tried it without CPUTYPE and CFLAGS, with NO_CPU_CFLAGS and > NO_CPU_COPTFLAGS, without NO_PROFILE= and -> still same error :( > > I don't think it has anything to do with the NO_PROFILE=, as buildworld > works on my i386 machine with this flag set. Looking at src/lib/libkvm/kvm_getswapinfo.c, we can see that the swinfo struct is defined inside that .c file, as type struct swdevt: 36 #include 124 struct swdevt *sp, swinfo; swdevt comes from src/sys/vm/swap_pager.h: 49 struct swdevt; 52 53 /* 54 * Swap device table 55 */ 56 struct swdevt { 57 int sw_flags; 58 int sw_nblks; 59 int sw_used; 60 dev_t sw_dev; 61 struct vnode *sw_vp; 62 void *sw_id; 63 swblk_t sw_first; 64 swblk_t sw_end; 65 struct blist *sw_blist; 66 TAILQ_ENTRY(swdevt) sw_list; 67 sw_strategy_t *sw_strategy; 68 sw_close_t *sw_close; 69 }; I can't explain why this isn't building for you (it's also very early in the morning here and I haven't had my coffee yet... not quite ready for C debugging. ;) ) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Fri May 4 16:04:09 2007 Return-Path: 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 54C8F16A406 for ; Fri, 4 May 2007 16:04:09 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from smtp.unitz.ca (smtp.unitz.ca [69.60.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id B4CC013C45B for ; Fri, 4 May 2007 16:04:08 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from localhost (localhost [127.0.0.1]) by smtp.unitz.ca (Postfix) with ESMTP id 292D893DB57 for ; Fri, 4 May 2007 11:35:23 -0400 (EDT) X-Virus-Scanned: amavisd-new at unitz.ca Received: from smtp.unitz.ca ([127.0.0.1]) by localhost (smtp.unitz.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uDBRDqCpyflE for ; Fri, 4 May 2007 11:35:22 -0400 (EDT) Received: from isao.local (dsl-69-60-252-220.unitz.ca [69.60.252.220]) by smtp.unitz.ca (Postfix) with ESMTP id 560FF93DB45 for ; Fri, 4 May 2007 11:35:22 -0400 (EDT) From: Russell Doucette To: freebsd-stable@FreeBSD.org Content-Type: text/plain Date: Fri, 04 May 2007 11:35:10 -0400 Message-Id: <1178292910.8865.4.camel@isao.ota.homelinux.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit Cc: Subject: AMD Turion X2 problems -- Major lag issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 16:04:09 -0000 Hi, I have a gateway MX3410 laptop, and when I try to install, sysinstall hangs or has unimaginable lag time, and then my laptop just sends out this constant system beep at me. Is there a problem with FreeBSD and AMD Turion CPUs? I hear a few other people are having problems with various AMD chipsets, in particular Turions with the same exact problem. Is there a workaround or patch to installing FreeBSD on my Gateway (AMD Turion 64-x2 technology)? Thanks. Russell From owner-freebsd-stable@FreeBSD.ORG Fri May 4 16:04:24 2007 Return-Path: X-Original-To: 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 919B016A419 for ; Fri, 4 May 2007 16:04:24 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 1E88413C4D3 for ; Fri, 4 May 2007 16:04:23 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so889500muf for ; Fri, 04 May 2007 09:04:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bsJN4TfdoKF/p/C2/Kq7IAfInnTX228aiH/ep6UgX4XYo2M/u4AiL7LhUUfmRJJZBaqNwnyWQ4DnuC/BCvbFjzpA+DeXlE7si2eARbb4ANg0UMXXGTHhoU3HWH5VfIY//VrvhDOb9NitLzec57ln7ktXiuv6qktxdCCi9JjND7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mOjF8hIJECuJME5q7g6Y+O+z4vXCAnPDcku7oVw8ovs4YtJUFyKCJLGE0aOOrQvIUKk7lnaf3rsde5tPTMSlpXrz3qfbmHqmqVLsgpOa//NrbEq1Obx47H7iRg4Dq0mSkgX3OkUfxRBInbwXOheLpXtTEKqSxdmT+SPHnA3KjSE= Received: by 10.82.184.2 with SMTP id h2mr6713457buf.1178294662536; Fri, 04 May 2007 09:04:22 -0700 (PDT) Received: by 10.82.187.10 with HTTP; Fri, 4 May 2007 09:04:22 -0700 (PDT) Message-ID: <7ad7ddd90705040904wea4606ew60afdc3476763efd@mail.gmail.com> Date: Fri, 4 May 2007 18:04:22 +0200 From: "Ulrich Spoerlein" To: "Craig Boston" , "Ulrich Spoerlein" , "Scott Long" , stable@freebsd.org, "Sean C. Farley" In-Reply-To: <20070504133730.GA24271@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> <20070503220704.GA1483@roadrunner.q.local> <463A62C9.2010707@samsco.org> <7ad7ddd90705040203n40620advb8292c1afea7646b@mail.gmail.com> <20070504133730.GA24271@nowhere> Cc: Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 16:04:24 -0000 On 5/4/07, Craig Boston wrote: > This is a new drive, correct? It's possible that the firmware has never > been told what region it's in, and is refusing to read any protected > discs from outside its region (which would be all of them). I already tried Windows and Linux, to check if the drive would actually work with retail DVDs at all. Windows told me the RC was set to 2 (IIRC) and I *can* access the media (more or less) with atausb(4), so I really think it is CAMs fault. But I'll give the region-code program from Tijl a try this weekend. Thanks for all the suggestions so far, let's see which one will get me further on this quest :) Uli From owner-freebsd-stable@FreeBSD.ORG Fri May 4 16:57:16 2007 Return-Path: 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 17EC916A400 for ; Fri, 4 May 2007 16:57:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id CCBB313C483 for ; Fri, 4 May 2007 16:57:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l44GuEjp086651; Fri, 4 May 2007 10:56:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 04 May 2007 10:56:27 -0600 (MDT) Message-Id: <20070504.105627.-432837627.imp@bsdimp.com> To: ota@animenfo.com From: "M. Warner Losh" In-Reply-To: <1178292910.8865.4.camel@isao.ota.homelinux.net> References: <1178292910.8865.4.camel@isao.ota.homelinux.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 04 May 2007 10:56:15 -0600 (MDT) Cc: freebsd-stable@FreeBSD.ORG Subject: Re: AMD Turion X2 problems -- Major lag issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 16:57:16 -0000 In message: <1178292910.8865.4.camel@isao.ota.homelinux.net> Russell Doucette writes: : Hi, : : I have a gateway MX3410 laptop, and when I try to install, sysinstall : hangs or has unimaginable lag time, and then my laptop just sends out : this constant system beep at me. Is there a problem with FreeBSD and : AMD Turion CPUs? I hear a few other people are having problems with : various AMD chipsets, in particular Turions with the same exact problem. : : Is there a workaround or patch to installing FreeBSD on my Gateway (AMD : Turion 64-x2 technology)? Thanks. My HP Pavilion dv5000 works: CPU: AMD Turion(tm) 64 Mobile Technology ML-37 (1994.21-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f42 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 but I don't know if that's the 'X2' technology or not. In fact, this has worked great for me since a week or two after BSDcan last year. Warner From owner-freebsd-stable@FreeBSD.ORG Fri May 4 18:48:56 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id DC24016A404; Fri, 4 May 2007 18:48:55 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Sat, 5 May 2007 02:48:36 +0800 From: Ariff Abdullah To: Russell Doucette Message-Id: <20070505024836.1eeb9427.ariff@FreeBSD.org> In-Reply-To: <1178292910.8865.4.camel@isao.ota.homelinux.net> References: <1178292910.8865.4.camel@isao.ota.homelinux.net> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__5_May_2007_02_48_36_+0800_v1hV+dIRUjuFZB5w" Cc: freebsd-stable@FreeBSD.org Subject: Re: AMD Turion X2 problems -- Major lag issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 18:48:57 -0000 --Signature=_Sat__5_May_2007_02_48_36_+0800_v1hV+dIRUjuFZB5w Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 04 May 2007 11:35:10 -0400 Russell Doucette wrote: > Hi, >=20 > I have a gateway MX3410 laptop, and when I try to install, > sysinstall hangs or has unimaginable lag time, and then my laptop > just sends out this constant system beep at me. Is there a problem > with FreeBSD and AMD Turion CPUs? I hear a few other people are > having problems with various AMD chipsets, in particular Turions > with the same exact problem. >=20 > Is there a workaround or patch to installing FreeBSD on my Gateway > (AMD Turion 64-x2 technology)? Thanks. >=20 Try disabling apic (read: apic, not acpi). set hint.apic.0.disabled=3D1 through loader prompt. The drawback is that other cpu cores will not be enabled. Update to latest -stable if you want to re-enable apic. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sat__5_May_2007_02_48_36_+0800_v1hV+dIRUjuFZB5w Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGO4AElr+deMUwTNoRAuwNAJ9yE6Gznclz79fWTeBfX1ac/n4EQACeIMxx 7FgI5m+eecGHHEZzTaPy5as= =3DZP -----END PGP SIGNATURE----- --Signature=_Sat__5_May_2007_02_48_36_+0800_v1hV+dIRUjuFZB5w-- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 18:52:56 2007 Return-Path: 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 F01AF16A400 for ; Fri, 4 May 2007 18:52:56 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail2.secureworks.net (mail2.secureworks.net [65.114.32.154]) by mx1.freebsd.org (Postfix) with ESMTP id CA74313C455 for ; Fri, 4 May 2007 18:52:56 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from localhost (localhost [127.0.0.1]) by mail2.secureworks.net (Postfix) with ESMTP id 199AF17072; Fri, 4 May 2007 14:52:56 -0400 (EDT) X-Virus-Scanned: amavisd-new at secureworks.net Received: from mail2.secureworks.net ([127.0.0.1]) by localhost (mail2.secureworks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f4kFbsFYo0B0; Fri, 4 May 2007 14:52:55 -0400 (EDT) Received: from [192.168.23.35] (mole1.secureworks.net [63.239.86.3]) by mail2.secureworks.net (Postfix) with ESMTP id D9D2C17035; Fri, 4 May 2007 14:52:55 -0400 (EDT) Message-ID: <463B8107.9050506@jellydonut.org> Date: Fri, 04 May 2007 14:52:55 -0400 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.10) Gecko/20070306 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: David Kalliecharan References: <7b0c7ad70705040754h60dd1876w8c78caa6ffec64b8@mail.gmail.com> In-Reply-To: <7b0c7ad70705040754h60dd1876w8c78caa6ffec64b8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 18:52:57 -0000 David Kalliecharan wrote: > Hello Everyone! > I seem to have run into a snag as I am trying to install FreeBSD Stable or > Current (preferrable stable) on a HP Pavilion dv6308ca AMD Turion X2, No > avail not even with current (installer lags?) due to the ACPI? Cannot > upgrade bios because it is at the highest version. > Anyway I was wondering about installing FreeBSD Stable on a > Compaq Presario AMD Sempron Processor 3500+ 1.8GHz Laptop (V6317CA) - > Future Shop Exclusive > > Will this go through the same problems as a dv6308ca pavilion? The reason I > ask for the compaq presario is that it has a sempron and will hopefully not > go through the same problem as a AMD turion X2. Any information will be > appreciated! I've got a AMD Sempron 3100+ in a desktop at home with a MSI mainboard and FreeBSD 6.2 installed fine on it with no problems. Haven't done much with it since the install (yet), but the install went smooth as silk. -Proto From owner-freebsd-stable@FreeBSD.ORG Fri May 4 19:47:19 2007 Return-Path: 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 31FFC16A400 for ; Fri, 4 May 2007 19:47:19 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 7861A13C447 for ; Fri, 4 May 2007 19:47:18 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so596917ugh for ; Fri, 04 May 2007 12:47:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=dPDyyjfqfmAcZ67yLBcs9VYaokNQrtlmRq5SMKBUe4J+pzj7ETtFSL3omlHnPGPyQwNq6gg2uKrSzRH22mg7lPdu3dyixsKzic1h6+8m4K7qdp0A5cLL3tbwDTGoLNtUPEBljVfyTvXei1WBzwru/D/pyRTHQsixVtyHB/fBWxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=tV1Uy6QzZUGkEn280E5FnajYqJT4eioqfb7L9vMgysuczpvF4VzWVDEIISyJwEeN0fGeMCeiWP3puTlSCS2BZPi4xfsoca8yx7fIvy+M1VVXBUlflcTZMaMIQBklLwGCXJWVjGLzU3OGWaQFMH+UrWlk6IwnEqDuthlgxZCVILQ= Received: by 10.67.36.6 with SMTP id o6mr2878329ugj.1178306545391; Fri, 04 May 2007 12:22:25 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.128.140]) by mx.google.com with ESMTP id b35sm6117288ugd.2007.05.04.12.22.22; Fri, 04 May 2007 12:22:24 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l44JFOIh003244; Fri, 4 May 2007 21:15:24 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l44JFNij003243; Fri, 4 May 2007 21:15:23 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 4 May 2007 21:15:23 +0200 From: Ulrich Spoerlein To: Tijl Coosemans Message-ID: <20070504191523.GA2925@roadrunner.q.local> Mail-Followup-To: Tijl Coosemans , freebsd-stable@freebsd.org, scottl@freebsd.org References: <20070503181646.GA1527@roadrunner.q.local> <200705041438.42358.tijl@ulyssis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705041438.42358.tijl@ulyssis.org> Cc: scottl@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:47:19 -0000 Tijl Coosemans wrote: > On Thursday 03 May 2007 20:16:46 Ulrich Spoerlein wrote: > > I can not even read a single sector from such a DVD with the > > external drive, but it's working just fine with the internal one. > > It's really driving me nuts. > > Maybe you have to change the drive region code (RPC 2). I had to do > this a couple years ago with a laptop's internal drive. Either that or > you need to find a patched firmware to make the drive region free > (RPC 1). Sadly, your programs don't work. Neither for the interal drive, nor for the external one. No matter which media I have inserted: May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): Vendor Specific Command. CDB: a4 0 0 0 0 0 0 0 0 8 8 0 May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:24,0 May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): Invalid field in CDB May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): Unretryable error May 4 21:10:22 roadrunner kernel: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST asc=0x24 ascq=0x00 May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 0 0 0 0 0 0 8 8 0 May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): CAM Status: SCSI Status Error May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): SCSI Status: Check Condition May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): ILLEGAL REQUEST asc:24,0 May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): Invalid field in CDB May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): Unretryable error Try to mount an ordinary data DVD results in May 4 21:13:04 roadrunner kernel: (cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 1 0 c 0 May 4 21:13:04 roadrunner kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error May 4 21:13:04 roadrunner kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition May 4 21:13:04 roadrunner kernel: (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:24,0 May 4 21:13:04 roadrunner kernel: (cd0:umass-sim0:0:0:0): Invalid field in CDB May 4 21:13:04 roadrunner kernel: (cd0:umass-sim0:0:0:0): Unretryable error May 4 21:13:04 roadrunner kernel: g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5 Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy From owner-freebsd-stable@FreeBSD.ORG Fri May 4 19:52:57 2007 Return-Path: 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 7B1C816A401 for ; Fri, 4 May 2007 19:52:57 +0000 (UTC) (envelope-from anuragj@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 42A0213C4AE for ; Fri, 4 May 2007 19:52:57 +0000 (UTC) (envelope-from anuragj@fastmail.fm) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 2EBE121C6AB for ; Fri, 4 May 2007 15:33:54 -0400 (EDT) Received: from web2.messagingengine.com ([10.202.2.211]) by compute2.internal (MEProxy); Fri, 04 May 2007 15:33:48 -0400 Received: by web2.messagingengine.com (Postfix, from userid 99) id 448833981B; Fri, 4 May 2007 15:33:48 -0400 (EDT) Message-Id: <1178307228.8606.1188163883@webmail.messagingengine.com> X-Sasl-Enc: NTBlVCqnBVh76QOuTMnoyLt3j27OAOlk+XpVuRYch5vk 1178307228 From: "Anurag Jain" To: freebsd-stable@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface Date: Fri, 04 May 2007 12:33:48 -0700 Subject: xdriinfo-1.0.1_1 fails with "- xdriinfo.c:62: error: syntax error before "GLubyte"" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:52:57 -0000 I am trying to move to Xorg 7.2 from git repository. As part of the xorg - make all process - I am getting the following error for xdriinfo package. xdriinfo.c:62: error: syntax error before "GLubyte" xdriinfo.c:63: error: syntax error before "GLubyte" my /etc/make.conf has WITH_NVIDIA_GL=yes ------------------------------------- ===> Returning to build of xdriinfo-1.0.1_1 ===> xdriinfo-1.0.1_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xdriinfo-1.0.1_1 depends on executable in : pkg-config - found ===> xdriinfo-1.0.1_1 depends on shared library: GL.1 - found ===> Configuring for xdriinfo-1.0.1_1 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i386-portbld-freebsd6.2-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking return type of signal handlers... void checking for i386-portbld-freebsd6.2-pkg-config... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XDRIINFO... yes checking for library containing glXGetProcAddressARB... -lGL checking build system type... i386-portbld-freebsd6.2 checking host system type... i386-portbld-freebsd6.2 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for xdriinfo-1.0.1_1 make all-am if cc -DHAVE_CONFIG_H -I. -I. -I. -D_THREAD_SAFE -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT xdriinfo-xdriinfo.o -MD -MP -MF ".deps/xdriinfo-xdriinfo.Tpo" -c -o xdriinfo-xdriinfo.o `test -f 'xdriinfo.c' || echo './'`xdriinfo.c; then mv -f ".deps/xdriinfo-xdriinfo.Tpo" ".deps/xdriinfo-xdriinfo.Po"; else rm -f ".deps/xdriinfo-xdriinfo.Tpo"; exit 1; fi xdriinfo.c:26:20: GL/glx.h: No such file or directory xdriinfo.c:27:23: GL/glxext.h: No such file or directory xdriinfo.c: In function `main': xdriinfo.c:62: error: syntax error before "GLubyte" xdriinfo.c:63: error: syntax error before "GLubyte" *** Error code 1 Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1. *** Error code 1 Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1. *** Error code 1 Stop in /usr/ports/x11/xdriinfo. *** Error code 1 Stop in /usr/ports/x11/xorg-apps. *** Error code 1 Stop in /usr/ports/x11/xorg. -- Anurag Jain anuragj@fastmail.fm -- http://www.fastmail.fm - Choose from over 50 domains or use your own From owner-freebsd-stable@FreeBSD.ORG Fri May 4 19:52:59 2007 Return-Path: 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 C093916A402 for ; Fri, 4 May 2007 19:52:59 +0000 (UTC) (envelope-from anuragj@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9638513C4B8 for ; Fri, 4 May 2007 19:52:59 +0000 (UTC) (envelope-from anuragj@fastmail.fm) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 9D2D821D49E for ; Fri, 4 May 2007 15:36:10 -0400 (EDT) Received: from web2.messagingengine.com ([10.202.2.211]) by compute2.internal (MEProxy); Fri, 04 May 2007 15:36:04 -0400 Received: by web2.messagingengine.com (Postfix, from userid 99) id 909ED3981F; Fri, 4 May 2007 15:36:04 -0400 (EDT) Message-Id: <1178307364.8861.1188164811@webmail.messagingengine.com> X-Sasl-Enc: c/bKbkmcJHzRHoHNyxwE3ox48U1mW0C0oYOImSe2f4Nt 1178307364 From: "Anurag Jain" To: freebsd-stable@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface References: <1178307228.8606.1188163883@webmail.messagingengine.com> In-Reply-To: <1178307228.8606.1188163883@webmail.messagingengine.com> Date: Fri, 04 May 2007 12:36:04 -0700 Subject: Re: xdriinfo-1.0.1_1 fails with "- xdriinfo.c:62: error: syntax error before "GLubyte"" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:52:59 -0000 On Fri, 04 May 2007 12:33:48 -0700, "Anurag Jain" said: > I am trying to move to Xorg 7.2 from git repository. > As part of the xorg - make all process - > I am getting the following error for xdriinfo package. > > xdriinfo.c:62: error: syntax error before "GLubyte" > xdriinfo.c:63: error: syntax error before "GLubyte" > > my /etc/make.conf has > WITH_NVIDIA_GL=yes > > > > ------------------------------------- > > ===> Returning to build of xdriinfo-1.0.1_1 > ===> xdriinfo-1.0.1_1 depends on file: > /usr/local/libdata/pkgconfig/x11.pc - found > ===> xdriinfo-1.0.1_1 depends on executable in : pkg-config - found > ===> xdriinfo-1.0.1_1 depends on shared library: GL.1 - found > ===> Configuring for xdriinfo-1.0.1_1 > configure: WARNING: you should use --build, --host, --target > checking for a BSD-compatible install... /usr/bin/install -c -o root -g > wheel > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... > no > checking for i386-portbld-freebsd6.2-gcc... cc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether cc accepts -g... yes > checking for cc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of cc... gcc3 > checking for a BSD-compatible install... /usr/bin/install -c -o root -g > wheel > checking return type of signal handlers... void > checking for i386-portbld-freebsd6.2-pkg-config... no > checking for pkg-config... /usr/local/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for XDRIINFO... yes > checking for library containing glXGetProcAddressARB... -lGL > checking build system type... i386-portbld-freebsd6.2 > checking host system type... i386-portbld-freebsd6.2 > configure: creating ./config.status > config.status: creating Makefile > config.status: creating config.h > config.status: executing depfiles commands > ===> Building for xdriinfo-1.0.1_1 > make all-am > if cc -DHAVE_CONFIG_H -I. -I. -I. -D_THREAD_SAFE -I/usr/local/include > -O2 -fno-strict-aliasing -pipe -MT xdriinfo-xdriinfo.o -MD -MP -MF > ".deps/xdriinfo-xdriinfo.Tpo" -c -o xdriinfo-xdriinfo.o `test -f > 'xdriinfo.c' || echo './'`xdriinfo.c; then mv -f > ".deps/xdriinfo-xdriinfo.Tpo" ".deps/xdriinfo-xdriinfo.Po"; else rm -f > ".deps/xdriinfo-xdriinfo.Tpo"; exit 1; fi > xdriinfo.c:26:20: GL/glx.h: No such file or directory > xdriinfo.c:27:23: GL/glxext.h: No such file or directory > xdriinfo.c: In function `main': > xdriinfo.c:62: error: syntax error before "GLubyte" > xdriinfo.c:63: error: syntax error before "GLubyte" > *** Error code 1 > > Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1. > *** Error code 1 > > Stop in /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1. > *** Error code 1 > > Stop in /usr/ports/x11/xdriinfo. > *** Error code 1 > > Stop in /usr/ports/x11/xorg-apps. > *** Error code 1 > > Stop in /usr/ports/x11/xorg. > -- > Anurag Jain > anuragj@fastmail.fm > > -- > http://www.fastmail.fm - Choose from over 50 domains or use your own > -- Anurag Jain anuragj@fastmail.fm -- http://www.fastmail.fm - Accessible with your email software or over the web From owner-freebsd-stable@FreeBSD.ORG Fri May 4 19:54:58 2007 Return-Path: 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 63CBE16A404 for ; Fri, 4 May 2007 19:54:58 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 52CA313C48A for ; Fri, 4 May 2007 19:54:58 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E670A1A4DA8; Fri, 4 May 2007 12:55:34 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 978F1513E9; Fri, 4 May 2007 15:54:57 -0400 (EDT) Date: Fri, 4 May 2007 15:54:57 -0400 From: Kris Kennaway To: Anurag Jain Message-ID: <20070504195457.GA39752@xor.obsecurity.org> References: <1178307228.8606.1188163883@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1178307228.8606.1188163883@webmail.messagingengine.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: xdriinfo-1.0.1_1 fails with "- xdriinfo.c:62: error: syntax error before "GLubyte"" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:54:58 -0000 On Fri, May 04, 2007 at 12:33:48PM -0700, Anurag Jain wrote: > I am trying to move to Xorg 7.2 from git repository. > As part of the xorg - make all process - > I am getting the following error for xdriinfo package. Don't do that yet, we're still finalizing the upgrade procedure you need to follow. Kris From owner-freebsd-stable@FreeBSD.ORG Fri May 4 19:57:26 2007 Return-Path: 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 0CDD716A400 for ; Fri, 4 May 2007 19:57:26 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 9004213C45B for ; Fri, 4 May 2007 19:57:25 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l44JvNn5019392; Sat, 5 May 2007 05:57:23 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l44JvNYN019391; Sat, 5 May 2007 05:57:23 +1000 (EST) (envelope-from peter) Date: Sat, 5 May 2007 05:57:23 +1000 From: Peter Jeremy To: "Neo [GC]" Message-ID: <20070504195723.GE818@turion.vk2pj.dyndns.org> References: <463B24C3.3010906@gothic-chat.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vmttodhTwj0NAgWp" Content-Disposition: inline In-Reply-To: <463B24C3.3010906@gothic-chat.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-stable@freebsd.org Subject: Re: Can't make buildworld in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:57:26 -0000 --vmttodhTwj0NAgWp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-04 14:19:15 +0200, "Neo [GC]" wrote: >When i do a 'make buildworld' in /usr/src, the make stops with the=20 >following error: >---------- >/usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': >/usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of=20 >'swinfo' isn't known >/usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init': >/usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of=20 >'swinfo' isn't known >*** Error code 1 =2E.. Out of interest, is this when it's building the amd64 or i386 libkvm? >CPUTYPE=3Dnocona >CFLAGS=3D -O2 -pipe >CC=3D/usr/bin/cc >CXX=3D/usr/bin/g++ I'd remove all 4 of these flags. 'CC' and 'CXX' in particular are wrong for buildworld because most of buildworld uses a temporary cross-compiler. --=20 Peter Jeremy --vmttodhTwj0NAgWp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGO5Aj/opHv/APuIcRAnknAKC4tMf3m6r2cdb4jWDi1LYc/xwY1ACghkj3 xwNjZIsNVXy5UIfqyEZQEDk= =0AK7 -----END PGP SIGNATURE----- --vmttodhTwj0NAgWp-- From owner-freebsd-stable@FreeBSD.ORG Fri May 4 20:10:46 2007 Return-Path: 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 4B53416A400 for ; Fri, 4 May 2007 20:10:46 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id CC7B513C45A for ; Fri, 4 May 2007 20:10:45 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l44KAixR019438; Sat, 5 May 2007 06:10:44 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l44KAipI019437; Sat, 5 May 2007 06:10:44 +1000 (EST) (envelope-from peter) Date: Sat, 5 May 2007 06:10:44 +1000 From: Peter Jeremy To: David Kalliecharan Message-ID: <20070504201044.GF818@turion.vk2pj.dyndns.org> References: <7b0c7ad70705040754h60dd1876w8c78caa6ffec64b8@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TeJTyD9hb8KJN2Jy" Content-Disposition: inline In-Reply-To: <7b0c7ad70705040754h60dd1876w8c78caa6ffec64b8@mail.gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-stable@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 20:10:46 -0000 --TeJTyD9hb8KJN2Jy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-04 08:54:11 -0600, David Kalliecharan w= rote: >I seem to have run into a snag as I am trying to install FreeBSD Stable or >Current (preferrable stable) on a HP Pavilion dv6308ca AMD Turion X2, No >avail not even with current (installer lags?) due to the ACPI? Cannot >upgrade bios because it is at the highest version. Can you be more specific about what problems you are seeing. Are you trying to install the i386 or amd64 version? Does it work if you disable ACPI? Have a look through PR "i386/104678: SMP not working on Turion XP Laptop" and see if this helps. >Anyway I was wondering about installing FreeBSD Stable on a > Compaq Presario AMD Sempron Processor 3500+ 1.8GHz Laptop (V6317CA) - >Future Shop Exclusive > >Will this go through the same problems as a dv6308ca pavilion? Without knowing exactly what problem you are having on the dv6308ca, it's difficult to answer this. Note that, based on my experiences trying to resolve a faulty-on- delivery laptop with HP Support , I would not recommend buying HP at all. --=20 Peter Jeremy --TeJTyD9hb8KJN2Jy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGO5NE/opHv/APuIcRAkceAJ478RBMVE2QQZipvDkW2xRokTKnHgCfXDJa +vsRXeBHWOPDPAG1Isi+eb8= =c4dy -----END PGP SIGNATURE----- --TeJTyD9hb8KJN2Jy-- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 02:00:45 2007 Return-Path: X-Original-To: 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 E37C816A401 for ; Sat, 5 May 2007 02:00:45 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id A531013C448 for ; Sat, 5 May 2007 02:00:45 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1058434ana for ; Fri, 04 May 2007 19:00:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fkBmB/wdgpBm/70KrGYSqHybBVZqEER2q5J+Ywn5WBK9PPmofkPexHbQpjymm5+GtVST18/MAbIK9tm0HqQRVNpldMuS6C6XO7jJ5VG7CmwmbSwzNgB3Z7iwcHhBELAjTgeBAPdOHHDGdxi/NaKVV5Aabxwa6Qcc/NHjr9JC1o0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uWULIiH0s4NtXMnqaQu0F4xMkxhuXLnjboKhXbWyXDDPj9bmGM7LAfjzOD4U+b3Z7u1Wpz6T9S2pMN5rGrUdRNYFuZktGY7dtRlXAO+/YyuSJxpkfWxfJty/5sEaR6WKNL1o6fA7GDuYhfhDQ8d1Jo2GpVqN9TeyYmzqsh+Ngv4= Received: by 10.100.86.8 with SMTP id j8mr3215112anb.1178328995523; Fri, 04 May 2007 18:36:35 -0700 (PDT) Received: by 10.100.94.8 with HTTP; Fri, 4 May 2007 18:36:35 -0700 (PDT) Message-ID: <33910a2c0705041836o19530a22x50658c0a72279451@mail.gmail.com> Date: Fri, 4 May 2007 22:36:35 -0300 From: "Jason Hills" To: questions@freebsd.org, stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Xorg Modular X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 02:00:46 -0000 Is there any prevision when will it be on ports? Will beryl, aiglx and stuff come along? -- Jazzie Hills From owner-freebsd-stable@FreeBSD.ORG Sat May 5 05:04:57 2007 Return-Path: X-Original-To: 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 C7D9A16A400 for ; Sat, 5 May 2007 05:04:57 +0000 (UTC) (envelope-from pj@smo.de) Received: from ilk.de (mx-out12.ilk.de [194.121.104.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA3913C43E for ; Sat, 5 May 2007 05:04:57 +0000 (UTC) (envelope-from pj@smo.de) Received: from bologna.intern.smo.de (pool53.ka.ilk.net [212.86.194.53]) by ilk.de (8.13.4/8.13.4/ilk-relay) with ESMTP id l4554tV1010553; Sat, 5 May 2007 07:04:55 +0200 Received: from [192.168.153.208] (herdubreid.intern.smo.de [192.168.153.208]) by bologna.intern.smo.de (8.13.4+Sun/8.13.4) with ESMTP id l4552kQs028227; Sat, 5 May 2007 07:02:46 +0200 (CEST) Message-ID: <463C10A9.80400@smo.de> Date: Sat, 05 May 2007 07:05:45 +0200 From: Philipp Ost User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070323 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Jason Hills References: <33910a2c0705041836o19530a22x50658c0a72279451@mail.gmail.com> In-Reply-To: <33910a2c0705041836o19530a22x50658c0a72279451@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: Xorg Modular X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 05:04:57 -0000 Jason Hills wrote: > Is there any prevision when will it be on ports? Will beryl, aiglx and > stuff come along? Kris did announce it some days ago. You'll want to check the archives of ports@ ;) Philipp -- www.familie-ost.info/~pj From owner-freebsd-stable@FreeBSD.ORG Sat May 5 05:26:21 2007 Return-Path: X-Original-To: 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 70B8216A404 for ; Sat, 5 May 2007 05:26:21 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 2FFA813C44C for ; Sat, 5 May 2007 05:26:21 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so2778and for ; Fri, 04 May 2007 22:26:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O6gOreGioUFaTSYdLNT/WMTYD22F2AqUguaBw3fY0uIXTYjzSwIhGuBcYQgbYZJpfGU+/hZ2q6sXomjewp9gO5bQO9watu9AiR2NM9Mlo8Vj82JbaDS8iEhrKN/+fn6/dum92+yos+iA4ETLysaHxLaw/a336X9upheEZ1UBRm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lsqZ3t48OL7urSIQc7ENfZUgpALLtuzSDJfxEMssUwr6WGNxqVsUi8X9dlgBuPkZnDG8/RG8z3smamcsJ2+l93Pimllbkl3f+4JqH4sf8CeGfo3y0aIx1f5v2NhoxMQtQHexg9hMgs6u3WfktDfPQsMQ9MH5TDtEnDkPzeaTmUE= Received: by 10.100.178.7 with SMTP id a7mr24163anf.1178342780477; Fri, 04 May 2007 22:26:20 -0700 (PDT) Received: by 10.100.94.8 with HTTP; Fri, 4 May 2007 22:26:20 -0700 (PDT) Message-ID: <33910a2c0705042226g7bf6a924x4b2f6c0a31708bdf@mail.gmail.com> Date: Sat, 5 May 2007 02:26:20 -0300 From: "Jason Hills" To: "Philipp Ost" In-Reply-To: <463C10A9.80400@smo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33910a2c0705041836o19530a22x50658c0a72279451@mail.gmail.com> <463C10A9.80400@smo.de> Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: Xorg Modular X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 05:26:21 -0000 On 5/5/07, Philipp Ost wrote: > Jason Hills wrote: > > Is there any prevision when will it be on ports? Will beryl, aiglx and > > stuff come along? > > Kris did announce it some days ago. You'll want to check the archives of > ports@ ;) > > > Philipp Yeah, Kris mentioned something like that in a private mail, but google didnt help me, nor http://lists.freebsd.org/pipermail/freebsd-announce/ :( > -- > www.familie-ost.info/~pj > -- Jazzie Hills From owner-freebsd-stable@FreeBSD.ORG Sat May 5 05:55:42 2007 Return-Path: X-Original-To: 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 0A9BC16A401; Sat, 5 May 2007 05:55:42 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id E196313C43E; Sat, 5 May 2007 05:55:41 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id AE176ACB; Sat, 5 May 2007 00:38:41 -0500 (CDT) Date: Sat, 5 May 2007 00:38:41 -0500 To: Jason Hills Message-ID: <20070505053841.GA1111@soaustin.net> References: <33910a2c0705041836o19530a22x50658c0a72279451@mail.gmail.com> <463C10A9.80400@smo.de> <33910a2c0705042226g7bf6a924x4b2f6c0a31708bdf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33910a2c0705042226g7bf6a924x4b2f6c0a31708bdf@mail.gmail.com> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: Philipp Ost , stable@freebsd.org, questions@freebsd.org Subject: Re: Xorg Modular X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 05:55:42 -0000 On Sat, May 05, 2007 at 02:26:20AM -0300, Jason Hills wrote: > Yeah, Kris mentioned something like that in a private mail, but google > didnt help me, nor http://lists.freebsd.org/pipermail/freebsd-announce/ :( http://docs.freebsd.org/cgi/mid.cgi?461FE03C.8000406 http://docs.freebsd.org/cgi/mid.cgi?200704132331.50079.dejan.lesjak http://docs.freebsd.org/cgi/mid.cgi?20070502193159.GB42482 mcl From owner-freebsd-stable@FreeBSD.ORG Sat May 5 06:00:39 2007 Return-Path: X-Original-To: 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 4A53316A402 for ; Sat, 5 May 2007 06:00:39 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 05D6B13C44C for ; Sat, 5 May 2007 06:00:38 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so3190and for ; Fri, 04 May 2007 23:00:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ul86XKijwKBDNtufSO+5T5ZkmHFWig4d9rAtgIxCg2nhPESxUD2e4wSX7SMO/tSATgPhBI3RR7szaG96MElfyGp/cfTzXNQWGaoWxJ+XhTlfTMkndAxPrQF9XnZPzkdizdd2kKYwrcFcNoUAs78fa2x2p99UncmhjWsjgToikCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ffQ1bqG31q8sTABFgJGkXSesn0iRGBzWIRJKaCNUrppq1QdWrCpNh5QhV0uaJAImoc+c/RgLXhaTWJ6ACy3safchHQBh+ZH07WHg+aEJmtTwqQiN6BhFMjgQZUUGXg4OLrRptT/bPrw1VvfaJlEvGN9MyhDWtKV+1PT4W5n5Teg= Received: by 10.100.96.9 with SMTP id t9mr3308257anb.1178343267334; Fri, 04 May 2007 22:34:27 -0700 (PDT) Received: by 10.100.141.14 with HTTP; Fri, 4 May 2007 22:34:27 -0700 (PDT) Message-ID: <790a9fff0705042234t45bdca4ajf0cb2a05f75085b4@mail.gmail.com> Date: Sat, 5 May 2007 00:34:27 -0500 From: "Scot Hetzel" To: "Jason Hills" In-Reply-To: <33910a2c0705042226g7bf6a924x4b2f6c0a31708bdf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33910a2c0705041836o19530a22x50658c0a72279451@mail.gmail.com> <463C10A9.80400@smo.de> <33910a2c0705042226g7bf6a924x4b2f6c0a31708bdf@mail.gmail.com> Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: Xorg Modular X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 06:00:39 -0000 On 5/5/07, Jason Hills wrote: > On 5/5/07, Philipp Ost wrote: > > Jason Hills wrote: > > > Is there any prevision when will it be on ports? Will beryl, aiglx and > > > stuff come along? > > > > Kris did announce it some days ago. You'll want to check the archives of > > ports@ ;) > > > > > > Philipp > > Yeah, Kris mentioned something like that in a private mail, but google > didnt help me, nor > http://lists.freebsd.org/pipermail/freebsd-announce/ :( > It was announced on the freebsd-ports lists that modular Xorg is being imported, and that the ports tree was to be frozen until the import is completed: Try looking in: http://lists.freebsd.org/pipermail/freebsd-ports/ Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-stable@FreeBSD.ORG Sat May 5 13:43:47 2007 Return-Path: X-Original-To: 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 543DE16A402 for ; Sat, 5 May 2007 13:43:47 +0000 (UTC) (envelope-from list@manuelmartini.it) Received: from freebsd.manuelmartini.it (freebsd.manuelmartini.it [88.198.86.219]) by mx1.freebsd.org (Postfix) with ESMTP id A4C3713C45B for ; Sat, 5 May 2007 13:43:46 +0000 (UTC) (envelope-from list@manuelmartini.it) Received: (qmail 70942 invoked from network); 5 May 2007 15:17:04 +0200 Received: from unknown (HELO ?1.1.1.10?) (62.101.64.91) by freebsd.manuelmartini.it with AES128-SHA encrypted SMTP; 5 May 2007 15:17:04 +0200 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <182867A9-ED5E-496B-980A-B70C4E90B836@manuelmartini.it> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: stable@freebsd.org From: Manuel Martini Date: Sat, 5 May 2007 15:16:59 +0200 X-Mailer: Apple Mail (2.752.3) Cc: Subject: gmirror security problem on jail env? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 13:43:47 -0000 # uname -a FreeBSD xxxxxxx 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Apr 11 14:58:49 CEST 2007 martin@xxxxx # sysctl -a | grep jail security.jail.set_hostname_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.sysvipc_allowed: 0 security.jail.enforce_statfs: 2 security.jail.allow_raw_sockets: 0 security.jail.chflags_allowed: 0 security.jail.jailed: 1 # ls /dev fd null ptyp1 ptyp3 ptyp5 stderr stdout ttyp1 ttyp3 ttyp5 zero log ptyp0 ptyp2 ptyp4 random stdin ttyp0 ttyp2 ttyp4 urandom # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mirror/gm0s1g 129719744 17056610 102285556 14% / # gmirror status Name Status Components mirror/gm0 COMPLETE da0 da1 so I think I can do... gmirror remove.. stop.. deactive... inside jails! it's true? From owner-freebsd-stable@FreeBSD.ORG Sat May 5 15:38:42 2007 Return-Path: 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 0687416A404 for ; Sat, 5 May 2007 15:38:42 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id C61C513C46A for ; Sat, 5 May 2007 15:38:41 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.184]) by hub.org (Postfix) with ESMTP id 1398F48BF0E for ; Sat, 5 May 2007 12:38:41 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 13332-02 for ; Sat, 5 May 2007 12:38:40 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 9A4E348A32F for ; Sat, 5 May 2007 12:38:40 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id D958760622 for ; Sat, 5 May 2007 12:38:39 -0300 (ADT) Date: Sat, 05 May 2007 12:38:39 -0300 From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 15:38:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What exactly does that one mean? I've searched Google, and all I'm finding is a pointer to swap_pager.c, but nothing else ... What does that one mean? What would cause that sort of error? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPKT/4QvfyHIvDvMRAiJBAJwPv6Su4TQGToWznFRK2wlNeU+L6wCgpCrF U4mSIwGJGWZ/YTXZ8aBmWv4= =MUcQ -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 15:50:38 2007 Return-Path: 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 1D8C316A402; Sat, 5 May 2007 15:50:38 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outfbmx006.isp.belgacom.be (outfbmx006.isp.belgacom.be [195.238.5.101]) by mx1.freebsd.org (Postfix) with ESMTP id 9C73213C457; Sat, 5 May 2007 15:50:37 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outmx008.isp.belgacom.be (outmx008.isp.belgacom.be [195.238.5.235]) by outfbmx006.isp.belgacom.be (Postfix) with ESMTP id 676C438DEC; Sat, 5 May 2007 17:29:43 +0200 (CEST) Received: from outmx008.isp.belgacom.be (localhost [127.0.0.1]) by outmx008.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id l45FTfVM023178; Sat, 5 May 2007 17:29:41 +0200 (envelope-from ) Received: from kalimero.kotnet.org (117.119-247-81.adsl-dyn.isp.belgacom.be [81.247.119.117]) by outmx008.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id l45FTdTc023170; Sat, 5 May 2007 17:29:39 +0200 (envelope-from ) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.8/8.13.8) with ESMTP id l45FTX4I002804; Sat, 5 May 2007 17:29:33 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-stable@freebsd.org Date: Sat, 5 May 2007 17:29:29 +0200 User-Agent: KMail/1.9.6 References: <20070503181646.GA1527@roadrunner.q.local> <200705041438.42358.tijl@ulyssis.org> <20070504191523.GA2925@roadrunner.q.local> In-Reply-To: <20070504191523.GA2925@roadrunner.q.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705051729.32132.tijl@ulyssis.org> Cc: scottl@freebsd.org, Ulrich Spoerlein Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 15:50:38 -0000 On Friday 04 May 2007 21:15:23 Ulrich Spoerlein wrote: > Tijl Coosemans wrote: > > On Thursday 03 May 2007 20:16:46 Ulrich Spoerlein wrote: > > > I can not even read a single sector from such a DVD with the > > > external drive, but it's working just fine with the internal one. > > > It's really driving me nuts. > > > > Maybe you have to change the drive region code (RPC 2). I had to do > > this a couple years ago with a laptop's internal drive. Either that or > > you need to find a patched firmware to make the drive region free > > (RPC 1). > > Sadly, your programs don't work. Neither for the interal drive, nor for > the external one. No matter which media I have inserted: > > May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): Vendor Specific Command. CDB: a4 0 0 0 0 0 0 0 0 8 8 0 > May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition > May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:24,0 > May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): Invalid field in CDB > May 4 21:09:43 roadrunner kernel: (cd0:umass-sim0:0:0:0): Unretryable error > > > May 4 21:10:22 roadrunner kernel: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST asc=0x24 ascq=0x00 > May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 0 0 0 0 0 0 8 8 0 > May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): CAM Status: SCSI Status Error > May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): SCSI Status: Check Condition > May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): ILLEGAL REQUEST asc:24,0 > May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): Invalid field in CDB > May 4 21:10:22 roadrunner kernel: (cd1:ata1:0:0:0): Unretryable error I can't tell you what's wrong here. The CDB looks correct to me. Maybe there have to be more negotiations before the rpc info can be requested? From owner-freebsd-stable@FreeBSD.ORG Sat May 5 16:06:56 2007 Return-Path: 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 376DC16A402 for ; Sat, 5 May 2007 16:06:56 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 28B4E13C447 for ; Sat, 5 May 2007 16:06:56 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D1F731A4DB4; Sat, 5 May 2007 09:07:33 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 602D952EC0; Sat, 5 May 2007 12:06:55 -0400 (EDT) Date: Sat, 5 May 2007 12:06:55 -0400 From: Kris Kennaway To: "Marc G. Fournier" Message-ID: <20070505160655.GA847@xor.obsecurity.org> References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 16:06:56 -0000 On Sat, May 05, 2007 at 12:38:39PM -0300, Marc G. Fournier wrote: > > What exactly does that one mean? I've searched Google, and all I'm finding is > a pointer to swap_pager.c, but nothing else ... > > What does that one mean? What would cause that sort of error? You need to increase the kern.maxswzone tunable to enable more space for active swap. Kris From owner-freebsd-stable@FreeBSD.ORG Sat May 5 16:15:51 2007 Return-Path: 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 2B1C316A402 for ; Sat, 5 May 2007 16:15:51 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id E259C13C447 for ; Sat, 5 May 2007 16:15:50 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id E349B48C577; Sat, 5 May 2007 13:15:49 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 84362-10; Sat, 5 May 2007 13:15:49 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 7DB0A48BF0E; Sat, 5 May 2007 13:15:49 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 76F1260622; Sat, 5 May 2007 13:15:49 -0300 (ADT) Date: Sat, 05 May 2007 13:15:49 -0300 From: "Marc G. Fournier" To: Kris Kennaway Message-ID: In-Reply-To: <20070505160655.GA847@xor.obsecurity.org> References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 16:15:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 12:06:55 -0400 Kris Kennaway wrote: > On Sat, May 05, 2007 at 12:38:39PM -0300, Marc G. Fournier wrote: >> >> What exactly does that one mean? I've searched Google, and all I'm finding >> is a pointer to swap_pager.c, but nothing else ... >> >> What does that one mean? What would cause that sort of error? > > You need to increase the kern.maxswzone tunable to enable more space > for active swap. Apparently that doesn't exist on 6-STABLE, although its generating the error? # sysctl kern.maxswzone sysctl: unknown oid 'kern.maxswzone' - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPK214QvfyHIvDvMRArdfAJ9cqw7x1+dYINa776Ptes4iyjaHEwCeMI8X ZGUy+Xp2rbWMIc7SnId2TJg= =vMg0 -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 16:42:55 2007 Return-Path: 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 5F71F16A401 for ; Sat, 5 May 2007 16:42:55 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 287A913C448 for ; Sat, 5 May 2007 16:42:55 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 209D148C577; Sat, 5 May 2007 13:42:54 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 42479-06; Sat, 5 May 2007 13:42:53 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 69EA548BF0C; Sat, 5 May 2007 13:42:52 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 1862D60622; Sat, 5 May 2007 13:42:53 -0300 (ADT) Date: Sat, 05 May 2007 13:42:52 -0300 From: "Marc G. Fournier" To: pluknet Message-ID: <576837AA4FFCB91BF5B92A61@ganymede.hub.org> In-Reply-To: References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 16:42:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 20:35:46 +0400 pluknet wrote: > Hello, > > On 05/05/07, Marc G. Fournier wrote: >> # sysctl kern.maxswzone >> sysctl: unknown oid 'kern.maxswzone' > > It is a /boot/loader.conf variable, not in sysctl MIB. Hrmmm ... then how do I know what to increase it to, if I don't know what it currently set to? :( I thought all the /boot/loader.conf variables were viewable read only via sysctl ... ? kinda like nmbclusters: # sysctl -a | grep nmbcl kern.ipc.nmbclusters: 25600 I can't set it via sysctl, it has to be in /boot/loader.conf ... but I can at least view its value ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPLQM4QvfyHIvDvMRAkSbAKDojBtpy7zbpRZvC9K16Q5BVL4pWQCg51T5 UgGcvEgqOetC2u9uIsjPqfE= =USzs -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 16:51:13 2007 Return-Path: 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 B347716A401 for ; Sat, 5 May 2007 16:51:13 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 8EDB013C45B for ; Sat, 5 May 2007 16:51:13 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (fe4mrwk1kpj3u7ha@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l45GpCf5088110; Sat, 5 May 2007 09:51:12 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l45GpB6i088109; Sat, 5 May 2007 09:51:11 -0700 (PDT) (envelope-from jmg) Date: Sat, 5 May 2007 09:51:11 -0700 From: John-Mark Gurney To: "Marc G. Fournier" Message-ID: <20070505165111.GJ17958@funkthat.com> Mail-Followup-To: "Marc G. Fournier" , Kris Kennaway , freebsd-stable@freebsd.org References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 16:51:13 -0000 Marc G. Fournier wrote this message on Sat, May 05, 2007 at 13:15 -0300: > - --On Saturday, May 05, 2007 12:06:55 -0400 Kris Kennaway > wrote: > > > On Sat, May 05, 2007 at 12:38:39PM -0300, Marc G. Fournier wrote: > >> > >> What exactly does that one mean? I've searched Google, and all I'm finding > >> is a pointer to swap_pager.c, but nothing else ... > >> > >> What does that one mean? What would cause that sort of error? > > > > You need to increase the kern.maxswzone tunable to enable more space ^^^^^^^ > > for active swap. > > Apparently that doesn't exist on 6-STABLE, although its generating the error? > > # sysctl kern.maxswzone > sysctl: unknown oid 'kern.maxswzone' A tunable doesn't need to exist in the sysctl domain... simply add it to /boot/loader.conf as documented in conf/NOTES or defaults/loader.conf... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:04:29 2007 Return-Path: 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 818BD16A400 for ; Sat, 5 May 2007 17:04:29 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 4249F13C447 for ; Sat, 5 May 2007 17:04:29 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so23105and for ; Sat, 05 May 2007 10:04:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kpIQcLsZci6O3cU5mW+vHo9Tbisux0xYWakQNa5qeKQJSImYUsA7e16p+sokKREKka6tozNHM2086TU506Ukgd+oXcKwvIqV64jgzhQeNZKtMTaa6PwKD2Ia3BzcSGieEpbOA/S81oECB9zOCwh7fxN5OBd8t3TKgIW/0eureNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WSumA+lxeA3RV9u6IqOFO9gJm76DpfRxV+gV23N6W44e5XyCA9qnn5Dnzmt8oFHzywm2bp7G3tOP1BheAR4RirJrMnyuCc/TUQwyTISErjicZ/hTWmkqmWjn9KCh5yP61CpXdbv6va//qQc3T3HBqbmJkHxSFDPzMjWNO7cb8mY= Received: by 10.100.14.19 with SMTP id 19mr3618112ann.1178382947036; Sat, 05 May 2007 09:35:47 -0700 (PDT) Received: by 10.100.9.7 with HTTP; Sat, 5 May 2007 09:35:46 -0700 (PDT) Message-ID: Date: Sat, 5 May 2007 20:35:46 +0400 From: pluknet To: "Marc G. Fournier" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> Cc: freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:04:29 -0000 Hello, On 05/05/07, Marc G. Fournier wrote: > # sysctl kern.maxswzone > sysctl: unknown oid 'kern.maxswzone' It is a /boot/loader.conf variable, not in sysctl MIB. wbr, pluknet From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:05:49 2007 Return-Path: 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 CAF8E16A408 for ; Sat, 5 May 2007 17:05:49 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9188813C480 for ; Sat, 5 May 2007 17:05:49 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1HkNhc-0007dY-EW for ; Sat, 05 May 2007 19:05:48 +0200 Received: (qmail 68614 invoked from network); 5 May 2007 17:05:43 -0000 Received: from localhost.thuis.klop.ws (HELO guido.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 5 May 2007 17:05:43 -0000 Date: Sat, 05 May 2007 19:05:40 +0200 To: freebsd-stable@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> <20070505165111.GJ17958@funkthat.com> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20070505165111.GJ17958@funkthat.com> User-Agent: Opera Mail/9.20 (FreeBSD) Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:05:49 -0000 On Sat, 05 May 2007 18:51:11 +0200, John-Mark Gurney = wrote: > Marc G. Fournier wrote this message on Sat, May 05, 2007 at 13:15 -030= 0: >> - --On Saturday, May 05, 2007 12:06:55 -0400 Kris Kennaway = >> >> wrote: >> >> > On Sat, May 05, 2007 at 12:38:39PM -0300, Marc G. Fournier wrote: >> >> >> >> What exactly does that one mean? I've searched Google, and all I'= m = >> finding >> >> is a pointer to swap_pager.c, but nothing else ... >> >> >> >> What does that one mean? What would cause that sort of error? >> > >> > You need to increase the kern.maxswzone tunable to enable more spac= e > ^^^^^^^ >> > for active swap. >> >> Apparently that doesn't exist on 6-STABLE, although its generating th= e = >> error? >> >> # sysctl kern.maxswzone >> sysctl: unknown oid 'kern.maxswzone' > > A tunable doesn't need to exist in the sysctl domain... simply add it= > to /boot/loader.conf as documented in conf/NOTES or = > defaults/loader.conf... I think the default size is this. $ ronald@guido [/usr/src/sys] grep --mmap -r VM_SWZONE . ./amd64/include/param.h:#ifndef VM_SWZONE_SIZE_MAX ./amd64/include/param.h:#define VM_SWZONE_SIZE_MAX (32 * 1024 * 102= 4) ./boot/common/loader.8:.Dv VM_SWZONE_SIZE_MAX . ./conf/options:VM_SWZONE_SIZE_MAX opt_param.h ./i386/include/param.h:#ifndef VM_SWZONE_SIZE_MAX ./i386/include/param.h:#define VM_SWZONE_SIZE_MAX (32 * 1024 * 102= 4) ./kern/subr_param.c:#ifdef VM_SWZONE_SIZE_MAX ./kern/subr_param.c: maxswzone =3D VM_SWZONE_SIZE_MAX; Ronald. -- = Ronald Klop Amsterdam, The Netherlands From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:12:14 2007 Return-Path: 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 02EB016A402 for ; Sat, 5 May 2007 17:12:14 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.aeternal.net [212.232.17.148]) by mx1.freebsd.org (Postfix) with ESMTP id B4C8713C43E for ; Sat, 5 May 2007 17:12:13 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id 36835B821 for ; Sat, 5 May 2007 19:12:10 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aeternal.net Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tvZT2J89qKuS for ; Sat, 5 May 2007 19:12:09 +0200 (CEST) Received: from [127.0.0.1] (chello085216248040.chello.sk [85.216.248.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: corwin@aeternal.net) by amber.aeternal.net (Postfix) with ESMTP id DC0DFB81D for ; Sat, 5 May 2007 19:12:08 +0200 (CEST) Message-ID: <463CBAE9.1080803@aeternal.net> Date: Sat, 05 May 2007 19:12:09 +0200 From: Martin Hudec User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: corwin@aeternal.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:12:14 -0000 Marc G. Fournier wrote: > Apparently that doesn't exist on 6-STABLE, although its generating the error? > > # sysctl kern.maxswzone > sysctl: unknown oid 'kern.maxswzone' As in /usr/src/sys/conf/NOTES: ... # 2. In /boot/loader.conf, set the tunables kern.maxswzone, # kern.maxbcache, kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, # kern.dflssiz, kern.maxssiz and kern.sgrowsiz. ... As in man loader: kern.maxswzone Limits the amount of KVM to be used to hold swap meta information, which directly governs the maximum amount of swap the system can support. This value is specified in bytes of KVA space and defaults to around 70MBytes. Care should be taken to not reduce this value such that the actual amount of configured swap exceeds 1/2 the kernel- supported swap. The default 70MB allows the kernel to sup- port a maximum of (approximately) 14GB of configured swap. Only mess around with this parameter if you need to greatly extend the KVM reservation for other resources such as the buffer cache or NMBCLUSTERS. Modifies VM_SWZONE_SIZE_MAX. Also check -hackers maillist for following and the replies: http://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019217.html Martin From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:18:07 2007 Return-Path: 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 D352016A400 for ; Sat, 5 May 2007 17:18:07 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 925F713C46E for ; Sat, 5 May 2007 17:18:07 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (uk1ztokj8sdtow7m@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l45HI6LI088557; Sat, 5 May 2007 10:18:06 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l45HI678088556; Sat, 5 May 2007 10:18:06 -0700 (PDT) (envelope-from jmg) Date: Sat, 5 May 2007 10:18:06 -0700 From: John-Mark Gurney To: "Marc G. Fournier" Message-ID: <20070505171806.GK17958@funkthat.com> Mail-Followup-To: "Marc G. Fournier" , pluknet , freebsd-stable@freebsd.org References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> <576837AA4FFCB91BF5B92A61@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <576837AA4FFCB91BF5B92A61@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: pluknet , freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:18:07 -0000 Marc G. Fournier wrote this message on Sat, May 05, 2007 at 13:42 -0300: > > On 05/05/07, Marc G. Fournier wrote: > >> # sysctl kern.maxswzone > >> sysctl: unknown oid 'kern.maxswzone' > > > > It is a /boot/loader.conf variable, not in sysctl MIB. > > Hrmmm ... then how do I know what to increase it to, if I don't know what it > currently set to? :( I thought all the /boot/loader.conf variables were > viewable read only via sysctl ... ? kinda like nmbclusters: > > # sysctl -a | grep nmbcl > kern.ipc.nmbclusters: 25600 > > I can't set it via sysctl, it has to be in /boot/loader.conf ... but I can at > least view its value ... Take a peek at sys/kern/subr_param.c: #ifdef VM_SWZONE_SIZE_MAX maxswzone = VM_SWZONE_SIZE_MAX; #endif TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone); and then: crijmgmac,ttyp8,~/FreeBSD/HEAD/src/sys,507$find . -type f | xargs grep VM_SWZONE_SIZE_MAX ./amd64/include/param.h:#ifndef VM_SWZONE_SIZE_MAX ./amd64/include/param.h:#define VM_SWZONE_SIZE_MAX (32 * 1024 * 1024) ./boot/common/loader.8:.Dv VM_SWZONE_SIZE_MAX . ./conf/options:VM_SWZONE_SIZE_MAX opt_param.h ./i386/include/param.h:#ifndef VM_SWZONE_SIZE_MAX ./i386/include/param.h:#define VM_SWZONE_SIZE_MAX (32 * 1024 * 1024) ./kern/subr_param.c:#ifdef VM_SWZONE_SIZE_MAX ./kern/subr_param.c: maxswzone = VM_SWZONE_SIZE_MAX; So, it appears that loader(8) isn't correct: swap the system can support. This value is specified in bytes of KVA space and defaults to around 70MBytes. Care It appears that when dillion made the change almost 5 years ago, he didn't update loader(8)... I'll fix that... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:30:50 2007 Return-Path: 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 5BA1516A400 for ; Sat, 5 May 2007 17:30:50 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 2707013C44C for ; Sat, 5 May 2007 17:30:50 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 9ABDD48BF0E; Sat, 5 May 2007 14:30:48 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 92591-05; Sat, 5 May 2007 14:30:48 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 350EF48BEA5; Sat, 5 May 2007 14:30:48 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6F5F5605BC; Sat, 5 May 2007 14:30:49 -0300 (ADT) Date: Sat, 05 May 2007 14:30:49 -0300 From: "Marc G. Fournier" To: corwin@aeternal.net, freebsd-stable@freebsd.org Message-ID: <028388C628F68A7AE08C4185@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:30:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 19:12:09 +0200 Martin Hudec wrote: > Marc G. Fournier wrote: >> Apparently that doesn't exist on 6-STABLE, although its generating the error? >> >> # sysctl kern.maxswzone >> sysctl: unknown oid 'kern.maxswzone' > > As in /usr/src/sys/conf/NOTES: > ... ># 2. In /boot/loader.conf, set the tunables kern.maxswzone, ># kern.maxbcache, kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, ># kern.dflssiz, kern.maxssiz and kern.sgrowsiz. > ... > > As in man loader: > > kern.maxswzone > Limits the amount of KVM to be used to hold swap meta > information, which directly governs the maximum amount of > swap the system can support. This value is specified in > bytes of KVA space and defaults to around 70MBytes. Care > should be taken to not reduce this value such that the > actual amount of configured swap exceeds 1/2 the kernel- > supported swap. The default 70MB allows the kernel to sup- > port a maximum of (approximately) 14GB of configured swap. > Only mess around with this parameter if you need to greatly > extend the KVM reservation for other resources such as the > buffer cache or NMBCLUSTERS. Modifies VM_SWZONE_SIZE_MAX. > > Also check -hackers maillist for following and the replies: > http://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019217.html Sweet, that definitely helps ... from John's response in that email, it sounds like this may be related to the socket issue that I've already reported, since it all seems to revolve around the KVA ... I wonder if the socket issue is 'pushing into' the swap stuff (ie. this is a result of the problem, not the cause) ... But, based on the 'default 70MB == 14G of configured swap' above .. I only have 8G of swap on that machine, which really makes it sound like this is an overflow from the other problem :( - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPL9J4QvfyHIvDvMRAuKvAKCljSizyOpaY9Ep6OfpFh++9e5HqQCgmXMb Z+26yS6pgkqF6qsACcnATiM= =zi67 -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:42:19 2007 Return-Path: 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 2BC5916A401 for ; Sat, 5 May 2007 17:42:19 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 0995213C44C for ; Sat, 5 May 2007 17:42:19 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (natnp1yme620rtpf@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l45HgEa6088955; Sat, 5 May 2007 10:42:14 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l45HgDZF088954; Sat, 5 May 2007 10:42:13 -0700 (PDT) (envelope-from jmg) Date: Sat, 5 May 2007 10:42:13 -0700 From: John-Mark Gurney To: "Marc G. Fournier" Message-ID: <20070505174213.GL17958@funkthat.com> Mail-Followup-To: "Marc G. Fournier" , corwin@aeternal.net, freebsd-stable@freebsd.org References: <028388C628F68A7AE08C4185@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <028388C628F68A7AE08C4185@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: corwin@aeternal.net, freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:42:19 -0000 Marc G. Fournier wrote this message on Sat, May 05, 2007 at 14:30 -0300: > But, based on the 'default 70MB == 14G of configured swap' above .. I only have > 8G of swap on that machine, which really makes it sound like this is an > overflow from the other problem :( If you do have 8gigs of swap, then you do need to increase the parameter.. The default is 7.7gigs of supported swap... (assuming that struct swblock hasn't changed size... The maxswblock only limits it... If swap is more than 8x memory, then changing kern.maxswzone will not fix it and will require a code change... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:46:57 2007 Return-Path: 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 022D116A407 for ; Sat, 5 May 2007 17:46:57 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id DE23713C447 for ; Sat, 5 May 2007 17:46:56 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.8/8.13.7) with ESMTP id l45HkuDd096771; Sat, 5 May 2007 10:46:56 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.13.8/8.13.4/Submit) id l45HkuUK096770; Sat, 5 May 2007 10:46:56 -0700 (PDT) Date: Sat, 5 May 2007 10:46:56 -0700 (PDT) From: Matthew Dillon Message-Id: <200705051746.l45HkuUK096770@apollo.backplane.com> To: John-Mark Gurney References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> <576837AA4FFCB91BF5B92A61@ganymede.hub.org> <20070505171806.GK17958@funkthat.com> Cc: pluknet , freebsd-stable@freebsd.org, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:46:57 -0000 Basically maxswzone is the amount of KVM the kernel is willing to use to store 'struct swblock' structures. These are the little structures that are stuck onto VM objects and specify which pages in the VM object(s) correspond to which pages of swap, for any swapped out data that no longer has a vm_page_t. It should be almost impossible to run out. Each structure can handle 16 contiguous swap block assignments in the VM object. Pages in VM objects tend to get swapped out in large linear swaths and the dynamic nature of paging tends to enforce this even if things are a bit chunky initially. So running out should just never happen. The only thing I can think of is if a machine has a tiny, tiny amount of ram and a huge amount of swap. e.g. like 64M of ram and 2G of swap, and actually tries to use it all. The default KVM reservation is based on physical memory, I think. Otherwise, it just shouldn't happen. I see that the code in FreeBSD is using UMA now, I would double check that it is actually calculating the proper amount of space allowed to be allocated. Maybe you have a leak somewhere. Note that swap interactions have to operate in low-memory situations. Make sure UMA isn't gonna have a meltdown if the system is running low on freeable VM pages. -Matt From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:49:37 2007 Return-Path: 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 3698C16A403 for ; Sat, 5 May 2007 17:49:37 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id 223D213C44B for ; Sat, 5 May 2007 17:49:37 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.8/8.13.7) with ESMTP id l45HnTNQ096808; Sat, 5 May 2007 10:49:33 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.13.8/8.13.4/Submit) id l45HnTMw096807; Sat, 5 May 2007 10:49:29 -0700 (PDT) Date: Sat, 5 May 2007 10:49:29 -0700 (PDT) From: Matthew Dillon Message-Id: <200705051749.l45HnTMw096807@apollo.backplane.com> To: John-Mark Gurney References: <028388C628F68A7AE08C4185@ganymede.hub.org> <20070505174213.GL17958@funkthat.com> Cc: corwin@aeternal.net, freebsd-stable@freebsd.org, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:49:37 -0000 :If you do have 8gigs of swap, then you do need to increase the parameter.. :The default is 7.7gigs of supported swap... (assuming that struct swblock :hasn't changed size... The maxswblock only limits it... If swap is more :than 8x memory, then changing kern.maxswzone will not fix it and will :require a code change... : :-- : John-Mark Gurney Voice: +1 415 225 5579 The swblock structures only apply to actively swapped out data. Mark, how much data is actually swapped out (pstat -s) at the time the problem is reported? If you can dump UMA memory statistics that would be beneficial as well. I just find it hard to imagine that any system would actually be using that much swap, but hey! :-) -Matt Matthew Dillon From owner-freebsd-stable@FreeBSD.ORG Sat May 5 18:06:47 2007 Return-Path: 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 CACEA16A404 for ; Sat, 5 May 2007 18:06:47 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id A3D9413C4BA for ; Sat, 5 May 2007 18:06:47 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (f5e7hp8wd5idemi8@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l45I6kg7089399; Sat, 5 May 2007 11:06:46 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l45I6jcD089398; Sat, 5 May 2007 11:06:45 -0700 (PDT) (envelope-from jmg) Date: Sat, 5 May 2007 11:06:45 -0700 From: John-Mark Gurney To: Matthew Dillon Message-ID: <20070505180645.GM17958@funkthat.com> Mail-Followup-To: Matthew Dillon , "Marc G. Fournier" , pluknet , freebsd-stable@freebsd.org References: <5580F93A753EBAEF71B41EE7@ganymede.hub.org> <20070505160655.GA847@xor.obsecurity.org> <576837AA4FFCB91BF5B92A61@ganymede.hub.org> <20070505171806.GK17958@funkthat.com> <200705051746.l45HkuUK096770@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705051746.l45HkuUK096770@apollo.backplane.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: pluknet , freebsd-stable@freebsd.org, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 18:06:47 -0000 Matthew Dillon wrote this message on Sat, May 05, 2007 at 10:46 -0700: > Basically maxswzone is the amount of KVM the kernel is willing to ^ maximum > use to store 'struct swblock' structures. If the 8x memory limit hits first (specificly page_count / 2 * sizeof(struct swblock) is smaller than maxswzone), maxswzone will be ignored... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-stable@FreeBSD.ORG Sat May 5 18:10:05 2007 Return-Path: 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 D0D1D16A400 for ; Sat, 5 May 2007 18:10:05 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 945C413C44C for ; Sat, 5 May 2007 18:10:05 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id A782248C5C1; Sat, 5 May 2007 15:10:02 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 03298-02; Sat, 5 May 2007 15:10:01 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id CF5B148C5C2; Sat, 5 May 2007 15:09:59 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id F24E0606F2; Sat, 5 May 2007 15:10:01 -0300 (ADT) Date: Sat, 05 May 2007 15:10:01 -0300 From: "Marc G. Fournier" To: Matthew Dillon , John-Mark Gurney Message-ID: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: corwin@aeternal.net, freebsd-stable@freebsd.org, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 18:10:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 10:49:29 -0700 Matthew Dillon wrote: > The swblock structures only apply to actively swapped out data. Mark, > how much data is actually swapped out (pstat -s) at the time the > problem is reported? > > If you can dump UMA memory statistics that would be beneficial as well. > I just find it hard to imagine that any system would actually be using > that much swap, but hey! :-) That's why I think that the socket issue and this one are co-related ... with everything started up (93 jails), my swap usage right now is: mars# pstat -s Device 1K-blocks Used Avail Capacity /dev/da0s1b 8388608 20 8388588 0% Its only been up 2.5 hours so far, but still, everything is started up ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPMh54QvfyHIvDvMRAiYuAJ92hIiO+Sx+7aYeHCqNhpz8uwqL3ACgk+/y t71wYXIg6SCgB92NaVPc9A0= =+asv -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 18:17:01 2007 Return-Path: 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 C260B16A404 for ; Sat, 5 May 2007 18:17:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AE7E513C448 for ; Sat, 5 May 2007 18:17:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7FF351A4DB4; Sat, 5 May 2007 11:17:39 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 00D2E51446; Sat, 5 May 2007 14:17:00 -0400 (EDT) Date: Sat, 5 May 2007 14:17:00 -0400 From: Kris Kennaway To: "Marc G. Fournier" Message-ID: <20070505181700.GA20547@xor.obsecurity.org> References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> User-Agent: Mutt/1.4.2.2i Cc: John-Mark Gurney , freebsd-stable@freebsd.org, corwin@aeternal.net Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 18:17:01 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 05, 2007 at 03:10:01PM -0300, Marc G. Fournier wrote: >=20 >=20 > --On Saturday, May 05, 2007 10:49:29 -0700 Matthew Dillon=20 > wrote: >=20 > > The swblock structures only apply to actively swapped out data. Ma= rk, > > how much data is actually swapped out (pstat -s) at the time the > > problem is reported? > > > > If you can dump UMA memory statistics that would be beneficial as w= ell. > > I just find it hard to imagine that any system would actually be us= ing > > that much swap, but hey! :-) >=20 > That's why I think that the socket issue and this one are co-related ... = with=20 > everything started up (93 jails), my swap usage right now is: >=20 > mars# pstat -s > Device 1K-blocks Used Avail Capacity > /dev/da0s1b 8388608 20 8388588 0% >=20 > Its only been up 2.5 hours so far, but still, everything is started up ... If you have something that is eventually using 8GB of swap, it's almost certainly an application or configuration problem on your end. This kind of problem could indeed be causing you to run out of other resources also (e.g. if you're ending up with thousands of instances of a server running). kris --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGPMocWry0BWjoQKURAhJ1AKCJT61n6OKnSVUPUS5TEnq8KaHfFwCfTFCt A+bhyMYiXVtX9F8LB9Zzblg= =etdh -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 20:11:39 2007 Return-Path: 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 C0AE216A401 for ; Sat, 5 May 2007 20:11:39 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id AA3A113C45A for ; Sat, 5 May 2007 20:11:39 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.8/8.13.7) with ESMTP id l45KBaFM098052; Sat, 5 May 2007 13:11:36 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.13.8/8.13.4/Submit) id l45KBZGk098049; Sat, 5 May 2007 13:11:35 -0700 (PDT) Date: Sat, 5 May 2007 13:11:35 -0700 (PDT) From: Matthew Dillon Message-Id: <200705052011.l45KBZGk098049@apollo.backplane.com> To: "Marc G. Fournier" References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> Cc: John-Mark Gurney , freebsd-stable@freebsd.org, corwin@aeternal.net, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 20:11:39 -0000 :That's why I think that the socket issue and this one are co-related ... with :everything started up (93 jails), my swap usage right now is: : :mars# pstat -s :Device 1K-blocks Used Avail Capacity :/dev/da0s1b 8388608 20 8388588 0% : :Its only been up 2.5 hours so far, but still, everything is started up ... : :- ---- :Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) The "swap zone exhausted, increase kern.maxswzone" message only prints if uma_zone_exhausted() returns TRUE. uma_zone_exhausted() appears to be based on a UMA flag which is only set if the pages for the zone exceeds some maximum setting. Insofar as I can tell, vmstat -z on FreeBSD will dump the UMA zones, so try using that when the problem occurs along with pstat -s. It sounds like there is a leak somewhere (but I don't see how anything in any other UMA zones could cause the SWAPMETA zone to fill up). Or the maximum setting is too low, or something is getting lost somewhere. We'll have a better idea as to what is going on when you get the message again. You might even want to do a once-a-10-minutes cron job to append pstat -s, vmstat -m, and vmstat -z to a file. -Matt Matthew Dillon From owner-freebsd-stable@FreeBSD.ORG Sat May 5 20:14:43 2007 Return-Path: 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 9A55A16A402 for ; Sat, 5 May 2007 20:14:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7D18013C46C for ; Sat, 5 May 2007 20:14:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 622771A4DB6; Sat, 5 May 2007 13:15:21 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C502F51559; Sat, 5 May 2007 16:14:42 -0400 (EDT) Date: Sat, 5 May 2007 16:14:42 -0400 From: Kris Kennaway To: Matthew Dillon Message-ID: <20070505201442.GA5770@xor.obsecurity.org> References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> <200705052011.l45KBZGk098049@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705052011.l45KBZGk098049@apollo.backplane.com> User-Agent: Mutt/1.4.2.2i Cc: John-Mark Gurney , freebsd-stable@freebsd.org, corwin@aeternal.net, "Marc G. Fournier" Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 20:14:43 -0000 On Sat, May 05, 2007 at 01:11:35PM -0700, Matthew Dillon wrote: > :That's why I think that the socket issue and this one are co-related ... with > :everything started up (93 jails), my swap usage right now is: > : > :mars# pstat -s > :Device 1K-blocks Used Avail Capacity > :/dev/da0s1b 8388608 20 8388588 0% > : > :Its only been up 2.5 hours so far, but still, everything is started up ... > : > :- ---- > :Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > > The "swap zone exhausted, increase kern.maxswzone" message only prints > if uma_zone_exhausted() returns TRUE. uma_zone_exhausted() appears to > be based on a UMA flag which is only set if the pages for the zone > exceeds some maximum setting. > > Insofar as I can tell, vmstat -z on FreeBSD will dump the UMA zones, > so try using that when the problem occurs along with pstat -s. It > sounds like there is a leak somewhere (but I don't see how anything > in any other UMA zones could cause the SWAPMETA zone to fill up). Or > the maximum setting is too low, or something is getting lost somewhere. I doubt there is a leak, that's just guesswork on your part :). I only see this problem on my machines when they really do use too much swap. Let's wait to see what happens on Marc's machine. Kris From owner-freebsd-stable@FreeBSD.ORG Sat May 5 20:42:39 2007 Return-Path: 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 864B216A403 for ; Sat, 5 May 2007 20:42:39 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9C313C455 for ; Sat, 5 May 2007 20:42:39 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.184]) by hub.org (Postfix) with ESMTP id C118048C577; Sat, 5 May 2007 17:42:35 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 53275-03; Sat, 5 May 2007 17:42:35 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 2E2A948BF0E; Sat, 5 May 2007 17:42:35 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 596AF6037E; Sat, 5 May 2007 17:42:40 -0300 (ADT) Date: Sat, 05 May 2007 17:42:40 -0300 From: "Marc G. Fournier" To: Matthew Dillon Message-ID: <9CD1A2D67CDB4EF3120D43AB@ganymede.hub.org> In-Reply-To: <200705052011.l45KBZGk098049@apollo.backplane.com> References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> <200705052011.l45KBZGk098049@apollo.backplane.com> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: John-Mark Gurney , freebsd-stable@freebsd.org, corwin@aeternal.net Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 20:42:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 13:11:35 -0700 Matthew Dillon wrote: > We'll have a better idea as to what is going on when you get the message > again. You might even want to do a once-a-10-minutes cron job to > append pstat -s, vmstat -m, and vmstat -z to a file. 'k, that I can do :) Thanks ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPOxA4QvfyHIvDvMRAm8KAJ48oDaEeLYhJ6Ce6m5YH6h2N5gEVACeLAyp /D8O7DSiGxXYavMpzRN4ft0= =8QHO -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat May 5 22:48:15 2007 Return-Path: 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 314FC16A407 for ; Sat, 5 May 2007 22:48:15 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: from hurl.ugcs.caltech.edu (hurl.ugcs.caltech.edu [131.215.176.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1F30A13C4BE for ; Sat, 5 May 2007 22:48:15 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: by hurl.ugcs.caltech.edu (Postfix, from userid 3640) id 9A63C1C3BAA; Sat, 5 May 2007 15:19:34 -0700 (PDT) Date: Sat, 5 May 2007 15:19:34 -0700 From: Paul Allen To: freebsd-stable@freebsd.org Message-ID: <20070505221934.GB10235@hurl.ugcs.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: jd@ugcs.caltech.edu Subject: cbb/ata induces high interrupt load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 22:48:15 -0000 While performing a sequential read from a compact flash disk over cardbus (cbb), I observe the following: iostat reports transfer rate of 0.72MB/s with average transaction size of 32K top -S reports 80% interrupt time. 78% of which is attributed to irq11 vmstat -i reports about an order of magnitude more interrupt load on irq11. dmesg | grep 'irq 11' shows: cbb0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 cbb1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 ata2: at port 0x100-0x10f irq 11 function 0 config 1 on pccard1 Any suggestions? From owner-freebsd-stable@FreeBSD.ORG Sat May 5 22:56:41 2007 Return-Path: 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 6A69416A402 for ; Sat, 5 May 2007 22:56:41 +0000 (UTC) (envelope-from wilbury@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 2CDAC13C44B for ; Sat, 5 May 2007 22:56:41 +0000 (UTC) (envelope-from wilbury@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so1262872nze for ; Sat, 05 May 2007 15:56:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=B0+bRNfF7+v1fbpsV7oKAzcU4pGUQyRMrkqnBH5iTPFVLlaVQe7ClmBSHil9nvi3D0DD/vubU3M6zV6kqQeOav2gXq1k4mRC5St0Ik3H2HnMo9Z9nq+i08L5v604N6WdQ2SfIEASasBdiLNSd7NmQvKdKJp5NWuX9DZyv/luFcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=W9nPsb/H5Mj6rxly7Io9f/pk5ObTKvEHUP0pXN5vEbD6P2GMDhOKFH4Z297iIE2rIuuLY1WtzqzpTvRrQwhS5RAjpfaCkJVvunjmhn5Bk/FLxSCmR/5x3GpuHKdaCEwHqjuVw3ubEDgfKmZPMyAWqkSULRKldETCe5vvGN1vsf8= Received: by 10.114.12.9 with SMTP id 9mr1641728wal.1178405800312; Sat, 05 May 2007 15:56:40 -0700 (PDT) Received: by 10.114.179.19 with HTTP; Sat, 5 May 2007 15:56:40 -0700 (PDT) Message-ID: Date: Sun, 6 May 2007 00:56:40 +0200 From: "Juraj Lutter" To: "FreeBSD stable" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: SMP not properly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 22:56:41 -0000 Hi, I've encountered a problem with FreeBSD 6.2-STABLE on i386 with SMP enabled. Machine is an older one with Intel 82443GX (N440BX) chipset. FreeBSD 6.2-STABLE from around February 2006 worked OK and detected both CPUs properly. After upgrade on 10th April, second CPU disappeared from dmesg. Have there been any changes regarding the SMP and/or ACPI detection? boot -v output and kernel config available at http://www.wilbury.sk/private/txt/esmeralda/ any hints/suggestions? One thing I'm not sure about is AUDIT support in kernel -> That one I've added some time between Feb and Apr this year and I'm not sure if this is the concern. Thanks a lot. otis -- Sincerely yours, Juraj Lutter