From owner-freebsd-current@FreeBSD.ORG Sun May 14 02:58:01 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BFD016A401 for ; Sun, 14 May 2006 02:58:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2E1843D46 for ; Sun, 14 May 2006 02:58:00 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.187.17] (helo=vampire.homelinux.org) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1Ff6nv1aIC-0000b4; Sun, 14 May 2006 04:57:59 +0200 Received: (qmail 53650 invoked from network); 14 May 2006 02:58:24 -0000 Received: from localhost (HELO mail.abi01.homeunix.org) (192.168.4.64) by localhost with SMTP; 14 May 2006 02:58:24 -0000 Received: from 192.168.4.1 (SquirrelMail authenticated user mlaier) by mail.abi01.homeunix.org with HTTP; Sun, 14 May 2006 04:57:59 +0200 (CEST) Message-ID: <59366.192.168.4.1.1147575479.squirrel@mail.abi01.homeunix.org> In-Reply-To: <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> Date: Sun, 14 May 2006 04:57:59 +0200 (CEST) From: "Max Laier" To: "sekes" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-current@freebsd.org, csjp@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 02:58:01 -0000 Hi, On Sat, May 13, 2006 10:45 pm, sekes wrote: > i found the reason of my unpredictable reboots. > it is in netgraph.ko module. if i don't let ppp(8) and mpd(8) load module > system works fine. > otherwise after a bit of time it hangs up with following error: > > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > lock order reversal: > 1st 0xc2b8b090 inp (divinp) @ > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) @ > /usr/src/sys/net/pfil.c:73 it looks like you are using pf(4) or ipfw(8) with user/group rules and haven't read the BUGS section of the respective manual page. The problem there is, that user/group rules are basically a layering violation and thus cause a LOR which might lead to a deadlock. We are working on a fix for that, but it might be a couple of weeks before that happens. Please do away with the user/group rules for now or enable Giant over the netstack. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-current@FreeBSD.ORG Sun May 14 06:19:12 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D627E16A409; Sun, 14 May 2006 06:19:12 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5215443D45; Sun, 14 May 2006 06:19:12 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k4E6JBwl080492; Sun, 14 May 2006 02:19:11 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.6/8.13.6) with ESMTP id k4E6JBwt043982; Sun, 14 May 2006 02:19:11 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 034CD7302F; Sun, 14 May 2006 02:19:10 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20060514061911.034CD7302F@freebsd-current.sentex.ca> Date: Sun, 14 May 2006 02:19:10 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner4 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 06:19:13 -0000 TB --- 2006-05-14 05:00:59 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-05-14 05:00:59 - starting HEAD tinderbox run for i386/i386 TB --- 2006-05-14 05:00:59 - cleaning the object tree TB --- 2006-05-14 05:01:25 - checking out the source tree TB --- 2006-05-14 05:01:25 - cd /tinderbox/HEAD/i386/i386 TB --- 2006-05-14 05:01:25 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-05-14 05:08:22 - building world (CFLAGS=-O2 -pipe) TB --- 2006-05-14 05:08:22 - cd /src TB --- 2006-05-14 05:08:22 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2006-05-14 06:15:47 - generating LINT kernel config TB --- 2006-05-14 06:15:47 - cd /src/sys/i386/conf TB --- 2006-05-14 06:15:47 - /usr/bin/make -B LINT TB --- 2006-05-14 06:15:47 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2006-05-14 06:15:47 - cd /src TB --- 2006-05-14 06:15:47 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 14 06:15:47 UTC 2006 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies [...] echo "#define ALTQ 1" > opt_global.h echo "#define DEV_BPF 1" > opt_bpf.h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/obj/src/sys/LINT /src/sys/modules/lmc/../../dev/lmc/if_lmc.c ===> lnc (depend) @ -> /src/sys machine -> /src/sys/i386/include make: don't know how to make if_lnc.c. Stop *** Error code 2 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2006-05-14 06:19:10 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-05-14 06:19:10 - ERROR: failed to build lint kernel TB --- 2006-05-14 06:19:10 - tinderbox aborted TB --- 0.84 user 3.80 system 4690.90 real From owner-freebsd-current@FreeBSD.ORG Sun May 14 06:35:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D30716A402 for ; Sun, 14 May 2006 06:35:12 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4576D43D46 for ; Sun, 14 May 2006 06:35:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id DC8AC1FFD0B; Sun, 14 May 2006 08:35:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 5450F1FFBB6; Sun, 14 May 2006 08:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4368E4448D6; Sun, 14 May 2006 06:31:09 +0000 (UTC) Date: Sun, 14 May 2006 06:31:08 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: sekes In-Reply-To: <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> Message-ID: <20060514062825.W54242@maildrop.int.zabbadoz.net> References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 06:35:12 -0000 On Sun, 14 May 2006, sekes wrote: > lock order reversal: > 1st 0xc2b8b090 inp (divinp) @ > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) @ > /usr/src/sys/net/pfil.c:73 looks almost the same as LOR #181: http://sources.zabbadoz.net/freebsd/lor.html#181 but without the div_output(). -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-current@FreeBSD.ORG Sun May 14 07:40:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7331E16A401; Sun, 14 May 2006 07:40:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E903743D49; Sun, 14 May 2006 07:40:19 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4E7eHdU009834; Sun, 14 May 2006 03:40:17 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4E7dtWe021411; Sun, 14 May 2006 03:39:55 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id ACE1D7302F; Sun, 14 May 2006 03:40:18 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20060514074018.ACE1D7302F@freebsd-current.sentex.ca> Date: Sun, 14 May 2006 03:40:18 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 07:40:20 -0000 TB --- 2006-05-14 06:19:11 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-05-14 06:19:11 - starting HEAD tinderbox run for i386/pc98 TB --- 2006-05-14 06:19:11 - cleaning the object tree TB --- 2006-05-14 06:19:36 - checking out the source tree TB --- 2006-05-14 06:19:36 - cd /tinderbox/HEAD/i386/pc98 TB --- 2006-05-14 06:19:36 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-05-14 06:26:24 - building world (CFLAGS=-O2 -pipe) TB --- 2006-05-14 06:26:24 - cd /src TB --- 2006-05-14 06:26:24 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2006-05-14 07:40:17 - generating LINT kernel config TB --- 2006-05-14 07:40:17 - cd /src/sys/pc98/conf TB --- 2006-05-14 07:40:17 - /usr/bin/make -B LINT TB --- 2006-05-14 07:40:18 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2006-05-14 07:40:18 - cd /src TB --- 2006-05-14 07:40:18 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 14 07:40:18 UTC 2006 >>> stage 1: configuring the kernel [...] WARNING: duplicate device `io' encountered. WARNING: kernel contains GPL contaminated csaimg.h header WARNING: kernel contains GPL contaminated emu10k1 headers WARNING: kernel contains GPL contaminated maestro3 headers WARNING: kernel contains GPL contaminated ext2fs filesystem WARNING: kernel contains GPL contaminated ReiserFS filesystem WARNING: kernel contains GPL contaminated xfs filesystem WARNING: COMPAT_SVR4 is broken and should be avoided *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2006-05-14 07:40:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-05-14 07:40:18 - ERROR: failed to build lint kernel TB --- 2006-05-14 07:40:18 - tinderbox aborted TB --- 0.77 user 3.88 system 4867.38 real From owner-freebsd-current@FreeBSD.ORG Sun May 14 08:54:42 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A65116A400; Sun, 14 May 2006 08:54:42 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C175043D46; Sun, 14 May 2006 08:54:41 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4E8sdd3079422; Sun, 14 May 2006 12:54:40 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sun, 14 May 2006 12:54:39 +0400 (MSD) From: Maxim Konovalov To: current@freebsd.org Message-ID: <20060514124527.Y79102@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-usb@freebsd.org Subject: umass/usb quirks policy X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 08:54:42 -0000 Hello, Remind me what our policy (if any) for adding usb quirks? There are a lot of PRs: usb/96901, usb/96599, usb/96546, usb/94439, usb/93484 etc. -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Sun May 14 10:18:06 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D40316A408 for ; Sun, 14 May 2006 10:18:06 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D283343D46 for ; Sun, 14 May 2006 10:18:04 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so445161nzi for ; Sun, 14 May 2006 03:18:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RpmEgeZEn9SSpLMmA/rlHstkpw79syhHy+775RK0EgbHB82jwXmvBvrfdGFFprElml7Uin/5RZkIqH4xHVB/FFyJa1kzaciOFcIh7JolvNkFR/oppXV5POhdOJaUKpG3Prsjf3+WgWc38JYwbvjw2xrBfYE9r6f1AB+sVrmAWUU= Received: by 10.36.72.8 with SMTP id u8mr390971nza; Sun, 14 May 2006 03:18:04 -0700 (PDT) Received: by 10.36.222.48 with HTTP; Sun, 14 May 2006 03:18:03 -0700 (PDT) Message-ID: <53cc795f0605140318h46cc8e03qc5c24e9c4e70296a@mail.gmail.com> Date: Sun, 14 May 2006 14:18:03 +0400 From: sekes To: "Christian S.J. Peron" In-Reply-To: <44669BF6.5050700@FreeBSD.org> MIME-Version: 1.0 References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <44669BF6.5050700@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 10:18:06 -0000 On 5/14/06, Christian S.J. Peron wrote: > > What does your ipfw rules look like? ipfw show 00100 0 0 count ip from any to 10.10.0.2 00200 0 0 count ip from 10.10.0.2 to any 00300 0 0 count ip from any to 10.10.0.3 00400 0 0 count ip from 10.10.0.3 to any 00500 20 1776 count ip from any to 10.10.0.5 00600 20 1848 count ip from 10.10.0.5 to any 00700 34 2868 count ip from any to 10.10.0.6 00800 35 2806 count ip from 10.10.0.6 to any 00900 0 0 count ip from any to 10.10.0.7 01000 0 0 count ip from 10.10.0.7 to any 01100 0 0 count ip from any to 10.10.0.9 01200 0 0 count ip from 10.10.0.9 to any 01300 0 0 count ip from any to 10.10.0.10 01400 0 0 count ip from 10.10.0.10 to any 01500 0 0 count ip from any to 10.10.0.11 01600 0 0 count ip from 10.10.0.11 to any 01700 464973 645569163 count ip from not 192.168.0.0/24,10.10.0.0/24,192.168.2.104/29,10.8.108.108 to 192.168.2.108 01800 473474 21742504 count ip from 192.168.2.108 to not 192.168.0.0/24,10.10.0.0/24,192.168.2.104/29,10.8.108.108 01900 473193 650015708 queue 109 ip from not 192.168.0.0/24,10.10.0.0/24,192.168.2.104/29,10.8.108.108 to 192.168.0.1, 10.10.0.0/24,192.168.2.104/29 02000 0 0 divert 8668 ip from 10.10.0.0/24 to any out via tun= 0 02100 0 0 divert 8668 ip from 192.168.2.108,192.168.0.1 to an= y out via tun0 02200 0 0 divert 8668 ip from 10.8.108.108 to any out via tun= 0 02300 0 0 divert 8668 ip from any to 82.208.115.253 in via tun0 02400 1293271 543262863 allow ip from any to any 65535 6 408 deny ip from any to any sekes wrote: > > i found the reason of my unpredictable reboots. > > it is in netgraph.ko module. if i don't let ppp(8) and mpd(8) load > module > > system works fine. > > otherwise after a bit of time it hangs up with following error: > > > > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > > lock order reversal: > > 1st 0xc2b8b090 inp (divinp) @ > > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) = @ > > /usr/src/sys/net/pfil.c:73 > > KDB: stack backtrace: > > kdb_backtrace(0,ffffffff,c0a04aa8,c0a04ee0,c09b1e84) at > > kdb_backtrace+0x29 > > witness_checkorder(c0a44db8,1,c0916282,49) at witness_checkorder+0x586 > > _rw_rlock(c0a44db8,c0916282,49) at _rw_rlock+0x54 > > pfil_run_hooks(c0a44da0,d4b00b3c,c29b2400,2,0) at pfil_run_hooks+0x2c > > ip_output(c2aa9200,0,d4b00b08,22,0) at ip_output+0x627 > > div_send(c2b2c14c,0,c2aa9200,c2ab7950,0) at div_send+0x208 > > sosend(c2b2c14c,c2ab7950,d4b00be4,c2aa9200,0) at sosend+0x3e5 > > kern_sendit(c29bdbd0,3,d4b00c64,0,0) at kern_sendit+0x108 > > sendit(c29bdbd0,3,d4b00c64,0,bfbdebdf) at sendit+0x15f > > sendto(c29bdbd0,d4b00d04,c2ad48d0,c,c29bdbd0) at sendto+0x4d > > syscall(3b,3b,bfbf003b,2,4f) at syscall+0x27e > > Xint0x80_syscall() at Xint0x80_syscall+0x1f > > --- syscall (133, FreeBSD ELF32, sendto), eip =3D 0x2813069b, esp =3D > > 0xbfbdeafc, ebp =3D 0xbfbeeba8 --- > > > > > > > > On 5/13/06, sekes wrote: > >> > >> i csuped and built new kernel this morning > >> now every time i catch strong deadlock in the 15-20 minutes after > >> booting > >> up. > >> > >> i'm completely cutoff :-( > >> > >> this is the last produced message on the screen before the system hang= s > >> up. > >> > >> panic: rip_detach: inp =3D=3D NULL > >> cpuid =3D 0 > >> KDB: enter: panic > >> [thread pid 11 tid 100005 ] > >> Stopped at kdb_enter+0x2b: nop > >> db> > >> > >> xnet# uname -a > >> FreeBSD xnet.nnov.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat May 13 > >> 11:28:49 MSD 2006 root@xnet.nnov.ru:/usr/obj/usr/src/sys/GENERIC > >> i386 > >> > >> > >> > >> > >> Copyright (c) 1992-2006 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 7.0-CURRENT #0: Sat May 13 11:28:49 MSD 2006 > >> root@xnet.nnov.ru:/usr/obj/usr/src/sys/GENERIC > >> WARNING: WITNESS option enabled, expect reduced performance. > >> WARNING: MPSAFE network stack disabled, expect reduced performance. > >> Timecounter "i8254" frequency 1193182 Hz quality 0 > >> CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU) > >> Origin =3D "GenuineIntel" Id =3D 0x652 Stepping =3D 2 > >> > >> > Features=3D0x183f9ff > >> > >> real memory =3D 536858624 (511 MB) > >> avail memory =3D 511541248 (487 MB) > >> kbd1 at kbdmux0 > >> ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > >> RF5413) > >> ACPI disabled by blacklist. Contact your BIOS vendor. > >> cpu0 on motherboard > >> pcib0: pcibus 0 on > >> motherboard > >> > >> pir0: on motherboard > >> pci0: on pcib0 > >> agp0: on hostb0 > >> pcib1: at device 1.0 on pci0 > >> pci1: on pcib1 > >> vgapci0: port 0x8a135330-0x8a13534f mem > >> 0xdc000000-0xdfffffff at device 0.0 on pci1 > >> isab0: at device 4.0 on pci0 > >> isa0: on isab0 > >> atapci0: port > >> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 4.1 on pci= 0 > >> ata0: on atapci0 > >> ata1: on atapci0 > >> uhci0: port 0xd400-0xd41f > >> irq 5 > >> at device 4.2 on pci0 > >> uhci0: [GIANT-LOCKED] > >> usb0: on uhci0 > >> usb0: USB revision 1.0 > >> uhub0: on usb0 > >> uhub0: 2 ports with 2 removable, self powered > >> piix0: port 0xe800-0xe80f at device 4.3 on pci0 > >> Timecounter "PIIX" frequency 3579545 Hz quality 0 > >> rl0: port 0xd000-0xd0ff mem > >> 0xdb800000-0xdb8000ff irq 12 at device 10.0 on pci0 > >> miibus0: on rl0 > >> rlphy0: on miibus0 > >> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > >> rl0: Ethernet address: 00:80:48:31:0d:1f > >> rl0: [GIANT-LOCKED] > >> rl1: port 0xb800-0xb8ff mem > >> 0xdb000000-0xdb0000ff irq 10 at device 11.0 on pci0 > >> miibus1: on rl1 > >> rlphy1: on miibus1 > >> rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > >> rl1: Ethernet address: 00:80:48:25:36:9e > >> rl1: [GIANT-LOCKED] > >> rl2: port 0xb400-0xb4ff mem > >> 0xda800000-0xda8000ff irq 11 at device 12.0 on pci0 > >> miibus2: on rl2 > >> rlphy2: on miibus2 > >> rlphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > >> rl2: Ethernet address: 00:30:84:3a:e2:85 > >> rl2: [GIANT-LOCKED] > >> pmtimer0 on isa0 > >> orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 > >> atkbdc0: at port 0x60,0x64 on isa0 > >> atkbd0: irq 1 on atkbdc0 > >> kbd0 at atkbd0 > >> atkbd0: [GIANT-LOCKED] > >> fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq > 2 > >> on isa0 > >> fdc0: [FAST] > >> ppc0: at port 0x378-0x37f irq 7 on isa0 > >> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > >> ppc0: FIFO with 16/16/9 bytes threshold > >> ppbus0: on ppc0 > >> plip0: on ppbus0 > >> lpt0: on ppbus0 > >> lpt0: Interrupt-driven port > >> ppi0: on ppbus0 > >> ppc0: [GIANT-LOCKED] > >> sc0: at flags 0x100 on isa0 > >> sc0: EGA <16 virtual consoles, flags=3D0x300> > >> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > >> sio0: type 16550A > >> sio0: [FAST] > >> sio1 at port 0x2f8-0x2ff irq 3 on isa0 > >> sio1: type 16550A > >> sio1: [FAST] > >> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > >> isa0 > >> unknown: can't assign resources (port) > >> unknown: can't assign resources (port) > >> unknown: can't assign resources (port) > >> unknown: can't assign resources (port) > >> unknown: can't assign resources (memory) > >> unknown: can't assign resources (port) > >> unknown: can't assign resources (port) > >> Timecounter "TSC" frequency 350798189 Hz quality 800 > >> Timecounters tick every 1.000 msec > >> ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding > >> disabled, default to deny, logging disabled > >> ad0: 9541MB at ata0-master UDMA33 > >> ad1: 39266MB at ata0-slave UDMA33 > >> Trying to mount root from ufs:/dev/ad0s1a > >> WARNING: / was not properly dismounted > >> GEOM_ELI: Device ad0s1b.eli created. > >> GEOM_ELI: Cipher: AES > >> GEOM_ELI: Key length: 256 > >> GEOM_ELI: Crypto: software > >> WARNING: /usr was not properly dismounted > >> WARNING: /mnt/DISK1 was not properly dismounted > >> pid 761 (ircd), uid 0: exited on signal 11 (core dumped) > >> rl0: promiscuous mode enabled > >> rl0: promiscuous mode disabled > >> WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > >> lock order reversal: > >> 1st 0xc2b8b090 inp (divinp) @ > >> /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > >> 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write > >> mutex) @ > >> /usr/src/sys/net/pfil.c:73 > >> KDB: stack backtrace: > >> kdb_backtrace(0,ffffffff,c0a04aa8,c0a04ee0,c09b1e84) at > >> kdb_backtrace+0x29 > >> witness_checkorder(c0a44db8,1,c0916282,49) at witness_checkorder+0x586 > >> _rw_rlock(c0a44db8,c0916282,49) at _rw_rlock+0x54 > >> pfil_run_hooks(c0a44da0,d4b00b3c,c29b2400,2,0) at pfil_run_hooks+0x2c > >> ip_output(c2aa9200,0,d4b00b08,22,0) at ip_output+0x627 > >> div_send(c2b2c14c,0,c2aa9200,c2ab7950,0) at div_send+0x208 > >> sosend(c2b2c14c,c2ab7950,d4b00be4,c2aa9200,0) at sosend+0x3e5 > >> kern_sendit(c29bdbd0,3,d4b00c64,0,0) at kern_sendit+0x108 > >> sendit(c29bdbd0,3,d4b00c64,0,bfbdebdf) at sendit+0x15f > >> sendto(c29bdbd0,d4b00d04,c2ad48d0,c,c29bdbd0) at sendto+0x4d > >> syscall(3b,3b,bfbf003b,2,4f) at syscall+0x27e > >> Xint0x80_syscall() at Xint0x80_syscall+0x1f > >> --- syscall (133, FreeBSD ELF32, sendto), eip =3D 0x2813069b, esp =3D > >> 0xbfbdeafc, ebp =3D 0xbfbeeba8 --- > >> arp: 00:11:95:c4:ca:b0 attempts to modify permanent entry for > >> 192.168.1.1on rl1 > >> > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" > > > > > > > -- > Christian S.J. Peron > csjp@FreeBSD.ORG > FreeBSD Committer > FreeBSD Security Team > > From owner-freebsd-current@FreeBSD.ORG Sun May 14 10:44:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6E8F16A40A for ; Sun, 14 May 2006 10:44:12 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40BEC43D46 for ; Sun, 14 May 2006 10:44:11 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so446881nzi for ; Sun, 14 May 2006 03:44:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aqBhBo7NA0VjTS0i7SLYrgWBPlvkShTErRuGarlkCNfk56T/wrJsr5Cmpf6T+mMkW5RIgf0dUG+xgVKd4FrBbWqj/sBl3jhuDEGAovMvr2YYucETKosFjAa+eJH3iwV9Oa/L1s4ey3ePF4I+eOtFiZon9nd8O4MOScubJYLSY10= Received: by 10.37.14.74 with SMTP id r74mr1816230nzi; Sun, 14 May 2006 03:44:10 -0700 (PDT) Received: by 10.36.222.48 with HTTP; Sun, 14 May 2006 03:44:10 -0700 (PDT) Message-ID: <53cc795f0605140344q3ab31c04vfd23a1dbf0e00cd4@mail.gmail.com> Date: Sun, 14 May 2006 14:44:10 +0400 From: sekes To: "Max Laier" In-Reply-To: <59366.192.168.4.1.1147575479.squirrel@mail.abi01.homeunix.org> MIME-Version: 1.0 References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <59366.192.168.4.1.1147575479.squirrel@mail.abi01.homeunix.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, csjp@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 10:44:12 -0000 i've read BUGS section. and i haven't any uid/gid rules neither ipfw nor pf= . look my previous messgae with ipfw rules. LOR appearing even i disabled ipfw at all On 5/14/06, Max Laier wrote: > > Hi, > > On Sat, May 13, 2006 10:45 pm, sekes wrote: > > i found the reason of my unpredictable reboots. > > it is in netgraph.ko module. if i don't let ppp(8) and mpd(8) load > module > > system works fine. > > otherwise after a bit of time it hangs up with following error: > > > > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > > lock order reversal: > > 1st 0xc2b8b090 inp (divinp) @ > > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) > @ > > /usr/src/sys/net/pfil.c:73 > > it looks like you are using pf(4) or ipfw(8) with user/group rules and > haven't read the BUGS section of the respective manual page. The problem > there is, that user/group rules are basically a layering violation and > thus cause a LOR which might lead to a deadlock. We are working on a fix > for that, but it might be a couple of weeks before that happens. Please > do away with the user/group rules for now or enable Giant over the > netstack. > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > > From owner-freebsd-current@FreeBSD.ORG Sun May 14 10:48:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CDE216A418 for ; Sun, 14 May 2006 10:48:33 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C65E43D53 for ; Sun, 14 May 2006 10:48:31 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so447157nzi for ; Sun, 14 May 2006 03:48:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=OXJhWfGESGD4HKBhp3b5WZX9CWAlDpivffXLCqrmGfRcY8hp9KNtQNWEwW4RT+pvGAESdzrJXZnWrmu6KQVabqffl+wb+0zKN+v1xnZ2V9NXVElrzvGgUaf4zG//gYDoHBDA43qG6O0D983LB+5Yt9S76XRqqyCnQrWUyRWPZwc= Received: by 10.36.148.17 with SMTP id v17mr1815094nzd; Sun, 14 May 2006 03:48:31 -0700 (PDT) Received: by 10.36.222.48 with HTTP; Sun, 14 May 2006 03:48:31 -0700 (PDT) Message-ID: <53cc795f0605140348u769b6b0bkc62d28652b6b3ec3@mail.gmail.com> Date: Sun, 14 May 2006 14:48:31 +0400 From: sekes To: "Bjoern A. Zeeb" In-Reply-To: <20060514062825.W54242@maildrop.int.zabbadoz.net> MIME-Version: 1.0 References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <20060514062825.W54242@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 10:48:46 -0000 On 5/14/06, Bjoern A. Zeeb wrote: > > On Sun, 14 May 2006, sekes wrote: > > > lock order reversal: > > 1st 0xc2b8b090 inp (divinp) @ > > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 > > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) = @ > > /usr/src/sys/net/pfil.c:73 > > looks almost the same as LOR #181: > http://sources.zabbadoz.net/freebsd/lor.html#181 > but without the div_output(). > > -- > Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT > yes, it is similar to my situation. may i know when it could be fixed? From owner-freebsd-current@FreeBSD.ORG Sun May 14 14:04:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D25416A45E for ; Sun, 14 May 2006 14:04:09 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC1743D45 for ; Sun, 14 May 2006 14:04:08 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4EE47UT028693; Sun, 14 May 2006 10:04:07 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k4EE46li052890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 May 2006 10:04:06 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060514100211.08f21a18@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 14 May 2006 10:04:02 -0400 To: sekes From: Mike Tancsa In-Reply-To: <53cc795f0605140344q3ab31c04vfd23a1dbf0e00cd4@mail.gmail.co m> References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <59366.192.168.4.1.1147575479.squirrel@mail.abi01.homeunix.org> <53cc795f0605140344q3ab31c04vfd23a1dbf0e00cd4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 14:04:09 -0000 At 06:44 AM 14/05/2006, sekes wrote: >i've read BUGS section. and i haven't any uid/gid rules neither ipfw nor pf. >look my previous messgae with ipfw rules. > > >LOR appearing even i disabled ipfw at all Is it the same LOR when you have ipfw disabled ? (i.e. a LOR in ipdivert when you dont have ipdivert in the kernel ??) I ran into a number of problems with LORs in ipdivert (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/86427) I was able to avoid it by changing to pf and doing the natting there. ---Mike >On 5/14/06, Max Laier wrote: >> >>Hi, >> >>On Sat, May 13, 2006 10:45 pm, sekes wrote: >> > i found the reason of my unpredictable reboots. >> > it is in netgraph.ko module. if i don't let ppp(8) and mpd(8) load >>module >> > system works fine. >> > otherwise after a bit of time it hangs up with following error: >> > >> > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() >> > lock order reversal: >> > 1st 0xc2b8b090 inp (divinp) @ >> > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 >> > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write mutex) >>@ >> > /usr/src/sys/net/pfil.c:73 >> >>it looks like you are using pf(4) or ipfw(8) with user/group rules and >>haven't read the BUGS section of the respective manual page. The problem >>there is, that user/group rules are basically a layering violation and >>thus cause a LOR which might lead to a deadlock. We are working on a fix >>for that, but it might be a couple of weeks before that happens. Please >>do away with the user/group rules for now or enable Giant over the >>netstack. >> >>-- >>/"\ Best regards, | mlaier@freebsd.org >>\ / Max Laier | ICQ #67774661 >>X http://pf4freebsd.love2party.net/ | mlaier@EFnet >>/ \ ASCII Ribbon Campaign | Against HTML Mail and News >> >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sun May 14 15:25:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC91B16A4DB for ; Sun, 14 May 2006 15:25:22 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from ems01.seccuris.com (ems01.seccuris.com [204.112.0.35]) by mx1.FreeBSD.org (Postfix) with SMTP id EBA8743D55 for ; Sun, 14 May 2006 15:25:14 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: (qmail 76056 invoked by uid 86); 14 May 2006 15:42:04 -0000 Received: from unknown (HELO ?127.0.0.1?) (204.112.0.37) by ems01.seccuris.com with SMTP; 14 May 2006 15:42:04 -0000 Message-ID: <44674BDA.7040300@FreeBSD.org> Date: Sun, 14 May 2006 10:25:14 -0500 From: "Christian S.J. Peron" User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: sekes References: <53cc795f0605131026n2d9a5776jd75630e3f9505e55@mail.gmail.com> <53cc795f0605131345t718d0ad7ia7792f2ed4446037@mail.gmail.com> <20060514062825.W54242@maildrop.int.zabbadoz.net> <53cc795f0605140348u769b6b0bkc62d28652b6b3ec3@mail.gmail.com> In-Reply-To: <53cc795f0605140348u769b6b0bkc62d28652b6b3ec3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Bjoern A. Zeeb" , freebsd-current@freebsd.org Subject: Re: deadlock every 15-20 min X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 15:25:22 -0000 This is very similar to the UID/GID filtering problem. What appears to be happening is on the inbound path, we pickup the pfil lock and attempt to pickup the inp info lock, while on the outbound path, we hold the inp info lock across ip_output which will try to pickup the pfil lock. This problem is the result of a layering violation, in reality the firewall should not be picking up layer 4 related locks. Myself and a few others have been discussing this problem for quite some time now, and hopefully it won't be long before we can come up with a solution that will make everyone happy. For now, you should be able to set debug.mpsafenet to 0 which will re-enable Giant in the network stack, in theory preventing the deadlock. debug.mpsafenet=0 in your loader.conf Let me know if this helps sekes wrote: > On 5/14/06, Bjoern A. Zeeb wrote: >> >> On Sun, 14 May 2006, sekes wrote: >> >> > lock order reversal: >> > 1st 0xc2b8b090 inp (divinp) @ >> > /usr/src/sys/modules/ipdivert/../../netinet/ip_divert.c:336 >> > 2nd 0xc0a44db8 PFil hook read/write mutex (PFil hook read/write >> mutex) @ >> > /usr/src/sys/net/pfil.c:73 >> >> looks almost the same as LOR #181: >> http://sources.zabbadoz.net/freebsd/lor.html#181 >> but without the div_output(). >> >> -- >> Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT >> > > yes, it is similar to my situation. may i know when it could be fixed? > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > > -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer FreeBSD Security Team From owner-freebsd-current@FreeBSD.ORG Sun May 14 18:18:47 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F12F16A502; Sun, 14 May 2006 18:18:47 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E64C43D45; Sun, 14 May 2006 18:18:40 +0000 (GMT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id k4EIIeYs033624; Sun, 14 May 2006 11:18:40 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id k4EIIeNt033623; Sun, 14 May 2006 11:18:40 -0700 (PDT) (envelope-from david) Date: Sun, 14 May 2006 11:18:40 -0700 From: David Wolfskill To: FreeBSD Tinderbox Message-ID: <20060514181840.GJ20934@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , FreeBSD Tinderbox , current@freebsd.org, i386@freebsd.org, gnn@freebsd.org References: <20060514061911.034CD7302F@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060514061911.034CD7302F@freebsd-current.sentex.ca> User-Agent: Mutt/1.4.2.1i Cc: gnn@freebsd.org, current@freebsd.org, i386@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 18:18:47 -0000 On Sun, May 14, 2006 at 02:19:10AM -0400, FreeBSD Tinderbox wrote: > ... > ===> lnc (depend) > @ -> /src/sys > machine -> /src/sys/i386/include > make: don't know how to make if_lnc.c. Stop > *** Error code 2 >... I don't have much confidence that the below is actually "correct" (for any reasonable value of the term), but it allowed my laptop to build a CURRENT kernel for today: Index: Makefile =================================================================== RCS file: /cvs/freebsd/src/sys/modules/Makefile,v retrieving revision 1.493 diff -u -u -r1.493 Makefile --- Makefile 12 May 2006 20:39:22 -0000 1.493 +++ Makefile 14 May 2006 17:29:23 -0000 @@ -136,7 +136,6 @@ ${_linsysfs} \ ${_linux} \ lmc \ - ${_lnc} \ lpt \ mac_biba \ mac_bsdextended \ @@ -359,7 +358,6 @@ _linprocfs= linprocfs _linsysfs= linsysfs _linux= linux -_lnc= lnc _mse= mse .if ${MK_NCP} != "no" _ncp= ncp @@ -467,7 +465,6 @@ _ips= ips _ipw= ipw _iwi= iwi -#_lnc= lnc _mly= mly _ndis= ndis _nve= nve Peace, david -- David H. Wolfskill david@catwhisker.org When reading advertising, recall that "up to" means "no more than." See http://www.catwhisker.org/~david/publickey.gpg for my public key. From owner-freebsd-current@FreeBSD.ORG Sun May 14 18:25:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 786F316A401; Sun, 14 May 2006 18:25:41 +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 DBCDE43D45; Sun, 14 May 2006 18:25:40 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4EIO030033866; Sun, 14 May 2006 12:24:05 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <446775C0.1050208@samsco.org> Date: Sun, 14 May 2006 12:24:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Wolfskill References: <20060514061911.034CD7302F@freebsd-current.sentex.ca> <20060514181840.GJ20934@bunrab.catwhisker.org> In-Reply-To: <20060514181840.GJ20934@bunrab.catwhisker.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: gnn@freebsd.org, i386@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 18:25:41 -0000 David Wolfskill wrote: > On Sun, May 14, 2006 at 02:19:10AM -0400, FreeBSD Tinderbox wrote: > >>... >>===> lnc (depend) >>@ -> /src/sys >>machine -> /src/sys/i386/include >>make: don't know how to make if_lnc.c. Stop >>*** Error code 2 >>... > > > I don't have much confidence that the below is actually "correct" (for > any reasonable value of the term), but it allowed my laptop to build a > CURRENT kernel for today: > > Index: Makefile > =================================================================== > RCS file: /cvs/freebsd/src/sys/modules/Makefile,v > retrieving revision 1.493 > diff -u -u -r1.493 Makefile > --- Makefile 12 May 2006 20:39:22 -0000 1.493 > +++ Makefile 14 May 2006 17:29:23 -0000 > @@ -136,7 +136,6 @@ > ${_linsysfs} \ > ${_linux} \ > lmc \ > - ${_lnc} \ > lpt \ > mac_biba \ > mac_bsdextended \ > @@ -359,7 +358,6 @@ > _linprocfs= linprocfs > _linsysfs= linsysfs > _linux= linux > -_lnc= lnc > _mse= mse > .if ${MK_NCP} != "no" > _ncp= ncp > @@ -467,7 +465,6 @@ > _ips= ips > _ipw= ipw > _iwi= iwi > -#_lnc= lnc > _mly= mly > _ndis= ndis > _nve= nve > > > Peace, > david It looks correct to me. Go ahead and commit it. Scott From owner-freebsd-current@FreeBSD.ORG Sun May 14 18:40:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C801516A417; Sun, 14 May 2006 18:40:34 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0133F43D5F; Sun, 14 May 2006 18:40:28 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from minion.lan.neville-neil.com (proxy7.corp.yahoo.com [216.145.48.98]) by mrout3.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id k4EIZRGb081513; Sun, 14 May 2006 11:35:28 -0700 (PDT) Date: Sun, 14 May 2006 13:35:26 -0500 Message-ID: From: "George V. Neville-Neil" To: Scott Long In-Reply-To: <446775C0.1050208@samsco.org> References: <20060514061911.034CD7302F@freebsd-current.sentex.ca> <20060514181840.GJ20934@bunrab.catwhisker.org> <446775C0.1050208@samsco.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-apple-darwin8.5.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: current@freebsd.org, i386@freebsd.org, FreeBSD Tinderbox Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 18:40:34 -0000 At Sun, 14 May 2006 12:24:00 -0600, Scott Long wrote: > > David Wolfskill wrote: > > > On Sun, May 14, 2006 at 02:19:10AM -0400, FreeBSD Tinderbox wrote: > > > >>... > >>===> lnc (depend) > >>@ -> /src/sys > >>machine -> /src/sys/i386/include > >>make: don't know how to make if_lnc.c. Stop > >>*** Error code 2 > >>... > > > > > > I don't have much confidence that the below is actually "correct" (for > > any reasonable value of the term), but it allowed my laptop to build a > > CURRENT kernel for today: > > > > Index: Makefile > > =================================================================== > > RCS file: /cvs/freebsd/src/sys/modules/Makefile,v > > retrieving revision 1.493 > > diff -u -u -r1.493 Makefile > > --- Makefile 12 May 2006 20:39:22 -0000 1.493 > > +++ Makefile 14 May 2006 17:29:23 -0000 > > @@ -136,7 +136,6 @@ > > ${_linsysfs} \ > > ${_linux} \ > > lmc \ > > - ${_lnc} \ > > lpt \ > > mac_biba \ > > mac_bsdextended \ > > @@ -359,7 +358,6 @@ > > _linprocfs= linprocfs > > _linsysfs= linsysfs > > _linux= linux > > -_lnc= lnc > > _mse= mse > > .if ${MK_NCP} != "no" > > _ncp= ncp > > @@ -467,7 +465,6 @@ > > _ips= ips > > _ipw= ipw > > _iwi= iwi > > -#_lnc= lnc > > _mly= mly > > _ndis= ndis > > _nve= nve > > > > > > Peace, > > david > > It looks correct to me. Go ahead and commit it. And, thanks to David and Scott for cleaning up my mess. My apologies. Later, George From owner-freebsd-current@FreeBSD.ORG Sun May 14 18:47:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C79F416A403 for ; Sun, 14 May 2006 18:47:16 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5CEE43D48 for ; Sun, 14 May 2006 18:47:15 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id n15so5690nfc for ; Sun, 14 May 2006 11:47:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:sender; b=Wkk9dgA9MWzyv06Jiotf+FaJhOjMWZPrvqvsV5vFLOt8908aWrxfp52H90W1Zx0UQfyLbht86bd0FO0CwogxoDvHfWEs1Ukj47HX4Ymar1voUtiPWK5GEQxe6x550tUNFRtLC6you0lAX2+KfKdvQBV0Oo70bl8w/YKGDOIX7g0= Received: by 10.48.220.3 with SMTP id s3mr1448889nfg; Sun, 14 May 2006 11:47:14 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.114.67]) by mx.gmail.com with ESMTP id x1sm1057182nfb.2006.05.14.11.46.47; Sun, 14 May 2006 11:47:14 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k4EIj8jN004879 for ; Sun, 14 May 2006 20:45:09 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k4EHlItv004595 for current@freebsd.org; Sun, 14 May 2006 19:47:18 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Date: Sun, 14 May 2006 19:47:18 +0200 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20060514174718.GA4496@roadrunner.informatik.uni-wuerzburg.de> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline Sender: Ulrich Spoerlein Cc: Subject: cdcontrol -f /cdrom eject X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 18:47:20 -0000 --BwCQnh7xodEAoBMC Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everybody, I tried to make 'cdcontrol -f /mountpoint eject' work, but I found something strange while implementing it. First of all, cdcontrol will eject the media, even if it is currently mounted. Shouldn't mount lock the media, and only unmount unlock it? To reproduce % mount /cdrom % mount|grep acd0 % cdcontrol -f /dev/acd0 eject # works % mount|grep acd0 # still mounted Attached is a patch that will umount the given mount-point first, then eject the media. I wonder why the CDIOCALLOW is necessary even if the media was not previously mounted. It only seems to make a difference with cd(4), acd(4) will eject the media even without the CDIOCALLOW call. Very strange (at least to me), or it might be bad atapicam-mojo that's interfering. Anyway, comments are appreciated! Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Content-Transfer-Encoding: quoted-printable --- cdcontrol.c.orig Sun May 14 19:46:39 2006 +++ cdcontrol.c Sun May 14 19:46:24 2006 @@ -26,10 +26,14 @@ #include #include #include +#include +#include +#include #include #include #include #include +#include #include #include #include @@ -167,7 +171,7 @@ =20 void usage () { - fprintf (stderr, "usage: cdcontrol [-sv] [-f device] [command ...]\n"); + fprintf (stderr, "usage: cdcontrol [-sv] [-f device|mountpoint] [command = =2E..]\n"); exit (1); } =20 @@ -271,6 +275,8 @@ { long speed; int l, r, rc; + struct stat sb; + struct statfs sfsb; =20 switch (cmd) { =20 @@ -353,6 +359,23 @@ return (0); =20 case CMD_EJECT: + if (stat(cdname, &sb) !=3D 0) + warn("stat failed, %s", cdname); + /* Unmount first, if directory */ + else if (S_ISDIR(sb.st_mode)) { + if (statfs(cdname, &sfsb) !=3D 0) + warn("statfs failed, %s", cdname); + else { + if (strncmp(cdname, sfsb.f_mntonname, MAXPATHLEN) !=3D 0) + warnx("device %s and mountpoint %s differ", + cdname, sfsb.f_mntonname); + if (unmount(cdname, 0) !=3D 0) + warn("umount of %s failed", cdname); + else + cdname =3D sfsb.f_mntfromname; + } + } + if (fd < 0 && ! open_cd ()) return (0); =20 --LQksG6bCIzRHxTLp-- --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZ20l524iJyD+6d0RAnc5AJwJ8K6xh/LyOnrvC+gHw2oY/Vy+2QCdH98i xdhNTbklg3DgJDmDJDRJfsw= =X/yA -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- From owner-freebsd-current@FreeBSD.ORG Sun May 14 19:11:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7878616A43C for ; Sun, 14 May 2006 19:11:40 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C48D43D4C for ; Sun, 14 May 2006 19:11:38 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so268177nfb for ; Sun, 14 May 2006 12:11:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=WA1JkKAaOq7+JoAbsnWRdAHGkWhiqkRrXw7hmdPiHPRE8ZrmxkuDS6jq7EfeM5ueoKoCEfAjackrK/OyluCKILOWq6W/IJcHOP8InX8pOp3FEionwpLV7X5nya1WhDS+AydIPG5soCpsLHOwCGDXyvMBjJ1wT+K037movHs01B4= Received: by 10.49.5.8 with SMTP id h8mr1639045nfi; Sun, 14 May 2006 11:46:23 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.114.67]) by mx.gmail.com with ESMTP id x1sm1057182nfb.2006.05.14.11.45.57; Sun, 14 May 2006 11:46:23 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k4EIj8jL004879 for ; Sun, 14 May 2006 20:45:08 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k4EFtUX2003395 for current@freebsd.org; Sun, 14 May 2006 17:55:30 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Sun, 14 May 2006 17:55:30 +0200 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20060514155530.GA3247@roadrunner.informatik.uni-wuerzburg.de> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline Cc: Subject: iostat column width display X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 19:11:40 -0000 --uZ3hkaAS1mZxFaxD Content-Type: multipart/mixed; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello all, the column widths in iostat(1) output are not spaced correctly. tty ad0 da0 cd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 14 170 0.00 0 0.00 128.00 202 25.23 0.00 0 0.00 2 0 10 6 82 15 324 0.00 0 0.00 128.00 202 25.23 0.00 0 0.00 2 0 0 5 94 KB/t > 100 make the display overflow. KB/t is not helpful anyway, because '1.00' is of width 4, whereas '1024' (bytes) would be of width 4 too. So either cut it down to '1.0' or just use the byte count anyway. Proposed patch is attached. It simply changes the display to %5.1f, an alternative would be to remove the additional spaces between different devices. Ulrich Spoerlein PS: This still sucks, as transfer rates above 100MB/s will make the display overflow again :( --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Content-Transfer-Encoding: quoted-printable --- iostat.c Sun May 14 17:48:29 2006 +++ iostat.c.orig Sat Mar 15 22:59:06 2003 @@ -697,7 +697,7 @@ ms_per_transaction); } else { if (Iflag =3D=3D 0) - printf(" %5.1Lf %3.0Lf %5.2Lf ",=20 + printf(" %5.2Lf %3.0Lf %5.2Lf ",=20 kb_per_transfer, transfers_per_second, mb_per_second); @@ -705,7 +705,7 @@ total_mb =3D total_bytes; total_mb /=3D 1024 * 1024; =20 - printf(" %5.1Lf %3.1qu %5.2Lf ",=20 + printf(" %5.2Lf %3.1qu %5.2Lf ",=20 kb_per_transfer, total_transfers, total_mb); --45Z9DzgjV8m4Oswq-- --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZ1Ly524iJyD+6d0RAqjvAJ0dK0hSe48ZXpMyAUaU80UI+6OnGQCfWop8 Nx7btbYoSkzfSKrhPLIgIJI= =453w -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD-- From owner-freebsd-current@FreeBSD.ORG Sun May 14 19:21:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8033216A40A; Sun, 14 May 2006 19:21:39 +0000 (UTC) (envelope-from hadara@bsd.ee) Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF3043D46; Sun, 14 May 2006 19:21:38 +0000 (GMT) (envelope-from hadara@bsd.ee) Received: from [192.168.12.235] (depression.softematic.com [62.65.205.81]) by mx1.starman.ee (Postfix) with ESMTP id C4A2123C14C; Sun, 14 May 2006 22:21:35 +0300 (EEST) From: Sven Petai To: freebsd-current@freebsd.org Date: Sun, 14 May 2006 22:21:45 +0300 User-Agent: KMail/1.8.2 References: <20060506150622.C17611@fledge.watson.org> <20060507230430.GA6872@xor.obsecurity.org> <20060508065207.GA20386@xor.obsecurity.org> In-Reply-To: <20060508065207.GA20386@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605142221.46093.hadara@bsd.ee> X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Cc: Robert Watson , Kris Kennaway Subject: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 19:21:44 -0000 On Monday 08 May 2006 09:52, Kris Kennaway wrote: > The other big gain is to sleep > mtxpool contention, which roughly doubled: > > /* > * Change the total socket buffer size a user has used. > */ > int > chgsbsize(uip, hiwat, to, max) > struct uidinfo *uip; > u_int *hiwat; > u_int to; > rlim_t max; > { > rlim_t new; > > UIDINFO_LOCK(uip); > > So the next question is how can that be optimized? > > Kris hi on the 8 core machine this lock was the top contended one with rwatsons patch, with over 8 million failed acquire attempts. Originally the unp lock had only ~3 million of those, so this explains the sharp drop with larger number of threads I suppose. I feel like I'm missing some very obvious reason, but wouldn't the simplest workaround be just to return 1 right away if limit is set to infinity, which is almost always the case since it's the default, and document on the login.conf manpage that you might take performance hit with this type of workloads when you set sbsize limits. --- /usr/src/sys_clean/kern/kern_resource.c Sat Mar 11 12:48:19 2006 +++ /usr/src/sys/kern/kern_resource.c Sun May 14 05:34:02 2006 @@ -1169,6 +1169,10 @@ { rlim_t new; + if (max == RLIM_INFINITY) { + *hiwat = to; + return (1); + } UIDINFO_LOCK(uip); new = uip->ui_sbsize + to - *hiwat; /* Don't allow them to exceed max, but allow subtraction. */ 8 core machine that I originally used for benchmarking was shipped out to client, so I couldn't test how it would have performed with uidinfo contention out of the way, but results from a 1 * dualcore machine look good: http://bsd.ee/~hadara/debug/mysql4/dualcore/stats.html Several interesting things can be noticed from this data * on dualcore rwatsons patch gives consistent performance boost with all the thread settings tested, no sharp drop after 20 that I had on 8 core * with threadcount in range [3;10] even number of threads performs usually ~4-5% better than odd number * with uidinfo + rwatson patch there were some significant outliers where one result was more than 30% better than others with same settings, these were removed before calculating mean values for graphs after I had finished benchmarking I discovered that new malloc library has debug turned on. After turning it off I see large (20-25%) performance boosts across the range, so I started new round of testing with NO_MALLOC_EXTRAS defined, I'll update the results ASAP. I wonder if I should set up automatic&periodic performance testing system, that would run all the tests for example once a week, with latest current and stable, so that it would be easier for developers to see how changes affect different workloads. If you guys think it would be worthwile, what would be the bechmarks you would like to see in addition to mysql+supersmack ? From owner-freebsd-current@FreeBSD.ORG Sun May 14 23:00:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63FA916A422 for ; Sun, 14 May 2006 23:00:13 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id A696943D45 for ; Sun, 14 May 2006 23:00:12 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 89918 invoked from network); 14 May 2006 23:00:11 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 14 May 2006 23:00:11 -0000 X-pair-Authenticated: 83.95.197.184 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.4/8.13.4) with ESMTP id k4EN0AO8043276 for ; Mon, 15 May 2006 01:00:10 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.4/8.13.4/Submit) id k4EN0AHu043275 for current@freebsd.org; Mon, 15 May 2006 01:00:10 +0200 (CEST) (envelope-from pho) Date: Mon, 15 May 2006 01:00:10 +0200 From: Peter Holm To: current@freebsd.org Message-ID: <20060514230010.GA43247@peter.osted.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: A threads related livelock? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 23:00:13 -0000 With GENERIC (+ QUOTA) HEAD from May 14 06:55 UTC I got this livelock: http://people.freebsd.org/~pho/stress/log/cons201.html -- Peter Holm From owner-freebsd-current@FreeBSD.ORG Sun May 14 23:04:05 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B79C16A42C; Sun, 14 May 2006 23:04:05 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id E521343D55; Sun, 14 May 2006 23:04:04 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.73] (S0106000f3d63befd.vs.shawcable.net [70.71.19.119]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4EN41Nx007390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 May 2006 16:04:03 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <4467B75F.2030406@FreeBSD.org> Date: Sun, 14 May 2006 16:03:59 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "current@freebsd.org" , Nate Lawson , John Baldwin Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: SMP on MacBook Pro, some new info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 23:04:05 -0000 Hi, I have discovered that it's possible with a very good repeatability (90% or more) to start the second core by pressing power button promptly during the 5 second period when BSP have sent startup IPIs already and is waiting for the AP going online. I am not sure how to interpret this info - perhaps there is some problem with caching BSPs LAPIC writes, and interrupt generated by the power button causes the cache to be flushed. Any ideas? -Maxim From owner-freebsd-current@FreeBSD.ORG Mon May 15 00:13:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD13016A401; Mon, 15 May 2006 00:13:34 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABF1C43D49; Mon, 15 May 2006 00:13:33 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4F0DVi8073011; Mon, 15 May 2006 04:13:31 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Mon, 15 May 2006 04:13:31 +0400 (MSD) From: Maxim Konovalov To: Robert Watson In-Reply-To: <20060402233436.P76562@fledge.watson.org> Message-ID: <20060515025600.U70399@mp2.macomnet.net> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@freebsd.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 00:13:34 -0000 Hello, On Sun, 2 Apr 2006, 23:37+0100, Robert Watson wrote: > > On Sat, 1 Apr 2006, Robert Watson wrote: > > > On Sat, 1 Apr 2006, Robert Watson wrote: > > > > > You get to experience the above in the order presented. :-) I > > > will send out a follow-up e-mail once the merges have stopped > > > and/or slowed down, which will be later today sometime. > > > > This e-mail is to let you know that the commit spree is over for the day, > > with no remaining changes in the rwatson_sockref branch. > > > > There are likely bugs. You may find them. If you do, please > > e-mail bug reports, ideally including any panic messages, stack > > traces, reproduction cases, etc, to current@, and I will try to > > get to them as quickly as possible. > > OK, so it's been >24 hours since this was committed, and I've not > received any bug reports yet. This means once of three things: > > (1) There are no bugs. > > (2) I've broken everyone's systems so badly they can't submit bug reports. > > (3) Everyone is waiting for everyone else to upgrade due to the > advance notice of instability. > > I consider (1) highly likely, (2) a property of 1990's development > and we've left that time since most people have multiple machines > now, and (3) much more likely. > > Please help test these changes! I leave for a trip to the US on > Thursday, and I'd rather get things working before I leave than > while on travel, it will save a lot of hassle for everyone. > > And if you're reading this after spending 48 hours getting your > systems working again to the point where you can read e-mail, sorry :-). There is a bug in raw ip code processing which panics system. I put a small regression test in src/tools/regression/netinet/rawconnect. At the moment the code path for the connected raw ip socket looks like that: % soclose() % sodisconnect() % rip_disconnect() % rip_abort() % rip_pcbdetach() % rip_detach <<<--------- panic % rip_pcbdetach() .. and we panics in rip_detach() at KASSERT(inp != NULL). With this patch panic has gone. Index: raw_ip.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v retrieving revision 1.160 diff -u -p -r1.160 raw_ip.c --- raw_ip.c 21 Apr 2006 09:25:39 -0000 1.160 +++ raw_ip.c 14 May 2006 23:39:15 -0000 @@ -661,9 +661,19 @@ rip_abort(struct socket *so) static int rip_disconnect(struct socket *so) { + struct inpcb *inp; + if ((so->so_state & SS_ISCONNECTED) == 0) return ENOTCONN; - rip_abort(so); + + inp = sotoinpcb(so); + KASSERT(inp != NULL, ("rip_disconnect: inp == NULL")); + INP_INFO_WLOCK(&ripcbinfo); + INP_LOCK(inp); + inp->inp_faddr.s_addr = INADDR_ANY; + INP_UNLOCK(inp); + INP_INFO_WUNLOCK(&ripcbinfo); + so->so_state &= ~SS_ISCONNECTED; return (0); } %%% -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Mon May 15 00:56:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8157816A401 for ; Mon, 15 May 2006 00:56:19 +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 2063A43D45 for ; Mon, 15 May 2006 00:56:19 +0000 (GMT) (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 E503646BF9; Sun, 14 May 2006 20:56:17 -0400 (EDT) Date: Mon, 15 May 2006 01:56:17 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Maxim Konovalov In-Reply-To: <20060515025600.U70399@mp2.macomnet.net> Message-ID: <20060515015102.F9273@fledge.watson.org> References: <20060317141627.W2181@fledge.watson.org> <20060329100839.V19236@fledge.watson.org> <20060401102918.P79188@fledge.watson.org> <20060401170554.R82503@fledge.watson.org> <20060402233436.P76562@fledge.watson.org> <20060515025600.U70399@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: HEADS UP: socket and pcb reference changes entering tree today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 00:56:19 -0000 On Mon, 15 May 2006, Maxim Konovalov wrote: > There is a bug in raw ip code processing which panics system. I put a small > regression test in src/tools/regression/netinet/rawconnect. > > At the moment the code path for the connected raw ip socket looks like that: > > % soclose() > % sodisconnect() > % rip_disconnect() > % rip_abort() > % rip_pcbdetach() > % rip_detach <<<--------- panic > % rip_pcbdetach() > > .. and we panics in rip_detach() at KASSERT(inp != NULL). > > With this patch panic has gone. This patch looks good! Thanks for tracking this down :-). Robert N M Watson > > Index: raw_ip.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v > retrieving revision 1.160 > diff -u -p -r1.160 raw_ip.c > --- raw_ip.c 21 Apr 2006 09:25:39 -0000 1.160 > +++ raw_ip.c 14 May 2006 23:39:15 -0000 > @@ -661,9 +661,19 @@ rip_abort(struct socket *so) > static int > rip_disconnect(struct socket *so) > { > + struct inpcb *inp; > + > if ((so->so_state & SS_ISCONNECTED) == 0) > return ENOTCONN; > - rip_abort(so); > + > + inp = sotoinpcb(so); > + KASSERT(inp != NULL, ("rip_disconnect: inp == NULL")); > + INP_INFO_WLOCK(&ripcbinfo); > + INP_LOCK(inp); > + inp->inp_faddr.s_addr = INADDR_ANY; > + INP_UNLOCK(inp); > + INP_INFO_WUNLOCK(&ripcbinfo); > + so->so_state &= ~SS_ISCONNECTED; > return (0); > } > %%% > > -- > Maxim Konovalov > From owner-freebsd-current@FreeBSD.ORG Sun May 14 21:17:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D79B616A411; Sun, 14 May 2006 21:17:40 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AF343D49; Sun, 14 May 2006 21:17:39 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4ELHcOV031257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 14 May 2006 23:17:38 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k4ELHcQJ031255; Sun, 14 May 2006 23:17:38 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k4ELEBf9003818; Sun, 14 May 2006 23:14:11 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k4ELEAtc003817; Sun, 14 May 2006 23:14:10 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 14 May 2006 23:14:09 +0200 To: Igor Kovalenko Message-ID: <20060514211409.GA3776@saturn.kn-bremen.de> Mail-Followup-To: Igor Kovalenko , freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff References: <20060427203718.GA15953@saturn.kn-bremen.de> <445241DE.9020909@mail.ru> <20060428221142.GA11504@saturn.kn-bremen.de> <44530C50.6040902@mail.ru> <20060430004646.GA70632@saturn.kn-bremen.de> <4458277F.4010902@mail.ru> <20060506152059.GA33481@saturn.kn-bremen.de> <445D092E.2040501@mail.ru> <20060507164230.GA63540@saturn.kn-bremen.de> <445E5C3B.405@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445E5C3B.405@mail.ru> User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Mon, 15 May 2006 01:30:51 +0000 Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 21:17:41 -0000 On Mon, May 08, 2006 at 12:44:43AM +0400, Igor Kovalenko wrote: > Hi Juergen, > > Juergen Lock wrote: > > On Sun, May 07, 2006 at 12:38:06AM +0400, Igor Kovalenko wrote: > >> Hi Juergen, > >> > >> Juergen Lock wrote: > >>> [Cc'ing glebius@ because he did most of the recent re(4) commits, and > >>> -current in case possible other driver developers didn't see this thread > >>> in -emulation] > >>> > >>> On Wed, May 03, 2006 at 07:46:07AM +0400, Igor Kovalenko wrote: > >>>> Juergen Lock wrote: > >>>>> On Sat, Apr 29, 2006 at 10:48:48AM +0400, Igor Kovalenko wrote: > >>>>>> Juergen Lock wrote: > >>>>>>> On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: > >>>>>>>> Juergen Lock wrote: > >>>>>>>>> I played with > >>>>>>>>> qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso > >>>>>>>>> -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 > >>>>>>>>> -net user > >>>>>>>>> and got it as far as > >>>>>>>>> re0: diagnostic failed, failed to receive packet in loopback > >>>>>>>>> mode > >>>>>>>>> (followed by a panic :) with the (experimental) patches below. > >>>>>>>>> > >>>>>>>>> Anyone in the mood to implement loopback mode for this nic? > >>>>>>>>> > >>>>>>>>> Hmm actually... I just found the original posting in the archive, > >>>>>>>>> is C+ mode implemented now? If not re is probably not what I want, > >>>>>>>> The rtl8139 is set up with PCI rev ID 0x20 which should be enough for > >>>>>>>> OS driver > >>>>>>>> to detect C+ mode features. C+ mode is OK, tested with Linux driver. > >>>>>>> Cool, so I want FreeBSD's re driver. That one checks TxConfig > >>>>>>> tho, as changed in my patch (inside #if 0). And when changed, > >>>>>>> it still doesn't work as mentioned above because the driver expects > >>>>>>> loopback mode to be working. > >>>>>>>>> but the rl driver that it attaches without that #if 0'd (now) hunk > >>>>>>>>> below doesnt seem to be able to get data thru either and I get > >>>>>>>>> rl0: watchdog timeout > >>>>>>>>> in dmesg, which usually means the driver doesnt receive interrupts. > >>>>>>>>> > >>>>>>>>> What the heck, I'll append a log of a run just doing in > >>>>>>>>> fixit->cdrom: > >>>>>>>>> ifconfig rl0 10.0.2.15 > >>>>>>>>> and then exiting (which is enough to trigger the watchdog timeout...) > >>>>>>>>> > >>>>>>>> I'm too lasy to test with fresh freebsd installation :) > >>>>>>> No need to install FreeBSD, you can get away by just using > >>>>>>> fixit mode of an install iso, i.e. disc1. (which actually is > >>>>>>> what I did above. :) > >>>>>>> > >>>>>>> You can look at 6.1RC's re driver here: > >>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 > >>>>>>> which includes: > >>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 > >>>>>>> > >>>>>>> And 6.1RC disc1 iso is e.g. here: > >>>>>>> ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso > >>>>>>> > >>>>>>> > >>>>>> Thanks, that iso pointer made it. > >>>>>> > >>>>> :) > >>>>> > >>>>>> Please try the following on top of your patch, at least ping should now > >>>>>> work: > >>>>> Thanks, that seems to get the rl driver going. Now to fix C+ mode > >>>>> (re driver) change the #if 0 in my patch to #if 1... > >>>>> > >>>>> > >>>> I believe freebsd re driver is somewhat broken, e.g. it does not follow > >>>> documented > >>>> procedure to detect hardware features (e.g. 8139 c+ mode) > >>> Hmm, a bit of googling didn't reveal docs about this, do you have > >>> a pointer? (I only found the data sheet at > >>> http://people.freebsd.org/~wpaul/RealTek/spec-8139cp(150).pdf > >>> which doesnt seem to mention detecting c+ hardware specifically) > >> Well, I might have misread some docs; please do not consider this as an > >> assault :) > >> I remember PCI rev id >= 0x20 is C+ mode for realtek 8139. > > > > I don't. It may well be the doc you saw this in just is no longer > > online, or I didn't came up with the right search terms... > >>>> and in tries to use 8169 > >>>> registers (e.g. 0xda) on 8139 hardware etc. > >>> Oh, then it must have mis-detected the nic as a 8169 because > >>> the code in question reads: > >>> > >>> if (sc->rl_type == RL_8169) > >>> CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); > > > > And with your patch i get > > RTL8139: not implemented write(b) addr=0xda val=0x00 > > but that can't be this line anyway because it seems to be a byte access... > > Any of the re(4) experts have an idea where this comes from? > > (log generated by defining DEBUG_RTL8139 in the patched hw/rtl8139.c) > > > > I see the re driver actually is doing 2 byte write at RL_TXSTART so the second > byte goes to RL_MAXRXPKTLEN. Comment in if_rlreg.h says RL_TXSTART is 8bit > so this is a bug in if_re.c line 2063 > > This is not affecting qemu's card emulation (the extra byte write is ignored) > so I think the problem is somewhere else. I finally got around to playing with this a bit again, the following patch gets ping and small fetch (http) going but is not enough for scp: Index: hw/rtl8139.c @@ -1008,15 +1038,22 @@ val = cpu_to_le32(rxdw1); cpu_physical_memory_write(cplus_rx_ring_desc+4, (uint8_t *)&val, 4); - /* seek to next Rx descriptor */ - if (rxdw0 & CP_RX_EOR) - { - s->currCPlusRxDesc = 0; - } - else - { - ++s->currCPlusRxDesc; - } +#ifdef DEBUG_RTL8139 + printf("RTL8139: +++ written C+ mode RX descriptor %d %08x %08x %08x %08x\n", + descriptor, + rxdw0, rxdw1, rxbufLO, rxbufHI); +#endif + /* seek to next Rx descriptor unless in loopback mode */ + if (!(TxLoopBack == (s->TxConfig & TxLoopBack))) { + if (rxdw0 & CP_RX_EOR) + { + s->currCPlusRxDesc = 0; + } + else + { + ++s->currCPlusRxDesc; + } + } #if defined(DEBUG_RTL8139) printf("RTL8139: done C+ Rx mode ----------------\n"); From owner-freebsd-current@FreeBSD.ORG Mon May 15 00:47:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7914016A404; Mon, 15 May 2006 00:47:46 +0000 (UTC) (envelope-from garrison@mail.ru) Received: from umail.ru (umail.mtu.ru [195.34.32.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA5A543D45; Mon, 15 May 2006 00:47:43 +0000 (GMT) (envelope-from garrison@mail.ru) Received: from [85.140.125.18] (HELO skyserv) by umail.ru (CommuniGate Pro SMTP 4.2b6) with ESMTP-TLS id 670475448; Mon, 15 May 2006 04:47:41 +0400 Received: from localhost ([127.0.0.1]) by skyserv with esmtp (Exim 4.61) (envelope-from ) id 1FfRFM-0002fn-Pa; Mon, 15 May 2006 04:47:40 +0400 Message-ID: <4467CFAC.9070902@mail.ru> Date: Mon, 15 May 2006 04:47:40 +0400 From: Igor Kovalenko User-Agent: Thunderbird 1.5.0.2 (X11/20060505) MIME-Version: 1.0 To: nox@jelal.kn-bremen.de, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff References: <20060427203718.GA15953@saturn.kn-bremen.de> <445241DE.9020909@mail.ru> <20060428221142.GA11504@saturn.kn-bremen.de> <44530C50.6040902@mail.ru> <20060430004646.GA70632@saturn.kn-bremen.de> <4458277F.4010902@mail.ru> <20060506152059.GA33481@saturn.kn-bremen.de> <445D092E.2040501@mail.ru> <20060507164230.GA63540@saturn.kn-bremen.de> <445E5C3B.405@mail.ru> <20060514211409.GA3776@saturn.kn-bremen.de> In-Reply-To: <20060514211409.GA3776@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 15 May 2006 01:32:03 +0000 Cc: Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 00:47:46 -0000 Juergen Lock wrote: > On Mon, May 08, 2006 at 12:44:43AM +0400, Igor Kovalenko wrote: >> Hi Juergen, >> >> Juergen Lock wrote: >>> On Sun, May 07, 2006 at 12:38:06AM +0400, Igor Kovalenko wrote: >>>> Hi Juergen, >>>> >>>> Juergen Lock wrote: >>>>> [Cc'ing glebius@ because he did most of the recent re(4) commits, and >>>>> -current in case possible other driver developers didn't see this thread >>>>> in -emulation] >>>>> >>>>> On Wed, May 03, 2006 at 07:46:07AM +0400, Igor Kovalenko wrote: >>>>>> Juergen Lock wrote: >>>>>>> On Sat, Apr 29, 2006 at 10:48:48AM +0400, Igor Kovalenko wrote: >>>>>>>> Juergen Lock wrote: >>>>>>>>> On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: >>>>>>>>>> Juergen Lock wrote: >>>>>>>>>>> I played with >>>>>>>>>>> qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso >>>>>>>>>>> -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 >>>>>>>>>>> -net user >>>>>>>>>>> and got it as far as >>>>>>>>>>> re0: diagnostic failed, failed to receive packet in loopback >>>>>>>>>>> mode >>>>>>>>>>> (followed by a panic :) with the (experimental) patches below. >>>>>>>>>>> >>>>>>>>>>> Anyone in the mood to implement loopback mode for this nic? >>>>>>>>>>> >>>>>>>>>>> Hmm actually... I just found the original posting in the archive, >>>>>>>>>>> is C+ mode implemented now? If not re is probably not what I want, >>>>>>>>>> The rtl8139 is set up with PCI rev ID 0x20 which should be enough for >>>>>>>>>> OS driver >>>>>>>>>> to detect C+ mode features. C+ mode is OK, tested with Linux driver. >>>>>>>>> Cool, so I want FreeBSD's re driver. That one checks TxConfig >>>>>>>>> tho, as changed in my patch (inside #if 0). And when changed, >>>>>>>>> it still doesn't work as mentioned above because the driver expects >>>>>>>>> loopback mode to be working. >>>>>>>>>>> but the rl driver that it attaches without that #if 0'd (now) hunk >>>>>>>>>>> below doesnt seem to be able to get data thru either and I get >>>>>>>>>>> rl0: watchdog timeout >>>>>>>>>>> in dmesg, which usually means the driver doesnt receive interrupts. >>>>>>>>>>> >>>>>>>>>>> What the heck, I'll append a log of a run just doing in >>>>>>>>>>> fixit->cdrom: >>>>>>>>>>> ifconfig rl0 10.0.2.15 >>>>>>>>>>> and then exiting (which is enough to trigger the watchdog timeout...) >>>>>>>>>>> >>>>>>>>>> I'm too lasy to test with fresh freebsd installation :) >>>>>>>>> No need to install FreeBSD, you can get away by just using >>>>>>>>> fixit mode of an install iso, i.e. disc1. (which actually is >>>>>>>>> what I did above. :) >>>>>>>>> >>>>>>>>> You can look at 6.1RC's re driver here: >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 >>>>>>>>> which includes: >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 >>>>>>>>> >>>>>>>>> And 6.1RC disc1 iso is e.g. here: >>>>>>>>> ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso >>>>>>>>> >>>>>>>>> >>>>>>>> Thanks, that iso pointer made it. >>>>>>>> >>>>>>> :) >>>>>>> >>>>>>>> Please try the following on top of your patch, at least ping should now >>>>>>>> work: >>>>>>> Thanks, that seems to get the rl driver going. Now to fix C+ mode >>>>>>> (re driver) change the #if 0 in my patch to #if 1... >>>>>>> >>>>>>> >>>>>> I believe freebsd re driver is somewhat broken, e.g. it does not follow >>>>>> documented >>>>>> procedure to detect hardware features (e.g. 8139 c+ mode) >>>>> Hmm, a bit of googling didn't reveal docs about this, do you have >>>>> a pointer? (I only found the data sheet at >>>>> http://people.freebsd.org/~wpaul/RealTek/spec-8139cp(150).pdf >>>>> which doesnt seem to mention detecting c+ hardware specifically) >>>> Well, I might have misread some docs; please do not consider this as an >>>> assault :) >>>> I remember PCI rev id >= 0x20 is C+ mode for realtek 8139. >>> I don't. It may well be the doc you saw this in just is no longer >>> online, or I didn't came up with the right search terms... >>>>>> and in tries to use 8169 >>>>>> registers (e.g. 0xda) on 8139 hardware etc. >>>>> Oh, then it must have mis-detected the nic as a 8169 because >>>>> the code in question reads: >>>>> >>>>> if (sc->rl_type == RL_8169) >>>>> CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); >>> And with your patch i get >>> RTL8139: not implemented write(b) addr=0xda val=0x00 >>> but that can't be this line anyway because it seems to be a byte access... >>> Any of the re(4) experts have an idea where this comes from? >>> (log generated by defining DEBUG_RTL8139 in the patched hw/rtl8139.c) >>> >> I see the re driver actually is doing 2 byte write at RL_TXSTART so the second >> byte goes to RL_MAXRXPKTLEN. Comment in if_rlreg.h says RL_TXSTART is 8bit >> so this is a bug in if_re.c line 2063 >> >> This is not affecting qemu's card emulation (the extra byte write is ignored) >> so I think the problem is somewhere else. > > I finally got around to playing with this a bit again, the following > patch gets ping and small fetch (http) going but is not enough for scp: > > Index: hw/rtl8139.c > @@ -1008,15 +1038,22 @@ > val = cpu_to_le32(rxdw1); > cpu_physical_memory_write(cplus_rx_ring_desc+4, (uint8_t *)&val, 4); > > - /* seek to next Rx descriptor */ > - if (rxdw0 & CP_RX_EOR) > - { > - s->currCPlusRxDesc = 0; > - } > - else > - { > - ++s->currCPlusRxDesc; > - } > +#ifdef DEBUG_RTL8139 > + printf("RTL8139: +++ written C+ mode RX descriptor %d %08x %08x %08x %08x\n", > + descriptor, > + rxdw0, rxdw1, rxbufLO, rxbufHI); > +#endif > + /* seek to next Rx descriptor unless in loopback mode */ > + if (!(TxLoopBack == (s->TxConfig & TxLoopBack))) { > + if (rxdw0 & CP_RX_EOR) > + { > + s->currCPlusRxDesc = 0; > + } > + else > + { > + ++s->currCPlusRxDesc; > + } > + } > > #if defined(DEBUG_RTL8139) > printf("RTL8139: done C+ Rx mode ----------------\n"); > > That is strange; I must be missing docs pointer about loopback mode operation again. What makes you believe that RX descriptor should not advance in loopback mode? -- Kind regards, Igor V. Kovalenko From owner-freebsd-current@FreeBSD.ORG Mon May 15 02:02:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A0E916A403 for ; Mon, 15 May 2006 02:02:05 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from cantva.canterbury.ac.nz (cantva.canterbury.ac.nz [132.181.2.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A5343D48 for ; Mon, 15 May 2006 02:02:03 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from CONVERSION-DAEMON.it.canterbury.ac.nz by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) id <01M2GC3FGN7K9W49VN@it.canterbury.ac.nz> for freebsd-current@freebsd.org; Mon, 15 May 2006 14:00:28 +1200 (NEW ZEALAND STANDARD TIME) Received: from [192.168.1.10] ([222.155.13.229]) by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) with ESMTPA id <01M2GC5B7JBY9UTZ2E@it.canterbury.ac.nz> for freebsd-current@freebsd.org; Mon, 15 May 2006 14:02:00 +1200 (NEW ZEALAND STANDARD TIME) Date: Mon, 15 May 2006 14:01:59 +1200 From: Andrew Turner To: freebsd-current@freebsd.org Message-id: <4467E117.8070301@fubar.geek.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.2 (X11/20060425) Subject: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 02:02:05 -0000 I am pleased to announce the third public beta of the BSDInstaller on FreeBSD. Major changes in this release are: - Lua and required libraries are now installed from packages - Allow the installation of kernels other than GENERIC The ISO image is available from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/bsdinstaller/7.0-20060512-BSDINSTALLER-i386-disc1.iso or your local mirror. As with the previous Beta release there are three virtual consoles available: * ttyv0: The front end * ttyv1: The back end * ttyv2: A standard login screen to login as root with no password From owner-freebsd-current@FreeBSD.ORG Mon May 15 02:32:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BC7416A449 for ; Mon, 15 May 2006 02:32:27 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA28543D6B for ; Mon, 15 May 2006 02:32:23 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.138] (unknown [192.168.168.138]) by gddsn.org.cn (Postfix) with ESMTP id 7B0EC38CBA6 for ; Mon, 15 May 2006 10:32:22 +0800 (CST) Message-ID: <4467E7A3.4020101@gddsn.org.cn> Date: Mon, 15 May 2006 10:29:55 +0800 From: wsk User-Agent: Thunderbird 1.5 (X11/20051128) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 15 May 2006 04:15:36 +0000 Cc: Subject: panic: _mtx_lock_sleep: recursed on non-recursive mutex pmap @ /usr/src/sys/i386/i386/pmap.c:1843 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 02:32:28 -0000 folks booting panic with advantech's PCM-5823 board on CURRENT appreciate with any help snip... Timecounter "TSC" frequency 299238514 Hz quality 800 Timecounters tick every 1.000 msec rr232x: no controller detected. ad2: 488MB at ata1-master PIO4 Trying to mount root from ufs:/dev/ad2s1a lock order reversal: 1st 0xc0f3c0a8 pmap (pmap) @ /usr/src/sys/i386/i386/pmap.c:2111 2nd 0xc0c91078 system map (system map) @ /usr/src/sys/vm/vm_map.c:1096 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c09c6538,c09c6600,c0976de4) at kdb_backtrace+0x29 witness_checkorder(c0c91078,9,c08ec7a3,448) at witness_checkorder+0x586 _mtx_lock_flags(c0c91078,0,c08ec7a3,448) at _mtx_lock_flags+0x6b _vm_map_lock(c0c91000,c08ec7a3,448) at _vm_map_lock+0x23 vm_map_find(c0c91000,0,0,0,c7257a68,1000,1,7,7,4) at vm_map_find+0x2d kmem_alloc_nofault(c0c91000,1000,c0852b67,c0a10d78,c0eacfd0) at kmem_alloc_nofault+0x37 get_pv_entry(c0f3c0a8,0,0,bfefeffc,c7257adc) at get_pv_entry+0x110 pmap_insert_entry(c0f3c0a8,bfbff000,c0eacfd0,0,c0ca0828) at pmap_insert_entry+0x3e pmap_enter(c0f3c0a8,bfbff000,c0eacfd0,7,0,c0c825a0,0,c08ec1ec,380) at pmap_enter+0x1de vm_fault(c0f3c000,bfbff000,2,8,c0f34360) at vm_fault+0x10ac trap_pfault(c7257c90,0,bfbfffff) at trap_pfault+0xee trap(c0f30008,c08e0028,28,c0971eca,bfbfffff) at trap+0x3f5 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc0855749, esp = 0xc7257cd0, ebp = 0xc7257d0c --- subyte(0,c7257d38) at subyte+0x25 fork_exit(c0657358,0,c7257d38) at fork_exit+0xa4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xc7257d6c, ebp = 0 --- panic: _mtx_lock_sleep: recursed on non-recursive mutex pmap @ /usr/src/sys/i386/i386/pmap.c:1843 cpuid = 0 KDB: enter: panic [thread pid 1 tid 100007 ] Stopped at kdb_enter+0x2b: nop db>show lockdb> show locks exclusive sleep mutex system map r = 0 (0xc0c91078) locked @ /usr/src/sys/vm/vm_map.c:2313 exclusive sleep mutex pmap r = 0 (0xc0a3de20) locked @ /usr/src/sys/i386/i386/pmap.c:1843 exclusive sleep mutex vm page queue mutex r = 1 (0xc0a10d78) locked @ /usr/src/sys/i386/i386/pmap.c:1841 exclusive sx user map r = 0 (0xc0c9138c) locked @ /usr/src/sys/vm/vm_kern.c:466 exclusive sleep mutex Giant r = 0 (0xc09b6b68) locked @ /usr/src/sys/kern/vfs_mount.c:662 From owner-freebsd-current@FreeBSD.ORG Mon May 15 06:19:26 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43EB416A404 for ; Mon, 15 May 2006 06:19:26 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C7E43D53 for ; Mon, 15 May 2006 06:19:25 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by wr-out-0506.google.com with SMTP id i22so996770wra for ; Sun, 14 May 2006 23:19:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=exP9ewbdANMuKodVrZCoB/Xi1wioy5UJ4YmmiQ3NNtqbkR76JRP7MokbtRBDLV+9PWdwv3E4iKw57c0Rz93UUFVltH7beSYHapa11afxQnvHlZkk1xBdA3GDqtotRsKtMtK/+AtB+IJjlTnfwRi+HScWyLI7abwJSiGVdIZW/hI= Received: by 10.65.210.18 with SMTP id m18mr3396505qbq; Sun, 14 May 2006 23:19:24 -0700 (PDT) Received: by 10.64.201.12 with HTTP; Sun, 14 May 2006 23:19:24 -0700 (PDT) Message-ID: <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> Date: Mon, 15 May 2006 13:19:24 +0700 From: "Angka H. K." To: "Dmitry Pryanishnikov" In-Reply-To: <20060513193327.G16055@atlantis.atlantis.dp.ua> MIME-Version: 1.0 References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <86wtcq6psi.fsf@xps.des.no> <4c40c4e70605130659q4c486a64u188177bd5eb804f5@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> <20060513190519.P16055@atlantis.atlantis.dp.ua> <4c40c4e70605130927p13c45284k59f151a6d1657566@mail.gmail.com> <20060513193327.G16055@atlantis.atlantis.dp.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 06:19:26 -0000 The output is the same and my drive is set to WMDA2. It's run faster then PIO4. I was trying to verify what I have done, by reinstalling Linux on my mechine. The result : On Linux my drive is using DMA (not UDMA or WDMA) and run smoother when playing DVD. I use MPlayer from CVS and compile for FreeBSD and Linux. I us= e fedora on it with xorg 7 build-in while FreeBSD using xorg 7 from CVS. The exception for this is Fedora using DRI and FBSD 7 not using DRI. What benchmark test for disk that do not depend on something and can be compiled for FBSD and Linux ? On 5/13/06, Dmitry Pryanishnikov wrote: > > > Hello! > > On Sat, 13 May 2006, Angka H. K. wrote: > > This is the result of this command : > > > > angka# atacontrol mode acd0 wmda2 > > current mode =3D PIO4 > > angka# atacontrol mode acd0 wmda2 > > current mode =3D PIO4 > > Ups, sorry, typo on my part (and improper error checking in atacontrol)= . > That should be wdma, not wmda: > > root@homelynx# atacontrol mode acd1 wmda2 > current mode =3D PIO4 > root@homelynx# atacontrol mode acd1 wdma2 > current mode =3D WDMA2 > > So command should be > > /sbin/atacontrol mode acd0 wdma2 > > > Sincerely, Dmitry > -- > Atlantis ISP, System Administrator > e-mail: dmitry@atlantis.dp.ua > nic-hdl: LYNX-RIPE > From owner-freebsd-current@FreeBSD.ORG Mon May 15 06:24:26 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2743A16A400; Mon, 15 May 2006 06:24:26 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A92443D49; Mon, 15 May 2006 06:24:25 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.38] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4F6ON34012185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 May 2006 23:24:24 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44681E94.9000702@FreeBSD.org> Date: Sun, 14 May 2006 23:24:20 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: sos@FreeBSD.org References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> In-Reply-To: <1145956219.2968.31.camel@sos.deepcore.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "current@freebsd.org" Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 06:24:26 -0000 Søren Schmidt wrote: > On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: >> Hi Søren, >> >> Attached please find small patch which adds support for 82801GBM/GHM >> SATA controller found in intel-based Macs, particularly in MacBook Pro. >> >> Please review & approve. > > I'll look into it, I think Intel has a few other new chips I should add > in the same go, give me a few days... Any progress with this? Few days have turned into few weeks, and I don't want them turn into few months. :) -Maxim From owner-freebsd-current@FreeBSD.ORG Mon May 15 06:24:32 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1058A16A401 for ; Mon, 15 May 2006 06:24:32 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74BF343D49 for ; Mon, 15 May 2006 06:24:31 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nz-out-0102.google.com with SMTP id 40so5084nzk for ; Sun, 14 May 2006 23:24:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Xq/RM4p8jmNLckYrrsA+NC9b4MDe+s/cXOOU92Hs0NqA33NAjC8xnKDLJ1LtgXKMUPh5ov9d2YwcBh8aklDtD/k8ChMSzKRNJY8QHhY0R4DwBbxhJlsCW5OCtlr2WsnnpjbdhZlx1g7mCOOz7Va1kANbIG7Pk17QUfeVmRix91A= Received: by 10.65.73.13 with SMTP id a13mr3399464qbl; Sun, 14 May 2006 23:24:30 -0700 (PDT) Received: by 10.64.201.12 with HTTP; Sun, 14 May 2006 23:24:30 -0700 (PDT) Message-ID: <4c40c4e70605142324n2ea5a618u845932fe14557bf8@mail.gmail.com> Date: Mon, 15 May 2006 13:24:30 +0700 From: "Angka H. K." To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86d5ei6k3x.fsf@xps.des.no> MIME-Version: 1.0 References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <861wuy8b84.fsf@xps.des.no> <4c40c4e70605130418y3208840ctb0b1c7b1f61b7a74@mail.gmail.com> <86wtcq6psi.fsf@xps.des.no> <4c40c4e70605130659q4c486a64u188177bd5eb804f5@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 06:24:32 -0000 I tried to open my laptop and found that the drive has noting to set. It ha= s 1 connector only whic is connect the drive with the controller. And the BIO= S give no option for the drive. On Linux the cd-drive run on DMA while the hard-drive run on UDMA On 5/13/06, Dag-Erling Sm=F8rgrav wrote: > > "Angka H. K." writes: > > Maybe I cannot change the jumper. It's a laptop. And don't have enough > > braveness to open it by my self. It'll take days to check it. > > Well, then, you're stuck with WDMA2. > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > From owner-freebsd-current@FreeBSD.ORG Mon May 15 07:15:11 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AF1C16A401 for ; Mon, 15 May 2006 07:15:11 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A46043D4C for ; Mon, 15 May 2006 07:15:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 5B4AB1FFD70; Mon, 15 May 2006 09:15:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 107A11FFD0B; Mon, 15 May 2006 09:15:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 5EF9B4448D6; Mon, 15 May 2006 07:13:18 +0000 (UTC) Date: Mon, 15 May 2006 07:13:18 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: wsk In-Reply-To: <4467E7A3.4020101@gddsn.org.cn> Message-ID: <20060515071112.R54242@maildrop.int.zabbadoz.net> References: <4467E7A3.4020101@gddsn.org.cn> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: FreeBSD current mailing list Subject: Re: panic: _mtx_lock_sleep: recursed on non-recursive mutex pmap @ /usr/src/sys/i386/i386/pmap.c:1843 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 07:15:11 -0000 On Mon, 15 May 2006, wsk wrote: > folks > booting panic with advantech's PCM-5823 board on CURRENT > appreciate with any help > > snip... > Timecounter "TSC" frequency 299238514 Hz quality 800 > Timecounters tick every 1.000 msec > rr232x: no controller detected. > ad2: 488MB at ata1-master PIO4 > Trying to mount root from ufs:/dev/ad2s1a > lock order reversal: > 1st 0xc0f3c0a8 pmap (pmap) @ /usr/src/sys/i386/i386/pmap.c:2111 > 2nd 0xc0c91078 system map (system map) @ /usr/src/sys/vm/vm_map.c:1096 the LOR looks like LOR #186 http://sources.zabbadoz.net/freebsd/lor.html#186 which was in there for only a day or two and is patched. Could it be that your HEAD is from around 2006-04-[27-29] +- 2 days? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-current@FreeBSD.ORG Mon May 15 08:12:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B6FC16A405 for ; Mon, 15 May 2006 08:12:29 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86ED343D45 for ; Mon, 15 May 2006 08:12:26 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 0ED902085; Mon, 15 May 2006 10:12:17 +0200 (CEST) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -2.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 8FB892082; Mon, 15 May 2006 10:12:16 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 5BC8E33CAD; Mon, 15 May 2006 10:12:16 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: "Angka H. K." References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <86wtcq6psi.fsf@xps.des.no> <4c40c4e70605130659q4c486a64u188177bd5eb804f5@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> <20060513190519.P16055@atlantis.atlantis.dp.ua> <4c40c4e70605130927p13c45284k59f151a6d1657566@mail.gmail.com> <20060513193327.G16055@atlantis.atlantis.dp.ua> <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> Date: Mon, 15 May 2006 10:12:15 +0200 In-Reply-To: <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> (Angka H. K.'s message of "Mon, 15 May 2006 13:19:24 +0700") Message-ID: <86psif671c.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Dmitry Pryanishnikov , current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 08:12:29 -0000 "Angka H. K." writes: > On Linux my drive is using DMA (not UDMA or WDMA) and run smoother > when playing DVD. I use MPlayer from CVS and compile for FreeBSD and > Linux. I use fedora on it with xorg 7 build-in while FreeBSD using > xorg 7 from CVS. The exception for this is Fedora using DRI and FBSD > 7 not using DRI. The performance hit you're seeing comes from the lack of DRI, not the lack of DMA. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 15 08:12:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6699016A400 for ; Mon, 15 May 2006 08:12:34 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from cantva.canterbury.ac.nz (cantva.canterbury.ac.nz [132.181.2.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC10343D46 for ; Mon, 15 May 2006 08:12:33 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from CONVERSION-DAEMON.it.canterbury.ac.nz by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) id <01M2GP1QX834AKJOXT@it.canterbury.ac.nz> for freebsd-current@freebsd.org; Mon, 15 May 2006 20:11:44 +1200 (NEW ZEALAND STANDARD TIME) Received: from [192.168.1.10] ([222.155.13.229]) by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) with ESMTPA id <01M2GP2PFGKM9UV039@it.canterbury.ac.nz> for freebsd-current@freebsd.org; Mon, 15 May 2006 20:12:31 +1200 (NEW ZEALAND STANDARD TIME) Date: Mon, 15 May 2006 20:12:30 +1200 From: Andrew Turner In-reply-to: <4467E117.8070301@fubar.geek.nz> To: freebsd-current@freebsd.org Message-id: <446837EE.9040209@fubar.geek.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.2 (X11/20060425) References: <4467E117.8070301@fubar.geek.nz> Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 08:12:34 -0000 Julian Elischer has placed a gallery of the installation process at http://people.freebsd.org/~julian/bsdinstaller_install/ for people who don't want to reinstall their computer. Andrew From owner-freebsd-current@FreeBSD.ORG Mon May 15 09:32:51 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39F3916A6E9 for ; Mon, 15 May 2006 09:32:51 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D61343D45 for ; Mon, 15 May 2006 09:32:49 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k4F9WgHJ034177; Mon, 15 May 2006 12:32:42 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Mon, 15 May 2006 12:32:42 +0300 (EEST) From: Dmitry Pryanishnikov To: "Angka H. K." In-Reply-To: <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> Message-ID: <20060515122630.P67961@atlantis.atlantis.dp.ua> References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <86wtcq6psi.fsf@xps.des.no> <4c40c4e70605130659q4c486a64u188177bd5eb804f5@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> <20060513190519.P16055@atlantis.atlantis.dp.ua> <4c40c4e70605130927p13c45284k59f151a6d1657566@mail.gmail.com> <20060513193327.G16055@atlantis.atlantis.dp.ua> <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 09:32:52 -0000 Hello! On Mon, 15 May 2006, Angka H. K. wrote: > The output is the same and my drive is set to WMDA2. It's run faster then > PIO4. OK, nice to know. > I was trying to verify what I have done, by reinstalling Linux on my > mechine. The result : On Linux my drive is using DMA (not UDMA or WDMA) and ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is either mwDMA or UDMA - hardware is only capable doing one of these modes (besides PIO). Linux just doesn't tell you which kind of *DMA it's using. > run smoother when > playing DVD. I use MPlayer from CVS and compile for FreeBSD and Linux. I use > fedora on it with xorg 7 build-in while FreeBSD using xorg 7 from CVS. The > exception for this is Fedora using DRI and FBSD 7 not using DRI. DRI can really make a big difference! Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE From owner-freebsd-current@FreeBSD.ORG Mon May 15 09:48:37 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A04616A400 for ; Mon, 15 May 2006 09:48:37 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3801243D49 for ; Mon, 15 May 2006 09:48:35 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so19614nzh for ; Mon, 15 May 2006 02:48:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ecW0ne0xrOSQEFuG/bIZM7XlN+n5Kv/tDoTwCJbQ36SXOZHl/Pb44q861PZgY2jeGuV8fOtjb3y1Rh8Et/eCs80zRZoMX0e7B44mep3mZbMozKRcdUV47khr0Wkmx/TeSiWRGCD5xXJH0/1kGjS4xjhcKgWFDZmu4pMqTb2p7Ck= Received: by 10.65.137.16 with SMTP id p16mr1588842qbn; Mon, 15 May 2006 02:48:34 -0700 (PDT) Received: by 10.64.201.12 with HTTP; Mon, 15 May 2006 02:48:34 -0700 (PDT) Message-ID: <4c40c4e70605150248j30085988ncf7ad5a5e89c8ade@mail.gmail.com> Date: Mon, 15 May 2006 16:48:34 +0700 From: "Angka H. K." To: "Dmitry Pryanishnikov" In-Reply-To: <20060515122630.P67961@atlantis.atlantis.dp.ua> MIME-Version: 1.0 References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> <20060513190519.P16055@atlantis.atlantis.dp.ua> <4c40c4e70605130927p13c45284k59f151a6d1657566@mail.gmail.com> <20060513193327.G16055@atlantis.atlantis.dp.ua> <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> <20060515122630.P67961@atlantis.atlantis.dp.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 09:48:37 -0000 On 5/15/06, Dmitry Pryanishnikov wrote: > > > Hello! > > On Mon, 15 May 2006, Angka H. K. wrote: > > The output is the same and my drive is set to WMDA2. It's run faster > then > > PIO4. > > OK, nice to know. > > > I was trying to verify what I have done, by reinstalling Linux on my > > mechine. The result : On Linux my drive is using DMA (not UDMA or WDMA) > and > ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This is either mwDMA or UDMA - hardware is only capable doing one of > these > modes (besides PIO). Linux just doesn't tell you which kind of *DMA it's > using. How can I verify this ? I want to know which DMA is active or there is no way to do it ? > run smoother when > > playing DVD. I use MPlayer from CVS and compile for FreeBSD and Linux. = I > use > > fedora on it with xorg 7 build-in while FreeBSD using xorg 7 from CVS. > The > > exception for this is Fedora using DRI and FBSD 7 not using DRI. > > DRI can really make a big difference! I use xv though to play this (-vo xv). Is xv using DRI ? Sincerely, Dmitry > -- > Atlantis ISP, System Administrator > e-mail: dmitry@atlantis.dp.ua > nic-hdl: LYNX-RIPE > From owner-freebsd-current@FreeBSD.ORG Mon May 15 09:49:21 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FBC916A479; Mon, 15 May 2006 09:49:21 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B62143D6B; Mon, 15 May 2006 09:49:10 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k4F9n7Ks017938; Mon, 15 May 2006 10:49:07 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k4F9n7Fu023574; Mon, 15 May 2006 10:49:07 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k4F9n7GA023573; Mon, 15 May 2006 10:49:07 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Maxim Sobolev In-Reply-To: <44681E94.9000702@FreeBSD.org> References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> <44681E94.9000702@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 15 May 2006 10:49:07 +0100 Message-Id: <1147686547.23488.6.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: "current@freebsd.org" , sos@freebsd.org Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 09:49:21 -0000 On Sun, 2006-05-14 at 23:24 -0700, Maxim Sobolev wrote: > S=F8ren Schmidt wrote: > > On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: > >> Hi S=F8ren, > >> > >> Attached please find small patch which adds support for 82801GBM/GHM=20 > >> SATA controller found in intel-based Macs, particularly in MacBook Pro= . > >> > >> Please review & approve. > >=20 > > I'll look into it, I think Intel has a few other new chips I should add > > in the same go, give me a few days... >=20 > Any progress with this? Few days have turned into few weeks, and I don't=20 > want them turn into few months. :) Be aware that I believe your patch is slightly wrong. As far as I can tell the chip ID you've added is the non-AHCI version. I have the same chip in my new Toshiba laptop, and submitted a more complete PR (kern/97228) over the weekend. Gavin From owner-freebsd-current@FreeBSD.ORG Mon May 15 10:22:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F6816A426 for ; Mon, 15 May 2006 10:22:27 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BBEB43D49 for ; Mon, 15 May 2006 10:22:27 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FfaDC-0004ne-B5 for current@freebsd.org; Mon, 15 May 2006 12:22:02 +0200 Date: Mon, 15 May 2006 12:22:23 +0200 From: Marcin Jessa To: FreeBSD-Current Message-Id: <20060515122223.a38d66d2.lists@yazzy.org> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: Subject: XENU on CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 10:22:27 -0000 Hi guys. Is there any info about XEN3.0 developement avaliable ? Any docs, kernel config ? Is it possible to run FreeBSD XENU atm ? The last status report I found was from March 2006: http://www.freebsd.org/news/status/report-jan-2006-mar-2006.html#FreeBSD-on-Xen-3.0 Cheers, Marcin. From owner-freebsd-current@FreeBSD.ORG Mon May 15 06:20:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37FD816A404; Mon, 15 May 2006 06:20:13 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3224F43D5C; Mon, 15 May 2006 06:20:10 +0000 (GMT) (envelope-from sobomax@sippysoft.com) Received: from [192.168.0.38] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4F6K8A4012129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 May 2006 23:20:09 -0700 (PDT) (envelope-from sobomax@sippysoft.com) Message-ID: <44681D92.80309@sippysoft.com> Date: Sun, 14 May 2006 23:20:02 -0700 From: Maxim Sobolev Organization: Sippy Software User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: phk@freebsd.org Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 15 May 2006 11:28:08 +0000 Cc: "current@freebsd.org" Subject: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 06:20:13 -0000 Hi, I would like to extend md(4) with support for mmap(4) operations, however it's interfaced to the world via geom_dev(4), which doesn't provide mmap pass-through interface. Is it intentional or not? Are you willing to accept the patches if I do the actual work? Regards, Maxim From owner-freebsd-current@FreeBSD.ORG Mon May 15 12:05:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A26C16A48F for ; Mon, 15 May 2006 12:05:10 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1404D43D45 for ; Mon, 15 May 2006 12:05:08 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so476862uge for ; Mon, 15 May 2006 05:05:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=Dk0W51Psn+jgY2g9wklQsNcR82pR6WyVpiTcuD5YA16GvyZcYn/1OSaYZP793EVPZJstoTqXTWZcc/4mu/mWzvztIf2bImM9HO9B9Cj/GFygpPXgHZu75bCcVrDSUdUOGWfKpVG3FlvEgkgb7l6KohMMnovg9kU7ruks8yQ2SJ4= Received: by 10.66.216.6 with SMTP id o6mr3935426ugg; Mon, 15 May 2006 05:05:07 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id q40sm10231518ugc.2006.05.15.05.05.05; Mon, 15 May 2006 05:05:07 -0700 (PDT) Date: Mon, 15 May 2006 15:05:04 +0300 From: Rostislav Krasny To: Andrew Turner Message-Id: <20060515150504.44b3a065.rosti.bsd@gmail.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 12:05:10 -0000 Hi, > Julian Elischer has placed a gallery of the installation process at > http://people.freebsd.org/~julian/bsdinstaller_install/ for people who > don't want to reinstall their computer. http://people.freebsd.org/~julian/bsdinstaller_install/06.png Will BSDInstaller support PPPoE? It could be very useful for network installation over ADSL. Does BSDInstaller support network installation from FTP or NIS or even HTTP? http://people.freebsd.org/~julian/bsdinstaller_install/11.png Is it a low-level formatting? Why should one format a new hard disk before partitioning it? Does the pointer there reside at "Skip this step" by default? IMHO in all sentences like "Would you like to format this disk?" or "You may now partition this disk if you desire" the word "this" is better to be always changed to the disk name. On those screenshots it should be "ad0" ot "the ad0". By the way, does/will BSDInstaller support a DD (dangerously dedicated) disk mode? http://people.freebsd.org/~julian/bsdinstaller_install/16.png I think this menu should be changed, so one could select not only the slice size but also where it begins. Ideally this should be defined by three numbers: 'start sector', 'end sector' and 'size in sectors'. Changing the 'size in sectors' should also change the 'end sector', and changing 'start sector' or 'end sector' should also change the 'size in sectors', automatically. http://people.freebsd.org/~julian/bsdinstaller_install/24.png http://people.freebsd.org/~julian/bsdinstaller_install/25.png I think the word "formatted" on the second screenshot should be changed to "created", because fdisk doesn't format partitions/slices. http://people.freebsd.org/~julian/bsdinstaller_install/22.png http://people.freebsd.org/~julian/bsdinstaller_install/26.png Does BSDInstaller support installtion on multiple slices or multiple physical disks? Sysinstall supports it. http://people.freebsd.org/~julian/bsdinstaller_install/33.png Isn't "Ports Collection" a better name than "Ports tree"? Thanks From owner-freebsd-current@FreeBSD.ORG Mon May 15 12:34:04 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CBBD16A524; Mon, 15 May 2006 12:34:04 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B86D43D70; Mon, 15 May 2006 12:33:59 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from [194.192.25.142] (spider.deepcore.dk [194.192.25.142]) by spider.deepcore.dk (8.13.6/8.13.4) with ESMTP id k4FCXvvI079940; Mon, 15 May 2006 14:33:57 +0200 (CEST) (envelope-from sos@deepcore.dk) Message-ID: <44687535.8010203@deepcore.dk> Date: Mon, 15 May 2006 14:33:57 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: Gavin Atkinson References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> <44681E94.9000702@FreeBSD.org> <1147686547.23488.6.camel@buffy.york.ac.uk> In-Reply-To: <1147686547.23488.6.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.16 Cc: Maxim Sobolev , "current@freebsd.org" , sos@FreeBSD.ORG Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 12:34:05 -0000 Gavin Atkinson wrote: > On Sun, 2006-05-14 at 23:24 -0700, Maxim Sobolev wrote: >> Søren Schmidt wrote: >>> On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: >>>> Hi Søren, >>>> >>>> Attached please find small patch which adds support for 82801GBM/GHM >>>> SATA controller found in intel-based Macs, particularly in MacBook Pro. >>>> >>>> Please review & approve. >>> I'll look into it, I think Intel has a few other new chips I should add >>> in the same go, give me a few days... >> Any progress with this? Few days have turned into few weeks, and I don't >> want them turn into few months. :) > > Be aware that I believe your patch is slightly wrong. As far as I can > tell the chip ID you've added is the non-AHCI version. I have the same > chip in my new Toshiba laptop, and submitted a more complete PR > (kern/97228) over the weekend. I'm looking into it, but am very busy and RL is taking all the spares currently, I'll get it done asap... -Søren From owner-freebsd-current@FreeBSD.ORG Mon May 15 13:04:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B237116A63C for ; Mon, 15 May 2006 13:04:27 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECBDA43D7D for ; Mon, 15 May 2006 13:03:42 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k4FD3VTo032756; Mon, 15 May 2006 16:03:31 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Mon, 15 May 2006 16:03:31 +0300 (EEST) From: Dmitry Pryanishnikov To: "Angka H. K." In-Reply-To: <4c40c4e70605150248j30085988ncf7ad5a5e89c8ade@mail.gmail.com> Message-ID: <20060515155717.K44254@atlantis.atlantis.dp.ua> References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> <20060513190519.P16055@atlantis.atlantis.dp.ua> <4c40c4e70605130927p13c45284k59f151a6d1657566@mail.gmail.com> <20060513193327.G16055@atlantis.atlantis.dp.ua> <4c40c4e70605142319h3838502anc8fa841bdbd14bf7@mail.gmail.com> <20060515122630.P67961@atlantis.atlantis.dp.ua> <4c40c4e70605150248j30085988ncf7ad5a5e89c8ade@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 13:04:27 -0000 Hello! On Mon, 15 May 2006, Angka H. K. wrote: >> This is either mwDMA or UDMA - hardware is only capable doing one of >> these >> modes (besides PIO). Linux just doesn't tell you which kind of *DMA it's >> using. > > > How can I verify this ? I want to know which DMA is active or there is no > way to do it ? Sorry, I don't know how to determine current transfer mode in Linux. You should ask this in Linux forum. >> > exception for this is Fedora using DRI and FBSD 7 not using DRI. >> >> DRI can really make a big difference! > > > I use xv though to play this (-vo xv). Is xv using DRI ? You can easily verify whether direct rendering is in use with 'glxinfo' utility. Also you can analyze log of your X server. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE From owner-freebsd-current@FreeBSD.ORG Mon May 15 13:03:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3906216A53F for ; Mon, 15 May 2006 13:03:59 +0000 (UTC) (envelope-from vinodl@aztecsoft.com) Received: from azrel1.aztecsoft.com (azrel1.aztecsoft.com [164.164.151.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4139D43D93 for ; Mon, 15 May 2006 13:01:44 +0000 (GMT) (envelope-from vinodl@aztecsoft.com) Received: from azrel1.aztecsoft.com (localhost.localdomain [127.0.0.1]) by azrel1.aztecsoft.com (8.12.10/8.12.10) with ESMTP id k4FCnGBr021943 for ; Mon, 15 May 2006 18:19:16 +0530 Received: from azindbaex01.aztec.soft (azindbaex01.aztecsoft.com [192.168.151.99])by azrel1.aztecsoft.com (8.12.10/8.12.10) with ESMTP id k4FCnFP6021938for ; Mon, 15 May 2006 18:19:15 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----_=_NextPart_001_01C67820.5660D1A9" Date: Mon, 15 May 2006 18:36:02 +0530 Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD2504573062@azindbaex01.aztec.soft> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wds configuring...help needed Thread-Index: AcZ4IFFbOQ/0Sa9PQOyUdKwKJ6lf8A== From: "Vinod L R" To: X-imss-version: 2.040 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.52.1006(14446.003) X-imss-scores: Clean:75.73647 C:2 M:4 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) X-Mailman-Approved-At: Mon, 15 May 2006 13:07:56 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: wds configuring...help needed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 13:03:59 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C67820.5660D1A9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =0D I am really struck up in WDS !!!!!!! dmesg shows unable to load wlan_scan_wds. which file might be missing? I am using madwifi-ng-r1474-20060314 in one of my APs & the other AP has madwifi-ng-r1531-20060427 ..... I am using Proxim 802.11 a/b/g card .. I followed all the steps to setup & configure WDS (http://madwifi.org/users-guide/) for both my APs ... =0D Both my APs are in mode 802.11a & my client is able to associate with both my APs individually & hence can ping both separately ... But there is no sign of WDS at all !!! =0D The APs can't ping each other, nor the client, after associating with one AP, can ping the other AP .. Ping says " Destination Unreachable " .... =0D Outputs from both my AP's iwconfig & ifconfig commands are :- =0D 1st AP :::::::::::::::::::::::: Iwconfig::::: ath0 IEEE 802.11a ESSID:"wds_testing" =0D Mode:Master Frequency:5.2 GHz Access Point: 00:20:A6:54:E0:61 =0D Bit Rate:0 kb/s Tx-Power:13 dBm Sensitivity=3D0/3 =0D Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=3D41/94 Signal level=3D-54 dBm Noise level=3D-95= dBm Rx invalid nwid:166 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 =0D ath1 IEEE 802.11a Mode:Repeater Frequency:5.2 GHz =0D Access Point: 00:20:A6:54:E0:75 Bit Rate:0 kb/s Tx-Power:13 dBm =0D Sensitivity=3D0/3 =0D Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=3D41/94 Signal level=3D-54 dBm Noise level=3D-95= dBm Rx invalid nwid:112 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 =0D =0D Ifconfig ::::::: ath0 Link encap:Ethernet HWaddr 00:20:A6:54:E0:61 =0D inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::220:a6ff:fe54:e061/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:485 errors:0 dropped:0 overruns:0 frame:0 TX packets:555 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:21098 (20.6 KiB) TX bytes:24066 (23.5 KiB) =0D ath1 Link encap:Ethernet HWaddr 00:20:A6:54:E0:61 =0D inet6 addr: fe80::220:a6ff:fe54:e061/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:47 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:1930 (1.8 KiB) TX bytes:378 (378.0 b) =0D br0 Link encap:Ethernet HWaddr 00:20:A6:54:E0:61 =0D inet6 addr: fe80::220:a6ff:fe54:e061/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:38 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:1020 (1020.0 b) TX bytes:378 (378.0 b) =0D lo Link encap:Local Loopback =0D inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2712 errors:0 dropped:0 overruns:0 frame:0 TX packets:2712 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:3161874 (3.0 MiB) TX bytes:3161874 (3.0 MiB) =0D wifi0 Link encap:Ethernet HWaddr 00:20:A6:54:E0:61 =0D inet6 addr: fe80::220:a6ff:fe54:e061/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5600 errors:0 dropped:0 overruns:0 frame:622 TX packets:1933 errors:420 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199=0D RX bytes:652702 (637.4 KiB) TX bytes:164100 (160.2 KiB) Interrupt:11 Memory:f8a40000-f8a50000=0D =0D =0D 2nd AP ::::::::::::: iwconfig ::: ath0 IEEE 802.11a ESSID:"wds_testing1" =0D Mode:Master Frequency:5.22 GHz Access Point: 00:20:A6:54:E0:75 =0D Bit Rate:0 kb/s Tx-Power:13 dBm Sensitivity=3D0/3 =0D Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=3D17/94 Signal level=3D-78 dBm Noise level=3D-95= dBm Rx invalid nwid:23 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 =0D ath1 IEEE 802.11a Mode:Repeater Frequency:5.22 GHz =0D Access Point: 00:20:A6:54:E0:61 Bit Rate:0 kb/s Tx-Power:13 dBm =0D Sensitivity=3D0/3 =0D Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=3D17/94 Signal level=3D-78 dBm Noise level=3D-95= dBm Rx invalid nwid:4 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 =0D Ifconfig ::: ath0 Link encap:Ethernet HWaddr 00:20:A6:54:E0:75 =0D inet addr:192.168.1.35 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:57 errors:0 dropped:0 overruns:0 frame:0 TX packets:135 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:2142 (2.0 KiB) TX bytes:7856 (7.6 KiB) =0D ath1 Link encap:Ethernet HWaddr 00:20:A6:54:E0:75 =0D UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) =0D br0 Link encap:Ethernet HWaddr 00:20:A6:54:E0:75 =0D UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) =0D lo Link encap:Local Loopback =0D inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3118 errors:0 dropped:0 overruns:0 frame:0 TX packets:3118 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0=0D RX bytes:4203616 (4.0 MiB) TX bytes:4203616 (4.0 MiB) =0D wifi0 Link encap:UNSPEC HWaddr 00-20-A6-54-E0-75-58-0B-00-00-00-00-00-00-00-00 =0D UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7092 errors:0 dropped:0 overruns:0 frame:35 TX packets:334 errors:4 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199=0D RX bytes:1037700 (1013.3 KiB) TX bytes:24075 (23.5 KiB) Interrupt:11 Memory:d4a80000-d4a90000=0D =0D =0D Anybody could help me out please !!! =0D Thanks & regards,=0D vinod=0D =0D =0D =0D =0D The information contained in, or attached to, this e-mail, contains= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and is subject to legal= privilege. If you have received this e-mail in error you should notify the= sender immediately by reply e-mail, delete the message from your system= and notify your system manager. Please do not copy it for any purpose, or= disclose its contents to any other person. The views or opinions presented= in this e-mail are solely those of the author and do not necessarily= represent those of the company. The recipient should check this e-mail and= any attachments for the presence of viruses. The company accepts no= liability for any damage caused, directly or indirectly, by any virus= transmitted in this email. www.aztecsoft.com ------_=_NextPart_001_01C67820.5660D1A9-- From owner-freebsd-current@FreeBSD.ORG Mon May 15 13:44:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22C4B16A810 for ; Mon, 15 May 2006 13:44:58 +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 BA22943D64 for ; Mon, 15 May 2006 13:44:57 +0000 (GMT) (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 B8D5C46B24; Mon, 15 May 2006 09:44:56 -0400 (EDT) Date: Mon, 15 May 2006 14:44:56 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Rostislav Krasny In-Reply-To: <20060515150504.44b3a065.rosti.bsd@gmail.com> Message-ID: <20060515143905.L38871@fledge.watson.org> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 13:45:04 -0000 Before adding some of my own user interface critiques, I wanted to mention at the top of the e-mail that I'm very pleased the BSD installer work is going on, it's well overdue! Onto a few minor criticisms :-). On Mon, 15 May 2006, Rostislav Krasny wrote: > http://people.freebsd.org/~julian/bsdinstaller_install/16.png I'd like to see the partition type here simply be "FreeBSD". "Drago" is likely to confuse, and Dragonfly actually uses the FreeBSD type, rather than it being the Dragonfly type. See further comments below on slices and partitions. > http://people.freebsd.org/~julian/bsdinstaller_install/24.png > http://people.freebsd.org/~julian/bsdinstaller_install/25.png > > I think the word "formatted" on the second screenshot should be changed to > "created", because fdisk doesn't format partitions/slices. I tend to agree. While there is some benefit in using the DOS/Windows vocabulary, I think it's better to use the same vocabulary as found in existing FreeBSD documentation, including the handbook, man pages, printed books, etc. In these dialogs, the device names should also be specifically mentioned. Note that "Primary partition" is a confusing term -- I'm not sure what it means, actually :-). > > http://people.freebsd.org/~julian/bsdinstaller_install/22.png > http://people.freebsd.org/~julian/bsdinstaller_install/26.png > > Does BSDInstaller support installtion on multiple slices or multiple > physical disks? Sysinstall supports it. While I recognize the goal of providing a useful mapping to user-aware notions, such as "partitions", I find the message in this dialog confusing even as someone who in theory knows something about the topic. Despite the limitations of calling fdisk partitions slices in sysinstall, at least it was done mostly sort of consistently :-). I'd like to see the installe consistently refer to "fdisk slices" and "bsd partitions", and avoid using the words "slice" or "partition" in isolation. A dialog to explain slices and partitions before the editor might be appropriate. Robert N M Watson From owner-freebsd-current@FreeBSD.ORG Mon May 15 14:09:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BEE016A83F for ; Mon, 15 May 2006 14:09:19 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD0A143D8C for ; Mon, 15 May 2006 14:09:10 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FfdkZ-0001TW-Ng; Mon, 15 May 2006 16:08:44 +0200 Date: Mon, 15 May 2006 16:09:05 +0200 From: Marcin Jessa To: "Vinod L R" Message-Id: <20060515160905.76d200a3.lists@yazzy.org> In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD2504573062@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD2504573062@azindbaex01.aztec.soft> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-current@freebsd.org Subject: Re: wds configuring...help needed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 14:09:22 -0000 On Mon, 15 May 2006 18:36:02 +0530 "Vinod L R" wrote: > > Hi, > > I am really struck up in WDS !!!!!!! Try to email a Linux mailing list with your madwifi problems. This one is for FreeBSD only. From owner-freebsd-current@FreeBSD.ORG Mon May 15 14:11:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD30C16A872 for ; Mon, 15 May 2006 14:11:34 +0000 (UTC) (envelope-from rea@rea.mbslab.kiae.ru) Received: from rea.mbslab.kiae.ru (rea.mbslab.kiae.ru [144.206.177.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 430E043D49 for ; Mon, 15 May 2006 14:11:32 +0000 (GMT) (envelope-from rea@rea.mbslab.kiae.ru) Received: from rea.mbslab.kiae.ru (localhost [127.0.0.1]) by rea.mbslab.kiae.ru (Postfix) with ESMTP id 755F4B9A1; Mon, 15 May 2006 18:11:30 +0400 (MSD) Received: by rea.mbslab.kiae.ru (Postfix, from userid 1000) id 3D950B99A; Mon, 15 May 2006 18:11:30 +0400 (MSD) Date: Mon, 15 May 2006 18:11:30 +0400 From: Eygene Ryabinkin To: Rostislav Krasny Message-ID: <20060515141130.GU996@rea.mbslab.kiae.ru> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060515150504.44b3a065.rosti.bsd@gmail.com> X-AV-Checked: Yes! X-Mailman-Approved-At: Mon, 15 May 2006 14:16:59 +0000 Cc: freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 14:11:39 -0000 Lost the thread start, so answering the first message found in my mailbox, sorry for it! Just wonder if BSDInstaller supports hotkeys bound to the interface elements: buttons, list items, etc. It will be also great if the slice and partition editors will support them: sysinstall is great in this respect. -- Eygene From owner-freebsd-current@FreeBSD.ORG Mon May 15 14:39:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3066616A9A2 for ; Mon, 15 May 2006 14:39:21 +0000 (UTC) (envelope-from rosti.bsd@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 10DA143D4C for ; Mon, 15 May 2006 14:39:16 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so506151uge for ; Mon, 15 May 2006 07:39:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=VYc7vZkb6sWxcg0iouXClprIp1BYaJAJyKhicuCINQUthmMzsasiPTUHqoFS6qXj3lmFji9ZoohsPGprHu+1s6QuNVpJuDIXs+c5D079/c3YUYESxqiyvIuS1Tl4X+pMOXH06K7QV69LkVebWh/+ZFkyYvq9Ik5nkOyyTIgiW9M= Received: by 10.78.47.15 with SMTP id u15mr617585huu; Mon, 15 May 2006 07:39:16 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id 11sm2928016hug.2006.05.15.07.39.11; Mon, 15 May 2006 07:39:15 -0700 (PDT) Date: Mon, 15 May 2006 17:39:13 +0300 From: Rostislav Krasny To: Andrew Turner Message-Id: <20060515173913.8ba5475e.rosti.bsd@gmail.com> In-Reply-To: <20060515150504.44b3a065.rosti.bsd@gmail.com> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 14:39:22 -0000 On Mon, 15 May 2006 15:05:04 +0300 Rostislav Krasny wrote: > > Julian Elischer has placed a gallery of the installation process at > > http://people.freebsd.org/~julian/bsdinstaller_install/ for people who > > don't want to reinstall their computer. > > http://people.freebsd.org/~julian/bsdinstaller_install/06.png > > Will BSDInstaller support PPPoE? It could be very useful for network > installation over ADSL. Does BSDInstaller support network installation > from FTP or NIS or even HTTP? There is a typo. I wanted to ask about installation from FTP, _NFS_ and HTTP. From owner-freebsd-current@FreeBSD.ORG Mon May 15 14:55:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6A4F16A8BD for ; Mon, 15 May 2006 14:55:29 +0000 (UTC) (envelope-from rosti.bsd@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 1D6AC43D66 for ; Mon, 15 May 2006 14:55:24 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so509792uge for ; Mon, 15 May 2006 07:55:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=tn9rl6aBEyODZgGzSg7laE0GhAi/H5EuHGY4ySbx/rpbh7v+caR3W0IN23HU40CigUxe3oTjmu6G4WL+ymOBmPDm1rjP5ErigugIRA+mmhaAKAAW3B/xUpe9KEQF+qkf4beKE9t3mlk8+FkS0YNtdiKyAND0ecDZ8Q7ocF1dAEU= Received: by 10.67.129.5 with SMTP id g5mr2366878ugn; Mon, 15 May 2006 07:55:24 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id j1sm4804317ugf.2006.05.15.07.55.21; Mon, 15 May 2006 07:55:23 -0700 (PDT) Date: Mon, 15 May 2006 17:55:23 +0300 From: Rostislav Krasny To: Robert Watson Message-Id: <20060515175523.daaccd6c.rosti.bsd@gmail.com> In-Reply-To: <20060515143905.L38871@fledge.watson.org> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <20060515143905.L38871@fledge.watson.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 14:55:32 -0000 On Mon, 15 May 2006 14:44:56 +0100 (BST) Robert Watson wrote: > Before adding some of my own user interface critiques, I wanted to mention at > the top of the e-mail that I'm very pleased the BSD installer work is going > on, it's well overdue! Onto a few minor criticisms :-). Good preface. I'm also pleased to see a progess in BSD installer development. > On Mon, 15 May 2006, Rostislav Krasny wrote: > > > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > I'd like to see the partition type here simply be "FreeBSD". "Drago" is > likely to confuse, and Dragonfly actually uses the FreeBSD type, rather than > it being the Dragonfly type. See further comments below on slices and > partitions. Maybe the right solution is to use "FreeBSD" when the installer is runnig on FreeBSD and "DragonflyBSD" when it is running on DragonflyBSD? From owner-freebsd-current@FreeBSD.ORG Mon May 15 16:21:26 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4822616AA51 for ; Mon, 15 May 2006 16:21:26 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9582343D70 for ; Mon, 15 May 2006 16:21:25 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4FGL716015679 for ; Mon, 15 May 2006 18:21:08 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <4468AA73.9000702@fer.hr> Date: Mon, 15 May 2006 18:21:07 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "current@freebsd.org" References: <44681D92.80309@sippysoft.com> In-Reply-To: <44681D92.80309@sippysoft.com> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 16:21:26 -0000 Maxim Sobolev wrote: > Hi, > > I would like to extend md(4) with support for mmap(4) operations, > however it's interfaced to the world via geom_dev(4), which doesn't > provide mmap pass-through interface. Is it intentional or not? Are you > willing to accept the patches if I do the actual work? Just an opinion: It would probably be more useful to implement mmap at a lower level (GEOM) so all devices can use it. From owner-freebsd-current@FreeBSD.ORG Mon May 15 16:50:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B459016AFF1; Mon, 15 May 2006 16:50:44 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id A056043D79; Mon, 15 May 2006 16:50:41 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 50A86294BB; Mon, 15 May 2006 09:50:41 -0700 (PDT) To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Date: Mon, 15 May 2006 09:50:41 -0700 From: Bakul Shah Message-Id: <20060515165041.50A86294BB@mail.bitblocks.com> Cc: Subject: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 16:50:45 -0000 This is what happens when I start skype (NOTE: this is *not* limited to skype -- I see the same problem with a thunderbird linux binary but linux-firefox & linux-opera work fine). $ skype & $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" 4126 38134 495635 4196 38959 499830 4226 39229 502965 4266 39589 507145 4296 39859 510280 4336 40219 514460 4366 40489 517595 4406 40849 521775 4436 41119 524910 4476 41479 529090 4516 41839 533270 4546 42109 536405 4586 42469 540585 ^C Is this a known problem or am I in an alternate universe? I am running -current as of yesterday, with a freshly installed linux_base-8 and skype. But this has been happening for atleast a couple weeks and may be more. Looking at the lsof output, about a third opens are for a directory, two thirds are files. It seems to open over a hundred directories (all of them multiple times)! It opens over 400 files (all multiple times). Many of these files have nothing to do with skype! Doing a truss shows a lot of linux_ioctl() and gettimeofday() on one skype_bin process and linux_times() and linux_time() on another process. Doung ktrace on these processes shows something totally different (all sorts of syscalls). Thanks for any help or hints on how to debug this.... -- bakul From owner-freebsd-current@FreeBSD.ORG Mon May 15 17:01:10 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D2B216A9D2 for ; Mon, 15 May 2006 17:01:10 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1B0643D67 for ; Mon, 15 May 2006 17:01:06 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.38] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4FH0wXU021050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 May 2006 10:00:59 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <4468B3C8.8010707@FreeBSD.org> Date: Mon, 15 May 2006 10:00:56 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Ivan Voras References: <44681D92.80309@sippysoft.com> <4468AA73.9000702@fer.hr> In-Reply-To: <4468AA73.9000702@fer.hr> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 17:01:10 -0000 Ivan Voras wrote: > Maxim Sobolev wrote: >> Hi, >> >> I would like to extend md(4) with support for mmap(4) operations, >> however it's interfaced to the world via geom_dev(4), which doesn't >> provide mmap pass-through interface. Is it intentional or not? Are you >> willing to accept the patches if I do the actual work? > > Just an opinion: It would probably be more useful to implement mmap at a > lower level (GEOM) so all devices can use it. I am not sure that I understand what do you mean. In the case of md(4) mmap makes huge sense, since for preloaded images your disk in fact is just range of kernel memory, so that doing mmap is trivial. -Maxim From owner-freebsd-current@FreeBSD.ORG Mon May 15 17:05:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 649A916B100 for ; Mon, 15 May 2006 17:05:44 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5846743D5A for ; Mon, 15 May 2006 17:05:38 +0000 (GMT) (envelope-from sullrich@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so1135514pya for ; Mon, 15 May 2006 10:05:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a1TTuflmmOjdpe3biCNJww2XuctouLmekC57S0EXuiyfexXPVQ3kEj6Gd2AVFtS+Cwiw5rrdIqV0bcCM6UbcOYRaybLP7QyqinccnpjGTGHBVEHq3mDiSv36UEgmXYhV0L7Ufi4MQsdFOYBQrQS1Y4pqMnMUimb5ahohahVG22k= Received: by 10.35.18.4 with SMTP id v4mr95310pyi; Mon, 15 May 2006 10:05:04 -0700 (PDT) Received: by 10.35.94.6 with HTTP; Mon, 15 May 2006 10:05:04 -0700 (PDT) Message-ID: Date: Mon, 15 May 2006 13:05:04 -0400 From: "Scott Ullrich" In-Reply-To: <20060515175523.daaccd6c.rosti.bsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <20060515143905.L38871@fledge.watson.org> <20060515175523.daaccd6c.rosti.bsd@gmail.com> Cc: freebsd-current@freebsd.org, Robert Watson , Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 17:05:47 -0000 On 5/15/06, Rostislav Krasny wrote: > Maybe the right solution is to use "FreeBSD" when the installer is > runnig on FreeBSD and "DragonflyBSD" when it is running on DragonflyBSD? Yes this is most likely the best fix for this. I'll commit a change to the tree in a bit to change this behavior. Also on a related BSDInstaller note, we may have tracked down the problem with "bin/90093: fdisk(8) incapable of altering in-core geometry". Will be testing this in a bit and if it works I'll submit a fdisk patch. Scott From owner-freebsd-current@FreeBSD.ORG Mon May 15 17:11:32 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86B0016B0A7; Mon, 15 May 2006 17:11:32 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA65A43D77; Mon, 15 May 2006 17:11:29 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4FHBFgU015921; Mon, 15 May 2006 19:11:15 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <4468B633.90905@fer.hr> Date: Mon, 15 May 2006 19:11:15 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Sobolev References: <44681D92.80309@sippysoft.com> <4468AA73.9000702@fer.hr> <4468B3C8.8010707@FreeBSD.org> In-Reply-To: <4468B3C8.8010707@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 17:11:33 -0000 Maxim Sobolev wrote: > I am not sure that I understand what do you mean. In the case of md(4) > mmap makes huge sense, since for preloaded images your disk in fact is > just range of kernel memory, so that doing mmap is trivial. You're right. I was thinking of making mmap() of "raw" devices possible (like it is in Linux), but I see that it would be extremely nontrivial :) (block devices on Linux...) From owner-freebsd-current@FreeBSD.ORG Mon May 15 18:42:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88B0E16B490; Mon, 15 May 2006 18:42:51 +0000 (UTC) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F089243D45; Mon, 15 May 2006 18:42:50 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Ffhwq-0000PT-DT; Mon, 15 May 2006 22:37:40 +0400 From: Vladimir Grebenschikov To: Bakul Shah In-Reply-To: <20060515165041.50A86294BB@mail.bitblocks.com> References: <20060515165041.50A86294BB@mail.bitblocks.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 15 May 2006 22:37:39 +0400 Message-Id: <1147718259.1435.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 18:42:52 -0000 =F7 =D0=CE, 15/05/2006 =D7 09:50 -0700, Bakul Shah =D0=C9=DB=C5=D4: > This is what happens when I start skype (NOTE: this is *not* > limited to skype -- I see the same problem with a thunderbird > linux binary but linux-firefox & linux-opera work fine). same problem with skype here (fresh 7.0-CURRENT + fresh gnome) I was forced to increase kern.maxfiles to make my system alive. > $ skype & > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > 4126 38134 495635 > 4196 38959 499830 > 4226 39229 502965 > 4266 39589 507145 > 4296 39859 510280 > 4336 40219 514460 > 4366 40489 517595 > 4406 40849 521775 > 4436 41119 524910 > 4476 41479 529090 > 4516 41839 533270 > 4546 42109 536405 > 4586 42469 540585 > ^C >=20 > Is this a known problem or am I in an alternate universe? >=20 > I am running -current as of yesterday, with a freshly > installed linux_base-8 and skype. But this has been > happening for atleast a couple weeks and may be more. >=20 > Looking at the lsof output, about a third opens are for a > directory, two thirds are files. It seems to open over a > hundred directories (all of them multiple times)! It opens > over 400 files (all multiple times). Many of these files > have nothing to do with skype! >=20 > Doing a truss shows a lot of linux_ioctl() and gettimeofday() > on one skype_bin process and linux_times() and linux_time() > on another process. Doung ktrace on these processes shows > something totally different (all sorts of syscalls). >=20 > Thanks for any help or hints on how to debug this.... >=20 > -- bakul > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-current@FreeBSD.ORG Mon May 15 18:49:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57B3916B58F for ; Mon, 15 May 2006 18:49:18 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id A166043D6B for ; Mon, 15 May 2006 18:49:15 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 90DF0170DE; Mon, 15 May 2006 18:49:13 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4FInChB002234; Mon, 15 May 2006 20:49:13 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Maxim Sobolev From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 14 May 2006 23:20:02 PDT." <44681D92.80309@sippysoft.com> Date: Mon, 15 May 2006 20:49:12 +0200 Message-ID: <2233.1147718952@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 18:49:19 -0000 In message <44681D92.80309@sippysoft.com>, Maxim Sobolev writes: >Hi, > >I would like to extend md(4) with support for mmap(4) operations, Uhm, how exactly would that work ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Mon May 15 19:50:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 587C116B95D; Mon, 15 May 2006 19:50:14 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id C15D143D5A; Mon, 15 May 2006 19:50:09 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 22AF9294BB; Mon, 15 May 2006 12:50:07 -0700 (PDT) To: vova@fbsd.ru In-reply-to: Your message of "Mon, 15 May 2006 22:32:29 +0400." <1147717950.1435.1.camel@localhost> Date: Mon, 15 May 2006 12:50:07 -0700 From: Bakul Shah Message-Id: <20060515195007.22AF9294BB@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 19:50:23 -0000 > same problem with skype here (fresh 7.0-CURRENT + fresh gnome) > I was forced to increase kern.maxfiles to make my system alive. This won't help as skype will eat up all available descriptors. Limiting the descriptors resource in the parent shell of skype prevents it from running away. From owner-freebsd-current@FreeBSD.ORG Mon May 15 19:16:23 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0732716B8D7; Mon, 15 May 2006 19:16:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B294A43D5C; Mon, 15 May 2006 19:16:02 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4FJG0SH016770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 May 2006 21:16:00 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k4FJG07A016768; Mon, 15 May 2006 21:16:00 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k4FJEMFs009904; Mon, 15 May 2006 21:14:22 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k4FJELJi009903; Mon, 15 May 2006 21:14:21 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 15 May 2006 21:14:20 +0200 To: Igor Kovalenko Message-ID: <20060515191420.GA9707@saturn.kn-bremen.de> Mail-Followup-To: Igor Kovalenko , freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff References: <20060428221142.GA11504@saturn.kn-bremen.de> <44530C50.6040902@mail.ru> <20060430004646.GA70632@saturn.kn-bremen.de> <4458277F.4010902@mail.ru> <20060506152059.GA33481@saturn.kn-bremen.de> <445D092E.2040501@mail.ru> <20060507164230.GA63540@saturn.kn-bremen.de> <445E5C3B.405@mail.ru> <20060514211409.GA3776@saturn.kn-bremen.de> <4467CFAC.9070902@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4467CFAC.9070902@mail.ru> User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Mon, 15 May 2006 21:40:58 +0000 Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 19:16:27 -0000 On Mon, May 15, 2006 at 04:47:40AM +0400, Igor Kovalenko wrote: > Juergen Lock wrote: > > On Mon, May 08, 2006 at 12:44:43AM +0400, Igor Kovalenko wrote: > >> Hi Juergen, > >> > >> Juergen Lock wrote: > >>> On Sun, May 07, 2006 at 12:38:06AM +0400, Igor Kovalenko wrote: > >>>> Hi Juergen, > >>>> > >>>> Juergen Lock wrote: > >>>>> [Cc'ing glebius@ because he did most of the recent re(4) commits, and > >>>>> -current in case possible other driver developers didn't see this thread > >>>>> in -emulation] > >>>>> > >>>>> On Wed, May 03, 2006 at 07:46:07AM +0400, Igor Kovalenko wrote: > >>>>>> Juergen Lock wrote: > >>>>>>> On Sat, Apr 29, 2006 at 10:48:48AM +0400, Igor Kovalenko wrote: > >>>>>>>> Juergen Lock wrote: > >>>>>>>>> On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: > >>>>>>>>>> Juergen Lock wrote: > >>>>>>>>>>> I played with > >>>>>>>>>>> qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso > >>>>>>>>>>> -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 > >>>>>>>>>>> -net user > >>>>>>>>>>> and got it as far as > >>>>>>>>>>> re0: diagnostic failed, failed to receive packet in loopback > >>>>>>>>>>> mode > >>>>>>>>>>> (followed by a panic :) with the (experimental) patches below. > >>>>>>>>>>> > >>>>>>>>>>> Anyone in the mood to implement loopback mode for this nic? > >>>>>>>>>>> > >>>>>>>>>>> Hmm actually... I just found the original posting in the archive, > >>>>>>>>>>> is C+ mode implemented now? If not re is probably not what I want, > >>>>>>>>>> The rtl8139 is set up with PCI rev ID 0x20 which should be enough for > >>>>>>>>>> OS driver > >>>>>>>>>> to detect C+ mode features. C+ mode is OK, tested with Linux driver. > >>>>>>>>> Cool, so I want FreeBSD's re driver. That one checks TxConfig > >>>>>>>>> tho, as changed in my patch (inside #if 0). And when changed, > >>>>>>>>> it still doesn't work as mentioned above because the driver expects > >>>>>>>>> loopback mode to be working. > >>>>>>>>>>> but the rl driver that it attaches without that #if 0'd (now) hunk > >>>>>>>>>>> below doesnt seem to be able to get data thru either and I get > >>>>>>>>>>> rl0: watchdog timeout > >>>>>>>>>>> in dmesg, which usually means the driver doesnt receive interrupts. > >>>>>>>>>>> > >>>>>>>>>>> What the heck, I'll append a log of a run just doing in > >>>>>>>>>>> fixit->cdrom: > >>>>>>>>>>> ifconfig rl0 10.0.2.15 > >>>>>>>>>>> and then exiting (which is enough to trigger the watchdog timeout...) > >>>>>>>>>>> > >>>>>>>>>> I'm too lasy to test with fresh freebsd installation :) > >>>>>>>>> No need to install FreeBSD, you can get away by just using > >>>>>>>>> fixit mode of an install iso, i.e. disc1. (which actually is > >>>>>>>>> what I did above. :) > >>>>>>>>> > >>>>>>>>> You can look at 6.1RC's re driver here: > >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 > >>>>>>>>> which includes: > >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 > >>>>>>>>> > >>>>>>>>> And 6.1RC disc1 iso is e.g. here: > >>>>>>>>> ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso > >>>>>>>>> > >>>>>>>>> > >>>>>>>> Thanks, that iso pointer made it. > >>>>>>>> > >>>>>>> :) > >>>>>>> > >>>>>>>> Please try the following on top of your patch, at least ping should now > >>>>>>>> work: > >>>>>>> Thanks, that seems to get the rl driver going. Now to fix C+ mode > >>>>>>> (re driver) change the #if 0 in my patch to #if 1... > >>>>>>> > >>>>>>> > >>>>>> I believe freebsd re driver is somewhat broken, e.g. it does not follow > >>>>>> documented > >>>>>> procedure to detect hardware features (e.g. 8139 c+ mode) > >>>>> Hmm, a bit of googling didn't reveal docs about this, do you have > >>>>> a pointer? (I only found the data sheet at > >>>>> http://people.freebsd.org/~wpaul/RealTek/spec-8139cp(150).pdf > >>>>> which doesnt seem to mention detecting c+ hardware specifically) > >>>> Well, I might have misread some docs; please do not consider this as an > >>>> assault :) > >>>> I remember PCI rev id >= 0x20 is C+ mode for realtek 8139. > >>> I don't. It may well be the doc you saw this in just is no longer > >>> online, or I didn't came up with the right search terms... > >>>>>> and in tries to use 8169 > >>>>>> registers (e.g. 0xda) on 8139 hardware etc. > >>>>> Oh, then it must have mis-detected the nic as a 8169 because > >>>>> the code in question reads: > >>>>> > >>>>> if (sc->rl_type == RL_8169) > >>>>> CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); > >>> And with your patch i get > >>> RTL8139: not implemented write(b) addr=0xda val=0x00 > >>> but that can't be this line anyway because it seems to be a byte access... > >>> Any of the re(4) experts have an idea where this comes from? > >>> (log generated by defining DEBUG_RTL8139 in the patched hw/rtl8139.c) > >>> > >> I see the re driver actually is doing 2 byte write at RL_TXSTART so the second > >> byte goes to RL_MAXRXPKTLEN. Comment in if_rlreg.h says RL_TXSTART is 8bit > >> so this is a bug in if_re.c line 2063 > >> > >> This is not affecting qemu's card emulation (the extra byte write is ignored) > >> so I think the problem is somewhere else. > > > > I finally got around to playing with this a bit again, the following > > patch gets ping and small fetch (http) going but is not enough for scp: > > > > Index: hw/rtl8139.c > > @@ -1008,15 +1038,22 @@ > > val = cpu_to_le32(rxdw1); > > cpu_physical_memory_write(cplus_rx_ring_desc+4, (uint8_t *)&val, 4); > > > > - /* seek to next Rx descriptor */ > > - if (rxdw0 & CP_RX_EOR) > > - { > > - s->currCPlusRxDesc = 0; > > - } > > - else > > - { > > - ++s->currCPlusRxDesc; > > - } > > +#ifdef DEBUG_RTL8139 > > + printf("RTL8139: +++ written C+ mode RX descriptor %d %08x %08x %08x %08x\n", > > + descriptor, > > + rxdw0, rxdw1, rxbufLO, rxbufHI); > > +#endif > > + /* seek to next Rx descriptor unless in loopback mode */ > > + if (!(TxLoopBack == (s->TxConfig & TxLoopBack))) { > > + if (rxdw0 & CP_RX_EOR) > > + { > > + s->currCPlusRxDesc = 0; > > + } > > + else > > + { > > + ++s->currCPlusRxDesc; > > + } > > + } > > > > #if defined(DEBUG_RTL8139) > > printf("RTL8139: done C+ Rx mode ----------------\n"); > > > > > > That is strange; I must be missing docs pointer about loopback mode > operation again. What makes you believe that RX descriptor should not > advance in loopback mode? Oh, only that re(4) expects it to be that way. :) It may also be that it gets reset by the turning off of loopback mode or by something else at that time, I dont know... From owner-freebsd-current@FreeBSD.ORG Mon May 15 19:52:47 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BA1816B9E7 for ; Mon, 15 May 2006 19:52:47 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F4C343D45 for ; Mon, 15 May 2006 19:52:46 +0000 (GMT) (envelope-from sobomax@sippysoft.com) Received: from [192.168.0.38] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4FJqeXe023269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 May 2006 12:52:44 -0700 (PDT) (envelope-from sobomax@sippysoft.com) Message-ID: <4468DC05.9080808@sippysoft.com> Date: Mon, 15 May 2006 12:52:37 -0700 From: Maxim Sobolev Organization: Sippy Software User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Poul-Henning Kamp References: <2233.1147718952@critter.freebsd.dk> In-Reply-To: <2233.1147718952@critter.freebsd.dk> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 15 May 2006 21:41:19 +0000 Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 19:53:00 -0000 Poul-Henning Kamp wrote: > In message <44681D92.80309@sippysoft.com>, Maxim Sobolev writes: >> Hi, >> >> I would like to extend md(4) with support for mmap(4) operations, > > Uhm, how exactly would that work ? Just like ioctl(2) works: geom_dev will accept mmap requests and pass it to the underlying provider for execution if that provider has mmap handler in its g_class. -Maxim From owner-freebsd-current@FreeBSD.ORG Mon May 15 21:57:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 995A116B170 for ; Mon, 15 May 2006 21:57:15 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9883643D64 for ; Mon, 15 May 2006 21:57:11 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 03B683BE6A for ; Mon, 15 May 2006 16:57:11 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29870-02-3 for ; Mon, 15 May 2006 16:57:10 -0500 (CDT) Received: from [10.254.186.111] (sntc04ep01.savvis.net [64.14.1.106]) by mailgate1b.savvis.net (Postfix) with ESMTP id 9D3353BE44 for ; Mon, 15 May 2006 16:57:10 -0500 (CDT) Message-ID: <4468F92B.90701@savvis.net> Date: Mon, 15 May 2006 14:56:59 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------020208060901090307010900" X-Virus-Scanned: amavisd-new at savvis.net Subject: [PATCH] kern/95357: if_tap knlist of vmnet device is incorrectly destroyed by tapclose() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 21:57:17 -0000 This is a multi-part message in MIME format. --------------020208060901090307010900 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit dear hackers, are there any objections to the attached patch? could if_tap/vmnet users please give it a try to see if this fixes the panic on -current? thanks, max --------------020208060901090307010900 Content-Type: text/plain; name="if_tap.c.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_tap.c.diff.txt" --- if_tap.c.orig Thu Mar 16 13:04:23 2006 +++ if_tap.c Mon May 15 14:44:14 2006 @@ -219,6 +219,7 @@ KASSERT(!(tp->tap_flags & TAP_OPEN), ("%s flags is out of sync", ifp->if_xname)); + knlist_destroy(&tp->tap_rsel.si_note); destroy_dev(tp->tap_dev); s = splimp(); ether_ifdetach(ifp); @@ -354,6 +355,8 @@ tp->tap_flags |= TAP_INITED; mtx_unlock(&tp->tap_mtx); + knlist_init(&tp->tap_rsel.si_note, NULL, NULL, NULL, NULL); + TAPDEBUG("interface %s is created. minor = %#x\n", ifp->if_xname, minor(dev)); } /* tapcreate */ @@ -405,8 +408,6 @@ ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; splx(s); - knlist_init(&tp->tap_rsel.si_note, NULL, NULL, NULL, NULL); - TAPDEBUG("%s is open. minor = %#x\n", ifp->if_xname, minor(dev)); return (0); @@ -458,8 +459,6 @@ tp->tap_flags &= ~TAP_OPEN; tp->tap_pid = 0; mtx_unlock(&tp->tap_mtx); - - knlist_destroy(&tp->tap_rsel.si_note); TAPDEBUG("%s is closed. minor = %#x\n", ifp->if_xname, minor(dev)); --------------020208060901090307010900-- From owner-freebsd-current@FreeBSD.ORG Mon May 15 22:01:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7B4616AD46 for ; Mon, 15 May 2006 22:01:11 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from cantva.canterbury.ac.nz (cantva.canterbury.ac.nz [132.181.2.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B69543D6D for ; Mon, 15 May 2006 22:01:08 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from CONVERSION-DAEMON.it.canterbury.ac.nz by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) id <01M2HHYZ6N1SAKGSNF@it.canterbury.ac.nz> for freebsd-current@freebsd.org; Tue, 16 May 2006 10:00:16 +1200 (NEW ZEALAND STANDARD TIME) Received: from [192.168.1.10] ([222.155.13.229]) by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) with ESMTPA id <01M2HI0WILJ49UWG9H@it.canterbury.ac.nz>; Tue, 16 May 2006 10:01:03 +1200 (NEW ZEALAND STANDARD TIME) Date: Tue, 16 May 2006 10:01:00 +1200 From: Andrew Turner In-reply-to: <20060515150504.44b3a065.rosti.bsd@gmail.com> To: Rostislav Krasny Message-id: <4468FA1C.7040105@fubar.geek.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.2 (X11/20060425) References: <20060515150504.44b3a065.rosti.bsd@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 22:01:13 -0000 Rostislav Krasny wrote: > Hi, > > http://people.freebsd.org/~julian/bsdinstaller_install/06.png > > Will BSDInstaller support PPPoE? It could be very useful for network > installation over ADSL. I haven't tried to setup PPPoE with the BSDInstaller. As far as I know there is no support for it in the installer but you could configure it from the command line. > Does BSDInstaller support network installation > from FTP or NIS or even HTTP? > Not yet. It's on my todo list > http://people.freebsd.org/~julian/bsdinstaller_install/11.png > > Is it a low-level formatting? Why should one format a new hard disk > before partitioning it? Does the pointer there reside at > "Skip this step" by default? > The commands run after the formatting appear to be the same as is run after http://people.freebsd.org/~julian/bsdinstaller_install/15.png I will have a look in to this. > IMHO in all sentences like "Would you like to format this disk?" or > "You may now partition this disk if you desire" the word "this" is > better to be always changed to the disk name. On those screenshots it > should be "ad0" ot "the ad0". > > By the way, does/will BSDInstaller support a DD (dangerously dedicated) > disk mode? > I don't know. I'll look in to it. > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > I think this menu should be changed, so one could select not only the > slice size but also where it begins. Ideally this should be defined by > three numbers: 'start sector', 'end sector' and 'size in sectors'. > Changing the 'size in sectors' should also change the 'end sector', and > changing 'start sector' or 'end sector' should also change the 'size in > sectors', automatically. > The start position is defined by the previous "partitions" (bsd slices) on the disk. I would like to change it to accept size in MB, GB, TB, etc. > http://people.freebsd.org/~julian/bsdinstaller_install/24.png > http://people.freebsd.org/~julian/bsdinstaller_install/25.png > > I think the word "formatted" on the second screenshot should be changed > to "created", because fdisk doesn't format partitions/slices. > Added to local changes to test. > http://people.freebsd.org/~julian/bsdinstaller_install/22.png > http://people.freebsd.org/~julian/bsdinstaller_install/26.png > > Does BSDInstaller support installtion on multiple slices or multiple > physical disks? Sysinstall supports it. > Not yet. Its on my todo. > http://people.freebsd.org/~julian/bsdinstaller_install/33.png > > Isn't "Ports Collection" a better name than "Ports tree"? > I've got a local change for this. Andrew From owner-freebsd-current@FreeBSD.ORG Mon May 15 22:12:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2682D16A513; Mon, 15 May 2006 22:12:10 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from cantva.canterbury.ac.nz (cantva.canterbury.ac.nz [132.181.2.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ABF343D45; Mon, 15 May 2006 22:12:09 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from CONVERSION-DAEMON.it.canterbury.ac.nz by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) id <01M2HIDNS58GAKKLQS@it.canterbury.ac.nz>; Tue, 16 May 2006 10:11:19 +1200 (NEW ZEALAND STANDARD TIME) Received: from [192.168.1.10] ([222.155.13.229]) by it.canterbury.ac.nz (PMDF V6.2-X27 #31178) with ESMTPA id <01M2HIEMB2TE9UUOD0@it.canterbury.ac.nz>; Tue, 16 May 2006 10:12:06 +1200 (NEW ZEALAND STANDARD TIME) Date: Tue, 16 May 2006 10:12:05 +1200 From: Andrew Turner In-reply-to: <20060515143905.L38871@fledge.watson.org> To: Robert Watson Message-id: <4468FCB5.2050103@fubar.geek.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.2 (X11/20060425) References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <20060515143905.L38871@fledge.watson.org> Cc: Rostislav Krasny , freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 22:12:10 -0000 Robert Watson wrote: > > Before adding some of my own user interface critiques, I wanted to > mention at the top of the e-mail that I'm very pleased the BSD > installer work is going on, it's well overdue! Onto a few minor > criticisms :-). > > On Mon, 15 May 2006, Rostislav Krasny wrote: > >> http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > I'd like to see the partition type here simply be "FreeBSD". "Drago" > is likely to confuse, and Dragonfly actually uses the FreeBSD type, > rather than it being the Dragonfly type. See further comments below > on slices and partitions. I have a local change to just show FreeBSD. > >> http://people.freebsd.org/~julian/bsdinstaller_install/24.png >> http://people.freebsd.org/~julian/bsdinstaller_install/25.png >> >> I think the word "formatted" on the second screenshot should be >> changed to "created", because fdisk doesn't format partitions/slices. > > I tend to agree. While there is some benefit in using the DOS/Windows > vocabulary, I think it's better to use the same vocabulary as found in > existing FreeBSD documentation, including the handbook, man pages, > printed books, etc. In these dialogs, the device names should also be > specifically mentioned. Note that "Primary partition" is a confusing > term -- I'm not sure what it means, actually :-). The primary partition is the partition to install FreeBSD on. This is because the BSDInstaller can only install to one bsd slice currently. > >> >> http://people.freebsd.org/~julian/bsdinstaller_install/22.png >> http://people.freebsd.org/~julian/bsdinstaller_install/26.png >> >> Does BSDInstaller support installtion on multiple slices or multiple >> physical disks? Sysinstall supports it. > > While I recognize the goal of providing a useful mapping to user-aware > notions, such as "partitions", I find the message in this dialog > confusing even as someone who in theory knows something about the > topic. Despite the limitations of calling fdisk partitions slices in > sysinstall, at least it was done mostly sort of consistently :-). I'd > like to see the installe consistently refer to "fdisk slices" and "bsd > partitions", and avoid using the words "slice" or "partition" in > isolation. I'll look in to changing the references. Andrew From owner-freebsd-current@FreeBSD.ORG Mon May 15 23:20:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 793E616A64F for ; Mon, 15 May 2006 23:20:31 +0000 (UTC) (envelope-from fbsd-current@mawer.org) Received: from mail-ihug.icp-qv1-irony3.iinet.net.au (ihug-mail.icp-qv1-irony3.iinet.net.au [203.59.1.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8C8143D46 for ; Mon, 15 May 2006 23:20:29 +0000 (GMT) (envelope-from fbsd-current@mawer.org) Received: from 203-206-173-235.perm.iinet.net.au (HELO [127.0.0.1]) ([203.206.173.235]) by mail-ihug.icp-qv1-irony3.iinet.net.au with ESMTP; 16 May 2006 07:20:28 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.05,131,1146412800"; d="scan'208"; a="782105083:sNHT55498108" Message-ID: <44690CBB.3060805@mawer.org> Date: Tue, 16 May 2006 09:20:27 +1000 From: Antony Mawer User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Andrew Turner References: <4467E117.8070301@fubar.geek.nz> <446837EE.9040209@fubar.geek.nz> In-Reply-To: <446837EE.9040209@fubar.geek.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 23:20:34 -0000 On 15/05/2006 6:12 PM, Andrew Turner wrote: > Julian Elischer has placed a gallery of the installation process at > http://people.freebsd.org/~julian/bsdinstaller_install/ for people who > don't want to reinstall their computer. Would it be possible to make the buttons more visible by changing the background colour? At the moment, I find the buttons and text fields feel a bit "lost" in amongst the rest of the background. For something like a long menu list this is fine, but when you're trying to identify one or two buttons in a dialog or see which text fields need to be filled out, a colour cue could be quite informative. The progress so far looks very promising! -Antony From owner-freebsd-current@FreeBSD.ORG Mon May 15 23:56:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1599216A85D for ; Mon, 15 May 2006 23:56:08 +0000 (UTC) (envelope-from davidn@datalinktech.com.au) Received: from customer-domains.icp-qv1-irony8.iinet.net.au (customer-domains.icp-qv1-irony8.iinet.net.au [203.59.1.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A79E43D48 for ; Mon, 15 May 2006 23:56:05 +0000 (GMT) (envelope-from davidn@datalinktech.com.au) Received: from 203-206-162-119.perm.iinet.net.au (HELO mail.datalinktech.com.au) ([203.206.162.119]) by customer-domains.icp-qv1-irony8.iinet.net.au with ESMTP; 16 May 2006 07:56:04 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.05,131,1146412800"; d="scan'208"; a="307682831:sNHT48532808" Received: from [192.168.4.232] ([192.168.4.232]) by mail.datalinktech.com.au with esmtp; Tue, 16 May 2006 09:56:01 +1000 id 0018D8D9.44691511.0000B0A8 Message-ID: <446914FD.9010502@datalinktech.com.au> Date: Tue, 16 May 2006 09:55:41 +1000 From: David Nugent User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Turner References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <20060515143905.L38871@fledge.watson.org> <4468FCB5.2050103@fubar.geek.nz> In-Reply-To: <4468FCB5.2050103@fubar.geek.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 23:56:08 -0000 Andrew Turner wrote: >> etc. In these dialogs, the device names should also be specifically >> mentioned. Note that "Primary partition" is a confusing term -- I'm >> not sure what it means, actually :-). > > The primary partition is the partition to install FreeBSD on. This is > because the BSDInstaller can only install to one bsd slice currently. It would be best to avoid the term "primary" then, it is too ambiguous, use "install partition" instead. A "primary partition" would usually mean any 1 of the 4 partitions defined in the DOS partition table vs. an "extended" partition which is not. From owner-freebsd-current@FreeBSD.ORG Tue May 16 00:47:41 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7190916A546 for ; Tue, 16 May 2006 00:47:41 +0000 (UTC) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFA7043D45 for ; Tue, 16 May 2006 00:47:40 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Mon, 15 May 2006 19:47:40 -0500 id 000958BD.4469212C.000142EA Received: from dsl-201-138-84-96.prod-infinitum.com.mx (dsl-201-138-84-96.prod-infinitum.com.mx [201.138.84.96]) by mail.bafirst.com (Horde MIME library) with HTTP; Mon, 15 May 2006 19:47:39 -0500 Message-ID: <20060515194739.g7em8wjg0sksgsss@mail.bafirst.com> Date: Mon, 15 May 2006 19:47:39 -0500 From: eculp@bafirst.com To: freebsd-current@freebsd.org References: <20060515195007.22AF9294BB@mail.bitblocks.com> In-Reply-To: <20060515195007.22AF9294BB@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 00:47:41 -0000 Quoting Bakul Shah : >> same problem with skype here (fresh 7.0-CURRENT + fresh gnome) >> I was forced to increase kern.maxfiles to make my system alive. > > This won't help as skype will eat up all available > descriptors. Limiting the descriptors resource in the parent > shell of skype prevents it from running away. It sure does. I got up to 25,000 and killed skype and it droped to 1,800. ed > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Tue May 16 00:56:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E3BF16A405 for ; Tue, 16 May 2006 00:56:25 +0000 (UTC) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB7443D45 for ; Tue, 16 May 2006 00:56:24 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Mon, 15 May 2006 19:56:24 -0500 id 000958BD.44692338.00014326 Received: from dsl-201-138-84-96.prod-infinitum.com.mx (dsl-201-138-84-96.prod-infinitum.com.mx [201.138.84.96]) by mail.bafirst.com (Horde MIME library) with HTTP; Mon, 15 May 2006 19:56:24 -0500 Message-ID: <20060515195624.ey6r3923kgocg48w@mail.bafirst.com> Date: Mon, 15 May 2006 19:56:24 -0500 From: eculp@bafirst.com To: freebsd-current@freebsd.org References: <20060515195007.22AF9294BB@mail.bitblocks.com> In-Reply-To: <20060515195007.22AF9294BB@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 00:56:25 -0000 Quoting Bakul Shah : >> same problem with skype here (fresh 7.0-CURRENT + fresh gnome) >> I was forced to increase kern.maxfiles to make my system alive. > > This won't help as skype will eat up all available > descriptors. Limiting the descriptors resource in the parent > shell of skype prevents it from running away. do you mean in /usr/X11R6/bin/skype ? I'm not sure that I know how to limit the descriptors unless it would be with ulimit -n. If so, how many descriptors are you using to keep it running without running away? Thanks a lot and please excuse my lack of knowledge in this case. ed > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Tue May 16 02:15:41 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FD8016A4DD; Tue, 16 May 2006 02:15:41 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF23243D45; Tue, 16 May 2006 02:15:40 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.38] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4G2FbfN028448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 May 2006 19:15:39 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <446935C6.6020900@FreeBSD.org> Date: Mon, 15 May 2006 19:15:34 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Gavin Atkinson References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> <44681E94.9000702@FreeBSD.org> <1147686547.23488.6.camel@buffy.york.ac.uk> In-Reply-To: <1147686547.23488.6.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "current@freebsd.org" , sos@FreeBSD.org Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 02:15:41 -0000 Gavin Atkinson wrote: > On Sun, 2006-05-14 at 23:24 -0700, Maxim Sobolev wrote: >> Søren Schmidt wrote: >>> On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: >>>> Hi Søren, >>>> >>>> Attached please find small patch which adds support for 82801GBM/GHM >>>> SATA controller found in intel-based Macs, particularly in MacBook Pro. >>>> >>>> Please review & approve. >>> I'll look into it, I think Intel has a few other new chips I should add >>> in the same go, give me a few days... >> Any progress with this? Few days have turned into few weeks, and I don't >> want them turn into few months. :) > > Be aware that I believe your patch is slightly wrong. As far as I can > tell the chip ID you've added is the non-AHCI version. I have the same > chip in my new Toshiba laptop, and submitted a more complete PR > (kern/97228) over the weekend. MacBook doesn't work with your patch - FreeBSD detects controller but doesn't see any disks attached to it. :( Putting AHCI back solves the problem. I wonder if Intel has shipped two different controllers with the same pci ids. Just in the case, attached is appropriate entry from pciconf -lv output: atapci1@pci0:31:2: class=0x01018f card=0x72708086 chip=0x27c48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller' class = mass storage subclass = ATA And dmesg: atapci1: port 0x40d8-0x40df,0x40f4-0x40f7,0x40d0-0x40d7,0x40f0-0x40f3,0x4020-0x402f mem 0x98405000-0x984053ff irq 19 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 ad5: 95396MB at ata2-slave SATA150 -Maxim From owner-freebsd-current@FreeBSD.ORG Tue May 16 03:18:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0A3916A60C for ; Tue, 16 May 2006 03:18:19 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF31743D46 for ; Tue, 16 May 2006 03:18:15 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.183.228] (helo=vampire.homelinux.org) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML2ov-1Ffq4c3p0D-0003HB; Tue, 16 May 2006 05:18:15 +0200 Received: (qmail 83680 invoked from network); 16 May 2006 03:18:41 -0000 Received: from localhost (HELO mail.abi01.homeunix.org) (192.168.4.64) by localhost with SMTP; 16 May 2006 03:18:41 -0000 Received: from 192.168.4.1 (SquirrelMail authenticated user mlaier) by mail.abi01.homeunix.org with HTTP; Tue, 16 May 2006 05:18:14 +0200 (CEST) Message-ID: <54640.192.168.4.1.1147749494.squirrel@mail.abi01.homeunix.org> In-Reply-To: <44693F0D.90100@sasktel.net> References: <53u07rv6of.wl%mak@ll.mit.edu> <44693F0D.90100@sasktel.net> Date: Tue, 16 May 2006 05:18:14 +0200 (CEST) From: "Max Laier" To: "Stephen Hurd" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: stable@freebsd.org, "Michael A. Koerber" , current@freebsd.org Subject: Re: burncd audio produces white noise X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 03:18:19 -0000 On Tue, May 16, 2006 4:55 am, Stephen Hurd wrote: > Michael A. Koerber wrote: >> All, >> >> Once upon a time, I think with 5.x or perhaps earlier, the command >> (ATAPI drive) >> >> burncd -ef /dev/acd0 audio *.cdr fixate >> >> would produce an audio CD for me. However, under 6.0 and recently 6.1 >> this same command produces an CD filled with white noise only. The >> entire >> procedure I've used is: >> >> 1. Start w/ some MP3 files. >> >> 2. Use sox (or lame) to convert to CDR format >> >> 3. Verify the CDR format with 'xine filename.cdr' (sounds good) >> >> 4. Make CD with above command. >> >> 5. Play CD on two different players (one on PC, one on entertainment >> system) >> (sounds like white noise) >> >> 6. Extract a CD track with dd if=/dev/acd0t01 of=tmp.cdr bs=2532 >> >> 7. Test ripped track with 'xine tmp.cdr' sound just like the original >> MP3! >> >> To ensure that there weren't permissions problems along the way, I've >> executed >> these commands as root, though I once did this as a normal user. >> >> Any ideas on what I should look at to fix this problem? >> > Yeah, I've noticed that too now that you mention it. When it happened > to me, I switched to using atapicam and cdrecord with the -swab parameter. > Also, you may want to look at audio/mp3burn (still need to pass -swab > though) > > I would recommend that you file a PR on this one. Obviously you are giving the wrong options to sox/lame. Most likely you are confusing byte-order. Might also be a problem with the configuration options for the respective ports. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-current@FreeBSD.ORG Tue May 16 03:26:11 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F60B16A4DD; Tue, 16 May 2006 03:26:11 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id B024543D4C; Tue, 16 May 2006 03:26:08 +0000 (GMT) (envelope-from nate@root.org) Received: from pimout7-ext.prodigy.net (pimout7-int.prodigy.net [207.115.4.147]) by ylpvm12.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k4G3Q6bJ019502; Mon, 15 May 2006 23:26:07 -0400 X-ORBL: [71.139.38.236] Received: from [10.0.0.53] (ppp-71-139-38-236.dsl.snfc21.pacbell.net [71.139.38.236]) by pimout7-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k4G3Q2Pq153170; Mon, 15 May 2006 23:26:07 -0400 Message-ID: <446945FA.7020103@root.org> Date: Mon, 15 May 2006 20:24:42 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Maxim Sobolev References: <4467B75F.2030406@FreeBSD.org> In-Reply-To: <4467B75F.2030406@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" , John Baldwin Subject: Re: SMP on MacBook Pro, some new info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 03:26:12 -0000 Maxim Sobolev wrote: > Hi, > > I have discovered that it's possible with a very good repeatability (90% > or more) to start the second core by pressing power button promptly > during the 5 second period when BSP have sent startup IPIs already and > is waiting for the AP going online. I am not sure how to interpret this > info - perhaps there is some problem with caching BSPs LAPIC writes, and > interrupt generated by the power button causes the cache to be flushed. > > Any ideas? My completely unresearched opinion is that the IPI is not reaching the AP or the response is getting lost. I don't know why. -- Nate From owner-freebsd-current@FreeBSD.ORG Tue May 16 03:59:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA08116A404 for ; Tue, 16 May 2006 03:59:45 +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 AC90043D48 for ; Tue, 16 May 2006 03:59:43 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FfqiZ-000C2N-Cz; Tue, 16 May 2006 12:59:31 +0900 Message-ID: <44694E22.1030402@micom.mng.net> Date: Tue, 16 May 2006 12:59:30 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Andrew Turner References: <4467E117.8070301@fubar.geek.nz> <446837EE.9040209@fubar.geek.nz> In-Reply-To: <446837EE.9040209@fubar.geek.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 03:59:47 -0000 Andrew Turner wrote: > Julian Elischer has placed a gallery of the installation process at > http://people.freebsd.org/~julian/bsdinstaller_install/ for people who > don't want to reinstall their computer. > > Andrew > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > > > Hi, Would it be possible to include OS version at the top? (Small sysinstall renovation at http://www.freebsd.org/projects/ideas/#p-sysinstall - Write the FreeBSD version at the top of the display (or somewhere similar visible) - so lazy users know what they are installing (version: release, stable, snapshot + arch: i386, amd64, etc) even when the CD is unlabeled.) That would be really helpful for users. thanks, Ganbold From owner-freebsd-current@FreeBSD.ORG Tue May 16 04:05:33 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9323416A401 for ; Tue, 16 May 2006 04:05:33 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C42D43D72 for ; Tue, 16 May 2006 04:05:27 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 53398 invoked from network); 16 May 2006 04:05:26 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 16 May 2006 04:05:26 -0000 X-pair-Authenticated: 83.95.197.184 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.4/8.13.4) with ESMTP id k4G45PcZ086976 for ; Tue, 16 May 2006 06:05:25 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.4/8.13.4/Submit) id k4G45P03086975 for current@freebsd.org; Tue, 16 May 2006 06:05:25 +0200 (CEST) (envelope-from pho) Date: Tue, 16 May 2006 06:05:25 +0200 From: Peter Holm To: current@freebsd.org Message-ID: <20060516040525.GA82064@peter.osted.lan> References: <20060514230010.GA43247@peter.osted.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060514230010.GA43247@peter.osted.lan> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: A threads related livelock? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 04:05:34 -0000 On Mon, May 15, 2006 at 01:00:10AM +0200, Peter Holm wrote: > With GENERIC (+ QUOTA) HEAD from May 14 06:55 UTC I got this > livelock: > http://people.freebsd.org/~pho/stress/log/cons201.html Here's a new one (with more clues, I hope) http://people.freebsd.org/~pho/stress/log/cons201a.html -- Peter Holm From owner-freebsd-current@FreeBSD.ORG Tue May 16 04:52:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 417F016A402; Tue, 16 May 2006 04:52:38 +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 A39DA43D45; Tue, 16 May 2006 04:52:33 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4G4qQnX045746; Mon, 15 May 2006 22:52:31 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44695A8A.7040504@samsco.org> Date: Mon, 15 May 2006 22:52:26 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Sobolev References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> <44681E94.9000702@FreeBSD.org> <1147686547.23488.6.camel@buffy.york.ac.uk> <446935C6.6020900@FreeBSD.org> In-Reply-To: <446935C6.6020900@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: "current@freebsd.org" , sos@freebsd.org Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 04:52:38 -0000 Maxim Sobolev wrote: > Gavin Atkinson wrote: > >> On Sun, 2006-05-14 at 23:24 -0700, Maxim Sobolev wrote: >> >>> Søren Schmidt wrote: >>> >>>> On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: >>>> >>>>> Hi Søren, >>>>> >>>>> Attached please find small patch which adds support for >>>>> 82801GBM/GHM SATA controller found in intel-based Macs, >>>>> particularly in MacBook Pro. >>>>> >>>>> Please review & approve. >>>> >>>> I'll look into it, I think Intel has a few other new chips I should add >>>> in the same go, give me a few days... >>> >>> Any progress with this? Few days have turned into few weeks, and I >>> don't want them turn into few months. :) >> >> >> Be aware that I believe your patch is slightly wrong. As far as I can >> tell the chip ID you've added is the non-AHCI version. I have the same >> chip in my new Toshiba laptop, and submitted a more complete PR >> (kern/97228) over the weekend. > > > MacBook doesn't work with your patch - FreeBSD detects controller but > doesn't see any disks attached to it. :( Putting AHCI back solves the > problem. > > I wonder if Intel has shipped two different controllers with the same > pci ids. > That is highly unlikely. Scott From owner-freebsd-current@FreeBSD.ORG Tue May 16 05:09:37 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142CC16A504; Tue, 16 May 2006 05:09:37 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37DA043D58; Tue, 16 May 2006 05:09:11 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.38] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4G58sOk030209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 May 2006 22:08:59 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44695E63.6030507@FreeBSD.org> Date: Mon, 15 May 2006 22:08:51 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Nate Lawson References: <4467B75F.2030406@FreeBSD.org> <446945FA.7020103@root.org> In-Reply-To: <446945FA.7020103@root.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" , John Baldwin Subject: Re: SMP on MacBook Pro, some new info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 05:09:40 -0000 Nate Lawson wrote: > Maxim Sobolev wrote: >> Hi, >> >> I have discovered that it's possible with a very good repeatability >> (90% or more) to start the second core by pressing power button >> promptly during the 5 second period when BSP have sent startup IPIs >> already and is waiting for the AP going online. I am not sure how to >> interpret this info - perhaps there is some problem with caching BSPs >> LAPIC writes, and interrupt generated by the power button causes the >> cache to be flushed. >> >> Any ideas? > > My completely unresearched opinion is that the IPI is not reaching the > AP or the response is getting lost. I don't know why. Looks like IPI cached somewhere and simply doesn't reach LAPIC or AP since if I enable checkpoints and don't press power key, I see message about failure to start the AP and a trace consisting of 99 99 99 99 99 99. At the same time, if I "help" SMP startup by pressing the power key in time, I see normal trace 1 2 3 4 5 6, which suggests that checkpoints work as expected and in the former case the AP simply doesn't get the message. Is it possible that one of the cores is put by BIOS into some deep sleep state. BTW, Intel has introduced some new "deeper sleep state" (aka "deep C4") in Core Duo and for that reason it doesn't see IPI? Maybe activity generated by power button press wakes it up. -Maxim From owner-freebsd-current@FreeBSD.ORG Tue May 16 05:33:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 123D816A403 for ; Tue, 16 May 2006 05:33:57 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B9B43D46 for ; Tue, 16 May 2006 05:33:56 +0000 (GMT) (envelope-from yuri.pankov@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so113563nfc for ; Mon, 15 May 2006 22:33:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ZCAT12AH4xL3Rmsy/iObZz/+H5t2TwK3RwTbnVkNdUktL7hBDycOY7Ap/ppW7Wy0YnUC7y5X/KZKJjwqNS2zcx5ERwfADV07lSqilXSpx76U5oiZyi/rtI39uwoyan/RoHENXdrRI/rqHUCFpCtHsuhO/2n3C9LY5LmXtq0ZPCM= Received: by 10.49.72.15 with SMTP id z15mr3746524nfk; Mon, 15 May 2006 12:04:35 -0700 (PDT) Received: from klamath.irbis.net.ru ( [85.118.141.6]) by mx.gmail.com with ESMTP id r33sm6102207nfc.2006.05.15.12.04.32; Mon, 15 May 2006 12:04:34 -0700 (PDT) From: Yuri Pankov To: vova@fbsd.ru In-Reply-To: <1147718259.1435.3.camel@localhost> References: <20060515165041.50A86294BB@mail.bitblocks.com> <1147718259.1435.3.camel@localhost> Content-Type: text/plain; charset=UTF-8 Date: Mon, 15 May 2006 23:04:29 +0400 Message-Id: <1147719869.77022.3.camel@localhost.localnet> Mime-Version: 1.0 X-Mailer: Evolution 2.7.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 05:33:57 -0000 On Mon, 2006-05-15 at 22:37 +0400, Vladimir Grebenschikov wrote: > Ð’ пн, 15/05/2006 в 09:50 -0700, Bakul Shah пишет: > > This is what happens when I start skype (NOTE: this is *not* > > limited to skype -- I see the same problem with a thunderbird > > linux binary but linux-firefox & linux-opera work fine). > > same problem with skype here (fresh 7.0-CURRENT + fresh gnome) > I was forced to increase kern.maxfiles to make my system alive. I think your issue is described in /usr/ports/devel/gamin/pkg-message, which is used by GNOME. > > > $ skype & > > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > > 4126 38134 495635 > > 4196 38959 499830 > > 4226 39229 502965 > > 4266 39589 507145 > > 4296 39859 510280 > > 4336 40219 514460 > > 4366 40489 517595 > > 4406 40849 521775 > > 4436 41119 524910 > > 4476 41479 529090 > > 4516 41839 533270 > > 4546 42109 536405 > > 4586 42469 540585 > > ^C > > > > Is this a known problem or am I in an alternate universe? > > > > I am running -current as of yesterday, with a freshly > > installed linux_base-8 and skype. But this has been > > happening for atleast a couple weeks and may be more. > > > > Looking at the lsof output, about a third opens are for a > > directory, two thirds are files. It seems to open over a > > hundred directories (all of them multiple times)! It opens > > over 400 files (all multiple times). Many of these files > > have nothing to do with skype! > > > > Doing a truss shows a lot of linux_ioctl() and gettimeofday() > > on one skype_bin process and linux_times() and linux_time() > > on another process. Doung ktrace on these processes shows > > something totally different (all sorts of syscalls). > > > > Thanks for any help or hints on how to debug this.... > > > > -- bakul Yuri From owner-freebsd-current@FreeBSD.ORG Tue May 16 05:40:40 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB21216A406 for ; Tue, 16 May 2006 05:40:40 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7967B43D46 for ; Tue, 16 May 2006 05:40:40 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 2FDE5170DE; Tue, 16 May 2006 05:40:38 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4G5ebIt004489; Tue, 16 May 2006 07:40:37 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Maxim Sobolev From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 15 May 2006 12:52:37 PDT." <4468DC05.9080808@sippysoft.com> Date: Tue, 16 May 2006 07:40:36 +0200 Message-ID: <4488.1147758036@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 05:40:40 -0000 In message <4468DC05.9080808@sippysoft.com>, Maxim Sobolev writes: >Poul-Henning Kamp wrote: >> In message <44681D92.80309@sippysoft.com>, Maxim Sobolev writes: >>> Hi, >>> >>> I would like to extend md(4) with support for mmap(4) operations, >> >> Uhm, how exactly would that work ? > >Just like ioctl(2) works: geom_dev will accept mmap requests and pass it >to the underlying provider for execution if that provider has mmap >handler in its g_class. No, I meant: how will you use this ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Tue May 16 05:43:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DF1916A401 for ; Tue, 16 May 2006 05:43:13 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id B21B443D45 for ; Tue, 16 May 2006 05:43:12 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so651152uge for ; Mon, 15 May 2006 22:43:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=qoCNegimh6mMfWXaNw+Yz22Cg9OGixk7O0CQaur0u4myyjDB6ZLfki5n8rNLSRXTxxM3wIJ+Meda6VwWVbPGEnAbuh7VbsBTUuQbauTsmuk9AZw2its0MD0pCva3OBt/vgUcwjunBrMDSJbBoEvPdRhFoXml96NoEnEU7rcIBqE= Received: by 10.66.185.40 with SMTP id i40mr2913816ugf; Mon, 15 May 2006 22:43:11 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id q40sm525947ugc.2006.05.15.22.43.09; Mon, 15 May 2006 22:43:11 -0700 (PDT) Date: Tue, 16 May 2006 08:43:10 +0300 From: Rostislav Krasny To: Andrew Turner Message-Id: <20060516084310.05af8de4.rosti.bsd@gmail.com> In-Reply-To: <4468FA1C.7040105@fubar.geek.nz> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 05:43:13 -0000 On Tue, 16 May 2006 10:01:00 +1200 Andrew Turner wrote: > Rostislav Krasny wrote: > > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > > > I think this menu should be changed, so one could select not only the > > slice size but also where it begins. Ideally this should be defined by > > three numbers: 'start sector', 'end sector' and 'size in sectors'. > > Changing the 'size in sectors' should also change the 'end sector', and > > changing 'start sector' or 'end sector' should also change the 'size in > > sectors', automatically. > > > The start position is defined by the previous "partitions" (bsd slices) > on the disk. > I would like to change it to accept size in MB, GB, TB, etc. And if one wants to reserve some unallocated space at the beginning of the disk? I understand, you're trying to make partitioning a simple task but sometimes doing it by an advanced way may also be needed. One, who wants to partition the disk by the simple way, will use just the third number, i.e. the size (in sectors or in MB). From owner-freebsd-current@FreeBSD.ORG Tue May 16 06:20:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1426C16A42D; Tue, 16 May 2006 06:20:11 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B7243D45; Tue, 16 May 2006 06:20:09 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.6/8.13.3) with ESMTP id k4G6K1fW039318 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 16 May 2006 08:20:01 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.6/8.13.3/Submit) id k4G6K0VZ039305; Tue, 16 May 2006 08:20:00 +0200 (CEST) Date: Tue, 16 May 2006 08:20:00 +0200 From: Divacky Roman To: Bakul Shah Message-ID: <20060516062000.GA39198@stud.fit.vutbr.cz> References: <20060515165041.50A86294BB@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060515165041.50A86294BB@mail.bitblocks.com> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 06:20:11 -0000 On Mon, May 15, 2006 at 09:50:41AM -0700, Bakul Shah wrote: > This is what happens when I start skype (NOTE: this is *not* > limited to skype -- I see the same problem with a thunderbird > linux binary but linux-firefox & linux-opera work fine). > > $ skype & > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > 4126 38134 495635 > 4196 38959 499830 > 4226 39229 502965 > 4266 39589 507145 > 4296 39859 510280 > 4336 40219 514460 > 4366 40489 517595 > 4406 40849 521775 > 4436 41119 524910 > 4476 41479 529090 > 4516 41839 533270 > 4546 42109 536405 > 4586 42469 540585 > ^C I see something similar when using acroread... it sometimes (typically when opening new file) eats all the free file descriptors and then its killed... roman From owner-freebsd-current@FreeBSD.ORG Tue May 16 07:20:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AF5F16A403 for ; Tue, 16 May 2006 07:20:51 +0000 (UTC) (envelope-from current@dino.sk) Received: from mail.netlab.sk (mail.netlab.sk [213.215.72.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E82BD43D46 for ; Tue, 16 May 2006 07:20:50 +0000 (GMT) (envelope-from current@dino.sk) Received: from [192.168.16.13] (home.dino.sk [213.215.74.194]) (AUTH: PLAIN milan@netlab.sk, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mail.netlab.sk with esmtp; Tue, 16 May 2006 09:26:06 +0200 id 00289C12.44697E8E.000108B3 From: Milan Obuch To: freebsd-current@freebsd.org Date: Tue, 16 May 2006 09:20:32 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605160920.33323.current@dino.sk> Subject: Weird thing - pciconf reading differs in two systems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 07:20:51 -0000 Hi, I was trying to test miniPCI atheros-based card in wrap, using 7-CURRENT. S= ome=20 time ago, it attached as ath0, I did some configuration and it looked OK.=20 Yesterday, I tested it again with system built from sources cvsupped at May= =20 12. No attachment, pciconf -lv said (relevant device) none0@pci0:13:0: class=3D0x020000 card=3D0x00000000 chip=3D0xff16168c rev= =3D0x01=20 hdr=3D0x00 vendor =3D 'Atheros Communications Inc.' class =3D network subclass =3D ethernet =46rom some earlier conversation I got chips with ID beginning 0xFF are=20 pre-production and should not be used. Just out of curiosity I put this card in my tablet TC1000, with system buil= t=20 from sources cvsupped at May 15 and got ath0@pci0:10:0: class=3D0x020000 card=3D0x000d17f9 chip=3D0x001b168c rev=3D= 0x01=20 hdr=3D0x00 This makes me wonder - how could the same card be identified as two differe= nt=20 devices? I tested the same card, then another one and the result is the sam= e.=20 Working in my tablet, not working in WRAP. There is one difference, however= -=20 kernel in WRAP has ath built-in, in my tablet I am kldloading it. If it were the other way round, I would be happier - I can use those cards = for=20 some radio links, but it would not be less surprising. Any ideas? Regards, Milan =2D-=20 No need to mail me directly. Just reply to mailing list, please. From owner-freebsd-current@FreeBSD.ORG Tue May 16 07:46:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C23AE16A401 for ; Tue, 16 May 2006 07:46:21 +0000 (UTC) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50DDE43D45 for ; Tue, 16 May 2006 07:46:21 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FfuG1-0000Wa-7E; Tue, 16 May 2006 11:46:17 +0400 From: Vladimir Grebenschikov To: Yuri Pankov In-Reply-To: <1147719869.77022.3.camel@localhost.localnet> References: <20060515165041.50A86294BB@mail.bitblocks.com> <1147718259.1435.3.camel@localhost> <1147719869.77022.3.camel@localhost.localnet> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Tue, 16 May 2006 11:46:15 +0400 Message-Id: <1147765575.1535.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 07:46:21 -0000 =F7 =D0=CE, 15/05/2006 =D7 23:04 +0400, Yuri Pankov =D0=C9=DB=C5=D4: > On Mon, 2006-05-15 at 22:37 +0400, Vladimir Grebenschikov wrote: > > =F7 =D0=CE, 15/05/2006 =D7 09:50 -0700, Bakul Shah =D0=C9=DB=C5=D4: > > > This is what happens when I start skype (NOTE: this is *not* > > > limited to skype -- I see the same problem with a thunderbird > > > linux binary but linux-firefox & linux-opera work fine). > >=20 > > same problem with skype here (fresh 7.0-CURRENT + fresh gnome) > > I was forced to increase kern.maxfiles to make my system alive. >=20 > I think your issue is described in /usr/ports/devel/gamin/pkg-message, > which is used by GNOME. No, It is not like this case. I almost do not use nautilus. And problem appears only after latest system upgrade (only some weeks of CURRENT evolution). I've already have running gamin from 2.14 long enough before incident. Looks like problem really related to Linux skype (I've also noticed huge amount of descriptors eaten by this beast) =20 > > > $ skype & > > > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > > > 4126 38134 495635 > > > 4196 38959 499830 > > > 4226 39229 502965 > > > 4266 39589 507145 > > > 4296 39859 510280 > > > 4336 40219 514460 > > > 4366 40489 517595 > > > 4406 40849 521775 > > > 4436 41119 524910 > > > 4476 41479 529090 > > > 4516 41839 533270 > > > 4546 42109 536405 > > > 4586 42469 540585 > > > ^C > > >=20 > > > Is this a known problem or am I in an alternate universe? > > >=20 > > > I am running -current as of yesterday, with a freshly > > > installed linux_base-8 and skype. But this has been > > > happening for atleast a couple weeks and may be more. > > >=20 > > > Looking at the lsof output, about a third opens are for a > > > directory, two thirds are files. It seems to open over a > > > hundred directories (all of them multiple times)! It opens > > > over 400 files (all multiple times). Many of these files > > > have nothing to do with skype! > > >=20 > > > Doing a truss shows a lot of linux_ioctl() and gettimeofday() > > > on one skype_bin process and linux_times() and linux_time() > > > on another process. Doung ktrace on these processes shows > > > something totally different (all sorts of syscalls). > > >=20 > > > Thanks for any help or hints on how to debug this.... > > >=20 > > > -- bakul >=20 > Yuri >=20 --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-current@FreeBSD.ORG Tue May 16 07:47:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A810616A403; Tue, 16 May 2006 07:47:19 +0000 (UTC) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B5643D5D; Tue, 16 May 2006 07:47:16 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FfuGw-0000Wh-Cv; Tue, 16 May 2006 11:47:14 +0400 From: Vladimir Grebenschikov To: Bakul Shah In-Reply-To: <20060515195007.22AF9294BB@mail.bitblocks.com> References: <20060515195007.22AF9294BB@mail.bitblocks.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Tue, 16 May 2006 11:47:13 +0400 Message-Id: <1147765633.1535.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 07:47:19 -0000 =F7 =D0=CE, 15/05/2006 =D7 12:50 -0700, Bakul Shah =D0=C9=DB=C5=D4: > > same problem with skype here (fresh 7.0-CURRENT + fresh gnome) > > I was forced to increase kern.maxfiles to make my system alive. >=20 > This won't help as skype will eat up all available > descriptors. Limiting the descriptors resource in the parent > shell of skype prevents it from running away. Yes, but after that change it makes enough descriptors to survive while working day. --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-current@FreeBSD.ORG Tue May 16 08:18:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B868316A400 for ; Tue, 16 May 2006 08:18:47 +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 D3EE843D45 for ; Tue, 16 May 2006 08:18:44 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FfulH-000Dvg-9O for freebsd-current@freebsd.org; Tue, 16 May 2006 17:18:35 +0900 Message-ID: <44698AD9.1080505@micom.mng.net> Date: Tue, 16 May 2006 17:18:33 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: LOR problem (KDB: enter: witness_checkorder) in CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 08:18:47 -0000 Hi, On today's CURRENT I got LOR when I try to access the machine (I couldn't) first time through ssh. gw# uname -an FreeBSD gw.micom.mng.net 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue May 16 06:51:40 ULAST 2006 tsgan@gw.micom.mng.net:/usr/obj/usr/src/sys/GW i386 lock order reversal: 1st 0xc1d8d090 inp (divinp) @ /usr/src/sys/netinet/ip_divert.c:336 2nd 0xc082ee58 PFil hook read/write mutex (PFil hook read/write mutex) @ /usr/src/sys/net/pfil.c:73 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c07eeb28,c07eeec0,c07b40e4) at kdb_backtrace+0x29 witness_checkorder(c082ee58,1,c0734957,49) at witness_checkorder+0x586 _rw_rlock(c082ee58,c0734957,49) at _rw_rlock+0x52 pfil_run_hooks(c082ee40,cc21db28,c1b81800,2,0) at pfil_run_hooks+0x2c ip_output(c1b86a00,0,cc21daf4,22,0) at ip_output+0x63f div_output(c1d1667c,c1b86a00,c1b41080,0,cc21dbb0) at div_output+0x185 div_send(c1d1667c,0,c1b86a00,c1b41080,0) at div_send+0x3f sosend(c1d1667c,c1b41080,cc21dbe4,c1b86a00,0) at sosend+0x3e5 kern_sendit(c1b511b0,3,cc21dc64,0,0) at kern_sendit+0x108 sendit(c1b511b0,3,cc21dc64,0,bfbdebf0) at sendit+0x15f sendto(c1b511b0,cc21dd04,c1b53d38,c,c1b511b0) at sendto+0x4d syscall(3b,3b,3b,2,40) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (133, FreeBSD ELF32, sendto), eip = 0x2813aaab, esp = 0xbfbdeb1c, ebp = 0xbfbeebc8 --- KDB: enter: witness_checkorder [thread pid 572 tid 100041 ] Stopped at kdb_enter+0x2b: nop db> bt Tracing pid 572 tid 100041 td 0xc1b511b0 kdb_enter(c06fb488) at kdb_enter+0x2b witness_checkorder(c082ee58,1,c0734957,49) at witness_checkorder+0x599 _rw_rlock(c082ee58,c0734957,49) at _rw_rlock+0x52 pfil_run_hooks(c082ee40,cc21db28,c1b81800,2,0) at pfil_run_hooks+0x2c ip_output(c1b86a00,0,cc21daf4,22,0) at ip_output+0x63f div_output(c1d1667c,c1b86a00,c1b41080,0,cc21dbb0) at div_output+0x185 div_send(c1d1667c,0,c1b86a00,c1b41080,0) at div_send+0x3f sosend(c1d1667c,c1b41080,cc21dbe4,c1b86a00,0) at sosend+0x3e5 kern_sendit(c1b511b0,3,cc21dc64,0,0) at kern_sendit+0x108 sendit(c1b511b0,3,cc21dc64,0,bfbdebf0) at sendit+0x15f sendto(c1b511b0,cc21dd04,c1b53d38,c,c1b511b0) at sendto+0x4d syscall(3b,3b,3b,2,40) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (133, FreeBSD ELF32, sendto), eip = 0x2813aaab, esp = 0xbfbdeb1c, ebp = 0xbfbeebc8 --- db> c calcru: runtime went backwards from 13577 usec to 2447 usec for pid 724 (syslogd) calcru: runtime went backwards from 288 usec to 116 usec for pid 665 (devd) calcru: runtime went backwards from 10690 usec to 4935 usec for pid 665 (devd) calcru: runtime went backwards from 630 usec to 84 usec for pid 166 (adjkerntz) calcru: runtime went backwards from 127606 usec to 17140 usec for pid 40 (pagezero) calcru: runtime went backwards from 3 usec to 0 usec for pid 38 (vmdaemon) calcru: runtime went backwards from 63 usec to 26 usec for pid 37 (pagedaemon) calcru: runtime went backwards from 338 usec to 71 usec for pid 35 (swi0: sio) calcru: runtime went backwards from 7918 usec to 1848 usec for pid 32 (irq14: ata0) calcru: runtime went backwards from 14 usec to 1 usec for pid 30 (irq21: skc0) calcru: runtime went backwards from 21 usec to 3 usec for pid 29 (usb4) calcru: runtime went backwards from 7 usec to 1 usec for pid 27 (usb3) calcru: runtime went backwards from 7 usec to 1 usec for pid 26 (usb2) calcru: runtime went backwards from 8 usec to 1 usec for pid 24 (usb1) calcru: runtime went backwards from 17 usec to 3 usec for pid 21 (usb0) calcru: runtime went backwards from 80009 usec to 10750 usec for pid 16 (swi6: task queue) calcru: runtime went backwards from 1820 usec to 793 usec for pid 14 (yarrow) calcru: runtime went backwards from 20253 usec to 4897 usec for pid 4 (g_down) calcru: runtime went backwards from 13521 usec to 4142 usec for pid 3 (g_up) calcru: runtime went backwards from 6040 usec to 1765 usec for pid 2 (g_event) calcru: runtime went backwards from 52793 usec to 8063 usec for pid 1 (init) calcru: runtime went backwards from 2364780 usec to 376903 usec for pid 1 (init) calcru: runtime went backwards from 853 usec to 114 usec for pid 0 (swapper) LOR doesn't appear on subsequent ssh access (I could log in) after 'c' command in kdb. thanks, Ganbold From owner-freebsd-current@FreeBSD.ORG Tue May 16 08:24:09 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50B3516A401 for ; Tue, 16 May 2006 08:24:09 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9FA343D49 for ; Tue, 16 May 2006 08:24:08 +0000 (GMT) (envelope-from sobomax@sippysoft.com) Received: from sippysoft.com (localhost.360sip.com [127.0.0.1]) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4G8O7kj032995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 May 2006 01:24:07 -0700 (PDT) (envelope-from sobomax@sippysoft.com) Received: (from sobomax@localhost) by sippysoft.com (8.13.6/8.13.6/Submit) id k4G8O6ve032994; Tue, 16 May 2006 01:24:06 -0700 (PDT) (envelope-from sobomax) Date: Tue, 16 May 2006 01:24:06 -0700 From: Maxim Sobolev To: Poul-Henning Kamp Message-ID: <20060516082406.GA32353@gk.360sip.com> References: <4468DC05.9080808@sippysoft.com> <4488.1147758036@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4488.1147758036@critter.freebsd.dk> User-Agent: Mutt/1.4.2.1i Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 08:24:09 -0000 On Tue, May 16, 2006 at 07:40:36AM +0200, Poul-Henning Kamp wrote: > In message <4468DC05.9080808@sippysoft.com>, Maxim Sobolev writes: > >Poul-Henning Kamp wrote: > >> In message <44681D92.80309@sippysoft.com>, Maxim Sobolev writes: > >>> Hi, > >>> > >>> I would like to extend md(4) with support for mmap(4) operations, > >> > >> Uhm, how exactly would that work ? > > > >Just like ioctl(2) works: geom_dev will accept mmap requests and pass it > >to the underlying provider for execution if that provider has mmap > >handler in its g_class. > > No, I meant: how will you use this ? Well, in my particular case I would like to experiment with dynamic exporting of shared ELF objects from the kernel into userspace. md(4) seems like a good fit, but dlopen(3) uses mmap, so that it doesn't work OOB. There can be other uses as well. -Maxim From owner-freebsd-current@FreeBSD.ORG Tue May 16 08:59:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E86F16A424 for ; Tue, 16 May 2006 08:59:14 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E7E043D6A for ; Tue, 16 May 2006 08:59:13 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 16 May 2006 09:59:12 +0100 (BST) Date: Tue, 16 May 2006 09:59:12 +0100 From: David Malone To: Milan Obuch Message-ID: <20060516085912.GA88689@walton.maths.tcd.ie> References: <200605160920.33323.current@dino.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605160920.33323.current@dino.sk> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: freebsd-current@freebsd.org Subject: Re: Weird thing - pciconf reading differs in two systems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 08:59:14 -0000 On Tue, May 16, 2006 at 09:20:32AM +0200, Milan Obuch wrote: > This makes me wonder - how could the same card be identified as two different > devices? I tested the same card, then another one and the result is the same. > Working in my tablet, not working in WRAP. There is one difference, however - > kernel in WRAP has ath built-in, in my tablet I am kldloading it. Could be loose connections in the WRAP - if some of the pins are not connected properly that could result in 0xff showing up in various places (or worse). David. From owner-freebsd-current@FreeBSD.ORG Tue May 16 10:14:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D113916A403 for ; Tue, 16 May 2006 10:14:22 +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 D417F43D49 for ; Tue, 16 May 2006 10:14:21 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FfwZE-000EoW-6b for freebsd-current@freebsd.org; Tue, 16 May 2006 19:14:16 +0900 Message-ID: <4469A5F7.4030601@micom.mng.net> Date: Tue, 16 May 2006 19:14:15 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <44698AD9.1080505@micom.mng.net> In-Reply-To: <44698AD9.1080505@micom.mng.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: LOR problem (KDB: enter: witness_checkorder) in CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 10:14:25 -0000 It looks like same LOR I experienced before: http://sources.zabbadoz.net/freebsd/lor/181.html Ganbold From owner-freebsd-current@FreeBSD.ORG Tue May 16 15:05:55 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0644C16A6C2; Tue, 16 May 2006 15:05:55 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B89A43D45; Tue, 16 May 2006 15:05:54 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k4GF5nWv021166; Tue, 16 May 2006 16:05:49 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k4GF5nIc029608; Tue, 16 May 2006 16:05:49 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k4GF5npP029607; Tue, 16 May 2006 16:05:49 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Maxim Sobolev In-Reply-To: <446935C6.6020900@FreeBSD.org> References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> <44681E94.9000702@FreeBSD.org> <1147686547.23488.6.camel@buffy.york.ac.uk> <446935C6.6020900@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 16 May 2006 16:05:48 +0100 Message-Id: <1147791948.27776.26.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: "current@freebsd.org" , sos@FreeBSD.org Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 15:05:56 -0000 On Mon, 2006-05-15 at 19:15 -0700, Maxim Sobolev wrote: > Gavin Atkinson wrote: > > On Sun, 2006-05-14 at 23:24 -0700, Maxim Sobolev wrote: > >> S=F8ren Schmidt wrote: > >>> On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: > >>>> Hi S=F8ren, > >>>> > >>>> Attached please find small patch which adds support for 82801GBM/GHM= =20 > >>>> SATA controller found in intel-based Macs, particularly in MacBook P= ro. > >>>> > >>>> Please review & approve. > >>> I'll look into it, I think Intel has a few other new chips I should a= dd > >>> in the same go, give me a few days... > >> Any progress with this? Few days have turned into few weeks, and I don= 't=20 > >> want them turn into few months. :) > >=20 > > Be aware that I believe your patch is slightly wrong. As far as I can > > tell the chip ID you've added is the non-AHCI version. I have the same > > chip in my new Toshiba laptop, and submitted a more complete PR > > (kern/97228) over the weekend. >=20 > MacBook doesn't work with your patch - FreeBSD detects controller but=20 > doesn't see any disks attached to it. :( Putting AHCI back solves the=20 > problem. >=20 > I wonder if Intel has shipped two different controllers with the same=20 > pci ids. Seems unlikely to me, Intel seem to love burning product IDs. I wonder if it has anything to do with which disks are attached. My laptop actually works with that set either to "AHCI" or "0", but I assumed that was more of a by-product of the minimal AHCI support currently. > Just in the case, attached is appropriate entry from pciconf -lv output: >=20 > atapci1@pci0:31:2: class=3D0x01018f card=3D0x72708086 chip=3D0x27c48= 086=20 > rev=3D0x02 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Contro= ller' > class =3D mass storage > subclass =3D ATA >=20 > And dmesg: >=20 > atapci1: port=20 > 0x40d8-0x40df,0x40f4-0x40f7,0x40d0-0x40d7,0x40f0-0x40f3,0x4020-0x402f=20 > mem 0x98405000-0x984053ff irq 19 at device 31.2 on pci0 > ata2: on atapci1 > ata3: on atapci1 > ad5: 95396MB at ata2-slave SATA150 Mine looks like: atapci0@pci0:31:2: class=3D0x010180 card=3D0x00011179 chip=3D0x27c4808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controlle= r' class =3D mass storage subclass =3D ATA Note that the class is different. dmesg with the cfg1 flag set to 0: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x9f10-0x9f1f irq 19 at device 31.2 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x9f10 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=3D01 ostat0=3D80 ostat1=3D00 ata0: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 55 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=3D01 ostat0=3D50 ostat1=3D00 ata1: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb ata1: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x4 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 56 ata1: [MPSAFE] [...] ata0-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA100 cable=3D40 wire ad0: 76319MB at ata0-master SATA150 ad0: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue ata1-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA33 cable=3D40 wire acd0: CDRW drive at ata1 as master dmesg with the cfg1 flag set to AHCI: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x9f10-0x9f1f irq 19 at device 31.2 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x9f10 atapci0: failed to enable memory mapping! 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=3D03 ostat0=3D50 ostat1=3D00 ata0: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0: stat1=3D0x00 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 55 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=3D03 ostat0=3D50 ostat1=3D00 ata1: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb ata1: stat1=3D0x00 err=3D0x00 lsb=3D0x00 msb=3D0x00 ata1: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x4 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 56 ata1: [MPSAFE] [...] ata0-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA100 cable=3D40 wire ad0: 76319MB at ata0-master SATA150 ad0: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue ata1-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA33 cable=3D40 wire acd0: CDRW drive at ata1 as master As far as I can tell, the only difference is the "atapci0: failed to enable memory mapping!" line when I'm using the chipset as an AHCI chipset. So, as far as I'm concerned, AHCI works for my laptop, I'm just a little wary (not really understanding AHCI) as to if this is safe or will continue to work in the future, especially given the Intel docs seem to suggest it is a non-AHCI PCI ID. Gavin From owner-freebsd-current@FreeBSD.ORG Tue May 16 16:51:47 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A49016A4EA; Tue, 16 May 2006 16:51:47 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AEF43D70; Tue, 16 May 2006 16:51:40 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from [194.192.25.142] (spider.deepcore.dk [194.192.25.142]) by spider.deepcore.dk (8.13.6/8.13.4) with ESMTP id k4GGpcA5001046; Tue, 16 May 2006 18:51:38 +0200 (CEST) (envelope-from sos@deepcore.dk) Message-ID: <446A031A.5060503@deepcore.dk> Date: Tue, 16 May 2006 18:51:38 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: Gavin Atkinson References: <444DD7DF.6010402@FreeBSD.org> <1145956219.2968.31.camel@sos.deepcore.dk> <44681E94.9000702@FreeBSD.org> <1147686547.23488.6.camel@buffy.york.ac.uk> <446935C6.6020900@FreeBSD.org> <1147791948.27776.26.camel@buffy.york.ac.uk> In-Reply-To: <1147791948.27776.26.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.16 Cc: Maxim Sobolev , "current@freebsd.org" , sos@FreeBSD.ORG Subject: Re: Support for ICH7 controller in PowerBook Pro X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 16:51:47 -0000 Gavin Atkinson wrote: > On Mon, 2006-05-15 at 19:15 -0700, Maxim Sobolev wrote: >> Gavin Atkinson wrote: >>> On Sun, 2006-05-14 at 23:24 -0700, Maxim Sobolev wrote: >>>> Søren Schmidt wrote: >>>>> On Tir, 2006-04-25 at 01:03 -0700, Maxim Sobolev wrote: >>>>>> Hi Søren, >>>>>> >>>>>> Attached please find small patch which adds support for 82801GBM/GHM >>>>>> SATA controller found in intel-based Macs, particularly in MacBook Pro. >>>>>> >>>>>> Please review & approve. >>>>> I'll look into it, I think Intel has a few other new chips I should add >>>>> in the same go, give me a few days... >>>> Any progress with this? Few days have turned into few weeks, and I don't >>>> want them turn into few months. :) >>> Be aware that I believe your patch is slightly wrong. As far as I can >>> tell the chip ID you've added is the non-AHCI version. I have the same >>> chip in my new Toshiba laptop, and submitted a more complete PR >>> (kern/97228) over the weekend. >> MacBook doesn't work with your patch - FreeBSD detects controller but >> doesn't see any disks attached to it. :( Putting AHCI back solves the >> problem. >> >> I wonder if Intel has shipped two different controllers with the same >> pci ids. > > Seems unlikely to me, Intel seem to love burning product IDs. I wonder > if it has anything to do with which disks are attached. My laptop > actually works with that set either to "AHCI" or "0", but I assumed that > was more of a by-product of the minimal AHCI support currently. AHCI support is fully working in 6.1/-current. >> Just in the case, attached is appropriate entry from pciconf -lv output: >> >> atapci1@pci0:31:2: class=0x01018f card=0x72708086 chip=0x27c48086 >> rev=0x02 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller' >> class = mass storage >> subclass = ATA >> >> And dmesg: >> >> atapci1: port >> 0x40d8-0x40df,0x40f4-0x40f7,0x40d0-0x40d7,0x40f0-0x40f3,0x4020-0x402f >> mem 0x98405000-0x984053ff irq 19 at device 31.2 on pci0 >> ata2: on atapci1 >> ata3: on atapci1 >> ad5: 95396MB at ata2-slave SATA150 > > Mine looks like: > > atapci0@pci0:31:2: class=0x010180 card=0x00011179 chip=0x27c48086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller' > class = mass storage > subclass = ATA > > Note that the class is different. > > dmesg with the cfg1 flag set to 0: > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x9f10-0x9f1f irq 19 at device 31.2 on pci0 > atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x9f10 > 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=01 ostat0=80 ostat1=00 > ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 > ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > ioapic0: routing intpin 14 (ISA IRQ 14) to vector 55 > 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=01 ostat0=50 ostat1=00 > ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb > ata1: reset tp2 stat0=00 stat1=00 devices=0x4 > ioapic0: routing intpin 15 (ISA IRQ 15) to vector 56 > ata1: [MPSAFE] > [...] > ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire > ad0: 76319MB at ata0-master SATA150 > ad0: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue > ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire > acd0: CDRW drive at ata1 as master > > dmesg with the cfg1 flag set to AHCI: > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x9f10-0x9f1f irq 19 at device 31.2 on pci0 > atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x9f10 > atapci0: failed to enable memory mapping! > 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=0x50 err=0x01 lsb=0x00 msb=0x00 > ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 > ata0: reset tp2 stat0=50 stat1=00 devices=0x1 > ioapic0: routing intpin 14 (ISA IRQ 14) to vector 55 > 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=03 ostat0=50 ostat1=00 > ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb > ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 > ata1: reset tp2 stat0=00 stat1=00 devices=0x4 > ioapic0: routing intpin 15 (ISA IRQ 15) to vector 56 > ata1: [MPSAFE] > [...] > ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire > ad0: 76319MB at ata0-master SATA150 > ad0: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue > ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire > acd0: CDRW drive at ata1 as master > > As far as I can tell, the only difference is the "atapci0: failed to > enable memory mapping!" line when I'm using the chipset as an AHCI > chipset. You are *not* using it in AHCI mode in any of the examples above, you need a memory resource which it states cannot be enabled... > So, as far as I'm concerned, AHCI works for my laptop, I'm just a little > wary (not really understanding AHCI) as to if this is safe or will > continue to work in the future, especially given the Intel docs seem to > suggest it is a non-AHCI PCI ID. AHCI mode is fully supported, hotplug and all and will continue to be that... -Søren From owner-freebsd-current@FreeBSD.ORG Tue May 16 17:31:54 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD3C16ABF5 for ; Tue, 16 May 2006 17:31:54 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp106.rog.mail.re2.yahoo.com (smtp106.rog.mail.re2.yahoo.com [68.142.225.204]) by mx1.FreeBSD.org (Postfix) with SMTP id 2967D43D6B for ; Tue, 16 May 2006 17:31:52 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 86048 invoked from network); 16 May 2006 17:31:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=K1QyMa3tBEQqrLusbhHkn2WlUYcKznz8t558v/Oo5VozAC89ZQqQW0wQaUJAWPdy7UAgKgckGfy4T8j5nqakyw9s0z3LyANBXDXr/fic1BDkic901AalaBgen7Zj1vtO51MIzHHo7z1tVG7v/pXlm+7giTkh5GyIT5+eTOJEQ84= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp106.rog.mail.re2.yahoo.com with SMTP; 16 May 2006 17:31:52 -0000 Message-ID: <446A0C94.1020604@rogers.com> Date: Tue, 16 May 2006 13:32:04 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Peter Holm References: <20060514230010.GA43247@peter.osted.lan> <20060516040525.GA82064@peter.osted.lan> In-Reply-To: <20060516040525.GA82064@peter.osted.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: A threads related livelock? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:31:59 -0000 Peter Holm wrote: > On Mon, May 15, 2006 at 01:00:10AM +0200, Peter Holm wrote: > >> With GENERIC (+ QUOTA) HEAD from May 14 06:55 UTC I got this >> livelock: >> http://people.freebsd.org/~pho/stress/log/cons201.html >> > > Here's a new one (with more clues, I hope) > http://people.freebsd.org/~pho/stress/log/cons201a.html > Peter, would you mind sharing the procedure for the stress test? I have an SMP machine here with an up to date -CURRENT, might as well put it to good use. From owner-freebsd-current@FreeBSD.ORG Tue May 16 17:38:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2950B16ACC4 for ; Tue, 16 May 2006 17:38:10 +0000 (UTC) (envelope-from sthalik@tehran.lain.pl) Received: from tehran.lain.pl (tehran.lain.pl [85.221.230.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3B7E43D55 for ; Tue, 16 May 2006 17:38:08 +0000 (GMT) (envelope-from sthalik@tehran.lain.pl) Received: from sthalik by tehran.lain.pl with local (envelope-from ) id 1Fg3Uj-000KaN-Q4 for freebsd-current@freebsd.org; Tue, 16 May 2006 19:38:05 +0200 Date: Tue, 16 May 2006 19:38:05 +0200 From: Stanislaw Halik To: freebsd-current@freebsd.org Message-ID: <20060516173805.GA78556@tehran.lain.pl> Mail-Followup-To: freebsd-current@freebsd.org References: <20060514230010.GA43247@peter.osted.lan> <20060516040525.GA82064@peter.osted.lan> <446A0C94.1020604@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <446A0C94.1020604@rogers.com> X-PGP-Key: http://tehran.lain.pl/public.key User-Agent: Mutt/1.5.11 X-User: sthalik Subject: Re: A threads related livelock? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:38:21 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 16, 2006, Mike Jakubik wrote: >>> With GENERIC (+ QUOTA) HEAD from May 14 06:55 UTC I got this >>> livelock: >>> http://people.freebsd.org/~pho/stress/log/cons201.html >> Here's a new one (with more clues, I hope) >> http://people.freebsd.org/~pho/stress/log/cons201a.html > Peter, would you mind sharing the procedure for the stress test? I have= =20 > an SMP machine here with an up to date -CURRENT, might as well put it to= =20 > good use. I believe the test is located here: HTH, -- sh --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEag39adU+vjT62TERAm/5AJ91LeoM8qA6LCkMgOfRW+lkmjIAdgCfScRs OopCUmoxc9UnIQSDvPX886M= =pbBu -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From owner-freebsd-current@FreeBSD.ORG Tue May 16 17:57:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FBE216A732; Tue, 16 May 2006 17:57:10 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from opus.cse.buffalo.edu (opus.cse.Buffalo.EDU [128.205.32.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AA2843D69; Tue, 16 May 2006 17:57:09 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from localhost.cse.buffalo.edu (localhost.cse.buffalo.edu [127.0.0.1]) by opus.cse.buffalo.edu (8.13.6/8.12.4) with ESMTP id k4GHv9VO023162; Tue, 16 May 2006 13:57:09 -0400 (EDT) From: Ken Smith To: freebsd-current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Na9cMvaOO0kJ/CC0x0tR" Organization: U. Buffalo CSE Department Date: Tue, 16 May 2006 13:57:09 -0400 Message-Id: <1147802229.13272.41.camel@opus.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: re@freebsd.org Subject: May Monthly Snapshots X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:57:13 -0000 --=-Na9cMvaOO0kJ/CC0x0tR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The HEAD Monthly Snapshots for May are available now on the FTP mirrors. This month we changed the naming scheme used for the snapshots to indicate more clearly what month the snapshots are for. The location of the snapshots themselves on the FTP sites will now be numeric instead of alphabetical to make sorting more "natural": ftp://ftp.freebsd.org/snapshots/200605/ And the names of the HEAD snapshots themselves are now 7.0-CURRENT-200605 (standard YYYYMM format). Checksums: MD5 (7.0-CURRENT-200605-amd64-bootonly.iso) =3D 5937aba4c41c1919d5b7aa02ac2= f0700 MD5 (7.0-CURRENT-200605-amd64-disc1.iso) =3D 18284ac86066aece4e06130d829290= 5a MD5 (7.0-CURRENT-200605-amd64-disc2.iso) =3D f86ef778487140f2aacc3460aa2f30= 98 MD5 (7.0-CURRENT-200605-i386-bootonly.iso) =3D 3f56bcf71c0fdc043e273e6aa88a= 0961 MD5 (7.0-CURRENT-200605-i386-disc1.iso) =3D 13bb08417947d3515ec30b115a83158= 1 MD5 (7.0-CURRENT-200605-i386-disc2.iso) =3D e684043887e5887001a5539383e975f= b MD5 (7.0-CURRENT-200605-ia64-bootonly.iso) =3D 06eeee980b4119d468c786204fcc= a58d MD5 (7.0-CURRENT-200605-ia64-disc1.iso) =3D 9c20967dd7951b2359c2b6036d479f2= a MD5 (7.0-CURRENT-200605-ia64-livefs.iso) =3D bbfa6f3e525656aab97daaedc25274= e2 MD5 (7.0-CURRENT-200605-pc98-bootonly.iso) =3D 8c2de867e0a49b73aba16ddbf8f2= 591b MD5 (7.0-CURRENT-200605-pc98-disc1.iso) =3D f206a9538c635548da62308cb895b12= 8 MD5 (7.0-CURRENT-200605-sparc64-bootonly.iso) =3D 119bdca29a3879c09bae0e1cf= b837f06 MD5 (7.0-CURRENT-200605-sparc64-disc1.iso) =3D 764718ef94e36f3cfe8f1340ec16= 5c2e MD5 (7.0-CURRENT-200605-sparc64-disc2.iso) =3D 053b04f3a97b2e992ab191bd6748= 3860 SHA256 (7.0-CURRENT-200605-amd64-bootonly.iso) =3D d2f4f92289393e4a25372c76= da5d5754b75030414e2a33d5091e43d1f6bf598f SHA256 (7.0-CURRENT-200605-amd64-disc1.iso) =3D 0cc037c1ba992c5e544dce34ee8= 9b0ab289430724f9a0f7861e0cfdb8b69d06e SHA256 (7.0-CURRENT-200605-amd64-disc2.iso) =3D cccee6c31491c9666f1be0fb066= 100f9a2d7d6869b1c6c54143f15b235e41dc3 SHA256 (7.0-CURRENT-200605-i386-bootonly.iso) =3D e9709f2ad2a99a9392a8e229e= e11094d66e8f5f6d1c05b44d328c735e4b878bb SHA256 (7.0-CURRENT-200605-i386-disc1.iso) =3D 6df217569667dd402c4b0a67e73a= 06691047ca13b9bc9efd807b0cf04da0d004 SHA256 (7.0-CURRENT-200605-i386-disc2.iso) =3D 0d111519d399dd068425a0922da1= afe21aaacce10726e375a6a10dcfd02a723f SHA256 (7.0-CURRENT-200605-ia64-bootonly.iso) =3D cf2b1d7db4f82bbbf61e47359= c685b91ee7f5da1459d56f062b5ed1582b69932 SHA256 (7.0-CURRENT-200605-ia64-disc1.iso) =3D a46bd2af050df1fd6ef31b7cf40d= 7c22d43852e39451a87db2e49382de80aa10 SHA256 (7.0-CURRENT-200605-ia64-livefs.iso) =3D 5917a6535bac660fba74372fc14= 1b77a0a11634f752dc1cbdc3e92124103b3b2 SHA256 (7.0-CURRENT-200605-pc98-bootonly.iso) =3D 6dae72849fc75742a55cf1429= cfcb8433ce50e5963f13a205aee9e034e08363f SHA256 (7.0-CURRENT-200605-pc98-disc1.iso) =3D 678d0a8c3b4fc1a5469859785b8f= a1a7b81c8f25dc8d2ce65ef9286f7e814f8a SHA256 (7.0-CURRENT-200605-sparc64-bootonly.iso) =3D dbf9085a10dd54ce71a266= 1bfbbfc083885bed34a9b3cf6f8f3d7f258ed5f861 SHA256 (7.0-CURRENT-200605-sparc64-disc1.iso) =3D e779c3bcc6963718ff0a27b5c= daef3bcbf11a879a66e027856c76ee855a20d13 SHA256 (7.0-CURRENT-200605-sparc64-disc2.iso) =3D 5521ada0f6704efb976dabd50= ecbc62f67d1817727118a91dadc9fac0d67f1c0 --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-Na9cMvaOO0kJ/CC0x0tR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEahJ1/G14VSmup/YRAl82AJ9jZbbXjfnOX93yH11dadk6+caiMwCfQHfV hQiRJexOeUalMVyWdYk3RgI= =5vJ2 -----END PGP SIGNATURE----- --=-Na9cMvaOO0kJ/CC0x0tR-- From owner-freebsd-current@FreeBSD.ORG Tue May 16 18:34:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B154B16A5A4; Tue, 16 May 2006 18:34:25 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E00D43D45; Tue, 16 May 2006 18:34:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED34.dip.t-dialin.net [84.165.237.52]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4GINqLg042186; Tue, 16 May 2006 20:23:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4GIY7B4043272; Tue, 16 May 2006 20:34:07 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 16 May 2006 20:35:17 +0200 From: Alexander Leidinger To: Bakul Shah Message-ID: <20060516203517.2564505d@Magellan.Leidinger.net> In-Reply-To: <20060516080436.7878D294B9@mail.bitblocks.com> References: <20060516091909.n7ml7sspus40oos8@netchild.homeip.net> <20060516080436.7878D294B9@mail.bitblocks.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org, current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:34:29 -0000 Quoting Bakul Shah (Tue, 16 May 2006 01:04:36 -0700): > Removing this code has fixed the problem for me. If you > have an alternative fix I'll be happy to try it. Doug just mailed me to say he committed a fix (rev. 1.83 of linux_stats.c). Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-current@FreeBSD.ORG Tue May 16 18:25:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F4EA16A75E for ; Tue, 16 May 2006 18:25:48 +0000 (UTC) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2EDEB43D78 for ; Tue, 16 May 2006 18:25:41 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 16 May 2006 18:25:39 -0000 Received: from pD9ECC4D1.dip0.t-ipconnect.de (EHLO sol) [217.236.196.209] by mail.gmx.net (mp029) with SMTP; 16 May 2006 20:25:39 +0200 X-Authenticated: #5707313 Date: Tue, 16 May 2006 20:25:29 +0200 From: Marius Nuennerich To: Rostislav Krasny Message-ID: <20060516202529.1d725675@sol> In-Reply-To: <20060516084310.05af8de4.rosti.bsd@gmail.com> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Mailman-Approved-At: Tue, 16 May 2006 19:05:25 +0000 Cc: freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:25:58 -0000 On Tue, 16 May 2006 08:43:10 +0300 Rostislav Krasny wrote: > On Tue, 16 May 2006 10:01:00 +1200 > Andrew Turner wrote: > > > Rostislav Krasny wrote: > > > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > > > > > I think this menu should be changed, so one could select not only the > > > slice size but also where it begins. Ideally this should be defined by > > > three numbers: 'start sector', 'end sector' and 'size in sectors'. > > > Changing the 'size in sectors' should also change the 'end sector', and > > > changing 'start sector' or 'end sector' should also change the 'size in > > > sectors', automatically. > > > > > The start position is defined by the previous "partitions" (bsd slices) > > on the disk. > > I would like to change it to accept size in MB, GB, TB, etc. > > And if one wants to reserve some unallocated space at the beginning of > the disk? I understand, you're trying to make partitioning a simple task > but sometimes doing it by an advanced way may also be needed. One, who > wants to partition the disk by the simple way, will use just the third > number, i.e. the size (in sectors or in MB). Why not just use 16 sectors offset like bsdlabel -w does? regards Marius From owner-freebsd-current@FreeBSD.ORG Tue May 16 19:56:47 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEEBE16A8DD; Tue, 16 May 2006 19:56:46 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id D846443D78; Tue, 16 May 2006 19:56:37 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9EEF652DDD; Tue, 16 May 2006 21:56:35 +0200 (CEST) Received: from localhost (dkp162.neoplus.adsl.tpnet.pl [83.24.19.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 686F650E96; Tue, 16 May 2006 21:56:29 +0200 (CEST) Date: Tue, 16 May 2006 21:54:39 +0200 From: Pawel Jakub Dawidek To: freebsd-current@FreeBSD.org Message-ID: <20060516195439.GA94621@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: gnn@FreeBSD.org, bz@FreeBSD.org Subject: Opencrypto changes. Review request. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 19:56:48 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I'd like to ask for a review of the patches below: http://people.freebsd.org/~pjd/patches/netipsec.patch http://people.freebsd.org/~pjd/patches/opencrypto.patch http://people.freebsd.org/~pjd/patches/cryptodevs.patch There are comments inside the patches, so I don't want to repeat them, just some random comments what they gave us: - Proper HMAC/SHA384 and HMAC/SHA512 handling. Currently the block size used for those functions is wrong, which makes caculation of the HMAC wrong. The block size for those functions should be 128, not 64 bytes. The same bug exists in NetBSD, OpenBSD and some other independed implementations I looked at. - De-IPsecing of HMACs. Currently crypto(9) framework calculates only 96 bits long HMACs, which are only usable for IPsec. This will allow to use crypto(9) for other interesting things, like data authentication in geli(8), which is waiting in perforce. - Allows to use HMAC/{SHA256,SHA384,SHA512} with any key length. Currently the hash function is choosen based on the key length, which is not right, as any key can be used with any function. - Removes Giant-like lock the from most important code path in the crypto(9) framework and actually makes the path lockless. I haven't saw much improvement in running many IPsec tunnels in parallel. The lock contention is entirely removed for the lock, but there are other bottlenecks. On the other hang, on a 4 way amd64 machine I see more than 300% speed-up in geli(8) encryption/decryption. I did some extensive testing of fast_ipsec(4) and geli(8) with those changes and I see no problems [1]. I tested software crypto, hifn(4), ubsec(4). safe(4) was only compile-tested, as I don't have access to the hardware. padlock(4) is not affected by the changes, as it doesn't handle HMACs yet. [1] Actually there was one problem, but not related to the change. It was causing SAD entries disappearing. This patch fixes the problem: http://people.freebsd.org/~pjd/patches/key.c.2.patch Thank you in advance! PS. I'd like to thank Mike Tancsa and Sentex from giving me access to the test hardware (machines and crypto cards) and all the help. I'd also like to thank all netperf cluster sponsors. The netperf cluster is very, very useful. There is more interesting work comming from me, which was possible to do, because of its existence. Thank you!:) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEai3/ForvXbEpPzQRAgiDAJ9M8WtnKsF5ONJlo+WJZAnEaMq9IACfd+Kt zUwsGtA20vq07GTRhEXxknY= =GhyI -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-current@FreeBSD.ORG Tue May 16 20:04:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEAC316A9B3 for ; Tue, 16 May 2006 20:04:37 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id F190A43D45 for ; Tue, 16 May 2006 20:04:34 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so4988nfb for ; Tue, 16 May 2006 13:04:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=spLZ37GtM2IF2NwBpoc4IkU9hKK618h5PR6W6pe7Mdx8gFAEbzySVnrUPJMdZrXBmjeXILbOx7URh/44h/1b//UDikpWtKw4hAY8TmqE1Yb6fYo0im8mDkdIcsYY93Lo2/KQoMggZttwgP5Erua63+Blqb/nlDUDBSCIcPKfiYY= Received: by 10.48.237.14 with SMTP id k14mr110565nfh; Tue, 16 May 2006 13:04:28 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id r33sm234780nfc.2006.05.16.13.04.24; Tue, 16 May 2006 13:04:28 -0700 (PDT) Date: Tue, 16 May 2006 23:04:00 +0300 From: Rostislav Krasny To: Marius Nuennerich Message-Id: <20060516230400.5178bcdf.rosti.bsd@gmail.com> In-Reply-To: <20060516202529.1d725675@sol> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 20:04:38 -0000 On Tue, 16 May 2006 20:25:29 +0200 Marius Nuennerich wrote: > On Tue, 16 May 2006 08:43:10 +0300 > Rostislav Krasny wrote: > > > On Tue, 16 May 2006 10:01:00 +1200 > > Andrew Turner wrote: > > > > > Rostislav Krasny wrote: > > > > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > > > > > > > I think this menu should be changed, so one could select not only the > > > > slice size but also where it begins. Ideally this should be defined by > > > > three numbers: 'start sector', 'end sector' and 'size in sectors'. > > > > Changing the 'size in sectors' should also change the 'end sector', and > > > > changing 'start sector' or 'end sector' should also change the 'size in > > > > sectors', automatically. > > > > > > > The start position is defined by the previous "partitions" (bsd slices) > > > on the disk. > > > I would like to change it to accept size in MB, GB, TB, etc. > > > > And if one wants to reserve some unallocated space at the beginning of > > the disk? I understand, you're trying to make partitioning a simple task > > but sometimes doing it by an advanced way may also be needed. One, who > > wants to partition the disk by the simple way, will use just the third > > number, i.e. the size (in sectors or in MB). > > Why not just use 16 sectors offset like bsdlabel -w does? What do you mean? I was talking about making BSD slices. From owner-freebsd-current@FreeBSD.ORG Tue May 16 20:31:33 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D757816A41B for ; Tue, 16 May 2006 20:31:33 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id F01E143D48 for ; Tue, 16 May 2006 20:31:32 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id C52D222DCA; Tue, 16 May 2006 22:31:31 +0200 (CEST) Date: Tue, 16 May 2006 22:31:31 +0200 From: Erwin Lansing To: current@FreeBSD.org Message-ID: <20060516203131.GD83847@droso.net> Mail-Followup-To: current@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1YSLKY9nNiKnepPi" Content-Disposition: inline X-Operating-System: FreeBSD/i386 5.4-RELEASE User-Agent: Mutt/1.5.11 Cc: Subject: __FreeBSD_version bump for alpha removal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 20:31:33 -0000 --1YSLKY9nNiKnepPi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Do I really getting that old and need some glasses, or am I missing a __FreeBSD_version bump for the removal of alpha? I'd be much obliged. Cheers, -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --1YSLKY9nNiKnepPi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEajajqy9aWxUlaZARAiKCAJ4xGXtEo2nx9PYLPFHqi+I52ve4NgCfXafX gttHuy1GwXGGu7EvyfRYJY0= =J+hL -----END PGP SIGNATURE----- --1YSLKY9nNiKnepPi-- From owner-freebsd-current@FreeBSD.ORG Tue May 16 20:51:41 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B97816A71E for ; Tue, 16 May 2006 20:51:41 +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 E227743D46 for ; Tue, 16 May 2006 20:51:40 +0000 (GMT) (envelope-from richardtector@thekeelecentre.com) Received: from localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 5902740BB for ; Tue, 16 May 2006 21:51:39 +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 pR2vth37Q7ce for ; Tue, 16 May 2006 21:51:26 +0100 (BST) Received: from [217.206.238.190] (host-190.thekeelecentre.com [217.206.238.190]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 51A2740BA for ; Tue, 16 May 2006 21:51:24 +0100 (BST) Message-ID: <446A3B51.7030202@thekeelecentre.com> Date: Tue, 16 May 2006 21:51:29 +0100 From: Richard Tector User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Broken Areca driver (arcmsr) - panic: bad stray interrupt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 20:51:41 -0000 I've recently tried to install the latest May 2006 snapshot of 7.0-CURRENT onto a dual P3 system. During the boot from the CD, a panic occured during the loading of the arcmsr driver which supports my Areca 1120 PCI-X raid controller. I don't currently have a serial console attached, but I shall try and get a full trace tomorrow. A change to break this must have occured in the last 2 or so months since this machine previously ran -CURRENT just fine around that period. arcmsr0 .... panic: bad stray interrupt Regards, Richard From owner-freebsd-current@FreeBSD.ORG Tue May 16 21:05:05 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA6A16A79F for ; Tue, 16 May 2006 21:05:05 +0000 (UTC) (envelope-from mohan_srinivasan@yahoo.com) Received: from web30809.mail.mud.yahoo.com (web30809.mail.mud.yahoo.com [68.142.200.152]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B0A343D64 for ; Tue, 16 May 2006 21:05:02 +0000 (GMT) (envelope-from mohan_srinivasan@yahoo.com) Received: (qmail 98286 invoked by uid 60001); 16 May 2006 21:05:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iBQU/btLyuSn4/MubZEbgWE5meFFTmkJxCwR23JIxQ8ysb95pBAp2ZSKfxorawInJVlEy6MRGJYk+gqgswbSa/E2aGLEFwSvX6KY9gItRAiR9MXkbd1jErXpNUM8qcU8Hg6lvWg8dPVXNloviNll9N3BG4IefA3w7RDN+SPhOG8= ; Message-ID: <20060516210501.98284.qmail@web30809.mail.mud.yahoo.com> Received: from [71.139.12.3] by web30809.mail.mud.yahoo.com via HTTP; Tue, 16 May 2006 14:05:01 PDT Date: Tue, 16 May 2006 14:05:01 -0700 (PDT) From: Mohan Srinivasan To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Testing needed - MPsafe NFS client... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:05:05 -0000 Hi, I've been working on changes to make the NFS client Giantless. Here is a link to the patch (against current as of yesterday). http://people.freebsd.org/~mohans/nfs-mpsafe.diff If you use NFS heavily, can you please test and send me bugs/feedback etc ? thanks mohan From owner-freebsd-current@FreeBSD.ORG Tue May 16 21:16:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 922B216A716 for ; Tue, 16 May 2006 21:16:10 +0000 (UTC) (envelope-from ricardo_bsd@yahoo.com.br) Received: from smtp102.mail.mud.yahoo.com (smtp102.mail.mud.yahoo.com [209.191.85.212]) by mx1.FreeBSD.org (Postfix) with SMTP id 2A2D943D45 for ; Tue, 16 May 2006 21:16:09 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: (qmail 41099 invoked from network); 16 May 2006 21:16:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Received:Date:To:Subject:From:Organization:Content-Type:MIME-Version:References:Content-Transfer-Encoding:Message-ID:In-Reply-To:User-Agent; b=h2Q8K+kh/4TBd9QNv7kpaNQh2OQOjm+oKyltC31nn3UAQTL5RfuuFANUvf2wkL9xSh97jnc82WVediSSTvglgsyUGQxWM5rLx9wXpM17hiFQ3TDM+/AEBvxVk/yT7T6FKbSm6h3TYVGrb5ttdySgiATRP/Wx5z09O0NjsQUxZH4= ; Received: from unknown (HELO localhost) (ricardo?bsd@201.1.118.111 with login) by smtp102.mail.mud.yahoo.com with SMTP; 16 May 2006 21:16:08 -0000 Date: Tue, 16 May 2006 18:15:53 -0300 To: "freebsd-current@freebsd.org" From: "Ricardo A. Reis" Organization: UNIFESP Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.00 (FreeBSD) Subject: Fwd: kldfind X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:16:13 -0000 ------- Forwarded message ------- From: "Ricardo A. Reis" To: "freebsd-stable@freebsd.org" Cc: Subject: kldfind Date: Tue, 16 May 2006 15:03:20 -0300 Hi all, I writed one script for find freebsd kernel modules, [ricardo@myfreebsd:~/kldfind] # ./kldfind usage: kldfind [-chs] string [ricardo@myfreebsd:~/kldfind] # ./kldfind -h Options: -c -- find all matchs for category -s -- string match [ricardo@myfreebsd:~/kldfind] # ./kldfind -c acpi >> Searching ... >> Resultes for /boot/kernel acpi_asus acpi_fujitsu acpi_ibm acpi_panasonic acpi_sony acpi_toshiba acpi_video acpi_dock [ricardo@myfreebsd:~/kldfind] # ./kldfind -s vlan >> Searching ... >> Resultes for /boot/kernel if_vlan ng_vlan Any feedback is very util, http://ricardo.epm.br/freebsd/script/ Ricardo A. Reis UNIFESP Unix and Network Admin _______________________________________________________ Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://br.info.mail.yahoo.com/ _______________________________________________ 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" -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________________ Novo Yahoo! Messenger com voz: Instale agora e faça ligações de graça. http://br.messenger.yahoo.com/ From owner-freebsd-current@FreeBSD.ORG Tue May 16 21:27:20 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A380A16AB3E; Tue, 16 May 2006 21:27:20 +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 3C97443D49; Tue, 16 May 2006 21:27:09 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (phjl5fieu4c84qqt@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4GLR8IO013153; Tue, 16 May 2006 14:27:08 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4GLR7xv013152; Tue, 16 May 2006 14:27:07 -0700 (PDT) (envelope-from jmg) Date: Tue, 16 May 2006 14:27:07 -0700 From: John-Mark Gurney To: Maxim Sobolev Message-ID: <20060516212707.GI65555@funkthat.com> Mail-Followup-To: Maxim Sobolev , Poul-Henning Kamp , "current@freebsd.org" References: <4468DC05.9080808@sippysoft.com> <4488.1147758036@critter.freebsd.dk> <20060516082406.GA32353@gk.360sip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060516082406.GA32353@gk.360sip.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 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: Poul-Henning Kamp , "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:27:24 -0000 Maxim Sobolev wrote this message on Tue, May 16, 2006 at 01:24 -0700: > Well, in my particular case I would like to experiment with > dynamic exporting of shared ELF objects from the kernel into > userspace. md(4) seems like a good fit, but dlopen(3) uses > mmap, so that it doesn't work OOB. There can be other uses > as well. Doing a seperate cdev that implements mmap is quite easy... For something like that it seems like you wouldn't need any of md's disk device features, would you? -- 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-current@FreeBSD.ORG Tue May 16 21:30:38 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D04C16AB99; Tue, 16 May 2006 21:30:38 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB8CB43D45; Tue, 16 May 2006 21:30:37 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 2F432170DE; Tue, 16 May 2006 21:30:35 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4GLUX3R027009; Tue, 16 May 2006 23:30:34 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John-Mark Gurney From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 16 May 2006 14:27:07 PDT." <20060516212707.GI65555@funkthat.com> Date: Tue, 16 May 2006 23:30:33 +0200 Message-ID: <27008.1147815033@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Maxim Sobolev , "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:30:41 -0000 In message <20060516212707.GI65555@funkthat.com>, John-Mark Gurney writes: >Maxim Sobolev wrote this message on Tue, May 16, 2006 at 01:24 -0700: >> Well, in my particular case I would like to experiment with >> dynamic exporting of shared ELF objects from the kernel into >> userspace. md(4) seems like a good fit, but dlopen(3) uses >> mmap, so that it doesn't work OOB. There can be other uses >> as well. > >Doing a seperate cdev that implements mmap is quite easy... > >For something like that it seems like you wouldn't need any of md's >disk device features, would you? I agree, md(4) will only get in the way of what is necessary. Look at the adlink driver, it is much closer to what you want. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Tue May 16 20:36:52 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C3616A436 for ; Tue, 16 May 2006 20:36:52 +0000 (UTC) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id F0D5B43D45 for ; Tue, 16 May 2006 20:36:51 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 16 May 2006 20:36:50 -0000 Received: from pD9ECC4D1.dip0.t-ipconnect.de (EHLO sol) [217.236.196.209] by mail.gmx.net (mp037) with SMTP; 16 May 2006 22:36:50 +0200 X-Authenticated: #5707313 Date: Tue, 16 May 2006 22:36:39 +0200 From: Marius Nuennerich To: Rostislav Krasny Message-ID: <20060516223639.0637dd0e@sol> In-Reply-To: <20060516230400.5178bcdf.rosti.bsd@gmail.com> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Mailman-Approved-At: Tue, 16 May 2006 22:06:25 +0000 Cc: freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 20:36:53 -0000 On Tue, 16 May 2006 23:04:00 +0300 Rostislav Krasny wrote: > On Tue, 16 May 2006 20:25:29 +0200 > Marius Nuennerich wrote: > > > On Tue, 16 May 2006 08:43:10 +0300 > > Rostislav Krasny wrote: > > > > > On Tue, 16 May 2006 10:01:00 +1200 > > > Andrew Turner wrote: > > > > > > > Rostislav Krasny wrote: > > > > > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > > > > > > > > > I think this menu should be changed, so one could select not only the > > > > > slice size but also where it begins. Ideally this should be defined by > > > > > three numbers: 'start sector', 'end sector' and 'size in sectors'. > > > > > Changing the 'size in sectors' should also change the 'end sector', and > > > > > changing 'start sector' or 'end sector' should also change the 'size in > > > > > sectors', automatically. > > > > > > > > > The start position is defined by the previous "partitions" (bsd slices) > > > > on the disk. > > > > I would like to change it to accept size in MB, GB, TB, etc. > > > > > > And if one wants to reserve some unallocated space at the beginning of > > > the disk? I understand, you're trying to make partitioning a simple task > > > but sometimes doing it by an advanced way may also be needed. One, who > > > wants to partition the disk by the simple way, will use just the third > > > number, i.e. the size (in sectors or in MB). > > > > Why not just use 16 sectors offset like bsdlabel -w does? > > What do you mean? I was talking about making BSD slices. Sorry, I misread that. I just noticed the bsdinstaller (just like sysinstall) creates no offset for the first bsd partition in a slice, whereas bsdlabel -w does. regards Marius From owner-freebsd-current@FreeBSD.ORG Tue May 16 22:18:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B23AC16A439 for ; Tue, 16 May 2006 22:18:15 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5084B43D7E for ; Tue, 16 May 2006 22:18:06 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so86319nzd for ; Tue, 16 May 2006 15:18:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k3Urpaxi5vQNb7BYIfftXOsQn+XtwExjPL1COimURg0s7Vzn9V/CD2lhnAZDkbOx4JbL5xRCUbcE20rH8wWhI5Np1LTg20zOGes7BBCDxXLJ0V6pxqYP6eco1YsXx7yaBb0GSeMuOeWW3uxtKOz/SzLy84hNeLMr+aX/DwkxzYQ= Received: by 10.65.214.10 with SMTP id r10mr107353qbq; Tue, 16 May 2006 15:18:06 -0700 (PDT) Received: by 10.65.154.3 with HTTP; Tue, 16 May 2006 15:18:06 -0700 (PDT) Message-ID: <7579f7fb0605161518q3e472dadk62479c9f79bf78b4@mail.gmail.com> Date: Tue, 16 May 2006 15:18:06 -0700 From: "Matthew Jacob" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: amd hangs with -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 22:18:21 -0000 I have a SuperMicro EM64T systems that just plain hangs after probing the root SATA drive with a kernel built from sources CVS pulled about an hour ago. If I boot with ACPI disabled, it gets a bit further, but still hangs trying to mount root. This is a system that otherwise worked perfectly built yesterday. Anyone else seeing this? From owner-freebsd-current@FreeBSD.ORG Wed May 17 00:59:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F9316A401 for ; Wed, 17 May 2006 00:59:13 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F8A643D48 for ; Wed, 17 May 2006 00:59:12 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.4/8.13.6) with ESMTP id k4H0xoRm049501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 16 May 2006 20:59:56 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-current@freebsd.org Date: Tue, 16 May 2006 20:59:27 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1523717.aT4U7C6mIh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605162059.37474.mistry.7@osu.edu> X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1466/Tue May 16 14:53:02 2006 on mail.united-ware.com X-Virus-Status: Clean Subject: ugen panic fixes in usb/97271 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 00:59:13 -0000 --nextPart1523717.aT4U7C6mIh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Would a commiter with some USB knowledge please take a look at the=20 patch in following PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D97271 iedowse hasn't returned any of my emails so I'm assuming he's just=20 busy. So if another commiter familiar with USB would take a look I'd=20 appreciate any feedback. Thanks, =2D-=20 Anish Mistry --nextPart1523717.aT4U7C6mIh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEanV5xqA5ziudZT0RAkz6AJ4pLoVg4Ed9zsGstHategYuP9P00QCbBP8z Bk4tI7OLVNiGUVDw0Hal+D0= =a8Uz -----END PGP SIGNATURE----- --nextPart1523717.aT4U7C6mIh-- From owner-freebsd-current@FreeBSD.ORG Wed May 17 01:36:01 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C5B916A400 for ; Wed, 17 May 2006 01:36:01 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEFAF43D4C for ; Wed, 17 May 2006 01:36:00 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-102-190.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.102.190]) by smtp01.lnh.mail.rcn.net with ESMTP; 16 May 2006 21:36:53 -0400 X-IronPort-AV: i="4.05,135,1146456000"; d="scan'208"; a="205305965:sNHT57209912" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17514.31786.202229.377484@jerusalem.litteratus.org> Date: Tue, 16 May 2006 21:28:10 -0400 To: freebsd-current@freebsd.org In-Reply-To: <44698AD9.1080505@micom.mng.net> References: <44698AD9.1080505@micom.mng.net> X-Mailer: VM 7.17 under 21.5 (beta26) "endive" XEmacs Lucid Subject: LOR problem (KDB: enter: witness_checkorder) in CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 01:36:01 -0000 Ganbold writes: > > gw# uname -an > FreeBSD gw.micom.mng.net 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue May 16 > 06:51:40 ULAST 2006 tsgan@gw.micom.mng.net:/usr/obj/usr/src/sys/GW i386 > > lock order reversal: > 1st 0xc1d8d090 inp (divinp) @ /usr/src/sys/netinet/ip_divert.c:336 > 2nd 0xc082ee58 PFil hook read/write mutex (PFil hook read/write mutex) Isn't this kern/86427? But thank you for answering a question which I'd been putting off asking: whether Robert Watson's mega-commit of a while back fixed this. Robert Huff From owner-freebsd-current@FreeBSD.ORG Wed May 17 00:29:26 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0E0516A404 for ; Wed, 17 May 2006 00:29:26 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from zig.murex.com (mail.murex.com [194.98.239.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A11943D46 for ; Wed, 17 May 2006 00:29:26 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from interscan.fr.murex.com (interscan.fr.murex.com [172.21.17.207] (may be forged)) by zig.murex.com with ESMTP id k4H0W0l9010255 for ; Wed, 17 May 2006 02:32:01 +0200 (CEST) Received: from mxmail.murex.com (interscan.murex.fr [127.0.0.1]) by interscan.fr.murex.com (8.11.6/8.11.6) with ESMTP id k4H186j01749 for ; Wed, 17 May 2006 03:08:07 +0200 Received: from [172.21.130.86] ([172.21.130.86]) by mxmail.murex.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 17 May 2006 02:28:53 +0200 From: Mikhail Teterin Organization: Virtual Estates, Inc. To: current@freebsd.org Date: Tue, 16 May 2006 20:28:52 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605162028.52627.mi+mx@aldan.algebra.com> X-OriginalArrivalTime: 17 May 2006 00:28:53.0590 (UTC) FILETIME=[E0641760:01C67948] X-Mailman-Approved-At: Wed, 17 May 2006 01:47:19 +0000 Cc: Subject: upgrading the gdb? ETA? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 00:29:27 -0000 Hello! The system gdb is still at 6.1.1 and the ports are even further behind. Are there any plans for an upgrade? In particular, the current gdb's output of SSE2 registers leaves much to be desired -- a problem fixed in 6.3. gdb-6.4 was released in December... Thanks! -mi From owner-freebsd-current@FreeBSD.ORG Wed May 17 02:26:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1268216A413 for ; Wed, 17 May 2006 02:26:56 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34BB643D49 for ; Wed, 17 May 2006 02:26:55 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so61728nzf for ; Tue, 16 May 2006 19:26:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tOnTAYSBdHCrz+8ueo7eWToGxMWPEkirN5wkF77LPEgUAHXVq/JxQPT7IL+GkERPYmuuxqKQgDc4O/f5ppP3MWzZSo/DrJVlaQ64Po/05Y+2H1CgH2h0GFT6bDRqHbuySuzB3GDddoUK2laYRSb8+0jP4GyaO/6b4rCiFVcIfjE= Received: by 10.37.13.52 with SMTP id q52mr282923nzi; Tue, 16 May 2006 19:26:54 -0700 (PDT) Received: by 10.36.60.19 with HTTP; Tue, 16 May 2006 19:26:54 -0700 (PDT) Message-ID: <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> Date: Tue, 16 May 2006 22:26:54 -0400 From: "Rong-en Fan" To: "Marius Nuennerich" In-Reply-To: <20060516223639.0637dd0e@sol> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> Cc: Rostislav Krasny , freebsd-current@freebsd.org, Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 02:26:56 -0000 On 5/16/06, Marius Nuennerich wrote: > On Tue, 16 May 2006 23:04:00 +0300 > Rostislav Krasny wrote: > > > On Tue, 16 May 2006 20:25:29 +0200 > > Marius Nuennerich wrote: > > > > > On Tue, 16 May 2006 08:43:10 +0300 > > > Rostislav Krasny wrote: > > > > > > > On Tue, 16 May 2006 10:01:00 +1200 > > > > Andrew Turner wrote: > > > > > > > > > Rostislav Krasny wrote: > > > > > > http://people.freebsd.org/~julian/bsdinstaller_install/16.png > > > > > > > > > > > > I think this menu should be changed, so one could select not on= ly the > > > > > > slice size but also where it begins. Ideally this should be def= ined by > > > > > > three numbers: 'start sector', 'end sector' and 'size in sector= s'. > > > > > > Changing the 'size in sectors' should also change the 'end sect= or', and > > > > > > changing 'start sector' or 'end sector' should also change the = 'size in > > > > > > sectors', automatically. > > > > > > > > > > > The start position is defined by the previous "partitions" (bsd s= lices) > > > > > on the disk. > > > > > I would like to change it to accept size in MB, GB, TB, etc. > > > > > > > > And if one wants to reserve some unallocated space at the beginning= of > > > > the disk? I understand, you're trying to make partitioning a simple= task > > > > but sometimes doing it by an advanced way may also be needed. One, = who > > > > wants to partition the disk by the simple way, will use just the th= ird > > > > number, i.e. the size (in sectors or in MB). > > > > > > Why not just use 16 sectors offset like bsdlabel -w does? > > > > What do you mean? I was talking about making BSD slices. > > Sorry, I misread that. > > I just noticed the bsdinstaller (just like sysinstall) creates no > offset for the first bsd partition in a slice, whereas bsdlabel -w > does. >From bsdlabel(8): The first partition should start at offset 16, because the first 16 sectors are reserved for metadata. I think BSDInstaller should change to not create first slice at offset 0. Regards, Rong-En Fan From owner-freebsd-current@FreeBSD.ORG Wed May 17 02:51:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 696D916A470 for ; Wed, 17 May 2006 02:51:25 +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 9AE8A43D5D for ; Wed, 17 May 2006 02:51:16 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4H2p0CG053734; Tue, 16 May 2006 20:51:05 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <446A8F94.6090501@samsco.org> Date: Tue, 16 May 2006 20:51:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikhail Teterin References: <200605162028.52627.mi+mx@aldan.algebra.com> In-Reply-To: <200605162028.52627.mi+mx@aldan.algebra.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: current@freebsd.org Subject: Re: upgrading the gdb? ETA? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 02:51:26 -0000 Mikhail Teterin wrote: > Hello! > > The system gdb is still at 6.1.1 and the ports are even further behind. > > Are there any plans for an upgrade? In particular, the current gdb's output of > SSE2 registers leaves much to be desired -- a problem fixed in 6.3. > > gdb-6.4 was released in December... Thanks! > > -mi Someone needs to step forward and do the work. It's a tremendous amount of work, btw. I'm very, very unhappy with the loss of functionality that we suffered at the hands of GDB6. The whole FSF development model of GDB seems like a complete trainwreck, and I certainly don't blame the people who last tried to hammer GDB into FreeBSD. Scott From owner-freebsd-current@FreeBSD.ORG Wed May 17 03:24:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F023316A400 for ; Wed, 17 May 2006 03:24:39 +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 F395943D46 for ; Wed, 17 May 2006 03:24:38 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FgCeA-0001S5-TT; Wed, 17 May 2006 12:24:27 +0900 Message-ID: <446A973A.8070806@micom.mng.net> Date: Wed, 17 May 2006 12:23:38 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Robert Huff References: <44698AD9.1080505@micom.mng.net> <17514.31786.202229.377484@jerusalem.litteratus.org> In-Reply-To: <17514.31786.202229.377484@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: LOR problem (KDB: enter: witness_checkorder) in CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 03:24:40 -0000 Robert Huff wrote: > Ganbold writes: > >> >> gw# uname -an >> FreeBSD gw.micom.mng.net 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue May 16 >> 06:51:40 ULAST 2006 tsgan@gw.micom.mng.net:/usr/obj/usr/src/sys/GW i386 >> >> lock order reversal: >> 1st 0xc1d8d090 inp (divinp) @ /usr/src/sys/netinet/ip_divert.c:336 >> 2nd 0xc082ee58 PFil hook read/write mutex (PFil hook read/write mutex) >> > > Isn't this kern/86427? > I don't think so. Ganbold > But thank you for answering a question which I'd been putting > off asking: whether Robert Watson's mega-commit of a while back > fixed this. > > > Robert Huff > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > From owner-freebsd-current@FreeBSD.ORG Wed May 17 05:25:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7F4C16A407 for ; Wed, 17 May 2006 05:25:43 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp107.biz.mail.re2.yahoo.com (smtp107.biz.mail.re2.yahoo.com [206.190.52.176]) by mx1.FreeBSD.org (Postfix) with SMTP id E20D843D5D for ; Wed, 17 May 2006 05:25:41 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 903 invoked from network); 17 May 2006 05:25:41 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp107.biz.mail.re2.yahoo.com with SMTP; 17 May 2006 05:25:41 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 7B0C96451; Wed, 17 May 2006 01:25:40 -0400 (EDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uscs5Iz0MmoK; Wed, 17 May 2006 01:25:39 -0400 (EDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 6B8E86429; Wed, 17 May 2006 01:25:39 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.6/8.13.6) with ESMTP id k4H5PcOs019804; Wed, 17 May 2006 01:25:39 -0400 (EDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <446AB3C9.9050000@alumni.rice.edu> Date: Wed, 17 May 2006 01:25:29 -0400 From: Jonathan Noack User-Agent: Thunderbird 1.5.0.2 (X11/20060422) MIME-Version: 1.0 To: Ken Smith References: <1147802229.13272.41.camel@opus.cse.buffalo.edu> In-Reply-To: <1147802229.13272.41.camel@opus.cse.buffalo.edu> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9F017C8D5D0CD8F2925C10FD" Cc: freebsd-current@freebsd.org, re@freebsd.org Subject: Re: May Monthly Snapshots X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 05:25:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9F017C8D5D0CD8F2925C10FD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/16/06 13:57, Ken Smith wrote: > The HEAD Monthly Snapshots for May are available now on the FTP mirrors= =2E > This month we changed the naming scheme used for the snapshots to > indicate more clearly what month the snapshots are for. The location o= f > the snapshots themselves on the FTP sites will now be numeric instead o= f > alphabetical to make sorting more "natural": >=20 > ftp://ftp.freebsd.org/snapshots/200605/ That returns a "550 No such directory." The following worked for me: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200605/ -Jonathan --=20 Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig9F017C8D5D0CD8F2925C10FD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEarPSUFz01pkdgZURAtT/AKCCnKrzeRluSe+Cra8RAyJoxwBDcwCgoAiR 1tOGMtbJFiBq+mCvgFm9F+s= =NtU/ -----END PGP SIGNATURE----- --------------enig9F017C8D5D0CD8F2925C10FD-- From owner-freebsd-current@FreeBSD.ORG Wed May 17 06:15:43 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 804FB16A403 for ; Wed, 17 May 2006 06:15:43 +0000 (UTC) (envelope-from lexa@wincmd.ru) Received: from kunnilinux.birulevo.net (kunnilinux.birulevo.net [195.54.208.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51E4F43D48 for ; Wed, 17 May 2006 06:15:41 +0000 (GMT) (envelope-from lexa@wincmd.ru) Received: (qmail 28851 invoked by uid 210); 17 May 2006 10:15:39 +0400 Received: from 10.4.22.222 by kunnilinux (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88.2/1467. spamassassin: 3.1.0. perlscan: 1.25st. Clear:RC:1(10.4.22.222):. Processed in 0.025799 secs); 17 May 2006 06:15:39 -0000 Received: from unknown (HELO ?192.0.0.1?) (10.4.22.222) by 0 with SMTP; 17 May 2006 10:15:39 +0400 Message-ID: <446ABF8A.9050206@wincmd.ru> Date: Wed, 17 May 2006 10:15:38 +0400 From: Tarasov Alexey User-Agent: Thunderbird 1.5.0.2 (X11/20060502) MIME-Version: 1.0 To: "Ricardo A. Reis" , current@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Fwd: kldfind X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 06:15:43 -0000 Hello Ricardo! I think it will be better if your utility displays short description for each kld module (from man page for example). Thanks, Best regards, Tarasov Alexey. Ricardo A. Reis wrote: > > ------- Forwarded message ------- > From: "Ricardo A. Reis" > To: "freebsd-stable@freebsd.org" > Cc: > Subject: kldfind > Date: Tue, 16 May 2006 15:03:20 -0300 > > > Hi all, > > > I writed one script for find freebsd kernel modules, > > > [ricardo@myfreebsd:~/kldfind] # ./kldfind > usage: kldfind [-chs] string > > [ricardo@myfreebsd:~/kldfind] # ./kldfind -h > Options: > -c -- find all matchs for category > -s -- string match > > [ricardo@myfreebsd:~/kldfind] # ./kldfind -c acpi >>> Searching ... > >>> Resultes for /boot/kernel > > acpi_asus > acpi_fujitsu > acpi_ibm > acpi_panasonic > acpi_sony > acpi_toshiba > acpi_video > acpi_dock > > [ricardo@myfreebsd:~/kldfind] # ./kldfind -s vlan >>> Searching ... > >>> Resultes for /boot/kernel > > if_vlan > ng_vlan > > Any feedback is very util, > > > http://ricardo.epm.br/freebsd/script/ > > Ricardo A. Reis > UNIFESP > Unix and Network Admin > > > _______________________________________________________ > Abra sua conta no Yahoo! Mail: 1GB de espac,o, alertas de e-mail no > celular e anti-spam realmente eficaz. > http://br.info.mail.yahoo.com/ > _______________________________________________ > 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" > > > > --Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > > _______________________________________________________Novo Yahoo! > Messenger com voz: Instale agora e fac,a ligac,o~es de > grac,a.http://br.messenger.yahoo.com/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > > > From owner-freebsd-current@FreeBSD.ORG Wed May 17 06:46:54 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A18AA16A412 for ; Wed, 17 May 2006 06:46:54 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id EE12043D46 for ; Wed, 17 May 2006 06:46:53 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 94776 invoked from network); 17 May 2006 06:46:52 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 17 May 2006 06:46:52 -0000 X-pair-Authenticated: 83.95.197.184 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.4/8.13.4) with ESMTP id k4H6kppR018720; Wed, 17 May 2006 08:46:51 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.4/8.13.4/Submit) id k4H6kpTr018719; Wed, 17 May 2006 08:46:51 +0200 (CEST) (envelope-from pho) Date: Wed, 17 May 2006 08:46:51 +0200 From: Peter Holm To: Mike Jakubik Message-ID: <20060517064651.GA18685@peter.osted.lan> References: <20060514230010.GA43247@peter.osted.lan> <20060516040525.GA82064@peter.osted.lan> <446A0C94.1020604@rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446A0C94.1020604@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: A threads related livelock? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 06:46:54 -0000 On Tue, May 16, 2006 at 01:32:04PM -0400, Mike Jakubik wrote: > Peter Holm wrote: > >On Mon, May 15, 2006 at 01:00:10AM +0200, Peter Holm wrote: > > > >>With GENERIC (+ QUOTA) HEAD from May 14 06:55 UTC I got this > >>livelock: > >>http://people.freebsd.org/~pho/stress/log/cons201.html > >> > > > >Here's a new one (with more clues, I hope) > >http://people.freebsd.org/~pho/stress/log/cons201a.html > > > > Peter, would you mind sharing the procedure for the stress test? I have > an SMP machine here with an up to date -CURRENT, might as well put it to > good use. That would be nice. Grab the (not quite up to date) source from http://people.freebsd.org/~pho/stress/src/stress2.tgz Build the tests and run them with fx. "./run.sh" or "./run.sh all.cfg". -- Peter Holm From owner-freebsd-current@FreeBSD.ORG Wed May 17 06:49:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3660816A404 for ; Wed, 17 May 2006 06:49:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ADB543D49 for ; Wed, 17 May 2006 06:49:29 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 1A98E170DE for ; Wed, 17 May 2006 06:49:27 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4H6nRGx029075 for ; Wed, 17 May 2006 08:49:27 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org From: Poul-Henning Kamp Date: Wed, 17 May 2006 08:49:27 +0200 Message-ID: <29074.1147848567@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Subject: HEADSUP: pcvt(4) going away X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 06:49:30 -0000 pcvt will be going away in order to make room for the rework of the /dev/console and tty unlocking that has been taking far too long to happen. As far as I can tell, pcvt hasn't worked for a very long time, and nobody has shown any inclination to fix it or to assist with the necessary structural changes to keep it compatible with -current. In these days and times, most people who care about the sematics of the video presentation run X11 anyway. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Wed May 17 06:56:05 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01AD916A414 for ; Wed, 17 May 2006 06:56:05 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A40743D46 for ; Wed, 17 May 2006 06:56:04 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 43941 invoked from network); 17 May 2006 06:56:03 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 17 May 2006 06:56:03 -0000 X-pair-Authenticated: 83.95.197.184 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.4/8.13.4) with ESMTP id k4H6u2Xe018775 for ; Wed, 17 May 2006 08:56:02 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.4/8.13.4/Submit) id k4H6u2pp018774 for current@freebsd.org; Wed, 17 May 2006 08:56:02 +0200 (CEST) (envelope-from pho) Date: Wed, 17 May 2006 08:56:02 +0200 From: Peter Holm To: current@freebsd.org Message-ID: <20060517065602.GA18731@peter.osted.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: panic: ffs_valloc: dup alloc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 06:56:05 -0000 While stress testing GENERIC (+ QUOTA) HEAD from May 14 06:55 UTC I got this panic: mode = 040770, inum = 193745, fs = /tmp panic: ffs_valloc: dup alloc cpuid = 3 KDB: enter: panic [thread pid 18041 tid 100219 ] Stopped at kdb_enter+0x2b: nop db> where Tracing pid 18041 tid 100219 td 0xc43dd510 kdb_enter(c0907dc2) at kdb_enter+0x2b panic(c091ef1c,c091eefb,41f8,2f4d1,c382c0d4) at panic+0x14b ffs_valloc(c51f1924,81b0,c3e61480,e66ce880,c4dc1618) at ffs_valloc+0x152 ufs_makeinode(81b0,c51f1924,e66ceb90,e66ceba4) at ufs_makeinode+0x4e ufs_create(e66cea14,0,e66ceb7c,e66cead0,c06f7258) at ufs_create+0x25 VOP_CREATE_APV(c09c23a0,e66cea14) at VOP_CREATE_APV+0x7e vn_open_cred(e66ceb7c,e66cec7c,1b0,c3e61480,3) at vn_open_cred+0x1c0 vn_open(e66ceb7c,e66cec7c,1b0,3,0) at vn_open+0x1e kern_open(c43dd510,bfbfe720,0,602,1b0) at kern_open+0xb9 open(c43dd510,e66ced04,e66ceccc,c069896c,c43dd510) at open+0x18 syscall(2805003b,bfbf003b,bfbf003b,2805188c,bfbfe8f0) at syscall+0x27e More info at http://people.freebsd.org/~pho/stress/log/cons202.html -- Peter Holm From owner-freebsd-current@FreeBSD.ORG Wed May 17 06:59:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A0A16A419 for ; Wed, 17 May 2006 06:59:08 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5043D49 for ; Wed, 17 May 2006 06:59:06 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3598A52DE6; Wed, 17 May 2006 08:59:05 +0200 (CEST) Received: from localhost (dkp162.neoplus.adsl.tpnet.pl [83.24.19.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5F57850E82; Wed, 17 May 2006 08:58:56 +0200 (CEST) Date: Wed, 17 May 2006 08:57:02 +0200 From: Pawel Jakub Dawidek To: Rong-en Fan Message-ID: <20060517065702.GC96341@garage.freebsd.pl> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xo44VMWPx7vlQ2+2" Content-Disposition: inline In-Reply-To: <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: Rostislav Krasny , freebsd-current@freebsd.org, Marius Nuennerich , Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 06:59:11 -0000 --xo44VMWPx7vlQ2+2 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 16, 2006 at 10:26:54PM -0400, Rong-en Fan wrote: +> >From bsdlabel(8): +>=20 +> The first partition should start at offset 16, because the first 16 +> sectors are reserved for metadata. +>=20 +> I think BSDInstaller should change to not create first slice at offset 0. Grrr!!! DEFINITELY! Please, first partition at offset 16. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --xo44VMWPx7vlQ2+2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEask+ForvXbEpPzQRApBnAKDV5+RKUdtqC8sqKniPjnAOtaQLCACfZQ+1 tmaQvR8r/TIRBevdUCDSJVg= =fVw/ -----END PGP SIGNATURE----- --xo44VMWPx7vlQ2+2-- From owner-freebsd-current@FreeBSD.ORG Wed May 17 07:35:11 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14DF916A400; Wed, 17 May 2006 07:35:10 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84CEF43D55; Wed, 17 May 2006 07:35:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 179A91FFB21; Wed, 17 May 2006 09:35:09 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 9C0AC1FFACB; Wed, 17 May 2006 09:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id C143F4448D6; Wed, 17 May 2006 07:32:12 +0000 (UTC) Date: Wed, 17 May 2006 07:32:12 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Erwin Lansing In-Reply-To: <20060516203131.GD83847@droso.net> Message-ID: <20060517073119.S54242@maildrop.int.zabbadoz.net> References: <20060516203131.GD83847@droso.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: FreeBSD current mailing list Subject: Re: __FreeBSD_version bump for alpha removal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 07:35:11 -0000 On Tue, 16 May 2006, Erwin Lansing wrote: Hi, > Do I really getting that old and need some glasses, or am I missing a > __FreeBSD_version bump for the removal of alpha? I'd be much obliged. there should be one from ip6fw removal that happened same time. Perhaps document it for both? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-current@FreeBSD.ORG Wed May 17 07:45:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8958716A53A for ; Wed, 17 May 2006 07:45:49 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A90E43D45 for ; Wed, 17 May 2006 07:45:48 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so74106nfb for ; Wed, 17 May 2006 00:45:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=pikV1DGJT8SQJFoXUNGFOcKD6vJeElIaWGf0lellFINbJsepzKmMXtgNNrg8OlXMhSlbgRVToHVaBbJG78hW1vKMZ171GcQaLXS5OvFf3sgzfEMs1HH9Fxuu+0fJJX5fLVbXFQExHnuLVvpZ2GewpA3aICzGBh5XXcqpND0R+dc= Received: by 10.48.161.5 with SMTP id j5mr483134nfe; Wed, 17 May 2006 00:45:47 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id l38sm1787595nfc.2006.05.17.00.45.43; Wed, 17 May 2006 00:45:46 -0700 (PDT) Date: Wed, 17 May 2006 10:45:31 +0300 From: Rostislav Krasny To: Pawel Jakub Dawidek Message-Id: <20060517104531.ee66f23e.rosti.bsd@gmail.com> In-Reply-To: <20060517065702.GC96341@garage.freebsd.pl> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> <20060517065702.GC96341@garage.freebsd.pl> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: marius.nuennerich@gmx.net, freebsd-current@freebsd.org, grafan@gmail.com, andrew@fubar.geek.nz Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 07:45:49 -0000 On Wed, 17 May 2006 08:57:02 +0200 Pawel Jakub Dawidek wrote: > On Tue, May 16, 2006 at 10:26:54PM -0400, Rong-en Fan wrote: > +> >From bsdlabel(8): > +> > +> The first partition should start at offset 16, because the first 16 > +> sectors are reserved for metadata. > +> > +> I think BSDInstaller should change to not create first slice at offset 0. ^^^^^ Yet another "bsd slice" / "bsd partition" confusion? :-) > > Grrr!!! DEFINITELY! Please, first partition at offset 16. Interesting. Sysinstall makes the first "a" partition on a slice at offset 0 and FreeBSD works properly. What is this metadata on those first 16 sectors of a slice and when this metadata is really used? From owner-freebsd-current@FreeBSD.ORG Wed May 17 07:59:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5D6B16A404 for ; Wed, 17 May 2006 07:59:45 +0000 (UTC) (envelope-from current@dino.sk) Received: from mail.netlab.sk (mail.netlab.sk [213.215.72.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E676043D70 for ; Wed, 17 May 2006 07:59:43 +0000 (GMT) (envelope-from current@dino.sk) Received: from [192.168.16.13] (home.dino.sk [213.215.74.194]) (AUTH: PLAIN milan@netlab.sk, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mail.netlab.sk with esmtp; Wed, 17 May 2006 10:05:06 +0200 id 00289C12.446AD932.0001693E From: Milan Obuch To: freebsd-current@freebsd.org Date: Wed, 17 May 2006 09:59:32 +0200 User-Agent: KMail/1.9.1 References: <200605160920.33323.current@dino.sk> <20060516085912.GA88689@walton.maths.tcd.ie> In-Reply-To: <20060516085912.GA88689@walton.maths.tcd.ie> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605170959.33082.current@dino.sk> Subject: Re: Weird thing - pciconf reading differs in two systems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 07:59:45 -0000 On Tuesday 16 May 2006 10:59, David Malone wrote: > On Tue, May 16, 2006 at 09:20:32AM +0200, Milan Obuch wrote: > > This makes me wonder - how could the same card be identified as two > > different devices? I tested the same card, then another one and the > > result is the same. Working in my tablet, not working in WRAP. There is > > one difference, however - kernel in WRAP has ath built-in, in my tablet I > > am kldloading it. > > Could be loose connections in the WRAP - if some of the pins are not > connected properly that could result in 0xff showing up in various > places (or worse). > > David. > I do not think it's the case. I did test it with two boards, in three slots. Were it loose connector, it would not be for any combination of card/slot on WRAP, but not else. I will try it once more, on some other machine/other boards and we'll see the result. Milan -- No need to mail me directly. Just reply to mailing list, please. From owner-freebsd-current@FreeBSD.ORG Wed May 17 08:40:09 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 583D316A416 for ; Wed, 17 May 2006 08:40:09 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 827A943D49 for ; Wed, 17 May 2006 08:40:07 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.6/8.13.3) with ESMTP id k4H8dwHj065911 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 17 May 2006 10:39:58 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.6/8.13.3/Submit) id k4H8dvEm065910 for current@freebsd.org; Wed, 17 May 2006 10:39:57 +0200 (CEST) Date: Wed, 17 May 2006 10:39:56 +0200 From: Divacky Roman To: current@freebsd.org Message-ID: <20060517083956.GA65735@stud.fit.vutbr.cz> References: <200605162028.52627.mi+mx@aldan.algebra.com> <446A8F94.6090501@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446A8F94.6090501@samsco.org> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: Subject: Re: upgrading the gdb? ETA? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 08:40:09 -0000 On Tue, May 16, 2006 at 08:51:00PM -0600, Scott Long wrote: > Mikhail Teterin wrote: > > >Hello! > > > >The system gdb is still at 6.1.1 and the ports are even further behind. > > > >Are there any plans for an upgrade? In particular, the current gdb's > >output of SSE2 registers leaves much to be desired -- a problem fixed in > >6.3. > > > >gdb-6.4 was released in December... Thanks! > > > > -mi > > Someone needs to step forward and do the work. It's a tremendous amount > of work, btw. I'm very, very unhappy with the loss of functionality > that we suffered at the hands of GDB6. The whole FSF development model > of GDB seems like a complete trainwreck, and I certainly don't blame the > people who last tried to hammer GDB into FreeBSD. even worse is that we lost capability to attach to running process: (gdb) attach 24745 Attaching to process 24745 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) From owner-freebsd-current@FreeBSD.ORG Wed May 17 08:59:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 467C016A403 for ; Wed, 17 May 2006 08:59:19 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46D5743D45 for ; Wed, 17 May 2006 08:59:17 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id ADCEC52DE8; Wed, 17 May 2006 10:59:16 +0200 (CEST) Received: from localhost (ana50.internetdsl.tpnet.pl [83.17.82.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1BE6E52DE6; Wed, 17 May 2006 10:59:11 +0200 (CEST) Date: Wed, 17 May 2006 10:57:20 +0200 From: Pawel Jakub Dawidek To: Rostislav Krasny Message-ID: <20060517085720.GA98040@garage.freebsd.pl> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> <20060517065702.GC96341@garage.freebsd.pl> <20060517104531.ee66f23e.rosti.bsd@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20060517104531.ee66f23e.rosti.bsd@gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: marius.nuennerich@gmx.net, freebsd-current@freebsd.org, grafan@gmail.com, andrew@fubar.geek.nz Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 08:59:19 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 17, 2006 at 10:45:31AM +0300, Rostislav Krasny wrote: +> On Wed, 17 May 2006 08:57:02 +0200 +> Pawel Jakub Dawidek wrote: +>=20 +> > On Tue, May 16, 2006 at 10:26:54PM -0400, Rong-en Fan wrote: +> > +> >From bsdlabel(8): +> > +>=20 +> > +> The first partition should start at offset 16, because the first 16 +> > +> sectors are reserved for metadata. +> > +>=20 +> > +> I think BSDInstaller should change to not create first slice at off= set 0. +> ^^^^^ +> Yet another "bsd slice" / "bsd partition" confusion? :-) +>=20 +> >=20 +> > Grrr!!! DEFINITELY! Please, first partition at offset 16. +>=20 +> Interesting. Sysinstall makes the first "a" partition on a slice at +> offset 0 and FreeBSD works properly. What is this metadata on those +> first 16 sectors of a slice and when this metadata is really used? What?! You only think it works properly. It doesn't. UFS works on such partition, because UFS has a hack to skip first 16 sectors. Swap works on such partition, because swap code has a hack to skip first 16 sectors. Try to encrypt partition which starts at offset 16 with geli(8) or gbde(8). Try to concatenate or stripe two partitions that start at offset 16. The former will destroy your metadata (at least it did so, not sure if you won't get EPERM now). The latter will return EPERM when you try to access data in the middle of your concat device or at the begining of you stripped device. Many evil things can happen, belive me. Using offset 0 and making metadata visible from usable partition is BAD. Period. Ok, I hope it is clear now:) PS. What ever you do, don't treat sysinstall as an example of how to do things right. It is ten years old and some things have changed over the time. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEauVwForvXbEpPzQRAuWwAKCvYg+GOkTCVPW7tf+TZXqHWroTQwCeKMO1 sq90cW7mu/lfdO0vuzS2yTI= =yM3c -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-current@FreeBSD.ORG Wed May 17 09:46:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FFDE16A408 for ; Wed, 17 May 2006 09:46:50 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35D8143D5A for ; Wed, 17 May 2006 09:46:47 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so89459nfb for ; Wed, 17 May 2006 02:46:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=gY7VJMlcZNwYugpjSrfT/0N/ohP1XXSaQPbZHwEvIjb+DMgCOdJi+VVBUkrVJaPMSOAJA3u3R050Hl5pjAgRwO9tCWsTl50plHrmz9GBv78uD5AkPNafVHzXflFs+L7k2a0ozu3hISyC5A5AgYm50PbHD+FGq2Xeejlvk6TGf68= Received: by 10.49.55.6 with SMTP id h6mr565340nfk; Wed, 17 May 2006 02:46:41 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id x1sm864772nfb.2006.05.17.02.46.38; Wed, 17 May 2006 02:46:40 -0700 (PDT) Date: Wed, 17 May 2006 12:46:41 +0300 From: Rostislav Krasny To: Pawel Jakub Dawidek Message-Id: <20060517124641.be537443.rosti.bsd@gmail.com> In-Reply-To: <20060517085720.GA98040@garage.freebsd.pl> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> <20060517065702.GC96341@garage.freebsd.pl> <20060517104531.ee66f23e.rosti.bsd@gmail.com> <20060517085720.GA98040@garage.freebsd.pl> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: marius.nuennerich@gmx.net, freebsd-current@freebsd.org, grafan@gmail.com, andrew@fubar.geek.nz Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 09:46:50 -0000 On Wed, 17 May 2006 10:57:20 +0200 Pawel Jakub Dawidek wrote: > On Wed, May 17, 2006 at 10:45:31AM +0300, Rostislav Krasny wrote: > +> On Wed, 17 May 2006 08:57:02 +0200 > +> Pawel Jakub Dawidek wrote: > +> > +> > On Tue, May 16, 2006 at 10:26:54PM -0400, Rong-en Fan wrote: > +> > +> >From bsdlabel(8): > +> > +> > +> > +> The first partition should start at offset 16, because the first 16 > +> > +> sectors are reserved for metadata. > +> > +> > +> > +> I think BSDInstaller should change to not create first slice at offset 0. > +> ^^^^^ > +> Yet another "bsd slice" / "bsd partition" confusion? :-) > +> > +> > > +> > Grrr!!! DEFINITELY! Please, first partition at offset 16. > +> > +> Interesting. Sysinstall makes the first "a" partition on a slice at > +> offset 0 and FreeBSD works properly. What is this metadata on those > +> first 16 sectors of a slice and when this metadata is really used? > > What?! You only think it works properly. It doesn't. > UFS works on such partition, because UFS has a hack to skip first 16 > sectors. Swap works on such partition, because swap code has a hack to > skip first 16 sectors. > > Try to encrypt partition which starts at offset 16 with geli(8) or > gbde(8). Try to concatenate or stripe two partitions that start at > offset 16. > The former will destroy your metadata (at least it did so, not sure if > you won't get EPERM now). The latter will return EPERM when you try to > access data in the middle of your concat device or at the begining of > you stripped device. > Many evil things can happen, belive me. Using offset 0 and making > metadata visible from usable partition is BAD. Period. > > Ok, I hope it is clear now:) Certainly. I'm only wondering now, why it wasn't fixed in sysinstall during so many years? And had those hacks in UFS and Swap been made because of sysinstall or because of something else? By the way, how could one change offset of first bsd partitions on already installed FreeBSD without destroying it? > PS. What ever you do, don't treat sysinstall as an example of how to do > things right. It is ten years old and some things have changed over > the time. I just thought I can trust the official installer with partitioning the slices. From owner-freebsd-current@FreeBSD.ORG Wed May 17 09:49:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5C5016A44C for ; Wed, 17 May 2006 09:49:14 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC4AC43D49 for ; Wed, 17 May 2006 09:49:13 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 1766422DE7; Wed, 17 May 2006 11:49:12 +0200 (CEST) Date: Wed, 17 May 2006 11:49:12 +0200 From: Erwin Lansing To: freebsd-current@freebsd.org Message-ID: <20060517094911.GM83847@droso.net> Mail-Followup-To: freebsd-current@freebsd.org References: <20060516203131.GD83847@droso.net> <20060517073119.S54242@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h85LGMdA0M9ASxa6" Content-Disposition: inline In-Reply-To: <20060517073119.S54242@maildrop.int.zabbadoz.net> X-Operating-System: FreeBSD/i386 5.4-RELEASE User-Agent: Mutt/1.5.11 Subject: Re: __FreeBSD_version bump for alpha removal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 09:49:14 -0000 --h85LGMdA0M9ASxa6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 17, 2006 at 07:32:12AM +0000, Bjoern A. Zeeb wrote: > On Tue, 16 May 2006, Erwin Lansing wrote: >=20 > Hi, >=20 > >Do I really getting that old and need some glasses, or am I missing a > >__FreeBSD_version bump for the removal of alpha? I'd be much obliged. >=20 > there should be one from ip6fw removal that happened same time. > Perhaps document it for both? >=20 That would work for me. It's the best we can do now. -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --h85LGMdA0M9ASxa6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEavGXqy9aWxUlaZARAvMJAKDnS0/wD712kdwF04yKAsg9CqcFjwCg5Yv4 JBBN0zkXLE2J3+WnQYssrvg= =UuiV -----END PGP SIGNATURE----- --h85LGMdA0M9ASxa6-- From owner-freebsd-current@FreeBSD.ORG Wed May 17 12:19:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A97516A42B for ; Wed, 17 May 2006 12:19:47 +0000 (UTC) (envelope-from sg@astral.ntu-kpi.kiev.ua) Received: from relay-hostels.ntu-kpi.kiev.ua (relay-hostels.ntu-kpi.kiev.ua [195.245.194.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D11C43D4C for ; Wed, 17 May 2006 12:19:45 +0000 (GMT) (envelope-from sg@astral.ntu-kpi.kiev.ua) Received: from relay-hostels.ntu-kpi.kiev.ua (localhost [127.0.0.1]) by relay-hostels.ntu-kpi.kiev.ua (Postfix) with ESMTP id 185D043E2CC for ; Wed, 17 May 2006 15:19:44 +0300 (EEST) Received: from astral.ntu-kpi.kiev.ua (if100Mbit.astral.ntu-kpi.kiev.ua [10.100.0.141]) by relay-hostels.ntu-kpi.kiev.ua (Postfix) with ESMTP id E94A443E2DA for ; Wed, 17 May 2006 15:19:43 +0300 (EEST) Received: from astral.ntu-kpi.kiev.ua (localhost [127.0.0.1]) by astral.ntu-kpi.kiev.ua (Postfix) with ESMTP id 640B44AE17 for ; Wed, 17 May 2006 15:20:36 +0300 (EEST) Received: by astral.ntu-kpi.kiev.ua (Postfix, from userid 1008) id 480234AE15; Wed, 17 May 2006 15:20:36 +0300 (EEST) Date: Wed, 17 May 2006 15:20:36 +0300 From: "Alexander I. Mogilny" To: freebsd-current@freebsd.org Message-ID: <20060517122036.GA55530@astral.ntu-kpi.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.11 X-AV-Checked: ClamAV using ClamSMTP X-Virus-Scanned: ClamAV using ClamSMTP at relay-hostels.ntu-kpi.kiev.ua Subject: update to RELENG_6 fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 12:19:47 -0000 Hello to everybody. I get following error while upgrade from 5.3 or 6.0 to RELENG_6: /usr/src/obj/usr/bin/ld: cannot find -lc This error occurs when building libmagic library. I do not put here exact build error message but if you need this I will. I tried to delete /usr/obj directory but no use. Do you have any ideas how to fix this? Thanks. -- AIM-UANIC +-----[ FreeBSD ]-----+ Alexander Mogilny | The Power to Serve! | <> sg@portaone.com +---------------------+ From owner-freebsd-current@FreeBSD.ORG Wed May 17 12:23:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABD8E16A4BF for ; Wed, 17 May 2006 12:23:58 +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 11DA143D46 for ; Wed, 17 May 2006 12:23:57 +0000 (GMT) (envelope-from richardtector@thekeelecentre.com) Received: from localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) by mx0.thekeelecentre.com (Postfix) with ESMTP id E824140C7 for ; Wed, 17 May 2006 13:23:56 +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 KespOpBD-gC3; Wed, 17 May 2006 13:23:44 +0100 (BST) Received: from [217.206.238.190] (host-190.thekeelecentre.com [217.206.238.190]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 630D040BA; Wed, 17 May 2006 13:23:44 +0100 (BST) Message-ID: <446B15D6.4030309@thekeelecentre.com> Date: Wed, 17 May 2006 13:23:50 +0100 From: Richard Tector User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Richard Tector References: <446A3B51.7030202@thekeelecentre.com> In-Reply-To: <446A3B51.7030202@thekeelecentre.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Broken Areca driver (arcmsr) - panic: bad stray interrupt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 12:24:04 -0000 Richard Tector wrote: > I've recently tried to install the latest May 2006 snapshot of > 7.0-CURRENT onto a dual P3 system. During the boot from the CD, a > panic occured during the loading of the arcmsr driver which supports > my Areca 1120 PCI-X raid controller. I don't currently have a serial > console attached, but I shall try and get a full trace tomorrow. > > A change to break this must have occured in the last 2 or so months > since this machine previously ran -CURRENT just fine around that period. > As promised, a copy of the boot and the trace. Regards, Richard OK boot /boot/kernel/acpi.ko text=0x43cdc data=0x24a0+0xff0 syms=[0x4+0x7c20+0x4+0xa8c8] GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2006 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 7.0-CURRENT-200605 #0: Fri May 12 01:31:00 UTC 2006 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (1000.04-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x387fbff real memory = 1073676288 (1023 MB) avail memory = 1033162752 (985 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI-0728: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [IO__] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [OSB4] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0728: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 fxp0: port 0xb400-0xb43f mem 0xfe9fd000-0xfe9fdfff,0xfe800000-0xfe8fffff irq 20 at device 2.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:e0:18:03:be:99 vgapci0: port 0xb800-0xb8ff mem 0xfd000000-0xfdffffff,0xfe9ff000-0xfe9fffff at device 7.0 on pc i0 isab0: port 0x580-0x58f at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 15.1 on pci0 ata0: on atapci0 ata1: on atapci0 ohci0: mem 0xfe9fe000-0xfe9fefff irq 10 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 4 ports with 4 removable, self powered pcib1: on acpi0 pci1: on pcib1 em0: port 0xee80-0xeebf mem 0xfeba0000-0xfebbffff irq 21 at devic e 2.0 on pci1 em0: Ethernet address: 00:04:23:a7:18:4e em0: [FAST] em1: port 0xef00-0xef3f mem 0xfebc0000-0xfebdffff irq 31 at devic e 2.1 on pci1 em1: Ethernet address: 00:04:23:a7:18:4f em1: [FAST] pcib2: at device 3.0 on pci1 pci2: on pcib2 arcmsr0: mem 0xfc3ff000-0xfc3fffff irq 31 at device 14.0 on pci2 panic: bad stray interrupt cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x2b: nop db> tr Tracing pid 0 tid 0 td 0xc09f51d8 kdb_enter(c090a6d2) at kdb_enter+0x2b panic(c092f797,1,c09f51d8,c09f51d8,c186c708) at panic+0x127 intr_execute_handlers(c3c05250,c14206c0,1f,c1420704,c08712c3) at intr_execute_handlers+0x129 lapic_handle_intr(36) at lapic_handle_intr+0x30 Xapic_isr1() at Xapic_isr1+0x33 --- interrupt, eip = 0xc087aef7, esp = 0xc1420700, ebp = 0xc1420704 --- spinlock_exit(c0a4326c,c1420750,c06b6b92,c09fcb74,0) at spinlock_exit+0x27 _mtx_unlock_spin_flags(c09fcb74,0,c090e897,3a1,c06b67fc) at _mtx_unlock_spin_flags+0x9d witness_checkorder(c186c708,9,c09250e8,731) at witness_checkorder+0x28a _mtx_lock_flags(c186c708,0,c09250e8,731,10) at _mtx_lock_flags+0x6b uma_zalloc_arg(c186a960,0,102) at uma_zalloc_arg+0xd9 malloc(10,c09aeca0,102,138,c3c05214) at malloc+0xb2 ithread_create(c0907a4e,c3c0ddb8,0,c0907a02,17b) at ithread_create+0x19 intr_event_add_handler(c3c0dd80,c3da47b0,c083d490,c3dcf000,14) at intr_event_add_handler+0x1a6 intr_add_handler(c3da47b0,1f,c083d490,c3dcf000,8) at intr_add_handler+0x43 nexus_setup_intr(c3c72380,c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at nexus_setup_intr+0x66 bus_generic_setup_intr(c3d24480,c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at bus_generic_setup_intr+0x76 bus_generic_setup_intr(c3d2d600,c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at bus_generic_setup_intr+0x76 bus_generic_setup_intr(c3d3c680,c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at bus_generic_setup_intr+0x76 bus_generic_setup_intr(c3db7700,c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at bus_generic_setup_intr+0x76 bus_generic_setup_intr(c3d3da00,c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at bus_generic_setup_intr+0x76 bus_setup_intr(c3d3d900,c3dbc800,8,c083d490,c3dcf000,c3dcf02c) at bus_setup_intr+0x99 arcmsr_attach(c3d3d900) at arcmsr_attach+0x7b device_attach(c3d3d900,e,c3d3d900,c3d3da00,c3d3da00) at device_attach+0x58 device_probe_and_attach(c3d3d900) at device_probe_and_attach+0xe0 bus_generic_attach(c3d3da00,c3d3da00,2,7c,2) at bus_generic_attach+0x16 pci_attach(c3d3da00) at pci_attach+0x7f device_attach(c3d3da00,c1420b28,c3d3da00,c3db7700,0) at device_attach+0x58 device_probe_and_attach(c3d3da00) at device_probe_and_attach+0xe0 bus_generic_attach(c3db7700,c3db7700,c1420b54,c06a8244,c3db7700) at bus_generic_attach+0x16 pcib_attach(c3db7700) at pcib_attach+0x39 device_attach(c3db7700,c3c5b320,c3db7700,c3d3c680,0) at device_attach+0x58 device_probe_and_attach(c3db7700) at device_probe_and_attach+0xe0 bus_generic_attach(c3d3c680,6,c3c5b320,1,c0fd8eec) at bus_generic_attach+0x16 acpi_pci_attach(c3d3c680) at acpi_pci_attach+0xd0 device_attach(c3d3c680,c3d16f38,c3d3c680,0,c3d2d600) at device_attach+0x58 device_probe_and_attach(c3d3c680) at device_probe_and_attach+0xe0 bus_generic_attach(c3d2d600,c3d2d600,c3d522c0,c3c5b320,c3d522c0) at bus_generic_attach+0x16 acpi_pcib_attach(c3d2d600,c3d522d4,1,0,1d24480) at acpi_pcib_attach+0x12f acpi_pcib_acpi_attach(c3d2d600) at acpi_pcib_acpi_attach+0xcf device_attach(c3d2d600,c1420c88,c3d2d600,c3d2c640,c3d24480) at device_attach+0x58 device_probe_and_attach(c3d2d600) at device_probe_and_attach+0xe0 bus_generic_attach(c3d24480,58f,580,c3d2e1a8,4) at bus_generic_attach+0x16 acpi_attach(c3d24480) at acpi_attach+0x596 device_attach(c3d24480,0,c3d24480,c3c72380,0) at device_attach+0x58 device_probe_and_attach(c3d24480) at device_probe_and_attach+0xe0 bus_generic_attach(c3c72380,c3c72380,c3c72380,c1420d40,c06a8244) at bus_generic_attach+0x16 nexus_attach(c3c72380) at nexus_attach+0x13 device_attach(c3c72380,c06b31f2,c3c72380,c09c6190,1428000) at device_attach+0x58 device_probe_and_attach(c3c72380) at device_probe_and_attach+0xe0 root_bus_configure(c1420d88,c0667572,0,141ec00,141e000) at root_bus_configure+0x16 configure(0,141ec00,141e000,0,c04508f5) at configure+0x9 mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> From owner-freebsd-current@FreeBSD.ORG Wed May 17 12:37:14 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4D3416A40D; Wed, 17 May 2006 12:37:14 +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 F1C4343D70; Wed, 17 May 2006 12:37:13 +0000 (GMT) (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 7B5F346D08; Wed, 17 May 2006 08:37:13 -0400 (EDT) Date: Wed, 17 May 2006 13:37:13 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org, arch@FreeBSD.org Message-ID: <20060517133617.W69235@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: My slides from BSDCan2006, FreeBSD Developer Summit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 12:37:18 -0000 For those interested: http://www.watson.org/~robert/freebsd/2006bsdcan/ 20060511-devsummit-network-cabal-summary.pdf - Notes from the 10 May 2006 Meeting of the Network Stack Cabal (Developer Summit) 20060511-devsummit-smpng-network-summary.pdf - SMPng Network Stack Update (Developer Summit) 20060511-devsummit-trustedbsd-mac-framework-retrofit.pdf - TrustedBSD Project Update (Developer Summit) 20060512-bsdcan2006-how-freebsd-works.pdf - How the FreeBSD Project Works (BSDCan 2006 Full Conference) Robert N M Watson From owner-freebsd-current@FreeBSD.ORG Wed May 17 14:14:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC46416A579 for ; Wed, 17 May 2006 14:14:42 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9879F43D46 for ; Wed, 17 May 2006 14:14:42 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FgMnR-000PIu-Nb; Wed, 17 May 2006 08:14:41 -0600 In-Reply-To: <446B15D6.4030309@thekeelecentre.com> References: <446A3B51.7030202@thekeelecentre.com> <446B15D6.4030309@thekeelecentre.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <996916FD-F317-49A5-BE1E-A3E9E8D44393@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Wed, 17 May 2006 08:14:41 -0600 To: Richard Tector X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: freebsd-current@freebsd.org Subject: Re: Broken Areca driver (arcmsr) - panic: bad stray interrupt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 14:14:43 -0000 On May 17, 2006, at 6:23 AM, Richard Tector wrote: > Richard Tector wrote: >> I've recently tried to install the latest May 2006 snapshot of 7.0- >> CURRENT onto a dual P3 system. During the boot from the CD, a >> panic occured during the loading of the arcmsr driver which >> supports my Areca 1120 PCI-X raid controller. I don't currently >> have a serial console attached, but I shall try and get a full >> trace tomorrow. >> >> A change to break this must have occured in the last 2 or so >> months since this machine previously ran -CURRENT just fine around >> that period. >> > As promised, a copy of the boot and the trace. > You might want to send this to Areca. I think they support this driver themselves. (That is my understanding -- my Areca cards are still in the box for some Solaris 10 machines) Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Wed May 17 21:19:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB3DD16A596 for ; Wed, 17 May 2006 21:19:57 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id E984343D48 for ; Wed, 17 May 2006 21:19:56 +0000 (GMT) (envelope-from sullrich@gmail.com) Received: by py-out-1112.google.com with SMTP id f28so373976pyf for ; Wed, 17 May 2006 14:19:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X6uWmglVwWKXE7GXzhU6zTsCWVRZUHLTIFFF/c7FJt2qsbjyU4OEfNIVE5Sac4YJbkROXCvkvjRWjsoIXJ9qZp3ebaGkm50LeXTW7qJwdZOcxhv3YeGPkUwFM0NAFGNc3+whEQqTPte/dPdI990QirFFOSQ1RhxNpxLjpI5FtBU= Received: by 10.35.127.7 with SMTP id e7mr1626297pyn; Wed, 17 May 2006 14:19:56 -0700 (PDT) Received: by 10.35.94.6 with HTTP; Wed, 17 May 2006 14:19:56 -0700 (PDT) Message-ID: Date: Wed, 17 May 2006 17:19:56 -0400 From: "Scott Ullrich" To: "Pawel Jakub Dawidek" In-Reply-To: <20060517065702.GC96341@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> <20060517065702.GC96341@garage.freebsd.pl> Cc: Rostislav Krasny , Marius Nuennerich , freebsd-current@freebsd.org, Rong-en Fan , Andrew Turner Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 21:19:57 -0000 On 5/17/06, Pawel Jakub Dawidek wrote: > Grrr!!! DEFINITELY! Please, first partition at offset 16. I just commited a fix to the main tree to fix this in the LUA version. Scott From owner-freebsd-current@FreeBSD.ORG Wed May 17 22:43:56 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0A1E16AED3; Wed, 17 May 2006 22:43:56 +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 4A5C043D6D; Wed, 17 May 2006 22:43:54 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4HMdxSo074163; Wed, 17 May 2006 16:39:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 17 May 2006 16:39:58 -0600 (MDT) Message-Id: <20060517.163958.104104832.imp@bsdimp.com> To: pjd@FreeBSD.org From: Warner Losh In-Reply-To: <20060517085720.GA98040@garage.freebsd.pl> References: <20060517065702.GC96341@garage.freebsd.pl> <20060517104531.ee66f23e.rosti.bsd@gmail.com> <20060517085720.GA98040@garage.freebsd.pl> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: rosti.bsd@gmail.com, grafan@gmail.com, freebsd-current@FreeBSD.org, marius.nuennerich@gmx.net, andrew@fubar.geek.nz Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 22:43:56 -0000 > +> > +> I think BSDInstaller should change to not create first slice at offset 0. > +> ^^^^^ > +> Yet another "bsd slice" / "bsd partition" confusion? :-) > +> > +> > > +> > Grrr!!! DEFINITELY! Please, first partition at offset 16. > +> > +> Interesting. Sysinstall makes the first "a" partition on a slice at > +> offset 0 and FreeBSD works properly. What is this metadata on those > +> first 16 sectors of a slice and when this metadata is really used? > > What?! You only think it works properly. It doesn't. > UFS works on such partition, because UFS has a hack to skip first 16 > sectors. Swap works on such partition, because swap code has a hack to > skip first 16 sectors. UFS was designed to work properly here. The label was supposed to be in the first 16 sectors of the disk, so any file system in traditional unix that dealt with disks also had to cope with this 16 sector offset. However, time has marched on since 1970's and 80's when this was a reasonable thing to do. Moving it to sector 16 is just as magic as sector 0. How do we know that the boot code is going to be 8k? why not 16k or 32k or 1024k? There were fields added to the bsdlabel recently for this (d_bbsize) and the area skipped to reflect this based on the boot code size for that platform. > Try to encrypt partition which starts at offset 16 with geli(8) or > gbde(8). Try to concatenate or stripe two partitions that start at > offset 16. > The former will destroy your metadata (at least it did so, not sure if > you won't get EPERM now). The latter will return EPERM when you try to > access data in the middle of your concat device or at the begining of > you stripped device. > Many evil things can happen, belive me. Using offset 0 and making > metadata visible from usable partition is BAD. Period. It would be better to say that having the partitions overlap the metadata for the partiutions is bad. We avoid this already for slices. Maybe we should also avoid this for bsd label partitions and the boot code they describe. It would be a layering violation for the geom entities to reach into the label to find out if they need to skip space. The disk label is only 148 + 16 * 8 bytes long (276 of the first 512 bytes, which was the reason for boot1 vs boot2, since boot1 could only use 236 bytes of code to get boot2 into memory). So we should be careful with the new installer that it respects what we put on disk rather than hard coding 16. Finally, there likely needs to be a 'raid override' for the default values. Better to waste an entire stripe than to start a partition in the middle of a stripe. I'm not sure how best to accomplish this, but I'm sure that others in the community who routinely tweak this for optimal performance can comment. Warner From owner-freebsd-current@FreeBSD.ORG Wed May 17 22:44:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B55A16AEDB for ; Wed, 17 May 2006 22:44:57 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id ADFDE43D8E for ; Wed, 17 May 2006 22:44:42 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 26224 invoked by uid 399); 17 May 2006 22:44:39 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 17 May 2006 22:44:39 -0000 Message-ID: <446BA750.1030006@FreeBSD.org> Date: Wed, 17 May 2006 15:44:32 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.2 (X11/20060507) MIME-Version: 1.0 To: "Alexander I. Mogilny" References: <20060517122036.GA55530@astral.ntu-kpi.kiev.ua> In-Reply-To: <20060517122036.GA55530@astral.ntu-kpi.kiev.ua> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: update to RELENG_6 fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 22:44:57 -0000 For future reference, the -current mailing list no longer deals with issues related to freebsd 5.x or 6.x. Alexander I. Mogilny wrote: > Hello to everybody. > I get following error while upgrade from 5.3 or 6.0 to RELENG_6: Not sure what you mean by "5.3 or 6.0." If you have a 5-stable system, you have to update to the latest 5-stable before updating to 6.x. This is discussed in /usr/src/UPDATING. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Wed May 17 23:27:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D391716B19D for ; Wed, 17 May 2006 23:27:30 +0000 (UTC) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 340DD43D49 for ; Wed, 17 May 2006 23:27:29 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id 9FDFE6844BA; Thu, 18 May 2006 01:27:28 +0200 (CEST) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id C21AD6844B7 for ; Thu, 18 May 2006 01:27:27 +0200 (CEST) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 61721-08-2 for ; Thu, 18 May 2006 01:27:27 +0200 (CEST) Received: from loki (p549CD852.dip.t-dialin.net [84.156.216.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postfix.bsdforen.de (Postfix) with ESMTP id 14D416844B6 for ; Thu, 18 May 2006 01:27:26 +0200 (CEST) Date: Thu, 18 May 2006 01:27:15 +0200 From: Joerg Pernfuss To: freebsd-current@freebsd.org Message-ID: <20060518012715.1ec84c37@loki> In-Reply-To: <20060517124641.be537443.rosti.bsd@gmail.com> References: <20060515150504.44b3a065.rosti.bsd@gmail.com> <4468FA1C.7040105@fubar.geek.nz> <20060516084310.05af8de4.rosti.bsd@gmail.com> <20060516202529.1d725675@sol> <20060516230400.5178bcdf.rosti.bsd@gmail.com> <20060516223639.0637dd0e@sol> <6eb82e0605161926y3ff4a1a3l8a369723cf7c3352@mail.gmail.com> <20060517065702.GC96341@garage.freebsd.pl> <20060517104531.ee66f23e.rosti.bsd@gmail.com> <20060517085720.GA98040@garage.freebsd.pl> <20060517124641.be537443.rosti.bsd@gmail.com> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_Jli=2WFrcz.9hwSi9pJvUM8"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 446bb160676861137557279 X-DSPAM-User: global Subject: Re: BSDInstaller snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 23:27:38 -0000 --Sig_Jli=2WFrcz.9hwSi9pJvUM8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 17 May 2006 12:46:41 +0300 Rostislav Krasny wrote: > Certainly. I'm only wondering now, why it wasn't fixed in sysinstall > during so many years? No idea. One simply needs to know, you have to set up your the discs manually if you intend to, eg gmirror the / partition. I think on geom@ Pawel once explained why this wasn't changed in sysinstall, but I can't find the mail. > And had those hacks in UFS and Swap been made > because of sysinstall or because of something else? These are historically grown. > By the way, how could one change offset of first bsd partitions on > already installed FreeBSD without destroying it? You can't. dump(1) and restore(1), that's all you've got. Mirroring partitions on a already running FreeBSD is counter-intuitive anyway. Set the second disc to sane values, dump your partitions, set up the mirrors/... in single-user mode (even for / but here only with the a partition of the second disc), restore your dumps, boot the second disc, add and sync a from the first disc. Utilizing `tunefs -L` and glabel for /etc/fstab eases the pain. Adding Raid 0/1/3/10 (plain and/or geli encrypted) via geom afterwards to a fully configured system with wrong offsets is possible (done it once, don't intend to do it twice), but there are many ways to shoot your knee-caps while doing so. Joerg --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | .the next sentence is true. | | / \ and news | .the previous sentence was a lie. | --Sig_Jli=2WFrcz.9hwSi9pJvUM8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEa7FbH31s/bvKrSQRAgYHAJ4yjYiwOFc4lsX2xx9z52EeiRMV3gCfQRmE xiid2UtuBda/otYEj5EYHKQ= =Easl -----END PGP SIGNATURE----- --Sig_Jli=2WFrcz.9hwSi9pJvUM8-- From owner-freebsd-current@FreeBSD.ORG Thu May 18 02:58:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36B3916A486 for ; Thu, 18 May 2006 02:58:55 +0000 (UTC) (envelope-from netsick@iinet.net.au) Received: from customer-domains.icp-qv1-irony2.iinet.net.au (customer-domains.icp-qv1-irony2.iinet.net.au [203.59.1.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED1843D46 for ; Thu, 18 May 2006 02:58:54 +0000 (GMT) (envelope-from netsick@iinet.net.au) Received: from per-qv1-webmail-03.iinet.net.au (HELO mail.iinet.net.au) ([203.59.3.53]) by customer-domains.icp-qv1-irony2.iinet.net.au with SMTP; 18 May 2006 10:58:36 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.05,139,1146412800"; d="scan'208"; a="476846259:sNHT25581340" Received: (qmail 23848 invoked by uid 33); 18 May 2006 02:58:35 -0000 Received: from mail-placeholder.iinet.net.au (mail-placeholder.iinet.net.au [203.59.1.180]) by mail.iinet.net.au (IMP) with HTTP for ; Thu, 18 May 2006 10:58:35 +0800 Message-ID: <1147921115.446be2db595f4@mail.iinet.net.au> Date: Thu, 18 May 2006 10:58:35 +0800 From: netsick@iinet.net.au To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 203.59.1.180 Cc: freebsd-current@freebsd.org Subject: 7-current also lacks i945 agp support - NO /dev/agpgart X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 02:58:55 -0000 Hi On Olivers advice given in the URL below I updated my sources to 7-current today and I still have no /dev/agpgart. Onboard audio works, SATA controller works, everything other hardware from this chipset works except for AGP ! Reference: http://lists.freebsd.org/pipermail/freebsd-hardware/2006- May/003499.html I have the following in my KERNELCONF device agp # support several AGP chipsets I also added these for the sake of it but they will not work if I have no agpgart. device drm # DRM core module required by DRM drivers device i915drm # Intel i830 through i915 Can we please get this looked at..the i945 chipset has been around for along time now and its a bit odd that 7-Current does not even support it properly.. Can somebody work with me to solve this, I am willing to test anything anyone has to offer and can provide any details regarding hardware etc.. VIDEO RELATED DMESG output vgapci0: port 0xe898-0xe89f mem 0xfeb00000- 0xfeb7ffff,0xe0000000-0xefffffff,0xfeac0000-0xfe afffff irq 16 at device 2.0 on pci0 drm0: on vgapci0 error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP. device_attach: drm0 attach returned 12 vgapci1: mem 0xfeb80000-0xfebfffff at device 2.1 on pci0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 PCICONF -lv OUTPUT kris@VB-KRIS$ pciconf -lv hostb0@pci0:0:0: class=0x060000 card=0x01ad1028 chip=0x27708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945 Series Memory Controller Hub (MCH)' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x27718086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = 'PCI Express Graphics Port' class = bridge subclass = PCI-PCI vgapci0@pci0:2:0: class=0x030000 card=0x01ad1028 chip=0x27728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:2:1: class=0x038000 card=0x01ad1028 chip=0x27768086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Integrated Graphics Controller' class = display pcib2@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib3@pci0:28:1: class=0x060400 card=0x00000040 chip=0x27d28086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x01ad1028 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x01ad1028 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x01ad1028 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x01ad1028 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x01ad1028 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib4@pci0:30:0: class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI pcm0@pci0:30:2: class=0x040100 card=0x01ad1028 chip=0x27de8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB I/O Controller Hub AC'97 Audio' class = multimedia subclass = audio isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x01ad1028 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:31:2: class=0x01018f card=0x01ad1028 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class = mass storage subclass = ATA none0@pci0:31:3: class=0x0c0500 card=0x01ad1028 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class = serial bus subclass = SMBus bge0@pci2:0:0: class=0x020000 card=0x01ad1028 chip=0x167714e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express' class = network subclass = ethernet Kris From owner-freebsd-current@FreeBSD.ORG Thu May 18 03:02:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0119F16A496; Thu, 18 May 2006 03:02:20 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3461043D45; Thu, 18 May 2006 03:02:19 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k4I32Hct027483; Wed, 17 May 2006 22:02:17 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <446BE3B0.7070702@daleco.biz> Date: Wed, 17 May 2006 22:02:08 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060509 SeaMonkey/1.0.1 MIME-Version: 1.0 To: Robert Watson References: <20060517133617.W69235@fledge.watson.org> In-Reply-To: <20060517133617.W69235@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: My slides from BSDCan2006, FreeBSD Developer Summit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 03:02:20 -0000 Robert Watson wrote: > > For those interested: > > http://www.watson.org/~robert/freebsd/2006bsdcan/ > > Robert N M Watson Thanks for that. I think the habit of posting slides, audio, or vids of meetings by committers is a nice trend, especially for those of us 'in the sticks' who may never get to, say, Toronto, or the Bay, Europe, etc. Just out of curiosity, since it loses some effect when only in graphic format, just who/what does your wife say the Project is? :-) Kevin Kinsey -- If you are honest because honesty is the best policy, your honesty is corrupt. From owner-freebsd-current@FreeBSD.ORG Thu May 18 03:22:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D5D16A403; Thu, 18 May 2006 03:22:16 +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 AB07243D45; Thu, 18 May 2006 03:22:10 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (v9dnr0bvt1ubfp85@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4I3LQAU037604; Wed, 17 May 2006 20:21:28 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4I3LBGQ037603; Wed, 17 May 2006 20:21:11 -0700 (PDT) (envelope-from jmg) Date: Wed, 17 May 2006 20:21:10 -0700 From: John-Mark Gurney To: Kevin Kinsey Message-ID: <20060518032110.GH782@funkthat.com> Mail-Followup-To: Kevin Kinsey , Robert Watson , current@freebsd.org References: <20060517133617.W69235@fledge.watson.org> <446BE3B0.7070702@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446BE3B0.7070702@daleco.biz> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 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: Robert Watson , current@freebsd.org Subject: Re: My slides from BSDCan2006, FreeBSD Developer Summit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 03:22:16 -0000 Kevin Kinsey wrote this message on Wed, May 17, 2006 at 22:02 -0500: > Robert Watson wrote: > > > >For those interested: > > > > http://www.watson.org/~robert/freebsd/2006bsdcan/ > > > >Robert N M Watson > > > Thanks for that. I think the habit of posting slides, audio, > or vids of meetings by committers is a nice trend, especially > for those of us 'in the sticks' who may never get to, say, > Toronto, or the Bay, Europe, etc. Here's all the papers that have been collected by Dan so far: http://www.bsdcan.org/2006/papers/ -- 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-current@FreeBSD.ORG Thu May 18 07:11:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50A2D16A432 for ; Thu, 18 May 2006 07:11:56 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2829043D46 for ; Thu, 18 May 2006 07:11:56 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id A61C4294B9 for ; Thu, 18 May 2006 00:11:55 -0700 (PDT) To: freebsd-current@freebsd.org Date: Thu, 18 May 2006 00:11:55 -0700 From: Bakul Shah Message-Id: <20060518071155.A61C4294B9@mail.bitblocks.com> Subject: did ptys get axed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 07:12:04 -0000 Running a kernel built from three hour old sources. Now only *two* ptys are created and consequently screen doesn't start. Is this planned or accidental? This is definitely motivating me to get familiar with the kernel code but others may fail to see this great learning opportunity.... Thanks:-) -- bakul From owner-freebsd-current@FreeBSD.ORG Thu May 18 08:16:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76F0F16A403 for ; Thu, 18 May 2006 08:16:49 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD09443D48 for ; Thu, 18 May 2006 08:16:48 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so148749nzf for ; Thu, 18 May 2006 01:16:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bmKriCm3HvmQALThQMzK32vXNZ3vmyZalBz76s8KAgQjifjvaanzEi4XzgGwNmIpai1lTBTLdubKvSUiOfLmhM95LEZUH54DQM45iUlpceiDcHf9w0B1gvGgBv+uex3TL9yyviplaEbCPqRvR2m9Qezr53SUrEoFa7G4Ke7bLuo= Received: by 10.37.15.36 with SMTP id s36mr221373nzi; Thu, 18 May 2006 01:16:47 -0700 (PDT) Received: by 10.36.222.48 with HTTP; Thu, 18 May 2006 01:16:47 -0700 (PDT) Message-ID: <53cc795f0605180116q32b79aebp9aeefdc6d6f7f344@mail.gmail.com> Date: Thu, 18 May 2006 12:16:47 +0400 From: sekes To: "Bakul Shah" In-Reply-To: <20060518071155.A61C4294B9@mail.bitblocks.com> MIME-Version: 1.0 References: <20060518071155.A61C4294B9@mail.bitblocks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: did ptys get axed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 08:16:49 -0000 reinstall gnu screen On 5/18/06, Bakul Shah wrote: > > Running a kernel built from three hour old sources. Now only > *two* ptys are created and consequently screen doesn't start. > Is this planned or accidental? This is definitely motivating > me to get familiar with the kernel code but others may fail > to see this great learning opportunity.... > > Thanks:-) > > -- bakul > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > From owner-freebsd-current@FreeBSD.ORG Thu May 18 04:41:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16DA216A45E for ; Thu, 18 May 2006 04:41:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 80D6B43D48 for ; Thu, 18 May 2006 04:41:48 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 7672 invoked by uid 399); 18 May 2006 04:41:48 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 18 May 2006 04:41:48 -0000 Message-ID: <446BFB09.2050409@FreeBSD.org> Date: Wed, 17 May 2006 21:41:45 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.2 (X11/20060507) MIME-Version: 1.0 To: "Mars G. Miro" References: <28edec3c0605171638t6398b1a8u6c63a2db9b12d6e5@mail.gmail.com> In-Reply-To: <28edec3c0605171638t6398b1a8u6c63a2db9b12d6e5@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 18 May 2006 11:38:56 +0000 Cc: freebsd-current@freebsd.org, "Alexander I. Mogilny" Subject: Re: update to RELENG_6 fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Stable List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 04:41:54 -0000 Mars G. Miro wrote: > For the record, I've successfully updated a 5.4X to 6.1R w/o a hitch. > I don't think you need to go to 5-stable if you want 6.X. Most apps > will even still work and dont need to be recompiled. As happy as I am to hear that, if you'd read the section in UPDATING that I was referring to, you'd have seen: When upgrading from one major version to another it is generally best to upgrade to the latest code in the currently installed branch first, then do an upgrade to the new branch. This is the best-tested upgrade path, and has the highest probability of being successful. Please try this approach before reporting problems with a major version upgrade. Which clearly applies to the situation at hand. Please move this conversation to freebsd-stable. hope this helps, Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Thu May 18 12:06:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF1F516A420 for ; Thu, 18 May 2006 12:06:57 +0000 (UTC) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id EABF543D48 for ; Thu, 18 May 2006 12:06:56 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 18 May 2006 12:06:55 -0000 Received: from unknown (EHLO [212.204.44.203]) [212.204.44.203] by mail.gmx.net (mp032) with SMTP; 18 May 2006 14:06:55 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: freebsd-current Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nn7ogTyOZDjD55nXKOCD" Date: Thu, 18 May 2006 14:06:09 +0200 Message-Id: <1147953969.2888.0.camel@klamath> Mime-Version: 1.0 X-Mailer: Evolution 2.7.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Subject: buildworld fails with WITH_NLS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 12:06:58 -0000 --=-nn7ogTyOZDjD55nXKOCD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, if I define WITH_NLS=3D in src.conf, buildworld will stop right in Stage 1.1 Legacy Tools, because Makefile.inc1 calls a target with -DWITHOUT_NLS. This upsets bsd.own.mk, telling me that I shouldn't define WITH_NLS and WITHOUT_NLS.=20 I tried replacing -DWITHOUT_NLS with MK_NLS=3Dno, but that won't help. I can buildworld when WITH_NLS is not defined in src.conf, but I think Makefile.inc1 is at fault here.=20 I also think the problem might happen with the -DWITHOUT_MAN knob, although I guess this one could safely be replaced with -DNO_MAN, which gets special handling in bsd.own.mk. Am I misunderstanding something with regard to src.conf here? Regards, Andreas Kohn --=-nn7ogTyOZDjD55nXKOCD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEbGMxYucd7Ow1ygwRAufqAJ44Sfn9cKcoW0sDcm54iBCFvpQh8QCfSEW3 2LwXY5nxw3DdBMrfn9lmENo= =449n -----END PGP SIGNATURE----- --=-nn7ogTyOZDjD55nXKOCD-- From owner-freebsd-current@FreeBSD.ORG Thu May 18 13:03:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2D5116A53A; Thu, 18 May 2006 13:03:20 +0000 (UTC) (envelope-from ricardo_bsd@yahoo.com.br) Received: from maritaca.epm.br (mail.dis.epm.br [200.17.25.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84BD43D73; Thu, 18 May 2006 13:03:16 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from localhost (localhost.localdomain [127.0.0.1]) by maritaca.epm.br (Postfix) with ESMTP id 409CB394A; Thu, 18 May 2006 10:03:15 -0300 (BRST) Received: from localhost (ricardo.epm.br [172.22.1.166]) by maritaca.epm.br (Postfix) with ESMTP id 47B573AB5; Thu, 18 May 2006 10:03:07 -0300 (BRST) Date: Thu, 18 May 2006 10:03:06 -0300 To: "freebsd-hackers@freebsd.org" From: "Ricardo A. Reis" Organization: UNIFESP Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera Mail/9.00 (FreeBSD) UNIFESP-Virus-Scanned: by amavisd-new at dis.epm.br Cc: "freebsd-current@freebsd.org" Subject: Kldfind updated, version 0.55 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 13:03:21 -0000 Hi all, I attempt to create one script for turn easy find for kernel modules, for this i writed `kldfind` and distributed in http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v055. Changelog v0.55: Replace echo per printf, in short description v0.55: Replace in $SHORT_DESCRIPTION, now -v is very fast. # ./kldfind-v055 -vc snd >> Search finish, 26 resultes for /boot/kernel KLD Description --- ----------- >> snd_als4000, Avance Logic ALS4000 PCI bridge device driver >> snd_ad1816, Analog Devices AD1816 ISA bridge device driver >> snd_atiixp, ATI IXP bridge device driver >> snd_cmi, CMedia CMI8338/CMI8738 PCI bridge device driver >> snd_cs4281, Crystal Semiconductor CS4281 PCI bridge device >> driver >> snd_csa, Crystal Semiconductor CS461x/462x/4280 PCI bridge >> device >> snd_ds1, Yamaha DS-1 PCI bridge device driver >> snd_ess, Ensoniq ESS ISA PnP/non-PnP bridge device driver >> snd_emu10k1, SoundBlaster Live! and Audigy PCI bridge device >> driver >> snd_es137x, Ensoniq AudioPCI ES137x bridge device driver >> snd_fm801, Forte Media FM801 bridge device driver Now, i like the recever any comments about kldfind, in the next step i think in document script and update man. Thanks for all coments, -- Atenciosamente Ricardo A. Reis UNIFESP Unix and Network Adm From owner-freebsd-current@FreeBSD.ORG Thu May 18 14:58:40 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8E2916A400 for ; Thu, 18 May 2006 14:58:40 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AA9F43D48 for ; Thu, 18 May 2006 14:58:37 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp3-g19.free.fr (Postfix) with ESMTP id 37858491E6 for ; Thu, 18 May 2006 16:58:37 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id C15899D4AA for ; Thu, 18 May 2006 14:58:22 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id AD4A7405B; Thu, 18 May 2006 16:58:22 +0200 (CEST) Date: Thu, 18 May 2006 16:58:22 +0200 From: Jeremie Le Hen To: freebsd-current@FreeBSD.org Message-ID: <20060518145822.GK39460@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3siQDZowHQqNOShm" Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: Subject: Get pf compile with RESTARTABLE_PANICS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 14:58:40 -0000 --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the following error occurs when RESTARTABLE_PANICS is defined in the kernel config file (panic() no longer has the __noreturn__ attribute) : % /usr/src/sys/contrib/pf/net/pf.c: In function `pf_find_state_recurse': % /usr/src/sys/contrib/pf/net/pf.c:668: warning: control reaches end of non-void function The attached patch makes pf compile correctly. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pf_RESTARTABLE_PANICS.patch" Index: sys/contrib/pf/net/pf.c =================================================================== RCS file: /home/ncvs/src/sys/contrib/pf/net/pf.c,v retrieving revision 1.40 diff -u -p -r1.40 pf.c --- sys/contrib/pf/net/pf.c 25 Dec 2005 23:52:00 -0000 1.40 +++ sys/contrib/pf/net/pf.c 18 May 2006 14:54:03 -0000 @@ -664,6 +664,7 @@ pf_find_state_recurse(struct pfi_kif *ki return (NULL); default: panic("pf_find_state_recurse"); + return (NULL); } } @@ -702,6 +703,7 @@ pf_find_state_all(struct pf_state *key, return (ss); default: panic("pf_find_state_all"); + return (NULL); } } --3siQDZowHQqNOShm-- From owner-freebsd-current@FreeBSD.ORG Thu May 18 15:12:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B765716A47E for ; Thu, 18 May 2006 15:12:40 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D88B43D66 for ; Thu, 18 May 2006 15:12:36 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4IFCXYO044123 for ; Thu, 18 May 2006 19:12:33 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4IFCXb0044122 for freebsd-current@freebsd.org; Thu, 18 May 2006 19:12:33 +0400 (MSD) (envelope-from yar) Date: Thu, 18 May 2006 19:12:32 +0400 From: Yar Tikhiy To: freebsd-current@freebsd.org Message-ID: <20060518151232.GA37743@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Root FS corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:12:47 -0000 Hi all, I saw the following / corruption in a fresh CURRENT when using nextboot. Of course, it wasn't the fault of nextboot itself, nextboot simply was the only utility to modify / in my case. I found the contents of nextboot.conf once in my custom /root/supfile, the other time in the stock /etc/protocols. /etc/protocols was large enough to see how the corruption had happened: the first fragment, 2048 bytes, of the file was replaced by the contents of nextboot.conf, zero padded. The / was a usual 2048/16384 UFS2 without soft-updates. The kernel was GENERIC. Forced fsck reported no problems at all. The / had never been dirty because I used nextboot to boot single-user with all FSen read-only and investigate a panic unrelated to FS. Did any one see a similar problem of fragment mis-allocation? -- Yar From owner-freebsd-current@FreeBSD.ORG Thu May 18 17:10:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0F1C16A51D; Thu, 18 May 2006 17:10:50 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout2-b.corp.dcn.yahoo.com (mrout2-b.corp.dcn.yahoo.com [216.109.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9245243D60; Thu, 18 May 2006 17:10:48 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy7.corp.yahoo.com [216.145.48.98]) by mrout2-b.corp.dcn.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id k4IHAeK0093186; Thu, 18 May 2006 10:10:40 -0700 (PDT) Date: Thu, 18 May 2006 10:10:38 -0700 Message-ID: From: gnn@freebsd.org To: Pawel Jakub Dawidek In-Reply-To: <20060516195439.GA94621@garage.freebsd.pl> References: <20060516195439.GA94621@garage.freebsd.pl> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-apple-darwin8.5.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: bz@freebsd.org, freebsd-current@freebsd.org Subject: Re: Opencrypto changes. Review request. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 17:10:51 -0000 Hi, I finally went over at least the netipsec part and it looks fine to me. Later, George From owner-freebsd-current@FreeBSD.ORG Thu May 18 17:19:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D89F16A76A for ; Thu, 18 May 2006 17:19:10 +0000 (UTC) (envelope-from jasone@freebsd.org) Received: from lh.synack.net (lh.synack.net [204.152.188.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B38D43D5D for ; Thu, 18 May 2006 17:19:04 +0000 (GMT) (envelope-from jasone@freebsd.org) Received: by lh.synack.net (Postfix, from userid 100) id B85B35E4936; Thu, 18 May 2006 10:19:04 -0700 (PDT) Received: from [129.101.146.5] (unknown [129.101.146.5]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by lh.synack.net (Postfix) with ESMTP id 748AD5E48DA for ; Thu, 18 May 2006 10:19:03 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-current@freebsd.org From: Jason Evans Date: Thu, 18 May 2006 10:19:01 -0700 X-Mailer: Apple Mail (2.750) X-Spam-Checker-Version: SpamAssassin 3.0.5 (2005-11-28) on lh.synack.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.5 Subject: jemalloc paper/slides available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 17:19:14 -0000 The paper and slides for jemalloc that I presented at BSDcan 2006 are available at: http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/ If you read only one or the other, choose the paper. Jason From owner-freebsd-current@FreeBSD.ORG Thu May 18 18:19:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F7016A549 for ; Thu, 18 May 2006 18:19:22 +0000 (UTC) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from smtp2.netcologne.de (smtp2.netcologne.de [194.8.194.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0F3B43D45 for ; Thu, 18 May 2006 18:19:21 +0000 (GMT) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from laurel.tmseck.homedns.org (xdsl-213-196-221-110.netcologne.de [213.196.221.110]) by smtp2.netcologne.de (Postfix) with SMTP id EBEA44B8F for ; Thu, 18 May 2006 20:19:19 +0200 (MEST) Received: (qmail 2168 invoked from network); 18 May 2006 18:19:41 -0000 Received: from unknown (HELO hardy.tmseck.homedns.org) (192.168.1.2) by 0 with SMTP; 18 May 2006 18:19:41 -0000 Received: from hardy.tmseck.homedns.org (localhost [127.0.0.1]) by hardy.tmseck.homedns.org (8.13.6/8.13.6) with ESMTP id k4IIJI18001151; Thu, 18 May 2006 20:19:18 +0200 (CEST) (envelope-from thomas@hardy.tmseck.homedns.org) Received: (from thomas@localhost) by hardy.tmseck.homedns.org (8.13.6/8.13.6/Submit) id k4IIJHL7001150; Thu, 18 May 2006 20:19:17 +0200 (CEST) (envelope-from thomas) Date: Thu, 18 May 2006 20:19:17 +0200 (CEST) Message-Id: <200605181819.k4IIJHL7001150@hardy.tmseck.homedns.org> From: tmseck-lists@netcologne.de (Thomas-Martin Seck) To: Yar Tikhiy In-Reply-To: <20060518151232.GA37743@comp.chem.msu.su> X-Newsgroups: gmane.os.freebsd.current X-Attribution: tms Cc: freebsd-current@freebsd.org Subject: Re: Root FS corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 18:19:22 -0000 * Yar Tikhiy : > I saw the following / corruption in a fresh CURRENT when using > nextboot. Of course, it wasn't the fault of nextboot itself, > nextboot simply was the only utility to modify / in my case. > > I found the contents of nextboot.conf once in my custom /root/supfile, > the other time in the stock /etc/protocols. /etc/protocols was > large enough to see how the corruption had happened: the first > fragment, 2048 bytes, of the file was replaced by the contents of > nextboot.conf, zero padded. > > The / was a usual 2048/16384 UFS2 without soft-updates. The kernel > was GENERIC. Forced fsck reported no problems at all. The / had > never been dirty because I used nextboot to boot single-user with > all FSen read-only and investigate a panic unrelated to FS. > > Did any one see a similar problem of fragment mis-allocation? I experienced the exact same corruption some months ago with a RELENG_6 test system I update regularly. Unfortunately, this corruption happened only once, I was never able to reproduce it since. The kernel is a stripped down GENERIC, /root is a 2048/16384 UFS2 fs. From owner-freebsd-current@FreeBSD.ORG Thu May 18 19:42:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC9CE16A403 for ; Thu, 18 May 2006 19:42:45 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B6143D45 for ; Thu, 18 May 2006 19:42:44 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4IJgKGg054134 for ; Thu, 18 May 2006 21:42:21 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <446CCE1C.1050200@fer.hr> Date: Thu, 18 May 2006 21:42:20 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "current@freebsd.org" Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: (Another) simple benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 19:42:46 -0000 Today I had the opportunity to experiment for a short time with a 4-CPU Xeon machine with hyperthreading (-> 8 logical CPU-s) and 3GB RAM. In absence of anything smarter to do, I installed WBEL 3 Linux (non-RedHat version of RedHat Enterprise Linux) which was accidentally on the table and after toying around I've run a simple benchmark - ab (apachebench, included by default with apache server) over localhost to a local apache2 server, on a static home-page file. The command line was "ab -n 100000 -c 100 http://localhost/". Since I still had time with the machine, I then downloaded and installed FreeBSD 6.1 to try to beat the score. Unfortunately, not only I couldn't beat the score, but the results were *extremely* bad. Since I'm still not sure it isn't my fault, I won't post the actual results, but I wonder... Apache is a well known server-grade product, which doesn't use threading (it was preforked in both systems), doesn't call gettimeofday() constantly, uses sendfile(), and in short, is very different from MySQL. It shouldn't behave this badly on FreeBSD. Some observations from the benchmark runs: - Linux was maxed out with ~50% total idle time, each logical processor (hyperthreading was enabled) had ~25% user + ~25% sys time. It still delivered order-of-magnitude better results. WBEL3 uses Linux 2.4.x kernel (i.e. old kernel) - FreeBSD CPU time was 100% spent, with 90%-95% spent in sys time - On FreeBSD, enabling hyperthreading got me a slowdown of *4x* over the initial (bad) results (some slowdown is not surprising, 4x slowdown is). - Linux "load average" never went above 8, FreBSD's went > 60; this could be just a difference in accounting, or it could not - I don't know. What is needed to reproduce this simple benchmark: - SMP machine, the more CPUs the better - installed software: only apache20. The "ab" benchmark is included in it. Leave apache's default configuration as-is (i.e. preforked, max 150 parallel clients allowed) - A simple static HTML page (Apache's default "welcome, but this site is not configured" should be ok). - my invocation of "ab" was with "-n 100000 -c 100" ; the (n)umber of requests could be modified to fit local CPU speed, but (c)oncurrency shouldn't (100 parallel requests is not uncommon). Since I didn't have time to reinstall Linux to check if apache's configuration was the same in all important things all this may be bogus, but if anyone has a spare box with several CPUs, I'd be interested in results. p.s. I don't think the actual Linux kernel version matters here, any 2.4 or newer will do. From owner-freebsd-current@FreeBSD.ORG Thu May 18 20:04:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FF9B16A50B for ; Thu, 18 May 2006 20:04:29 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D25A43DAB for ; Thu, 18 May 2006 20:04:28 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4IK4Jbf037324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 May 2006 14:04:20 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Thu, 18 May 2006 14:04:19 -0600 (MDT) From: Lyndon Nerenberg To: Ivan Voras In-Reply-To: <446CCE1C.1050200@fer.hr> Message-ID: <20060518140230.S36367@orthanc.ca> References: <446CCE1C.1050200@fer.hr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: "current@freebsd.org" Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 20:04:29 -0000 Unless you provide both the build- and run-time configurations of apache for both configurations (Linux and FreeBSD) we cannot draw any meaningful conclusions from your report. Kernel configs for both sides would also be very useful. --lyndon From owner-freebsd-current@FreeBSD.ORG Thu May 18 20:10:35 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17DAD16A692 for ; Thu, 18 May 2006 20:10:35 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66AE443D66 for ; Thu, 18 May 2006 20:10:34 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4IKAA4c054228; Thu, 18 May 2006 22:10:11 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <446CD4A2.7010103@fer.hr> Date: Thu, 18 May 2006 22:10:10 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lyndon Nerenberg References: <446CCE1C.1050200@fer.hr> <20060518140230.S36367@orthanc.ca> In-Reply-To: <20060518140230.S36367@orthanc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 20:10:35 -0000 Lyndon Nerenberg wrote: > Unless you provide both the build- and run-time configurations of apache > for both configurations (Linux and FreeBSD) we cannot draw any > meaningful conclusions from your report. Kernel configs for both sides > would also be very useful. Both httpd.conf and kernel were default (on both systems). Sysinstall installed default SMP kernel for FreBSD. I can later install WBEL in qemu and extract its httpd.conf, but at a glace there was nothing unusual in it. From owner-freebsd-current@FreeBSD.ORG Thu May 18 20:26:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD91F16A415 for ; Thu, 18 May 2006 20:26:34 +0000 (UTC) (envelope-from steve@stevehodgson.co.uk) Received: from ghana.smallmonkey.co.uk (ghana.smallmonkey.co.uk [83.142.48.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4450643D46 for ; Thu, 18 May 2006 20:26:34 +0000 (GMT) (envelope-from steve@stevehodgson.co.uk) Received: from [192.168.7.2] (dyn-62-56-59-3.dslaccess.co.uk [62.56.59.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ghana.smallmonkey.co.uk (Postfix) with ESMTP id 38E0C6251; Thu, 18 May 2006 21:26:33 +0100 (BST) Message-ID: <446CD873.9080903@stevehodgson.co.uk> Date: Thu, 18 May 2006 21:26:27 +0100 From: Steve Hodgson User-Agent: Thunderbird 1.5.0.2 (X11/20060508) MIME-Version: 1.0 To: Ivan Voras References: <446CCE1C.1050200@fer.hr> In-Reply-To: <446CCE1C.1050200@fer.hr> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 20:26:34 -0000 Ivan Voras wrote: > Today I had the opportunity to experiment for a short time with a > 4-CPU Xeon machine with hyperthreading (-> 8 logical CPU-s) and 3GB > RAM. In absence of anything smarter to do, I installed WBEL 3 Linux > (non-RedHat version of RedHat Enterprise Linux) which was accidentally > on the table and after toying around I've run a simple benchmark - ab > (apachebench, included by default with apache server) over localhost > to a local apache2 server, on a static home-page file. The command > line was "ab -n 100000 -c 100 http://localhost/". Since I still had > time with the machine, I then downloaded and installed FreeBSD 6.1 to > try to beat the score. Unfortunately, not only I couldn't beat the > score, but the results were *extremely* bad. Since I'm still not sure > it isn't my fault, I won't post the actual results, but I wonder... > > Apache is a well known server-grade product, which doesn't use > threading (it was preforked in both systems), doesn't call > gettimeofday() constantly, uses sendfile(), and in short, is very > different from MySQL. It shouldn't behave this badly on FreeBSD. > > Some observations from the benchmark runs: > - Linux was maxed out with ~50% total idle time, each logical > processor (hyperthreading was enabled) had ~25% user + ~25% sys time. > It still delivered order-of-magnitude better results. WBEL3 uses Linux > 2.4.x kernel (i.e. old kernel) > - FreeBSD CPU time was 100% spent, with 90%-95% spent in sys time > - On FreeBSD, enabling hyperthreading got me a slowdown of *4x* over > the initial (bad) results (some slowdown is not surprising, 4x > slowdown is). > - Linux "load average" never went above 8, FreBSD's went > 60; this > could be just a difference in accounting, or it could not - I don't know. > > What is needed to reproduce this simple benchmark: > - SMP machine, the more CPUs the better > - installed software: only apache20. The "ab" benchmark is included in > it. Leave apache's default configuration as-is (i.e. preforked, max > 150 parallel clients allowed) > - A simple static HTML page (Apache's default "welcome, but this site > is not configured" should be ok). > - my invocation of "ab" was with "-n 100000 -c 100" ; the (n)umber of > requests could be modified to fit local CPU speed, but (c)oncurrency > shouldn't (100 parallel requests is not uncommon). > Apache may not use gettimeofday, but ab certainly does. here is a truss output of ab: gettimeofday({1147982776 251498},0x0) = 0 (0x0) connect(0x5f,{ AF_INET 127.0.0.1:80 },16) = 0 (0x0) gettimeofday({1147982776 253078},0x0) = 0 (0x0) write(95,0x80546e0,0) = 0 (0x0) gettimeofday({1147982776 254325},0x0) = 0 (0x0) write(95,0x80546e0,84) = 84 (0x54) gettimeofday({1147982776 256705},0x0) = 0 (0x0) read(0x60,0x80522c0,0x2000) = 0 (0x0) gettimeofday({1147982776 258209},0x0) = 0 (0x0) close(96) = 0 (0x0) socket(0x2,0x1,0x0) = 96 (0x60) fcntl(96,F_GETFL,0x0) = 2 (0x2) fcntl(96,F_SETFL,0x6) = 0 (0x0) gettimeofday({1147982776 263102},0x0) = 0 (0x0) connect(0x60,{ AF_INET 127.0.0.1:80 },16) = 0 (0x0) gettimeofday({1147982776 264622},0x0) = 0 (0x0) write(96,0x80546e0,0) = 0 (0x0) gettimeofday({1147982776 265949},0x0) = 0 (0x0) write(96,0x80546e0,84) = 84 (0x54) gettimeofday({1147982776 268711},0x0) = 0 (0x0) read(0x61,0x80522c0,0x2000) = 0 (0x0) gettimeofday({1147982776 270031},0x0) = 0 (0x0) close(97) = 0 (0x0) A fairer test would be to use ab on a second box and keep ab on the same OS - you're changing two things at once here. You're also at the mercy of how the scheduler places the processes across the different CPU's (since there is one ab process and multiple httpd processes). Why was Linux stuck at 50% utilization per CPU (surely it should reach 100% with no disk or network constraints)? Perhaps it is sleeping whilst FreeBSD spins? If you are interested in performance try Lighttpd - that is what people use if they want high transaction rates (x10 higher in tests I've done on Linux) - and it is a single process so scheduling isn't so significant. Finally, I'm using apache 2.0.X on 6.1, and ab and apache are both using poll(2). I don't know if apache 2.2 (well, apr really) supports kqueue/(epoll on linux) yet, but it could be worth investigating. Its conceivable the kernel is spinning on multiple processes hitting poll at the same time [does apache still serialize access to poll??]. Does apr use non-portable atomic ops on FreeBSD like it does on Linux 2.4+? I'd setup a second box [Though then you are bringing different network implementations into it.], and also test Lighttpd. Sorry I've got lots of questions and no answers! Steve > Since I didn't have time to reinstall Linux to check if apache's > configuration was the same in all important things all this may be > bogus, but if anyone has a spare box with several CPUs, I'd be > interested in results. > > p.s. I don't think the actual Linux kernel version matters here, any > 2.4 or newer will do. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Thu May 18 21:28:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A53AF16A401; Thu, 18 May 2006 21:28:06 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 393CE43D4C; Thu, 18 May 2006 21:28:05 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4ILRgJk054449; Thu, 18 May 2006 23:27:42 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <446CE6CE.50009@fer.hr> Date: Thu, 18 May 2006 23:27:42 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Hodgson References: <446CCE1C.1050200@fer.hr> <446CD873.9080903@stevehodgson.co.uk> In-Reply-To: <446CD873.9080903@stevehodgson.co.uk> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: performance@freebsd.org, "current@freebsd.org" Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 21:28:06 -0000 Sorry, I forgot about performance@ mailing list, moving the discussion there - please use performance at freebsd.org or equivalent address when replying (and drop current@). Steve Hodgson wrote: > Ivan Voras wrote: > >>Today I had the opportunity to experiment for a short time with a >>4-CPU Xeon machine with hyperthreading (-> 8 logical CPU-s) and 3GB >>RAM. In absence of anything smarter to do, I installed WBEL 3 Linux >>(non-RedHat version of RedHat Enterprise Linux) which was accidentally >>on the table and after toying around I've run a simple benchmark - ab >>(apachebench, included by default with apache server) over localhost >>to a local apache2 server, on a static home-page file. The command >>line was "ab -n 100000 -c 100 http://localhost/". Since I still had >>time with the machine, I then downloaded and installed FreeBSD 6.1 to >>try to beat the score. Unfortunately, not only I couldn't beat the >>score, but the results were *extremely* bad. Since I'm still not sure >>it isn't my fault, I won't post the actual results, but I wonder... >> >>Apache is a well known server-grade product, which doesn't use >>threading (it was preforked in both systems), doesn't call >>gettimeofday() constantly, uses sendfile(), and in short, is very >>different from MySQL. It shouldn't behave this badly on FreeBSD. >> >>Some observations from the benchmark runs: >>- Linux was maxed out with ~50% total idle time, each logical >>processor (hyperthreading was enabled) had ~25% user + ~25% sys time. >>It still delivered order-of-magnitude better results. WBEL3 uses Linux >>2.4.x kernel (i.e. old kernel) >>- FreeBSD CPU time was 100% spent, with 90%-95% spent in sys time >>- On FreeBSD, enabling hyperthreading got me a slowdown of *4x* over >>the initial (bad) results (some slowdown is not surprising, 4x >>slowdown is). >>- Linux "load average" never went above 8, FreBSD's went > 60; this >>could be just a difference in accounting, or it could not - I don't know. >> >>What is needed to reproduce this simple benchmark: >>- SMP machine, the more CPUs the better >>- installed software: only apache20. The "ab" benchmark is included in >>it. Leave apache's default configuration as-is (i.e. preforked, max >>150 parallel clients allowed) >>- A simple static HTML page (Apache's default "welcome, but this site >>is not configured" should be ok). >>- my invocation of "ab" was with "-n 100000 -c 100" ; the (n)umber of >>requests could be modified to fit local CPU speed, but (c)oncurrency >>shouldn't (100 parallel requests is not uncommon). >> > > Apache may not use gettimeofday, but ab certainly does. here is a truss > output of ab:... I don't think this would result in 90% time being spent in sys with large load averages. > A fairer test would be to use ab on a second box and keep ab on the same > OS - you're changing two things at once here. You're also at the mercy > of how the scheduler places the processes across the different CPU's > (since there is one ab process and multiple httpd processes). Why was > Linux stuck at 50% utilization per CPU (surely it should reach 100% with > no disk or network constraints)? Perhaps it is sleeping whilst FreeBSD > spins? > If you are interested in performance try Lighttpd - that is what people > use if they want high transaction rates (x10 higher in tests I've done > on Linux) - and it is a single process so scheduling isn't so significant. Using lighttpd or ab on other host is not really applicable - I wasn't trying to configure the box for production, only ran the benchmarks out of curiosity. Apache *should* work ok out of the box on FreeBSD :) (btw. apache was installed from binary package) Here are the apache config files: http://ivoras.sharanet.org/stuff/httpd.conf.tbz From owner-freebsd-current@FreeBSD.ORG Fri May 19 00:02:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id ABFC416A403; Fri, 19 May 2006 00:02:18 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Rostislav Krasny Date: Fri, 19 May 2006 08:02:08 +0800 User-Agent: KMail/1.8.2 References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <44554601.5090105@freebsd.org> <20060519023732.ea4221dd.rosti.bsd@gmail.com> In-Reply-To: <20060519023732.ea4221dd.rosti.bsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605190802.08825.davidxu@freebsd.org> Cc: is@rambler-co.ru, Colin Percival , freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:02:19 -0000 On Friday 19 May 2006 07:37, Rostislav Krasny wrote: > On Sun, 30 Apr 2006 16:19:29 -0700 > > Colin Percival wrote: > > Rostislav Krasny wrote: > > > Other possible solution is making the fpu_clean_state() optional by > > > something like following: > > > > > > #ifdef BUG_FXSAVE > > > #define fpu_clean_state() __fpu_clean_state() > > > #else > > > #define fpu_clean_state() ; > > > #endif > > > > > > ... and including "options BUG_FXSAVE" to GENERIC. > > > > Yes, this is probably the right solution. My priority was to fix the > > bug; optimizing performance comes second. > > Ok. Is this solution going to be done some day? I could try to make a > patch but I'm not familiar with the build infrastructure internals. > > P.S. what is a better option name: "options BUG_FXSAVE" or "options > AMD_FXSAVE"? Patch is welcome, but I would call it BUG_FXSAVE like Linux's select() changed timeout value which only added incompatibility rather than advantage. David Xu From owner-freebsd-current@FreeBSD.ORG Fri May 19 00:34:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E74B16A421 for ; Fri, 19 May 2006 00:34:43 +0000 (UTC) (envelope-from rosti.bsd@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 E202143D45 for ; Fri, 19 May 2006 00:34:42 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so626060uge for ; Thu, 18 May 2006 17:34:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=Unx4r3sYfMNXguZYsyz8E6FoZmSwrh5eJXVj9jR2bHfnW+ZWSr39GdW7+vpqnMy3e8I9HtEhbehNoC9DiVeFrWd7m3lPCBVUxay/6CHIQHJZEkQJrU5jsy90h+5MRju7O+sZQqAQzchZwVUXSmt3o/sqF1GS+A3GGz3siri8CcU= Received: by 10.66.244.11 with SMTP id r11mr972002ugh; Thu, 18 May 2006 16:38:39 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id j1sm1548536ugf.2006.05.18.16.38.36; Thu, 18 May 2006 16:38:38 -0700 (PDT) Date: Fri, 19 May 2006 02:37:32 +0300 From: Rostislav Krasny To: Colin Percival Message-Id: <20060519023732.ea4221dd.rosti.bsd@gmail.com> In-Reply-To: <44554601.5090105@freebsd.org> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <44554601.5090105@freebsd.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: is@rambler-co.ru, davidxu@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:34:43 -0000 On Sun, 30 Apr 2006 16:19:29 -0700 Colin Percival wrote: > Rostislav Krasny wrote: > > Other possible solution is making the fpu_clean_state() optional by > > something like following: > > > > #ifdef BUG_FXSAVE > > #define fpu_clean_state() __fpu_clean_state() > > #else > > #define fpu_clean_state() ; > > #endif > > > > ... and including "options BUG_FXSAVE" to GENERIC. > > Yes, this is probably the right solution. My priority was to fix the > bug; optimizing performance comes second. Ok. Is this solution going to be done some day? I could try to make a patch but I'm not familiar with the build infrastructure internals. P.S. what is a better option name: "options BUG_FXSAVE" or "options AMD_FXSAVE"? From owner-freebsd-current@FreeBSD.ORG Fri May 19 01:36:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E708516A424 for ; Fri, 19 May 2006 01:36:30 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F1E143D45 for ; Fri, 19 May 2006 01:36:29 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so633723uge for ; Thu, 18 May 2006 18:36:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=ZntzIZz2fwSjost+rYlpiwG7DDFWExaT1PJO0cVr8ifxhFWH1K155204IdgmV5VFTJy6F3F8+gInpxB1PGoUoXWnEXwmMaNFP8lTEe+K0v6UIFttMEinAjMA1zOq6b7IWW0EYbQTwDLoo4QBslgmFSxfEPo4l9CvO34eu/fxpQg= Received: by 10.67.96.14 with SMTP id y14mr1031806ugl; Thu, 18 May 2006 18:11:34 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id q1sm1591961uge.2006.05.18.18.11.32; Thu, 18 May 2006 18:11:34 -0700 (PDT) Date: Fri, 19 May 2006 04:10:52 +0300 From: Rostislav Krasny To: David Xu Message-Id: <20060519041052.ab8dbbe9.rosti.bsd@gmail.com> In-Reply-To: <200605190802.08825.davidxu@freebsd.org> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <44554601.5090105@freebsd.org> <20060519023732.ea4221dd.rosti.bsd@gmail.com> <200605190802.08825.davidxu@freebsd.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: is@rambler-co.ru, cperciva@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 01:36:31 -0000 On Fri, 19 May 2006 08:02:08 +0800 David Xu wrote: > On Friday 19 May 2006 07:37, Rostislav Krasny wrote: > > On Sun, 30 Apr 2006 16:19:29 -0700 > > > > Colin Percival wrote: > > > Rostislav Krasny wrote: > > > > Other possible solution is making the fpu_clean_state() optional by > > > > something like following: > > > > > > > > #ifdef BUG_FXSAVE > > > > #define fpu_clean_state() __fpu_clean_state() > > > > #else > > > > #define fpu_clean_state() ; > > > > #endif > > > > > > > > ... and including "options BUG_FXSAVE" to GENERIC. > > > > > > Yes, this is probably the right solution. My priority was to fix the > > > bug; optimizing performance comes second. > > > > Ok. Is this solution going to be done some day? I could try to make a > > patch but I'm not familiar with the build infrastructure internals. > > > > P.S. what is a better option name: "options BUG_FXSAVE" or "options > > AMD_FXSAVE"? > > Patch is welcome, Ok. What should I do before adding the above #ifdef's? Is it enough to change following files only? src/sys/conf/options src/sys/i386/conf/GENERIC src/sys/i386/conf/NOTES src/sys/i386/conf/PAE src/sys/i386/conf/SMP src/sys/amd64/conf/GENERIC src/sys/amd64/conf/NOTES src/sys/amd64/conf/SMP > but I would call it BUG_FXSAVE like Linux's select() > changed timeout value which only added incompatibility rather than > advantage. I don't know about Linux's select() but according to what I've seen on their "7466f9e72dac13452d871a3fb72fc7bd9c93c864" commit they use X86_FEATURE_FXSAVE_LEAK. What do you think about FXSAVE_LEAK instead of BUG_FXSAVE? From owner-freebsd-current@FreeBSD.ORG Thu May 18 10:17:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C9E16A408 for ; Thu, 18 May 2006 10:17:38 +0000 (UTC) (envelope-from ulrich@infopuls.com) Received: from dachs.cyberlink.ch (dachs.cyberlink.ch [62.12.136.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17B4643D48 for ; Thu, 18 May 2006 10:17:36 +0000 (GMT) (envelope-from ulrich@infopuls.com) Received: (qmail 4040 invoked by uid 600); 18 May 2006 10:17:34 -0000 Received: by simscan 1.0.9 ppid: 4036, pid: 4037, t: 0.0132s scanners: regex: 1.0.9 clamav: 0.88/m:38/d:1467 Message-ID: <20060518101734.4036.qmail@dachs.cyberlink.ch> References: <200605111424.04935.jhb@freebsd.org> In-Reply-To: <200605111424.04935.jhb@freebsd.org> From: freebsd-alpha@infopuls.com To: alpha@freebsd.org, current@freebsd.org Date: Thu, 18 May 2006 12:17:34 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 19 May 2006 02:49:14 +0000 Cc: Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 10:17:45 -0000 Hi folks, a couple of weeks ago a professional FreeBSD supporter managed to bring my PWS500a up to work with 4.11 after many failing attempts by myself. Some of you may remember that I posted a few questions about this machine to this list. Since then I'm using the machine as server and I'm very happy with it. Of course, I regret that the Alpha branch is not continued in FreeBSD development because I intend to use this and some other Alpha boxes that I plan to buy for many years. I like the Alpha architecture and I got the impression that most of the higher level problems like seg-faults in Mozilla on Alpha are caused by dirty programming techniques or bugs in the C compiler related to 64 Bit addressing. Cleaning up such problems would result in better code for the other architectures also. Nevertheless: Thank you very much for FreeBSD/Alpha so far! Ulrich From owner-freebsd-current@FreeBSD.ORG Fri May 19 06:11:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFAD716A420; Fri, 19 May 2006 06:11:18 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D86E43D49; Fri, 19 May 2006 06:11:18 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FgyCg-000Okx-Jb; Fri, 19 May 2006 00:11:14 -0600 In-Reply-To: <446CE6CE.50009@fer.hr> References: <446CCE1C.1050200@fer.hr> <446CD873.9080903@stevehodgson.co.uk> <446CE6CE.50009@fer.hr> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Fri, 19 May 2006 00:11:13 -0600 To: Ivan Voras X-Mailer: Apple Mail (2.750) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: performance@freebsd.org, current@freebsd.org Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 06:11:18 -0000 On May 18, 2006, at 3:27 PM, Ivan Voras wrote: > > Using lighttpd or ab on other host is not really applicable - I > wasn't trying to configure the box for production, only ran the > benchmarks out of curiosity. Apache *should* work ok out of the box > on FreeBSD :) > (btw. apache was installed from binary package) Au Contraire You were not testing apache. You were testing apache and ab. It very well could be that ab is the culprit, not apache. We'll never know unless you can retest with ab on another box. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-current@FreeBSD.ORG Fri May 19 07:44:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81A5816A41F; Fri, 19 May 2006 07:44:28 +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 41B0D43D4C; Fri, 19 May 2006 07:44:24 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FgzeU-000LBm-Ss; Fri, 19 May 2006 16:44:03 +0900 Message-ID: <446D7741.10102@micom.mng.net> Date: Fri, 19 May 2006 16:44:01 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------010005050004060700000402" Cc: Gleb Smirnoff Subject: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 07:44:28 -0000 This is a multi-part message in MIME format. --------------010005050004060700000402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I've made a small patch enhancement for ngctl to support commands history via up/down keys when ngctl works under interactive mode. It was tested on 7.0-CURRENT machine (FreeBSD 7.0-CURRENT #3: Tue May 16 19:17:48 ULAST 2006). I thought this feature might be useful for all. I hope my patch follows style(9) and it is made against CURRENT, it should also cleanly apply on RELENG_6. I saw a similar enhancement patch in PR http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/87352 which adds line edit and history support to ngctl(8) via libedit. My patch uses TERMIOS(4) structure which I thought more portable. Maybe I'm wrong. Please let me know if there is anything that I did wrong. thanks, Ganbold --------------010005050004060700000402 Content-Type: text/x-patch; name="main.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="main.c.patch" --- /usr/src/usr.sbin/ngctl/main.c Sat Feb 5 04:09:11 2005 +++ main.c Fri May 19 15:37:17 2006 @@ -56,6 +56,11 @@ static int ReadCmd(int ac, char **av); static int HelpCmd(int ac, char **av); static int QuitCmd(int ac, char **av); +static int cmdscan(char *cmd, CMDLIST **curr); +static CMDLIST *InstallCmd(char *cmd); +static CMDLIST *GetNextCmd(CMDLIST *curr); +static CMDLIST *GetPrevCmd(CMDLIST *curr); +static void RemoveCmd(CMDLIST *p); /* List of commands */ static const struct ngcmd *const cmds[] = { @@ -105,6 +110,12 @@ /* Our control and data sockets */ int csock, dsock; +/* this variable must be set go to previous cmd in history list */ +int goprev; + +CMDLIST *headcmd = NULL; +CMDLIST *tailcmd = NULL; + /* * main() */ @@ -202,12 +213,25 @@ DoInteractive(void) { const int maxfd = MAX(csock, dsock) + 1; + CMDLIST *curr; + int scan_status = 0; + struct termios new_settings; + struct termios stored_settings; (*help_cmd.func)(0, NULL); while (1) { struct timeval tv; fd_set rfds; + /* record the old settings to restore the terminal when finished */ + tcgetattr(0, &stored_settings); + new_settings = stored_settings; + + /* set things up for character-at-a-time */ + new_settings.c_lflag &= ~(ECHO | ECHOK | ICANON); + new_settings.c_cc[VTIME] = 1; + tcsetattr(0, TCSANOW, &new_settings); + /* See if any data or control messages are arriving */ FD_ZERO(&rfds); FD_SET(csock, &rfds); @@ -256,14 +280,26 @@ if (FD_ISSET(0, &rfds)) { char buf[LINE_MAX]; - if (fgets(buf, sizeof(buf), stdin) == NULL) { - printf("\n"); - break; + /* alwasy begin from last command */ + goprev = 0; + memset(buf, 0, LINE_MAX); + + scan_status = cmdscan(buf, &curr); + if (scan_status == 0) { + rewind(stdin); + continue; } + snprintf(buf, LINE_MAX, "%s", curr->cmd); if (DoParseCommand(buf) == CMDRTN_QUIT) break; } + /* restore the old settings */ + tcsetattr(0, TCSANOW, &stored_settings); } + /* destroy commands */ + while (headcmd != NULL) + RemoveCmd(headcmd); + return(CMDRTN_QUIT); } @@ -493,6 +529,178 @@ } printf("%s\n", sbuf); } +} + +/* + * Get commands from stdin, up/down arrow keys handling + */ +static int +cmdscan(char *cmd, CMDLIST **curr) +{ + CMDLIST *p; + int c, i, j, finished; + + p = *curr; + c = 1; i = 0; finished = 0; + + while (c && !finished && i < LINE_MAX) { + c = getchar(); + switch (c) { + case '\t': + printf("tab\n"); + break; + case '\n': + finished = 1; + putchar('\n'); + if (i > 0) { + cmd[i] = '\0'; + p = InstallCmd(cmd); + } + break; + case 8: + /* backspace */ + case 127: + /* delete */ + if (i > 0) { + cmd[--i] = '\0'; + putchar(8); putchar(' '); putchar(8); + } + break; + case 27: + /* ESC + * Check up/down arrow keys + */ + c = getchar(); + if (c == 91) { + /* it looks like we have an arrow key here */ + c = getchar(); + if (c > 68 || c < 65) { + /* ignore right/left arrow keys, put the characters back in the queue + *(except for the ESC) + */ + ungetc(c, stdin); + ungetc(91, stdin); + } else if (c == 65) { + /* up arrow key */ + for (j=0 ; j < i; j++) { + putchar(8); putchar(' '); putchar(8); + } + p = GetPrevCmd(p); + if (p != NULL) { + printf("%s", p->cmd); + cmd = strdup(p->cmd); + i = strlen(cmd); + } + } else if (c == 66) { + /* down arrow key */ + for (j=0 ; j < i; j++) { + putchar(8); putchar(' '); putchar(8); + } + p = GetNextCmd(p); + if(p != NULL) { + printf("%s", p->cmd); + cmd = strdup(p->cmd); + i = strlen(cmd); + } + } + } else + /* not an arrow key, put the char back */ + ungetc(c, stdin); + break; + + default: + cmd[i++] = c; + putchar(c); + break; + } + } + *curr = p; + + return (strlen(cmd)); +} + +/* + * Get next command from the list + */ +static CMDLIST +*GetNextCmd(CMDLIST *curr) +{ + CMDLIST *p; + + p = curr; + + /* if currend command is not latest in a cmd list, get next cmd */ + if (p != tailcmd && p != NULL) + p = p->next; + + return (p); +} + +/* + * Get previous command from the list + */ +static CMDLIST +*GetPrevCmd(CMDLIST *curr) +{ + CMDLIST *p; + + p = curr; + + if (p == tailcmd && goprev != 1) { + goprev = 1; + return (p); + } + + /* if currend command is not first in a cmd list, get previous cmd */ + if (goprev && p != headcmd && p != NULL) + p = p->prev; + + return (p); +} + +/* + * remove commands from the list + */ +static void +RemoveCmd(CMDLIST *p) +{ + + if (p->prev == NULL) + headcmd = p->next; + else + p->prev->next = p->next; + + if (p->next == NULL) + tailcmd = p->prev; + else + p->next->prev = p->prev; +} + +/* + * add new command to the list + */ +static CMDLIST +*InstallCmd(char *cmd) +{ + CMDLIST *p; + + p = (CMDLIST *) malloc(sizeof(CMDLIST)); + + if (p == NULL || (p->cmd = strdup(cmd)) == NULL) { + warn("malloc"); + exit (CMDRTN_ERROR); + } + + if (headcmd == NULL) { + headcmd = p; + p->prev = NULL; + } else { + tailcmd->next = p; + p->prev = tailcmd; + } + tailcmd = p; + p->next = NULL; + return (p); } /* --------------010005050004060700000402 Content-Type: text/x-patch; name="ngctl.h.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ngctl.h.patch" --- /usr/src/usr.sbin/ngctl/ngctl.h Fri Jan 9 11:19:40 2004 +++ ngctl.h Fri May 19 14:52:08 2006 @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -67,6 +68,13 @@ const char *help; /* help text */ const char *aliases[MAX_CMD_ALIAS]; /* command aliases */ }; + +/* cmd list */ +typedef struct cmd { + char *cmd; + struct cmd *prev; + struct cmd *next; +} CMDLIST; /* Command return values */ #define CMDRTN_OK 0 --------------010005050004060700000402-- From owner-freebsd-current@FreeBSD.ORG Fri May 19 07:54:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A9FF16A423; Fri, 19 May 2006 07:54:16 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2983343D46; Fri, 19 May 2006 07:54:16 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1FgzoN-000IUx-6v; Fri, 19 May 2006 10:54:15 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: gnn@freebsd.org In-reply-to: Your message of Thu, 18 May 2006 10:10:38 -0700 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 May 2006 10:54:15 +0300 From: Danny Braniss Message-ID: Cc: bz@freebsd.org, freebsd-current@freebsd.org Subject: Re: Opencrypto changes. Review request. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 07:54:17 -0000 > Hi, > > I finally went over at least the netipsec part and it looks fine to > me. > > Later, > George I don't know if this applies, but on -STABLE /usr/include/crypto/rijndael.h void rijndael_set_key(rijndael_ctx *, const u_char *, int); refers to the kernel version while libssh has a different idea: void rijndael_set_key(rijndael_ctx *, u_char *, int, int); thanks, danny From owner-freebsd-current@FreeBSD.ORG Fri May 19 07:56:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 819E716A467; Fri, 19 May 2006 07:56:24 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-3.dlr.de (smtp-3.dlr.de [195.37.61.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5674C43D76; Fri, 19 May 2006 07:56:13 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-3.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 19 May 2006 09:56:12 +0200 Date: Fri, 19 May 2006 09:56:12 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Ganbold In-Reply-To: <446D7741.10102@micom.mng.net> Message-ID: <20060519095344.P13833@beagle.kn.op.dlr.de> References: <446D7741.10102@micom.mng.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 19 May 2006 07:56:12.0328 (UTC) FILETIME=[B25A0280:01C67B19] Cc: freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 07:56:25 -0000 Hi, On Fri, 19 May 2006, Ganbold wrote: I did not yet look at your patch, but does it work with ngctl receiving unexpected messages? I remember we had something like this in the tree already, but it was backed out, because readline (or libedit, don't remember which one) waiting for input blocked receiving control messages, as far as I remember. harti G>I've made a small patch enhancement for ngctl to support commands history via G>up/down keys when ngctl works under interactive mode. G>It was tested on 7.0-CURRENT machine (FreeBSD 7.0-CURRENT #3: Tue May 16 G>19:17:48 ULAST 2006). G> G>I thought this feature might be useful for all. I hope my patch follows G>style(9) and it is made against CURRENT, it should also cleanly apply on G>RELENG_6. G> G>I saw a similar enhancement patch in PR G>http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/87352 which adds line edit and G>history support to ngctl(8) via libedit. G> G>My patch uses TERMIOS(4) structure which I thought more portable. Maybe I'm G>wrong. G> G>Please let me know if there is anything that I did wrong. G> G>thanks, G> G>Ganbold G> G> G> From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:01:08 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6689B16A426; Fri, 19 May 2006 08:01:08 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31B1D43D72; Fri, 19 May 2006 08:01:04 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4J812MN076545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 May 2006 12:01:02 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4J812VE076544; Fri, 19 May 2006 12:01:02 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 19 May 2006 12:01:02 +0400 From: Gleb Smirnoff To: Harti Brandt Message-ID: <20060519080102.GM84736@cell.sick.ru> References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060519095344.P13833@beagle.kn.op.dlr.de> User-Agent: Mutt/1.5.6i Cc: Ganbold , freebsd-current@FreeBSD.org Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:01:08 -0000 On Fri, May 19, 2006 at 09:56:12AM +0200, Harti Brandt wrote: H> I did not yet look at your patch, but does it work with ngctl receiving H> unexpected messages? I remember we had something like this in the tree H> already, but it was backed out, because readline (or libedit, don't H> remember which one) waiting for input blocked receiving control messages, H> as far as I remember. This patch doesn't use readlibe or libedit, the command history is implemented in the patch. The PR 87352 is being suspended for two reasons - the author says the patch isn't completed, and Ruslan asks to make this functionality optional via compile setting. He is interested in keeping ngctl small and not depending on extra libraries for embedded environments. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:04:35 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9056416A420; Fri, 19 May 2006 08:04:35 +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 88F9743D45; Fri, 19 May 2006 08:04:34 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FgzyD-000LKT-IF; Fri, 19 May 2006 17:04:25 +0900 Message-ID: <446D7C09.3090003@micom.mng.net> Date: Fri, 19 May 2006 17:04:25 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Harti Brandt References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> In-Reply-To: <20060519095344.P13833@beagle.kn.op.dlr.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:04:35 -0000 Harti Brandt wrote: > Hi, > > On Fri, 19 May 2006, Ganbold wrote: > > I did not yet look at your patch, but does it work with ngctl receiving > unexpected messages? How can I test this? I tested on RELENG_6 machine which has following hooks: ngctl mkpeer xl1: tee lower right ngctl connect xl1: xl1:lower upper left ngctl name xl1:lower xl1_tee ngctl mkpeer xl1_tee: netflow left2right iface0 ngctl name xl1:lower.left2right netflow ngctl connect xl1_tee: netflow: right2left iface1 ngctl msg netflow: setifindex { iface=0 index=2 } ngctl msg netflow: setifindex { iface=1 index=1 } ngctl mkpeer netflow: ksocket export inet/dgram/udp ngctl msg netflow:export connect inet/127.0.0.1:8818 ngctl mkpeer xl0: tee lower right ngctl connect xl0: xl0:lower upper left ngctl name xl0:lower xl0_tee ngctl mkpeer xl0_tee: netflow left2right iface2 ngctl name xl0:lower.left2right netflow0 ngctl msg netflow0: setifindex { iface=2 index=4 } ngctl connect xl0_tee: netflow0: right2left iface3 ngctl msg netflow0: setifindex { iface=3 index=3 } ngctl mkpeer netflow0: ksocket export inet/dgram/udp ngctl msg netflow0:export connect inet/127.0.0.1:8818 It seems like works at a first glance. > I remember we had something like this in the tree > already, but it was backed out, because readline (or libedit, don't > remember which one) waiting for input blocked receiving control messages, > as far as I remember. > I see. How can I make system to send unexpected messages to ngctl? Ganbold > harti > > G>I've made a small patch enhancement for ngctl to support commands history via > G>up/down keys when ngctl works under interactive mode. > G>It was tested on 7.0-CURRENT machine (FreeBSD 7.0-CURRENT #3: Tue May 16 > G>19:17:48 ULAST 2006). > G> > G>I thought this feature might be useful for all. I hope my patch follows > G>style(9) and it is made against CURRENT, it should also cleanly apply on > G>RELENG_6. > G> > G>I saw a similar enhancement patch in PR > G>http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/87352 which adds line edit and > G>history support to ngctl(8) via libedit. > G> > G>My patch uses TERMIOS(4) structure which I thought more portable. Maybe I'm > G>wrong. > G> > G>Please let me know if there is anything that I did wrong. > G> > G>thanks, > G> > G>Ganbold > G> > G> > G> > > > > From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:12:18 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FE7316A420; Fri, 19 May 2006 08:12:18 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9835343D49; Fri, 19 May 2006 08:12:17 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4J8CFNd076640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 May 2006 12:12:16 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4J8CFth076639; Fri, 19 May 2006 12:12:15 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 19 May 2006 12:12:15 +0400 From: Gleb Smirnoff To: Ganbold Message-ID: <20060519081215.GO84736@cell.sick.ru> References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <446D7C09.3090003@micom.mng.net> User-Agent: Mutt/1.5.6i Cc: freebsd-current@FreeBSD.org, Harti Brandt Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:12:19 -0000 On Fri, May 19, 2006 at 05:04:25PM +0900, Ganbold wrote: G> I see. How can I make system to send unexpected messages to ngctl? > kldload ng_ether > ngctl + ls There are 2 total nodes: Name: ngctl990 Type: socket ID: 00000004 Num hooks: 0 Name: fxp0 Type: ether ID: 00000002 Num hooks: 0 + connect fxp0: qqq lower + Rec'd data packet on hook "qqq": 0000: 00 10 a4 89 56 3f 00 30 48 80 34 83 08 00 45 00 ....V?.0H.4...E. 0010: 05 dc a0 91 20 00 40 11 91 7a 51 13 40 70 51 13 .... .@..zQ.@pQ. 0020: 40 6f 08 01 03 27 20 88 9b c6 77 90 1f ee 00 00 @o...' ...w..... 0030: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040: 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 ................ 0050: 01 a4 00 00 00 01 00 00 03 e8 00 00 00 00 00 00 ................ -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:25:39 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFC8B16A4E0; Fri, 19 May 2006 08:25:39 +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 5D07D43D48; Fri, 19 May 2006 08:25:37 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fh0IP-000LkT-9K; Fri, 19 May 2006 17:25:17 +0900 Message-ID: <446D80EC.3010106@micom.mng.net> Date: Fri, 19 May 2006 17:25:16 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: Gleb Smirnoff References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> <20060519081215.GO84736@cell.sick.ru> In-Reply-To: <20060519081215.GO84736@cell.sick.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@FreeBSD.org, Harti Brandt Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:25:39 -0000 Gleb Smirnoff wrote: > On Fri, May 19, 2006 at 05:04:25PM +0900, Ganbold wrote: > G> I see. How can I make system to send unexpected messages to ngctl? > > >> kldload ng_ether >> ngctl >> > > + ls > There are 2 total nodes: > Name: ngctl990 Type: socket ID: 00000004 Num hooks: 0 > Name: fxp0 Type: ether ID: 00000002 Num hooks: 0 > + connect fxp0: qqq lower > + > Rec'd data packet on hook "qqq": > 0000: 00 10 a4 89 56 3f 00 30 48 80 34 83 08 00 45 00 ....V?.0H.4...E. > 0010: 05 dc a0 91 20 00 40 11 91 7a 51 13 40 70 51 13 .... .@..zQ.@pQ. > 0020: 40 6f 08 01 03 27 20 88 9b c6 77 90 1f ee 00 00 @o...' ...w..... > 0030: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > 0040: 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 ................ > 0050: 01 a4 00 00 00 01 00 00 03 e8 00 00 00 00 00 00 ................ > > It receives bunch of stuffs with patched ngctl: + ls There are 3 total nodes: Name: ngctl3919 Type: socket ID: 00000005 Num hooks: 1 Name: fxp0 Type: ether ID: 00000003 Num hooks: 1 Name: re0 Type: ether ID: 00000002 Num hooks: 0 + connect re0: qqq lower ngctl: send msg: File exists + connect re0: qqqq lower + Rec'd data packet on hook "qqqq": 0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. 0010: 00 4e 17 32 00 00 80 11 a0 e2 c0 a8 00 3b c0 a8 .N.2.........;.. 0020: 00 ff 00 89 00 89 00 3a 9b d7 80 8d 01 10 00 01 .......:........ 0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF 0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC 0050: 41 43 41 43 41 43 41 00 00 20 00 01 ACACACA.. .. Rec'd data packet on hook "qqqq": 0000: ff ff ff ff ff ff 00 14 6c 2e 28 9d 08 06 00 01 ........l.(..... 0010: 08 00 06 04 00 01 00 14 6c 2e 28 9d c0 a8 00 07 ........l.(..... 0020: 00 00 00 00 00 00 c0 a8 00 3b 00 00 00 00 00 00 .........;...... 0030: 00 00 00 00 00 00 00 00 00 00 00 00 ............ + Rec'd data packet on hook "qqqq": 0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. 0010: 00 4e 17 47 00 00 80 11 a0 cd c0 a8 00 3b c0 a8 .N.G.........;.. 0020: 00 ff 00 89 00 89 00 3a 9b d8 80 8e 01 10 00 01 .......:........ 0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF 0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC 0050: 41 43 41 43 41 41 41 00 00 20 00 01 ACACAAA.. .. + Rec'd data packet on hook "qqqq": 0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. 0010: 00 4e 17 4e 00 00 80 11 a0 c6 c0 a8 00 3b c0 a8 .N.N.........;.. 0020: 00 ff 00 89 00 89 00 3a b1 dc 80 8f 01 10 00 01 .......:........ 0030: 00 00 00 00 00 00 20 45 4f 45 42 46 44 45 42 45 ...... EOEBFDEBE 0040: 42 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 BCACACACACACACAC ... Is it what it supposed to handle? Ganbold From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:26:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3199116A424; Fri, 19 May 2006 08:26:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail27.syd.optusnet.com.au (mail27.syd.optusnet.com.au [211.29.133.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73FA743D48; Fri, 19 May 2006 08:26:27 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail27.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4J8QNfc012701 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 19 May 2006 18:26:25 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4J8QNRg001016; Fri, 19 May 2006 18:26:23 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4J8QMJK001015; Fri, 19 May 2006 18:26:22 +1000 (EST) (envelope-from peter) Date: Fri, 19 May 2006 18:26:22 +1000 From: Peter Jeremy To: freebsd-alpha@infopuls.com Message-ID: <20060519082621.GA736@turion.vk2pj.dyndns.org> Mail-Followup-To: Peter Jeremy , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060518101734.4036.qmail@dachs.cyberlink.ch> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:26:29 -0000 On Thu, 2006-May-18 12:17:34 +0200, freebsd-alpha@infopuls.com wrote: >Of course, I regret that the Alpha branch is not continued in FreeBSD >development because I intend to use this and some other Alpha boxes that I >plan to buy for many years. As has been said elsewhere in this thread, I don't believe anyone is overjoyed at the axing of the Alpha branch. Unfortunately, given the demise of the architecture, enthusiasm for the Alpha has diminished to the point where it is holding back the FreeBSD project. I'll accept my share of the responsibility for this - neither of my Alphas are currently in working condition and I haven't been sufficiently motivated to repair them, as a result, I haven't been following the progress of FreeBSD/Alpha for about 18 months. AFAIK, FreeBSD/Alpha will continue to be supported for the life of the 6.x branch - at least another 3 years. After which, you can always run NetBSD on it. > I like the Alpha architecture and I got the >impression that most of the higher level problems like seg-faults in >Mozilla on Alpha are caused by dirty programming techniques or bugs in the >C compiler related to 64 Bit addressing. Cleaning up such problems would >result in better code for the other architectures also. Definitely. This is one reason why the Alpha branch wasn't axed in the past. However there are now several other 64-bit architectures so this is no longer a justification for maintaining the Alpha. The SPARC64 branch has the added bonus of being a big-endian architecture so it also detects cases where code assumes little-endian addressing. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:52:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9109216A432 for ; Fri, 19 May 2006 08:52:57 +0000 (UTC) (envelope-from massimo@cedoc.mo.it) Received: from insomma.datacode.it (ip-174-86.sn2.eutelia.it [83.211.174.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id E844643D49 for ; Fri, 19 May 2006 08:52:56 +0000 (GMT) (envelope-from massimo@cedoc.mo.it) Received: from localhost (localhost.datacode.it [127.0.0.1]) by insomma.datacode.it (Postfix) with SMTP id 23FF02C90B for ; Fri, 19 May 2006 10:52:54 +0200 (CEST) Received: from insomma.datacode.it (localhost.datacode.it [127.0.0.1]) by insomma.datacode.it (Postfix) with ESMTP id 5F83A2C90A for ; Fri, 19 May 2006 10:52:53 +0200 (CEST) Received: from massimo.datacode.it (massimo.datacode.it [192.168.1.13]) by insomma.datacode.it (Postfix) with ESMTP id 1E63B2C906 for ; Fri, 19 May 2006 10:52:53 +0200 (CEST) From: Massimo Lusetti To: freebsd-current@freebsd.org In-Reply-To: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> References: <8E2A65C9-1CEA-452F-B8BB-CAEB573F60DD@freebsd.org> Content-Type: text/plain Organization: CEDOC - Modena Date: Fri, 19 May 2006 10:52:52 +0200 Message-Id: <1148028773.4302.1.camel@massimo.datacode.it> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: jemalloc paper/slides available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:52:57 -0000 On Thu, 2006-05-18 at 10:19 -0700, Jason Evans wrote: > The paper and slides for jemalloc that I presented at BSDcan 2006 are > available at: > > http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/ > > If you read only one or the other, choose the paper. > Thanks to you all sharing this slides/papers from BSDCan, they are really interesting. Thanks! -- Massimo.run(); From owner-freebsd-current@FreeBSD.ORG Fri May 19 08:54:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C8916A43C for ; Fri, 19 May 2006 08:54:20 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id B871643D6E for ; Fri, 19 May 2006 08:54:14 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k4J8s9TW052229; Fri, 19 May 2006 12:54:09 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k4J8s8GE052228; Fri, 19 May 2006 12:54:08 +0400 (MSD) (envelope-from yar) Date: Fri, 19 May 2006 12:54:08 +0400 From: Yar Tikhiy To: Thomas-Martin Seck Message-ID: <20060519085408.GB51604@comp.chem.msu.su> References: <20060518151232.GA37743@comp.chem.msu.su> <200605181819.k4IIJHL7001150@hardy.tmseck.homedns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605181819.k4IIJHL7001150@hardy.tmseck.homedns.org> User-Agent: Mutt/1.5.9i Cc: freebsd-current@freebsd.org Subject: Re: Root FS corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:54:20 -0000 On Thu, May 18, 2006 at 08:19:17PM +0200, Thomas-Martin Seck wrote: > * Yar Tikhiy : > > > I saw the following / corruption in a fresh CURRENT when using > > nextboot. Of course, it wasn't the fault of nextboot itself, > > nextboot simply was the only utility to modify / in my case. > > > > I found the contents of nextboot.conf once in my custom /root/supfile, > > the other time in the stock /etc/protocols. /etc/protocols was > > large enough to see how the corruption had happened: the first > > fragment, 2048 bytes, of the file was replaced by the contents of > > nextboot.conf, zero padded. > > > > The / was a usual 2048/16384 UFS2 without soft-updates. The kernel > > was GENERIC. Forced fsck reported no problems at all. The / had > > never been dirty because I used nextboot to boot single-user with > > all FSen read-only and investigate a panic unrelated to FS. > > > > Did any one see a similar problem of fragment mis-allocation? > > I experienced the exact same corruption some months ago with a RELENG_6 > test system I update regularly. Unfortunately, this corruption happened > only once, I was never able to reproduce it since. > > The kernel is a stripped down GENERIC, /root is a 2048/16384 UFS2 fs. Thank you for your reply! Apropos, today /boot/kernel/ng_fec.ko fell a victim to the corruption in exactly the same way: its first fragment was replaced by the nextboot.conf contents. The system was updated last time on the day before yesterday. Of course, more / corruption is likely. The case of nextboot.conf is just detectable easily. Thank Daemon, it's a test machine and not a production server. I'm still trying to find a pattern in the corruption. -- Yar From owner-freebsd-current@FreeBSD.ORG Fri May 19 09:05:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id AB2A716A41F; Fri, 19 May 2006 09:05:16 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Rostislav Krasny Date: Fri, 19 May 2006 17:05:07 +0800 User-Agent: KMail/1.8.2 References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605190802.08825.davidxu@freebsd.org> <20060519041052.ab8dbbe9.rosti.bsd@gmail.com> In-Reply-To: <20060519041052.ab8dbbe9.rosti.bsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605191705.07309.davidxu@freebsd.org> Cc: is@rambler-co.ru, cperciva@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 09:05:17 -0000 On Friday 19 May 2006 09:10, Rostislav Krasny wrote: > Ok. What should I do before adding the above #ifdef's? Is it enough to > change following files only? > > src/sys/conf/options I think they are sys/conf/options.i386 and sys/conf/options.amd64 > src/sys/i386/conf/GENERIC > src/sys/i386/conf/NOTES > src/sys/i386/conf/PAE > src/sys/i386/conf/SMP > src/sys/amd64/conf/GENERIC > src/sys/amd64/conf/NOTES > src/sys/amd64/conf/SMP > I think modifying GENERIC and NOTES is enough. > > but I would call it BUG_FXSAVE like Linux's select() > > changed timeout value which only added incompatibility rather than > > advantage. > > I don't know about Linux's select() but according to what I've seen on > their "7466f9e72dac13452d871a3fb72fc7bd9c93c864" commit they use > X86_FEATURE_FXSAVE_LEAK. What do you think about FXSAVE_LEAK instead of > BUG_FXSAVE? I have no objection. David Xu From owner-freebsd-current@FreeBSD.ORG Fri May 19 09:42:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CA7D16A423; Fri, 19 May 2006 09:42:03 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 652E243D45; Fri, 19 May 2006 09:42:02 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr8.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4J9ftkD026367; Fri, 19 May 2006 11:41:55 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.6/8.13.3) with ESMTP id k4J9ftMp010651; Fri, 19 May 2006 11:41:55 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.6/8.13.6/Submit) id k4J9fsZr010650; Fri, 19 May 2006 11:41:54 +0200 (CEST) (envelope-from wb) Date: Fri, 19 May 2006 11:41:54 +0200 From: Wilko Bulte To: Peter Jeremy , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Message-ID: <20060519094154.GA10634@freebie.xs4all.nl> References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060519082621.GA736@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 09:42:05 -0000 On Fri, May 19, 2006 at 06:26:22PM +1000, Peter Jeremy wrote.. > On Thu, 2006-May-18 12:17:34 +0200, freebsd-alpha@infopuls.com wrote: > >Of course, I regret that the Alpha branch is not continued in FreeBSD > >development because I intend to use this and some other Alpha boxes that I > >plan to buy for many years. > > As has been said elsewhere in this thread, I don't believe anyone is > overjoyed at the axing of the Alpha branch. Unfortunately, given the > demise of the architecture, enthusiasm for the Alpha has diminished to > the point where it is holding back the FreeBSD project. I'll accept > my share of the responsibility for this - neither of my Alphas are > currently in working condition and I haven't been sufficiently > motivated to repair them, as a result, I haven't been following the > progress of FreeBSD/Alpha for about 18 months. > > AFAIK, FreeBSD/Alpha will continue to be supported for the life of the > 6.x branch - at least another 3 years. After which, you can always > run NetBSD on it. One thing that I have been pondering is that for Alpha you will now have to directly commit things onto RELENG_[56] without going to HEAD first. After all, there is no buildable Alpha support in HEAD anymore. I think this is a first in FreeBSD, which makes it interesting.. > past. However there are now several other 64-bit architectures so this > is no longer a justification for maintaining the Alpha. The SPARC64 Well.. if you just count the problems with unaligned accesses etc I wonder if SPARC64 fills that gap? I just don't know enough about SPARC64 here, mind you. > branch has the added bonus of being a big-endian architecture so it > also detects cases where code assumes little-endian addressing. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Fri May 19 09:59:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26E1C16A41F for ; Fri, 19 May 2006 09:59:14 +0000 (UTC) (envelope-from rosti.bsd@gmail.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 06B3E43D53 for ; Fri, 19 May 2006 09:59:12 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so703678uge for ; Fri, 19 May 2006 02:59:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=Bjk2433900XIzOZ8il2NIp/YqaVS81E7yNcJ1pXcF57CGbQIl5hQjf7ENk+YfgQoHYK8zsKfaGvqouGve3ZrxzQr27WNrtMd67dtjZ7su56YdifVsFv9hzz3QxFmlCuBgk9GmzIEgevgzUA+NcMupUMFvDZjQlbozVHWV8y0REg= Received: by 10.78.47.9 with SMTP id u9mr536655huu; Fri, 19 May 2006 02:34:09 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id 35sm506200huc.2006.05.19.02.34.04; Fri, 19 May 2006 02:34:08 -0700 (PDT) Date: Fri, 19 May 2006 12:34:06 +0300 From: Rostislav Krasny To: David Xu Message-Id: <20060519123406.3cdf83e1.rosti.bsd@gmail.com> In-Reply-To: <200605191705.07309.davidxu@freebsd.org> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605190802.08825.davidxu@freebsd.org> <20060519041052.ab8dbbe9.rosti.bsd@gmail.com> <200605191705.07309.davidxu@freebsd.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: is@rambler-co.ru, cperciva@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 09:59:14 -0000 On Fri, 19 May 2006 17:05:07 +0800 David Xu wrote: > On Friday 19 May 2006 09:10, Rostislav Krasny wrote: > > > Ok. What should I do before adding the above #ifdef's? Is it enough to > > change following files only? > > > > src/sys/conf/options > I think they are sys/conf/options.i386 and sys/conf/options.amd64 Ok, then should I also change sys/conf/options.pc98 ? I don't know much about the PC98. What processors there are in use? > > src/sys/i386/conf/GENERIC > > src/sys/i386/conf/NOTES > > src/sys/i386/conf/PAE > > src/sys/i386/conf/SMP > > src/sys/amd64/conf/GENERIC > > src/sys/amd64/conf/NOTES > > src/sys/amd64/conf/SMP > > > I think modifying GENERIC and NOTES is enough. Then PAE and SMP kernels will be vulnerable on AMD by default? > > > but I would call it BUG_FXSAVE like Linux's select() > > > changed timeout value which only added incompatibility rather than > > > advantage. > > > > I don't know about Linux's select() but according to what I've seen on > > their "7466f9e72dac13452d871a3fb72fc7bd9c93c864" commit they use > > X86_FEATURE_FXSAVE_LEAK. What do you think about FXSAVE_LEAK instead of > > BUG_FXSAVE? > > I have no objection. Ok, I'll use FXSAVE_LEAK. From owner-freebsd-current@FreeBSD.ORG Fri May 19 10:18:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43D5616A422; Fri, 19 May 2006 10:18:03 +0000 (UTC) (envelope-from snezhko@indorsoft.ru) Received: from indor.net.tomline.ru (indor.net.tomline.ru [213.183.100.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86EFD43D45; Fri, 19 May 2006 10:17:59 +0000 (GMT) (envelope-from snezhko@indorsoft.ru) Received: from SNEZHKO by indorsoft.ru (MDaemon.PRO.v7.2.2.R) with ESMTP id md50000080451.msg; Fri, 19 May 2006 17:17:53 +0700 From: Victor Snezhko To: Rostislav Krasny References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605190802.08825.davidxu@freebsd.org> <20060519041052.ab8dbbe9.rosti.bsd@gmail.com> <200605191705.07309.davidxu@freebsd.org> <20060519123406.3cdf83e1.rosti.bsd@gmail.com> Date: Fri, 19 May 2006 17:17:45 +0700 In-Reply-To: <20060519123406.3cdf83e1.rosti.bsd@gmail.com> (Rostislav Krasny's message of "Fri, 19 May 2006 12:34:06 +0300") Message-ID: User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/21.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Processed: indor.net.tomline.ru, Fri, 19 May 2006 17:17:53 +0700 (not processed: spam filter disabled) X-Return-Path: snezhko@indorsoft.ru Cc: is@rambler-co.ru, David Xu , cperciva@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 10:18:03 -0000 Rostislav Krasny writes: >> > src/sys/i386/conf/GENERIC >> > src/sys/i386/conf/NOTES >> > src/sys/i386/conf/PAE >> > src/sys/i386/conf/SMP >> > src/sys/amd64/conf/GENERIC >> > src/sys/amd64/conf/NOTES >> > src/sys/amd64/conf/SMP >> > >> I think modifying GENERIC and NOTES is enough. > > Then PAE and SMP kernels will be vulnerable on AMD by default? SMP and PAE files include GENERIC. -- WBR, Victor V. Snezhko E-mail: snezhko@indorsoft.ru From owner-freebsd-current@FreeBSD.ORG Fri May 19 11:15:35 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48DFF16A41F; Fri, 19 May 2006 11:15:35 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B79343D46; Fri, 19 May 2006 11:15:34 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail07.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4JBFKGQ001413 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 19 May 2006 21:15:21 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4JBFKPh001638; Fri, 19 May 2006 21:15:20 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4JBFK1C001637; Fri, 19 May 2006 21:15:20 +1000 (EST) (envelope-from peter) Date: Fri, 19 May 2006 21:15:19 +1000 From: Peter Jeremy To: Wilko Bulte Message-ID: <20060519111519.GA1587@turion.vk2pj.dyndns.org> References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060519094154.GA10634@freebie.xs4all.nl> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 11:15:35 -0000 [I've just realised that I broke my e-mail a few weeks ago and mutt has been helpfully and invisibly inserting a "Mail-Followup-To" line that includes an address that won't work. Thanks to Wilko for (inadvertently) drawing my attention to it and apologies for any bounces. I hope I've fixed it.] On Fri, 2006-May-19 11:41:54 +0200, Wilko Bulte wrote: >One thing that I have been pondering is that for Alpha you will now have to >directly commit things onto RELENG_[56] without going to HEAD first. > >After all, there is no buildable Alpha support in HEAD anymore. > >I think this is a first in FreeBSD, which makes it interesting.. There have been device drivers that have been lost in -current before so it not a totally novel concept but this is the first architecture to have been dropped. >Well.. if you just count the problems with unaligned accesses etc >I wonder if SPARC64 fills that gap? I just don't know enough about >SPARC64 here, mind you. SPARC definitely requires aligned accesses. I'm not sure what Sun did with the SPARC64. The other option is to set the "alignment checking" bit on i386. -- Peter Jeremy From owner-freebsd-current@FreeBSD.ORG Fri May 19 10:38:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0DBC16A420 for ; Fri, 19 May 2006 10:38:56 +0000 (UTC) (envelope-from greetz@mail.ru) Received: from f47.mail.ru (f47.mail.ru [194.67.57.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4923A43D46 for ; Fri, 19 May 2006 10:38:56 +0000 (GMT) (envelope-from greetz@mail.ru) Received: from mail by f47.mail.ru with local id 1Fh2Nf-0007mb-00 for freebsd-current@freebsd.org; Fri, 19 May 2006 14:38:51 +0400 Received: from [217.168.78.83] by win.mail.ru with HTTP; Fri, 19 May 2006 14:38:51 +0400 From: greetz@mail.ru To: freebsd-current@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: unknown via proxy [217.168.78.83] Date: Fri, 19 May 2006 14:38:51 +0400 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Mailman-Approved-At: Fri, 19 May 2006 11:29:27 +0000 Subject: /usr/src/include/nl_types.h - bug fix... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: greetz@mail.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 10:38:56 -0000 Hello to all FreeBSD community. This is my first message in this mailing list, but a long time ago I wanted to help this project, the OS, witch I'm using for about a 5 year, and will use it always. Also, I'm always interested in using the latest versions of FreeBSD. At this time, receiving security reports, I decided to upgrade my server from 5.4 to current, also, I before this point I've beeing using current on my laptop. But, after getting sources from cvs, make buildworld tells me about error in /usr/src/include/nl_types.h:100. I've tryed to fix it by my self... Fix were very simple, just replecing char *catgets(nl_catd, int, int, const char *) __format_arg(4); to char *catgets(nl_catd, int, int, const char *); I do not think that this is the best solution, but it works fine for me. As for the kernel, it get errors at the linking time, but I hope that sone will find solution and for this problem too. That's all))... I hope, that this simple `fix' will help some body... -- Best regards, banshee... From owner-freebsd-current@FreeBSD.ORG Fri May 19 11:49:43 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C955F16A421 for ; Fri, 19 May 2006 11:49:43 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFB5F43D49 for ; Fri, 19 May 2006 11:49:42 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so506750wxd for ; Fri, 19 May 2006 04:49:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p6oF2bX6MR8VyghgvRnhiK0Pr9PuwUN8lmOXXKoezq9nRvp4ewUucp5XfRt6ljih/UpFgVOck6TvvDxNcTESrRm6GYvVABqe/dEAGjK/guI77J702iRFbDqHayS+jKIq/YnDOuHYx7yarVKRZDXgyCSdHzYHPD4Y94XgWzH0U2w= Received: by 10.70.109.19 with SMTP id h19mr1408067wxc; Fri, 19 May 2006 04:49:41 -0700 (PDT) Received: by 10.70.105.1 with HTTP; Fri, 19 May 2006 04:49:41 -0700 (PDT) Message-ID: <84dead720605190449v27bfc32ar7b55fbd0bf74ff9c@mail.gmail.com> Date: Fri, 19 May 2006 17:19:41 +0530 From: "Joseph Koshy" To: "Peter Jeremy" In-Reply-To: <20060519111519.GA1587@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> Cc: Wilko Bulte , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 11:49:43 -0000 > SPARC definitely requires aligned accesses. I'm not sure what Sun > did with the SPARC64. The other option is to set the "alignment > checking" bit on i386. The AC bit only works for privilege level 3 (userland code) on the i386. --=20 FreeBSD Developer, http://people.freebsd.org/~jkoshy From owner-freebsd-current@FreeBSD.ORG Fri May 19 11:54:33 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8593016A420; Fri, 19 May 2006 11:54:33 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-3.dlr.de (smtp-3.dlr.de [195.37.61.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id E413643D49; Fri, 19 May 2006 11:54:32 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-3.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 19 May 2006 13:54:31 +0200 Date: Fri, 19 May 2006 13:54:35 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Ganbold In-Reply-To: <446D80EC.3010106@micom.mng.net> Message-ID: <20060519135346.L13833@beagle.kn.op.dlr.de> References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> <20060519081215.GO84736@cell.sick.ru> <446D80EC.3010106@micom.mng.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 19 May 2006 11:54:31.0364 (UTC) FILETIME=[FD3DC040:01C67B3A] Cc: freebsd-current@FreeBSD.org, Gleb Smirnoff Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 11:54:33 -0000 On Fri, 19 May 2006, Ganbold wrote: G>Gleb Smirnoff wrote: G>> On Fri, May 19, 2006 at 05:04:25PM +0900, Ganbold wrote: G>> G> I see. How can I make system to send unexpected messages to ngctl? G>> G>> G>> > kldload ng_ether G>> > ngctl G>> > G>> G>> + ls G>> There are 2 total nodes: G>> Name: ngctl990 Type: socket ID: 00000004 Num hooks: 0 G>> Name: fxp0 Type: ether ID: 00000002 Num hooks: 0 G>> + connect fxp0: qqq lower G>> + Rec'd data packet on hook "qqq": G>> 0000: 00 10 a4 89 56 3f 00 30 48 80 34 83 08 00 45 00 ....V?.0H.4...E. G>> 0010: 05 dc a0 91 20 00 40 11 91 7a 51 13 40 70 51 13 .... .@..zQ.@pQ. G>> 0020: 40 6f 08 01 03 27 20 88 9b c6 77 90 1f ee 00 00 @o...' ...w..... G>> 0030: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ G>> 0040: 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 ................ G>> 0050: 01 a4 00 00 00 01 00 00 03 e8 00 00 00 00 00 00 ................ G>> G>> G>It receives bunch of stuffs with patched ngctl: G> G>+ ls G>There are 3 total nodes: G> Name: ngctl3919 Type: socket ID: 00000005 Num hooks: 1 G> Name: fxp0 Type: ether ID: 00000003 Num hooks: 1 G> Name: re0 Type: ether ID: 00000002 Num hooks: 0 G>+ connect re0: qqq lower G>ngctl: send msg: File exists G>+ connect re0: qqqq lower G>+ G>Rec'd data packet on hook "qqqq": G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. G>0010: 00 4e 17 32 00 00 80 11 a0 e2 c0 a8 00 3b c0 a8 .N.2.........;.. G>0020: 00 ff 00 89 00 89 00 3a 9b d7 80 8d 01 10 00 01 .......:........ G>0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF G>0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC G>0050: 41 43 41 43 41 43 41 00 00 20 00 01 ACACACA.. .. G>Rec'd data packet on hook "qqqq": G>0000: ff ff ff ff ff ff 00 14 6c 2e 28 9d 08 06 00 01 ........l.(..... G>0010: 08 00 06 04 00 01 00 14 6c 2e 28 9d c0 a8 00 07 ........l.(..... G>0020: 00 00 00 00 00 00 c0 a8 00 3b 00 00 00 00 00 00 .........;...... G>0030: 00 00 00 00 00 00 00 00 00 00 00 00 ............ G>+ G>Rec'd data packet on hook "qqqq": G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. G>0010: 00 4e 17 47 00 00 80 11 a0 cd c0 a8 00 3b c0 a8 .N.G.........;.. G>0020: 00 ff 00 89 00 89 00 3a 9b d8 80 8e 01 10 00 01 .......:........ G>0030: 00 00 00 00 00 00 20 45 43 45 42 46 45 45 45 46 ...... ECEBFEEEF G>0040: 46 45 4d 45 42 45 4e 43 41 43 41 43 41 43 41 43 FEMEBENCACACACAC G>0050: 41 43 41 43 41 41 41 00 00 20 00 01 ACACAAA.. .. G>+ G>Rec'd data packet on hook "qqqq": G>0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. G>0010: 00 4e 17 4e 00 00 80 11 a0 c6 c0 a8 00 3b c0 a8 .N.N.........;.. G>0020: 00 ff 00 89 00 89 00 3a b1 dc 80 8f 01 10 00 01 .......:........ G>0030: 00 00 00 00 00 00 20 45 4f 45 42 46 44 45 42 45 ...... EOEBFDEBE G>0040: 42 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 BCACACACACACACAC G>... G> G>Is it what it supposed to handle? Yes. Nice. That's a feature I was missing for a long time. harti From owner-freebsd-current@FreeBSD.ORG Fri May 19 12:13:02 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AA9416A436; Fri, 19 May 2006 12:13:02 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from proof.pobox.com (proof.pobox.com [207.106.133.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE4D43D48; Fri, 19 May 2006 12:13:01 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id D1DD72425F; Fri, 19 May 2006 08:13:00 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id 761AE462DB; Fri, 19 May 2006 08:12:57 -0400 (EDT) Received: from lists by mappit.local.linnet.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fh3qi-0003UT-2k; Fri, 19 May 2006 13:12:56 +0100 Date: Fri, 19 May 2006 13:12:56 +0100 From: Brian Candler To: Ganbold Message-ID: <20060519121256.GA13356@uk.tiscali.com> References: <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net> <20060519081215.GO84736@cell.sick.ru> <446D80EC.3010106@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446D80EC.3010106@micom.mng.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org, Gleb Smirnoff , Harti Brandt Subject: Re: small patch for ngctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:13:02 -0000 On Fri, May 19, 2006 at 05:25:16PM +0900, Ganbold wrote: > Rec'd data packet on hook "qqqq": > 0000: ff ff ff ff ff ff 00 14 6c 2e 23 71 08 00 45 00 ........l.#q..E. > 0010: 00 4e 17 4e 00 00 80 11 a0 c6 c0 a8 00 3b c0 a8 .N.N.........;.. > 0020: 00 ff 00 89 00 89 00 3a b1 dc 80 8f 01 10 00 01 .......:........ > 0030: 00 00 00 00 00 00 20 45 4f 45 42 46 44 45 42 45 ...... EOEBFDEBE > 0040: 42 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 BCACACACACACACAC > ... > > Is it what it supposed to handle? Looks like a valid ethernet frame to me; ff:ff:ff:ff:ff:ff - destination MAC addr (broadcast) 00:14:6c:2e:23:71 - source MAC addr 0800 - protocol (IP) 45 00 - IPv4 00 4e - datagram length 17 4e 00 00 - ID, flags, frag offset 80 - TTL 11 - protocol (UDP) a0 c6 - header checksum c0 a8 00 3b - source IP: 192.168.0.59 c0 a8 00 ff - destination IP: 192.168.0.255 00 89 - source port 137 00 89 - destination port 137 00 3a - length b1 dc - UDP checksum ... - ... data So I'd say this is some Windows machine broadcasting NetBIOS crap around your network :-) Regards, Brian. From owner-freebsd-current@FreeBSD.ORG Fri May 19 12:21:52 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C9A716A4A5; Fri, 19 May 2006 12:21:52 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 237A543D69; Fri, 19 May 2006 12:21:46 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 2E82A2083; Fri, 19 May 2006 14:21:41 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 9BEDE2082; Fri, 19 May 2006 14:21:40 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 8000233CAD; Fri, 19 May 2006 14:21:40 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Peter Jeremy References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> Date: Fri, 19 May 2006 14:21:40 +0200 In-Reply-To: <20060519111519.GA1587@turion.vk2pj.dyndns.org> (Peter Jeremy's message of "Fri, 19 May 2006 21:15:19 +1000") Message-ID: <8664k219yj.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Wilko Bulte , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:21:52 -0000 Peter Jeremy writes: > There have been device drivers that have been lost in -current before > so it not a totally novel concept but this is the first architecture > to have been dropped. There is at least one precedent: Sparc32. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Fri May 19 12:22:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C059816A444; Fri, 19 May 2006 12:22:48 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B4F43D5E; Fri, 19 May 2006 12:22:48 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 911E92083; Fri, 19 May 2006 14:22:44 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 83E482082; Fri, 19 May 2006 14:22:44 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 71B3133CAD; Fri, 19 May 2006 14:22:44 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Peter Jeremy References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> <8664k219yj.fsf@xps.des.no> Date: Fri, 19 May 2006 14:22:44 +0200 In-Reply-To: <8664k219yj.fsf@xps.des.no> (Dag-Erling =?iso-8859-1?Q?Sm=F8r?= =?iso-8859-1?Q?grav's?= message of "Fri, 19 May 2006 14:21:40 +0200") Message-ID: <861wuq19wr.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Wilko Bulte , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:22:58 -0000 des@des.no (Dag-Erling Sm=F8rgrav) writes: > Peter Jeremy writes: > > There have been device drivers that have been lost in -current before > > so it not a totally novel concept but this is the first architecture > > to have been dropped. > There is at least one precedent: Sparc32. oh, and MIPS. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Fri May 19 12:24:55 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0BB216A519; Fri, 19 May 2006 12:24:55 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D4F543D79; Fri, 19 May 2006 12:24:45 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 6508B2083; Fri, 19 May 2006 14:24:41 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id D3B242082; Fri, 19 May 2006 14:24:40 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id B1BF333CAD; Fri, 19 May 2006 14:24:40 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Peter Jeremy References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> <8664k219yj.fsf@xps.des.no> <861wuq19wr.fsf@xps.des.no> Date: Fri, 19 May 2006 14:24:40 +0200 In-Reply-To: <861wuq19wr.fsf@xps.des.no> (Dag-Erling =?iso-8859-1?Q?Sm=F8r?= =?iso-8859-1?Q?grav's?= message of "Fri, 19 May 2006 14:22:44 +0200") Message-ID: <86wtciyzg7.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Wilko Bulte , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:25:01 -0000 des@des.no (Dag-Erling Sm=F8rgrav) writes: > des@des.no (Dag-Erling Sm=F8rgrav) writes: > > Peter Jeremy writes: > > > There have been device drivers that have been lost in -current before > > > so it not a totally novel concept but this is the first architecture > > > to have been dropped. > > There is at least one precedent: Sparc32. > oh, and MIPS. ...which doesn't really count because it was abandoned before any of the kernel bits hit the tree, IIRC. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Fri May 19 13:19:53 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93AB716A466; Fri, 19 May 2006 13:19:53 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2A3443D45; Fri, 19 May 2006 13:19:52 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4JDJjhA025448; Fri, 19 May 2006 15:19:46 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.6/8.13.3) with ESMTP id k4JDJj0d011531; Fri, 19 May 2006 15:19:45 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.6/8.13.6/Submit) id k4JDJjQ3011530; Fri, 19 May 2006 15:19:45 +0200 (CEST) (envelope-from wb) Date: Fri, 19 May 2006 15:19:45 +0200 From: Wilko Bulte To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20060519131944.GA11496@freebie.xs4all.nl> References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> <8664k219yj.fsf@xps.des.no> <861wuq19wr.fsf@xps.des.no> <86wtciyzg7.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86wtciyzg7.fsf@xps.des.no> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Peter Jeremy , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 13:19:53 -0000 On Fri, May 19, 2006 at 02:24:40PM +0200, Dag-Erling Sm?rgrav wrote.. > des@des.no (Dag-Erling Smørgrav) writes: > > des@des.no (Dag-Erling Smørgrav) writes: > > > Peter Jeremy writes: > > > > There have been device drivers that have been lost in -current before > > > > so it not a totally novel concept but this is the first architecture > > > > to have been dropped. > > > There is at least one precedent: Sparc32. > > oh, and MIPS. > > ...which doesn't really count because it was abandoned before any of > the kernel bits hit the tree, IIRC. I'm also not too sure on sparc32 in that sense? -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Fri May 19 14:02:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B9FE16A486; Fri, 19 May 2006 14:02:30 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BC0943D49; Fri, 19 May 2006 14:02:29 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 5DB4D2083; Fri, 19 May 2006 16:02:25 +0200 (CEST) X-Spam-Tests: none X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 4F4462082; Fri, 19 May 2006 16:02:25 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id EF27833CAD; Fri, 19 May 2006 16:02:24 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Wilko Bulte References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> <8664k219yj.fsf@xps.des.no> <861wuq19wr.fsf@xps.des.no> <86wtciyzg7.fsf@xps.des.no> <20060519131944.GA11496@freebie.xs4all.nl> Date: Fri, 19 May 2006 16:02:24 +0200 In-Reply-To: <20060519131944.GA11496@freebie.xs4all.nl> (Wilko Bulte's message of "Fri, 19 May 2006 15:19:45 +0200") Message-ID: <86sln6yuxb.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Peter Jeremy , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 14:02:30 -0000 Wilko Bulte writes: > I'm also not too sure on sparc32 in that sense? AFAIK, it was axed before 2.0, so it's not in the current CVS tree. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Fri May 19 14:05:47 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7710116A422; Fri, 19 May 2006 14:05:47 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C75FF43D49; Fri, 19 May 2006 14:05:46 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr1.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4JE5Ybn008072; Fri, 19 May 2006 16:05:35 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.6/8.13.3) with ESMTP id k4JE5Y4s011831; Fri, 19 May 2006 16:05:34 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.6/8.13.6/Submit) id k4JE5Ygm011830; Fri, 19 May 2006 16:05:34 +0200 (CEST) (envelope-from wb) Date: Fri, 19 May 2006 16:05:34 +0200 From: Wilko Bulte To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20060519140534.GA11813@freebie.xs4all.nl> References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> <8664k219yj.fsf@xps.des.no> <861wuq19wr.fsf@xps.des.no> <86wtciyzg7.fsf@xps.des.no> <20060519131944.GA11496@freebie.xs4all.nl> <86sln6yuxb.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86sln6yuxb.fsf@xps.des.no> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Peter Jeremy , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 14:05:47 -0000 On Fri, May 19, 2006 at 04:02:24PM +0200, Dag-Erling Sm?rgrav wrote.. > Wilko Bulte writes: > > I'm also not too sure on sparc32 in that sense? > > AFAIK, it was axed before 2.0, so it's not in the current CVS tree. Ah, ok.. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Fri May 19 16:54:01 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C25916A421; Fri, 19 May 2006 16:54:01 +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 0AA9443D46; Fri, 19 May 2006 16:54:00 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (dj8gog4u3uhfeki2@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4JGrt8v003919; Fri, 19 May 2006 09:53:55 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4JGrrlm003918; Fri, 19 May 2006 09:53:53 -0700 (PDT) (envelope-from jmg) Date: Fri, 19 May 2006 09:53:53 -0700 From: John-Mark Gurney To: Peter Jeremy Message-ID: <20060519165353.GA770@funkthat.com> Mail-Followup-To: Peter Jeremy , Wilko Bulte , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org References: <200605111424.04935.jhb@freebsd.org> <20060518101734.4036.qmail@dachs.cyberlink.ch> <20060519082621.GA736@turion.vk2pj.dyndns.org> <20060519094154.GA10634@freebie.xs4all.nl> <20060519111519.GA1587@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060519111519.GA1587@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 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: Wilko Bulte , freebsd-alpha@infopuls.com, alpha@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: Alpha support is being retired in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 16:54:02 -0000 Peter Jeremy wrote this message on Fri, May 19, 2006 at 21:15 +1000: > >Well.. if you just count the problems with unaligned accesses etc > >I wonder if SPARC64 fills that gap? I just don't know enough about > >SPARC64 here, mind you. > > SPARC definitely requires aligned accesses. I'm not sure what Sun > did with the SPARC64. The other option is to set the "alignment > checking" bit on i386. We also now have arm and ppc that help fill the aligned access requirements.. And I've done a bit of work with arm to try to make our IP stack more friendly to alignment required machines, and ethernet cards that can't handle special alignment... -- 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-current@FreeBSD.ORG Fri May 19 17:41:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE9EA16A42A for ; Fri, 19 May 2006 17:41:42 +0000 (UTC) (envelope-from rosti.bsd@gmail.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 E5D3443D45 for ; Fri, 19 May 2006 17:41:36 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so803685uge for ; Fri, 19 May 2006 10:41:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=Wa/tZuOClfAzgcbaE/wGsFifT0uNhRBPl6c6B1Mdh0AwBrjNdmjaa3pQYJOX7UMGNYFVwo0sEOLlbCOHmnmz0i/6e49kbFZVZ8Evs47ABHyCBhUxZ03+xGAym8qigpFlektxM/U+pyS4XgT5hdLIrSR5J0PQH6VMyEVMSz+/NMY= Received: by 10.67.106.3 with SMTP id i3mr1401033ugm; Fri, 19 May 2006 10:41:35 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id a1sm2391141ugf.2006.05.19.10.41.32; Fri, 19 May 2006 10:41:34 -0700 (PDT) Date: Fri, 19 May 2006 20:41:25 +0300 From: Rostislav Krasny To: David Xu Message-Id: <20060519204125.05d23337.rosti.bsd@gmail.com> In-Reply-To: <200605191739.41048.davidxu@freebsd.org> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605191705.07309.davidxu@freebsd.org> <20060519123406.3cdf83e1.rosti.bsd@gmail.com> <200605191739.41048.davidxu@freebsd.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: is@rambler-co.ru, cperciva@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 17:41:43 -0000 On Fri, 19 May 2006 17:39:40 +0800 David Xu wrote: > On Friday 19 May 2006 17:34, you wrote: > > On Fri, 19 May 2006 17:05:07 +0800 > > > > David Xu wrote: > > > On Friday 19 May 2006 09:10, Rostislav Krasny wrote: > > > > Ok. What should I do before adding the above #ifdef's? Is it enough to > > > > change following files only? > > > > > > > > src/sys/conf/options > > > > > > I think they are sys/conf/options.i386 and sys/conf/options.amd64 > > > > Ok, then should I also change sys/conf/options.pc98 ? > > I don't know much about the PC98. What processors there are in use? > > > I don't know, may anybody clarify this ? According to following Japanese site a PC98 computer with AMD processor can exist: http://shoji.jp/pc/pc98/amd/index.html http://tinyurl.com/rukk5 (English translation) So I should make "options FXSAVE_LEAK" working on that platform too. From owner-freebsd-current@FreeBSD.ORG Fri May 19 18:01:07 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6C3416A425 for ; Fri, 19 May 2006 18:01:07 +0000 (UTC) (envelope-from rosti.bsd@gmail.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 BAD9E43D48 for ; Fri, 19 May 2006 18:01:06 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so807910uge for ; Fri, 19 May 2006 11:01:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=t/gdJYIwaDRerJwcBiDHimLgBLtVOI0sYxeOstO2CY5nWfVKv2lebyXJQwXbdlCvoT1w1atypKTLjH0NF1Dz+2jr6JhFSM0Vm2Z8kz+al8z0CUlUHCSpvCEvuaz45tOjoTenuKM+2pwPZxA3a8kHbtP8M6s+WgjARpbaQtxfw3g= Received: by 10.67.101.10 with SMTP id d10mr1653418ugm; Fri, 19 May 2006 11:01:05 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id k30sm2349220ugc.2006.05.19.11.01.01; Fri, 19 May 2006 11:01:04 -0700 (PDT) Date: Fri, 19 May 2006 21:01:05 +0300 From: Rostislav Krasny To: Rostislav Krasny Message-Id: <20060519210105.d4418b6f.rosti.bsd@gmail.com> In-Reply-To: <20060519204125.05d23337.rosti.bsd@gmail.com> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605191705.07309.davidxu@freebsd.org> <20060519123406.3cdf83e1.rosti.bsd@gmail.com> <200605191739.41048.davidxu@freebsd.org> <20060519204125.05d23337.rosti.bsd@gmail.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: is@rambler-co.ru, davidxu@freebsd.org, cperciva@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 18:01:08 -0000 On Fri, 19 May 2006 20:41:25 +0300 Rostislav Krasny wrote: > On Fri, 19 May 2006 17:39:40 +0800 > David Xu wrote: > > > On Friday 19 May 2006 17:34, you wrote: > > > On Fri, 19 May 2006 17:05:07 +0800 > > > > > > David Xu wrote: > > > > On Friday 19 May 2006 09:10, Rostislav Krasny wrote: > > > > > Ok. What should I do before adding the above #ifdef's? Is it enough to > > > > > change following files only? > > > > > > > > > > src/sys/conf/options > > > > > > > > I think they are sys/conf/options.i386 and sys/conf/options.amd64 > > > > > > Ok, then should I also change sys/conf/options.pc98 ? > > > I don't know much about the PC98. What processors there are in use? > > > > > I don't know, may anybody clarify this ? > > According to following Japanese site a PC98 computer with AMD processor > can exist: > > http://shoji.jp/pc/pc98/amd/index.html > http://tinyurl.com/rukk5 (English translation) > > So I should make "options FXSAVE_LEAK" working on that platform too. Hmm, I didn't notice that AMD K6 isn't vulnerable. So I probably shouldn't make "options FXSAVE_LEAK" for PC98. Sorry for a noise :( From owner-freebsd-current@FreeBSD.ORG Fri May 19 19:35:02 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8926B16A452 for ; Fri, 19 May 2006 19:35:02 +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 C561F43D45 for ; Fri, 19 May 2006 19:34:59 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id k4JJYoKp030935; Fri, 19 May 2006 15:34:50 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Fri, 19 May 2006 15:34:31 -0400 User-Agent: KMail/1.6.2 References: <1147953969.2888.0.camel@klamath> In-Reply-To: <1147953969.2888.0.camel@klamath> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200605191534.34127.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/1471/Fri May 19 10:07:46 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Andreas Kohn Subject: Re: buildworld fails with WITH_NLS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 19:35:03 -0000 On Thursday 18 May 2006 08:06 am, Andreas Kohn wrote: > Hi, > > if I define WITH_NLS= in src.conf, buildworld will stop right in > Stage 1.1 Legacy Tools, because Makefile.inc1 calls a target with > -DWITHOUT_NLS. > This upsets bsd.own.mk, telling me that I shouldn't define WITH_NLS > and WITHOUT_NLS. > > I tried replacing -DWITHOUT_NLS with MK_NLS=no, but that won't > help. I can buildworld when WITH_NLS is not defined in src.conf, > but I think Makefile.inc1 is at fault here. > > I also think the problem might happen with the -DWITHOUT_MAN knob, > although I guess this one could safely be replaced with -DNO_MAN, > which gets special handling in bsd.own.mk. > > Am I misunderstanding something with regard to src.conf here? NLS support is currently unmaintained and broken. :-( Try this patch to re-enable: http://people.freebsd.org/~jkim/nls.diff Jung-uk Kim From owner-freebsd-current@FreeBSD.ORG Fri May 19 22:27:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9239F16A423 for ; Fri, 19 May 2006 22:27:09 +0000 (UTC) (envelope-from rosti.bsd@gmail.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 3BD3243D4C for ; Fri, 19 May 2006 22:27:08 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so857109uge for ; Fri, 19 May 2006 15:27:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=cEx5KRceWQRT1O+JeEVf+Z2vmdJQkVqUfWu7lg1Q2WNNXJwjzM22VKJcR611LhfquefMxVbruECqeXXYmYRRXYuW5a6CLtNTY2DzGkN2oQkm6Ia3TMkmvJvy3bjUFGRzsMXUflu8TnxCyf+3O98WHHu5vh9+Kgb/EGttf1I8t/c= Received: by 10.66.255.7 with SMTP id c7mr1813856ugi; Fri, 19 May 2006 15:27:07 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id a1sm2656521ugf.2006.05.19.15.27.02; Fri, 19 May 2006 15:27:06 -0700 (PDT) Date: Sat, 20 May 2006 01:26:53 +0300 From: Rostislav Krasny To: Colin Percival , David Xu Message-Id: <20060520012653.41cf7366.rosti.bsd@gmail.com> In-Reply-To: <20060519210105.d4418b6f.rosti.bsd@gmail.com> References: <20060430142408.fcd60069.rosti.bsd@gmail.com> <200605191705.07309.davidxu@freebsd.org> <20060519123406.3cdf83e1.rosti.bsd@gmail.com> <200605191739.41048.davidxu@freebsd.org> <20060519204125.05d23337.rosti.bsd@gmail.com> <20060519210105.d4418b6f.rosti.bsd@gmail.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__20_May_2006_01_26_53_+0300_/HzafvSPueaQf3V8" Cc: Igor Sysoev , freebsd-current@freebsd.org Subject: [PATCH] FreeBSD-SA-06:14.fpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 22:27:09 -0000 This is a multi-part message in MIME format. --Multipart=_Sat__20_May_2006_01_26_53_+0300_/HzafvSPueaQf3V8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Ok, there is the patch. Attached to this email. I tested it on my i386 6.1-STABLE with GENERIC and with custom MYKERNEL. MYKERNEL doesn't have "options CPU_FXSAVE_LEAK" and it also attached to this email. I changed FXSAVE_LEAK to CPU_FXSAVE_LEAK for consistency with other CPU_* options. I don't have any amd64 machine, so I didn't test this patch on that architecture. Could somebody with amd64 test it? By the way, following command could be used to check how kernel has been compiled, regarding the CPU_FXSAVE_LEAK option: objdump -x /boot/kernel/kernel | grep fpu_clean_state --Multipart=_Sat__20_May_2006_01_26_53_+0300_/HzafvSPueaQf3V8 Content-Type: text/plain; name="fpu.diff" Content-Disposition: attachment; filename="fpu.diff" Content-Transfer-Encoding: 7bit diff -ru src/sys.orig/amd64/amd64/fpu.c src/sys/amd64/amd64/fpu.c --- src/sys.orig/amd64/amd64/fpu.c Sun Apr 23 00:16:39 2006 +++ src/sys/amd64/amd64/fpu.c Fri May 19 21:25:45 2006 @@ -33,6 +33,8 @@ #include __FBSDID("$FreeBSD: src/sys/amd64/amd64/fpu.c,v 1.157.2.1 2006/04/19 07:00:35 cperciva Exp $"); +#include "opt_cpu.h" + #include #include #include @@ -96,7 +98,9 @@ typedef u_char bool_t; +#ifdef CPU_FXSAVE_LEAK static void fpu_clean_state(void); +#endif int hw_float = 1; SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint, @@ -409,7 +413,9 @@ PCPU_SET(fpcurthread, curthread); pcb = PCPU_GET(curpcb); +#ifdef CPU_FXSAVE_LEAK fpu_clean_state(); +#endif if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { /* @@ -478,7 +484,9 @@ s = intr_disable(); if (td == PCPU_GET(fpcurthread)) { +#ifdef CPU_FXSAVE_LEAK fpu_clean_state(); +#endif fxrstor(addr); intr_restore(s); } else { @@ -488,6 +496,7 @@ curthread->td_pcb->pcb_flags |= PCB_FPUINITDONE; } +#ifdef CPU_FXSAVE_LEAK /* * On AuthenticAMD processors, the fxrstor instruction does not restore * the x87's stored last instruction pointer, last data pointer, and last @@ -518,6 +527,7 @@ */ __asm __volatile("ffree %%st(7); fld %0" : : "m" (dummy_variable)); } +#endif /* CPU_FXSAVE_LEAK */ /* * This really sucks. We want the acpi version only, but it requires diff -ru src/sys.orig/amd64/conf/GENERIC src/sys/amd64/conf/GENERIC --- src/sys.orig/amd64/conf/GENERIC Mon May 1 11:47:20 2006 +++ src/sys/amd64/conf/GENERIC Fri May 19 21:59:19 2006 @@ -22,6 +22,8 @@ cpu HAMMER ident GENERIC +options CPU_FXSAVE_LEAK # FreeBSD-SA-06:14.fpu fix for AMD + # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. diff -ru src/sys.orig/amd64/conf/NOTES src/sys/amd64/conf/NOTES --- src/sys.orig/amd64/conf/NOTES Mon May 1 11:47:20 2006 +++ src/sys/amd64/conf/NOTES Fri May 19 22:04:44 2006 @@ -57,6 +57,12 @@ # Options for CPU features. # +# CPU_FXSAVE_LEAK enables security workaround of FPU registers leak by FXSAVE +# and FXRSTOR instructions of "7th generation" and "8th generation" processors +# manufactured by AMD. For more information read a FreeBSD-SA-06:14.fpu +# security advisory. +options CPU_FXSAVE_LEAK + # # PERFMON causes the driver for Pentium/Pentium Pro performance counters # to be compiled. See perfmon(4) for more information. diff -ru src/sys.orig/conf/options.amd64 src/sys/conf/options.amd64 --- src/sys.orig/conf/options.amd64 Thu Jun 30 02:23:16 2005 +++ src/sys/conf/options.amd64 Fri May 19 21:03:35 2006 @@ -49,6 +49,7 @@ # EOF # ------------------------------- HAMMER opt_cpu.h +CPU_FXSAVE_LEAK opt_cpu.h PPC_PROBE_CHIPSET opt_ppc.h PPC_DEBUG opt_ppc.h PSM_HOOKRESUME opt_psm.h diff -ru src/sys.orig/conf/options.i386 src/sys/conf/options.i386 --- src/sys.orig/conf/options.i386 Sat Jul 2 23:06:42 2005 +++ src/sys/conf/options.i386 Fri May 19 20:46:27 2006 @@ -52,6 +52,7 @@ CPU_ELAN_XTAL opt_cpu.h CPU_ENABLE_LONGRUN opt_cpu.h CPU_FASTER_5X86_FPU opt_cpu.h +CPU_FXSAVE_LEAK opt_cpu.h CPU_GEODE opt_cpu.h CPU_I486_ON_386 opt_cpu.h CPU_IORT opt_cpu.h diff -ru src/sys.orig/i386/conf/GENERIC src/sys/i386/conf/GENERIC --- src/sys.orig/i386/conf/GENERIC Mon May 1 11:48:01 2006 +++ src/sys/i386/conf/GENERIC Fri May 19 21:58:25 2006 @@ -24,6 +24,8 @@ cpu I686_CPU ident GENERIC +options CPU_FXSAVE_LEAK # FreeBSD-SA-06:14.fpu fix for AMD + # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. diff -ru src/sys.orig/i386/conf/NOTES src/sys/i386/conf/NOTES --- src/sys.orig/i386/conf/NOTES Thu May 11 15:41:40 2006 +++ src/sys/i386/conf/NOTES Fri May 19 22:23:11 2006 @@ -118,6 +118,11 @@ # # CPU_FASTER_5X86_FPU enables faster FPU exception handler. # +# CPU_FXSAVE_LEAK enables security workaround of FPU registers leak by FXSAVE +# and FXRSTOR instructions of "7th generation" and "8th generation" processors +# manufactured by AMD. For more information read a FreeBSD-SA-06:14.fpu +# security advisory. +# # CPU_GEODE is for the SC1100 Geode embedded processor. This option # is necessary because the i8254 timecounter is toast. # @@ -192,6 +197,7 @@ options CPU_ELAN_XTAL=32768000 options CPU_ENABLE_LONGRUN options CPU_FASTER_5X86_FPU +options CPU_FXSAVE_LEAK options CPU_GEODE options CPU_I486_ON_386 options CPU_IORT diff -ru src/sys.orig/i386/isa/npx.c src/sys/i386/isa/npx.c --- src/sys.orig/i386/isa/npx.c Mon May 1 11:48:01 2006 +++ src/sys/i386/isa/npx.c Fri May 19 21:18:23 2006 @@ -142,7 +142,7 @@ typedef u_char bool_t; -#ifdef CPU_ENABLE_SSE +#if defined(CPU_ENABLE_SSE) && defined(CPU_FXSAVE_LEAK) static void fpu_clean_state(void); #endif @@ -956,7 +956,7 @@ fnsave(addr); } -#ifdef CPU_ENABLE_SSE +#if defined(CPU_ENABLE_SSE) && defined(CPU_FXSAVE_LEAK) /* * On AuthenticAMD processors, the fxrstor instruction does not restore * the x87's stored last instruction pointer, last data pointer, and last @@ -987,7 +987,7 @@ */ __asm __volatile("ffree %%st(7); fld %0" : : "m" (dummy_variable)); } -#endif /* CPU_ENABLE_SSE */ +#endif /* CPU_ENABLE_SSE && CPU_FXSAVE_LEAK */ static void fpurstor(addr) @@ -996,7 +996,9 @@ #ifdef CPU_ENABLE_SSE if (cpu_fxsr) { +#ifdef CPU_FXSAVE_LEAK fpu_clean_state(); +#endif fxrstor(addr); } else #endif --Multipart=_Sat__20_May_2006_01_26_53_+0300_/HzafvSPueaQf3V8 Content-Type: text/plain; name="MYKERNEL" Content-Disposition: attachment; filename="MYKERNEL" Content-Transfer-Encoding: 7bit machine i386 cpu I686_CPU ident MYKERNEL #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options PQ_CACHESIZE=256 # L2 cache size in Kb options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer # Sound device sound # Generic sound driver device snd_ich # Intel ICH PCI embedded audio in a chipset # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ugen # Generic --Multipart=_Sat__20_May_2006_01_26_53_+0300_/HzafvSPueaQf3V8-- From owner-freebsd-current@FreeBSD.ORG Sat May 20 05:34:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4E2E16A41F for ; Sat, 20 May 2006 05:34:16 +0000 (UTC) (envelope-from ru@ip.net.ua) Received: from cielago.ip.net.ua (cielago.ip.net.ua [82.193.96.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8489D43D48 for ; Sat, 20 May 2006 05:34:15 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by cielago.ip.net.ua (8.13.6/8.13.6) with ESMTP id k4K5XK8i038705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 May 2006 08:33:20 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.6/8.13.6) id k4K5Xrfk015424; Sat, 20 May 2006 08:33:53 +0300 (EEST) (envelope-from ru) Date: Sat, 20 May 2006 08:33:52 +0300 From: Ruslan Ermilov To: Andreas Kohn Message-ID: <20060520053352.GD84766@ip.net.ua> References: <1147953969.2888.0.camel@klamath> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zS7rBR6csb6tI2e1" Content-Disposition: inline In-Reply-To: <1147953969.2888.0.camel@klamath> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-current Subject: Re: buildworld fails with WITH_NLS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 05:34:16 -0000 --zS7rBR6csb6tI2e1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 18, 2006 at 02:06:09PM +0200, Andreas Kohn wrote: > Hi, >=20 > if I define WITH_NLS=3D in src.conf, buildworld will stop right in Stage > 1.1 Legacy Tools, because Makefile.inc1 calls a target with > -DWITHOUT_NLS. > This upsets bsd.own.mk, telling me that I shouldn't define WITH_NLS and > WITHOUT_NLS.=20 >=20 > I tried replacing -DWITHOUT_NLS with MK_NLS=3Dno, but that won't help. I > can buildworld when WITH_NLS is not defined in src.conf, but I think > Makefile.inc1 is at fault here.=20 >=20 > I also think the problem might happen with the -DWITHOUT_MAN knob, > although I guess this one could safely be replaced with -DNO_MAN, which > gets special handling in bsd.own.mk. >=20 > Am I misunderstanding something with regard to src.conf here? >=20 I'm looking into fixing this properly. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --zS7rBR6csb6tI2e1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEbqpAqRfpzJluFF4RArjfAJsF+Qiy+yVtm+B1CVvVFHn8cWhYCACZARfK gHUa5DukWiCvJc0VXRCfIoE= =ESDO -----END PGP SIGNATURE----- --zS7rBR6csb6tI2e1-- From owner-freebsd-current@FreeBSD.ORG Sat May 20 10:21:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFB9C16A425; Sat, 20 May 2006 10:21:48 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 990BC43D45; Sat, 20 May 2006 10:21:46 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000230562.msg; Sat, 20 May 2006 14:21:29 +0400 Received: from dialup-chibis.gfk.ru ([10.0.6.45]) by demon.hhp.local with Microsoft SMTPSVC(5.0.2195.6713); Sat, 20 May 2006 14:21:22 +0400 Date: Sat, 20 May 2006 14:22:08 +0400 (MSD) From: Yuriy Tsibizov X-X-Sender: chibis@free.home.local To: freebsd-current@freebsd.org, freebsd-multimedia@freebsd.org Message-ID: <20060520141209.A2285@free.home.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 20 May 2006 10:21:22.0959 (UTC) FILETIME=[24B491F0:01C67BF7] X-Spam-Processed: mx.gfk.ru, Sat, 20 May 2006 14:21:29 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Sat, 20 May 2006 14:21:29 +0400 Cc: Alexander Leidinger Subject: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 10:21:49 -0000 This driver can replace emu10k1 driver. Older version of this driver was available from ports (audio/emu10kx). Changes over emu10k1 driver: 1. Almost all Creative cards that based on EMU10K1 and CA010X-YYY DSPs are supported. Exceptions are cards on CA010X-DAT ("Sound Blaster Live! 24-bit", card known as "DELL OEM SB Live!" and "Audigy LS") and E-mu cards. 2. Complete mixer support. Some controls that can't fit into OSS mixer are available as sysctl under debug.emu10kxX. 3. Optional multichannel support. Front, rear, center, subwoofer and side card connectors are visible as a separate PCM devices. Only front channel supports recording, other are playback-only. There is no lowpass filter on subwoofer output. 4. Optional MIDI I/O support, one midi port on Live! cards and two on Audigy (and Audigy 2). MIDI support require "evennewermidi" kernel patch. Known problems: 1. When S/PDIF input is not connected it generates some noise. 2. Analog center & subwoofer are muted, because they share minijack connector with digital output. 3. On Audigy 4 Pro headphones connector on AudigyDrive does not work. 4. "AUX In 2" on AudigyDrive is noisy. "Features": 1. On EMU10K1 cards playback volume is low. What needs testing: 1. AMD64 was known to work for driver in ports. 2. SMP was known to work for older release (before driver appear in ports). 3. Audigy 4 (not Pro) card support 4. CardBus Audigy support 5. Digital output dmesg: (SB Live! card locks system before boot when inserted with Audigy 2 cards) emu10kx0: port 0xd400-0xd41f irq 9 at device 9.0 on pci0 emu10kx0: Audigy IR MIDI events enabled. emu10kx1: port 0xb800-0xb83f irq 12 at device 10.0 on pci0 emu10kx1: Audigy IR MIDI events enabled. emu10kx2: port 0xb000-0xb03f irq 10 at device 11.0 on pci0 pcm0: on emu10kx0 pcm0: pcm1: on emu10kx0 pcm2: on emu10kx0 pcm3: on emu10kx0 pcm4: on emu10kx1 pcm4: pcm5: on emu10kx1 pcm6: on emu10kx1 pcm7: on emu10kx1 pcm8: on emu10kx2 pcm8: pcm9: on emu10kx2 pcm10: on emu10kx2 pcm11: on emu10kx2 pcm12: on emu10kx2 emu10kx1: port 0xb800-0xb81f irq 10 at device 10.0 on pci0 emu10kx1: SB Live! IR MIDI events enabled. pcm4: on emu10kx1 pcm4: pcm5: on emu10kx1 Source code is available as a kernel patch or a separate module from http://chibis.persons.gfk.ru/audigy/kernel/ If you want to build it from emu10kx-snap.tar.gz without MIDI you will have to run 'make SUBDIR='. Yuriy. From owner-freebsd-current@FreeBSD.ORG Sat May 20 12:09:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E40116A454 for ; Sat, 20 May 2006 12:09:02 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id F161843D46 for ; Sat, 20 May 2006 12:08:49 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so629404nzf for ; Sat, 20 May 2006 05:08:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=byPuwJYKG4UD83St95igFC4twiFPQYILvaG6EoM8hf5CqrcCal0goflUT83hFTu9l9c9P4PmL9saUh748yscK6HnVZoEOmy8JPHS5O08Dah5EOrFFokFCmgI1o8KQ1G2EWdHFKwXPqv6S4WVRmziQDEQ2Bjpk+M1WO15nxkSd9E= Received: by 10.37.20.25 with SMTP id x25mr1507355nzi; Sat, 20 May 2006 05:08:48 -0700 (PDT) Received: by 10.36.222.48 with HTTP; Sat, 20 May 2006 05:08:48 -0700 (PDT) Message-ID: <53cc795f0605200508g47ac031awa45386dc6feb89d8@mail.gmail.com> Date: Sat, 20 May 2006 16:08:48 +0400 From: sekes To: "Yuriy Tsibizov" In-Reply-To: <20060520141209.A2285@free.home.local> MIME-Version: 1.0 References: <20060520141209.A2285@free.home.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger , freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 12:09:04 -0000 i have this soundcard: EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780 i can test your driver, but it is not supported as i see :( may i hope of supporting dell oem cards by your driver in a future? On 5/20/06, Yuriy Tsibizov wrote: > > This driver can replace emu10k1 driver. Older version of this > driver was available from ports (audio/emu10kx). > > Changes over emu10k1 driver: > > 1. Almost all Creative cards that based on EMU10K1 and CA010X-YYY DSPs ar= e > supported. Exceptions are cards on CA010X-DAT ("Sound Blaster Live! > 24-bit", card known as "DELL OEM SB Live!" and "Audigy LS") and E-mu > cards. > 2. Complete mixer support. Some controls that can't fit into OSS > mixer are available as sysctl under debug.emu10kxX. > 3. Optional multichannel support. Front, rear, center, subwoofer and side > card connectors are visible as a separate PCM devices. Only front channel > supports recording, other are playback-only. There is no lowpass filter o= n > subwoofer output. > 4. Optional MIDI I/O support, one midi port on Live! cards and two on > Audigy (and Audigy 2). MIDI support require "evennewermidi" kernel patch. > > Known problems: > 1. When S/PDIF input is not connected it generates some noise. > 2. Analog center & subwoofer are muted, because they share minijack > connector with digital output. > 3. On Audigy 4 Pro headphones connector on AudigyDrive does not work. > 4. "AUX In 2" on AudigyDrive is noisy. > > "Features": > 1. On EMU10K1 cards playback volume is low. > > What needs testing: > 1. AMD64 was known to work for driver in ports. > 2. SMP was known to work for older release (before driver appear in > ports). > 3. Audigy 4 (not Pro) card support > 4. CardBus Audigy support > 5. Digital output > > dmesg: > (SB Live! card locks system before boot when inserted with Audigy 2 cards= ) > > emu10kx0: port 0xd400-0xd41f irq 9 at device > 9.0 on pci0 > emu10kx0: Audigy IR MIDI events enabled. > emu10kx1: port 0xb800-0xb83f irq 12 at devic= e > 10.0 on pci0 > emu10kx1: Audigy IR MIDI events enabled. > emu10kx2: port 0xb000-0xb03f irq 10 at > device 11.0 on pci0 > pcm0: on emu10kx0 > pcm0: > pcm1: on emu10kx0 > pcm2: on emu10kx0 > pcm3: on emu10kx0 > pcm4: on emu10kx1 > pcm4: > pcm5: on emu10kx1 > pcm6: on emu10kx1 > pcm7: on emu10kx1 > pcm8: on emu10kx2 > pcm8: > pcm9: on emu10kx2 > pcm10: on emu10kx2 > pcm11: on emu10kx2 > pcm12: on emu10kx2 > > emu10kx1: port 0xb800-0xb81f irq 10 at > device 10.0 on pci0 > emu10kx1: SB Live! IR MIDI events enabled. > pcm4: on emu10kx1 > pcm4: > pcm5: on emu10kx1 > > Source code is available as a kernel patch or a separate module from > http://chibis.persons.gfk.ru/audigy/kernel/ > > If you want to build it from emu10kx-snap.tar.gz without MIDI you will > have to > run 'make SUBDIR=3D'. > > Yuriy. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > From owner-freebsd-current@FreeBSD.ORG Sat May 20 12:33:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6B2616A420; Sat, 20 May 2006 12:33:37 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 904F843D45; Sat, 20 May 2006 12:33:35 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000230604.msg; Sat, 20 May 2006 16:33:32 +0400 Received: from dialup-chibis.gfk.ru ([10.0.6.45]) by demon.hhp.local with Microsoft SMTPSVC(5.0.2195.6713); Sat, 20 May 2006 16:33:25 +0400 Date: Sat, 20 May 2006 16:34:09 +0400 (MSD) From: Yuriy Tsibizov X-X-Sender: chibis@free.home.local To: sekes In-Reply-To: <53cc795f0605200508g47ac031awa45386dc6feb89d8@mail.gmail.com> Message-ID: <20060520162344.Y985@free.home.local> References: <53cc795f0605200508g47ac031awa45386dc6feb89d8@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 20 May 2006 12:33:26.0561 (UTC) FILETIME=[978A4910:01C67C09] X-Spam-Processed: mx.gfk.ru, Sat, 20 May 2006 16:33:32 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Sat, 20 May 2006 16:33:34 +0400 Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 12:33:37 -0000 On Sat, 20 May 2006, sekes wrote: > i have this soundcard: > EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780 > > i can test your driver, but it is not supported as i see :( > may i hope of supporting dell oem cards by your driver in a future? Can you try? I think it can work with emu10kx, there was some positive reports on -multimedia mailing list. Yuriy. From owner-freebsd-current@FreeBSD.ORG Sat May 20 12:49:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9429516A421; Sat, 20 May 2006 12:49:09 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE25143D48; Sat, 20 May 2006 12:49:08 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000230606.msg; Sat, 20 May 2006 16:48:07 +0400 Received: from dialup-chibis.gfk.ru ([10.0.6.45]) by demon.hhp.local with Microsoft SMTPSVC(5.0.2195.6713); Sat, 20 May 2006 16:47:59 +0400 Date: Sat, 20 May 2006 16:48:47 +0400 (MSD) From: Yuriy Tsibizov X-X-Sender: chibis@free.home.local To: Yuriy Tsibizov In-Reply-To: <20060520141209.A2285@free.home.local> Message-ID: <20060520164353.T1054@free.home.local> References: <20060520141209.A2285@free.home.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 20 May 2006 12:48:00.0722 (UTC) FILETIME=[A094AB20:01C67C0B] X-Spam-Processed: mx.gfk.ru, Sat, 20 May 2006 16:48:07 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Sat, 20 May 2006 16:48:08 +0400 Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 12:49:09 -0000 On Sat, 20 May 2006, Yuriy Tsibizov wrote: > This driver can replace emu10k1 driver. Older version of this > driver was available from ports (audio/emu10kx). > > Changes over emu10k1 driver: > > 1. Almost all Creative cards that based on EMU10K1 and CA010X-YYY DSPs > are > supported. Exceptions are cards on CA010X-DAT ("Sound Blaster Live! > 24-bit", card known as "DELL OEM SB Live!" and "Audigy LS") and E-mu > cards. These unsupported cards are identified in FreeBSD by pciconf -l -v as: "emu10k1x SoundBlaster Live! 5.1" "SB0100 (SB Live! 5.1 OEM)" "CA0106-DAT Audigy LS" Yuriy. From owner-freebsd-current@FreeBSD.ORG Sat May 20 13:22:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57F4116A436 for ; Sat, 20 May 2006 13:22:19 +0000 (UTC) (envelope-from pawel.worach@gmail.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 A71AE43D46 for ; Sat, 20 May 2006 13:22:18 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so940599uge for ; Sat, 20 May 2006 06:22:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=C7lLThmiKRQePyEZ5vjIOGo4etB2x/NjQU+sAAQLZI55zHqp1Ekj8Eh4j6eYnQY5JzrYnd9hob/Pa3cMMklYajUmxU45gB3y/2Pfv/I7Iob395i94TuF2QdPXJgeC864ajqbo1lP2FnUQb7vyLqMAKKh21hTo6TaXcLNi18OuaA= Received: by 10.67.97.7 with SMTP id z7mr2271103ugl; Sat, 20 May 2006 06:22:17 -0700 (PDT) Received: from ?192.168.1.200? ( [80.217.194.157]) by mx.gmail.com with ESMTP id e1sm3299294ugf.2006.05.20.06.22.16; Sat, 20 May 2006 06:22:17 -0700 (PDT) Message-ID: <446F1806.4050301@gmail.com> Date: Sat, 20 May 2006 15:22:14 +0200 From: Pawel Worach User-Agent: Thunderbird 1.5.0.2 (X11/20060520) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: callout_reset page fault panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 13:22:23 -0000 One day old CURRENT, i368 UP. Died while installing some ports and running mplayer. vmcore and kernel available (minidumps kick ass!). Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc5b29ebc fault code = supervisor write, page not present instruction pointer = 0x20:0xc054ca12 stack pointer = 0x28:0xe6150bb8 frame pointer = 0x28:0xe6150bc8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 59233 (mplayer) trap number = 12 panic: page fault KDB: stack backtrace: kdb_backtrace(c073637c,c078e2a0,c072ad84,e6150ab0,100) at kdb_backtrace+0x2e panic(c072ad84,c0737a49,c3a53ed8,1,1) at panic+0xb7 trap_fatal(e6150b78,c5b29ebc,0,c5ed4740,c5b29ebc) at trap_fatal+0x33e trap(e6150008,c08c0028,c3440028,b,c5ed4884) at trap+0x11e calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc054ca12, esp = 0xe6150bb8, ebp = 0xe6150bc8 --- callout_reset(c5ed4884,b,c0563d20,c5ed4740,e6150c10) at callout_reset+0x142 sleepq_set_timeout(c078e944,b,c0736ccc,100,c104d6c8) at sleepq_set_timeout+0x2e msleep(c078e944,0,15c,c0736ccc,b) at msleep+0x205 kern_nanosleep(c5ed4740,e6150c74,e6150c6c,c4f30480,0) at kern_nanosleep+0xc0 nanosleep(c5ed4740,e6150d04,8,16,e6150d30) at nanosleep+0x6d syscall(3b,3b,bfbf003b,bfbfd6d0,0) at syscall+0x3f3 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (240, FreeBSD ELF32, nanosleep), eip = 0x28bf3423, esp = 0xbfbfd63c, ebp = 0xbfbfd698 --- Uptime: 16h13m31s Physical memory: 1014 MB Dumping 180 MB: 165 149 133 117 101 85 69 53 37 21 5 #0 doadump () at pcpu.h:166 166 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:166 #1 0xc053a0b4 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc053a42d in panic (fmt=0xc072ad84 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc06fc4de in trap_fatal (frame=0xe6150b78, eva=0) at /usr/src/sys/i386/i386/trap.c:870 #4 0xc06fb9fe in trap (frame= {tf_fs = -434831352, tf_es = -1064566744, tf_ds = -1018953688, tf_edi = 11, tf_esi = -974305148, tf_ebp = -434828344, tf_isp = -434828380, tf_ebx = -974305472, tf_edx = 24700, tf_ecx = 24700, tf_eax = -978149700, tf_trapno = 12, tf_err = 2, tf_eip = -1068185070, tf_cs = 32, tf_eflags = 2162690, tf_esp = 0, tf_ss = -434828172}) at /usr/src/sys/i386/i386/trap.c:279 #5 0xc06ea66a in calltrap () at /usr/src/sys/i386/i386/exception.s:138 #6 0xc054ca12 in callout_reset (c=0xc5ed4884, to_ticks=11, ftn=0xc5b29ebc, arg=0xc5b29ebc) at /usr/src/sys/kern/kern_timeout.c:463 #7 0xc05633ae in sleepq_set_timeout (wchan=0xc078e944, timo=-978149700) at /usr/src/sys/kern/subr_sleepqueue.c:344 #8 0xc0542a95 in msleep (ident=0xc078e944, mtx=0x0, priority=348, wmesg=0xc5b29ebc
, timo=11) at /usr/src/sys/kern/kern_synch.c:193 #9 0xc05497e0 in kern_nanosleep (td=0xc5ed4740, rqt=0xe6150c74, rmt=0xe6150c6c) at /usr/src/sys/kern/kern_time.c:376 #10 0xc054994d in nanosleep (td=0xc5b29ebc, uap=0xe6150d04) ---Type to continue, or q to quit--- at /usr/src/sys/kern/kern_time.c:422 #11 0xc06fc943 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = -1078001605, tf_edi = -1077946672, tf_esi = 0, tf_ebp = -1077946728, tf_isp = -434827932, tf_ebx = 681145780, tf_edx = 0, tf_ecx = 10000000, tf_eax = 240, tf_trapno = 22, tf_err = 2, tf_eip = 683619363, tf_cs = 51, tf_eflags = 2097666, tf_esp = -1077946820, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:1016 #12 0xc06ea6bf in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:191 #13 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) l *0xc054ca12 0xc054ca12 is in callout_reset (/usr/src/sys/kern/kern_timeout.c:463). 458 459 c->c_arg = arg; 460 c->c_flags |= (CALLOUT_ACTIVE | CALLOUT_PENDING); 461 c->c_func = ftn; 462 c->c_time = ticks + to_ticks; 463 TAILQ_INSERT_TAIL(&callwheel[c->c_time & callwheelmask], 464 c, c_links.tqe); 465 mtx_unlock_spin(&callout_lock); 466 467 return (cancelled); (kgdb) frame 6 #6 0xc054ca12 in callout_reset (c=0xc5ed4884, to_ticks=11, ftn=0xc5b29ebc, arg=0xc5b29ebc) at /usr/src/sys/kern/kern_timeout.c:463 463 TAILQ_INSERT_TAIL(&callwheel[c->c_time & callwheelmask], (kgdb) p c $1 = (struct callout *) 0xc5ed4884 (kgdb) p *c $2 = {c_links = {sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0, tqe_prev = 0xc5b29ebc}}, c_time = 58417276, c_arg = 0xc5ed4740, c_func = 0xc0563d20 , c_mtx = 0x0, c_flags = 22} -- Pawel From owner-freebsd-current@FreeBSD.ORG Sat May 20 17:22:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3527516A467 for ; Sat, 20 May 2006 17:22:15 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 452B443D45 for ; Sat, 20 May 2006 17:22:14 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so669296nzf for ; Sat, 20 May 2006 10:22:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=o31oY7fRXUXPS6hMonX8YhIyakcd6YYdEzIHGjPs7EGehzXtvdbTGSakeDwAk31YcVlICubGBweS8kuewtz8jN5kHt7mtefCwxw6Qxy9gMsOuQKwvLCmSoUNboJR2aqd8qpITmZkDExtrq/Mr6voSLJD0SicY0WyGOKLw5mno+U= Received: by 10.36.80.7 with SMTP id d7mr3641974nzb; Sat, 20 May 2006 10:22:14 -0700 (PDT) Received: by 10.36.222.48 with HTTP; Sat, 20 May 2006 10:22:14 -0700 (PDT) Message-ID: <53cc795f0605201022t1f87ab4jf25276ccbf724045@mail.gmail.com> Date: Sat, 20 May 2006 21:22:14 +0400 From: sekes To: "Yuriy Tsibizov" In-Reply-To: <20060520162344.Y985@free.home.local> MIME-Version: 1.0 References: <53cc795f0605200508g47ac031awa45386dc6feb89d8@mail.gmail.com> <20060520162344.Y985@free.home.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 17:22:16 -0000 On 5/20/06, Yuriy Tsibizov wrote: > > > On Sat, 20 May 2006, sekes wrote: > > > i have this soundcard: > > EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780 > > > > i can test your driver, but it is not supported as i see :( > > may i hope of supporting dell oem cards by your driver in a future? > > Can you try? I think it can work with emu10kx, there was some positive > reports on -multimedia mailing list. > > Yuriy. > > yes it does. thanks. everything works fine except a liitle lack: rears not producing any sound :) that's a dmesg: emu10kx0: port 0xdf80-0xdf9f irq 21 at device 13.0 on pci2 pcm0: on emu10kx0 pcm0: pcm1: on emu10kx0 pcm2: on emu10kx0 pcm3: on emu10kx0 pci2: at device 13.1 (no driver attached) pciconv -lv: emu10kx0@pci2:13:0: class=3D0x040100 card=3D0x80651102 chip=3D0x0002110= 2 rev=3D0x0a hdr=3D0x00 vendor =3D 'Creative Labs' device =3D 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780' class =3D multimedia subclass =3D audio kldstat Id Refs Address Size Name 1 36 0xc0400000 537f64 kernel 2 2 0xc0938000 1ad9c linux.ko 3 2 0xc0953000 2cc34 pf.ko 4 1 0xc0980000 42b170 nvidia.ko 5 1 0xc0dac000 1bac pflog.ko 6 1 0xc0dae000 81d8 dummynet.ko 7 3 0xc0db7000 c80c ipfw.ko 8 1 0xc0dc4000 4a68 atapicam.ko 9 1 0xc0dc9000 101a8 snd_emu10kx.ko 10 2 0xc0dda000 22ae8 sound.ko 11 1 0xc0dfd000 58554 acpi.ko 12 1 0xc3a4d000 2000 msdosfs_iconv.ko 13 1 0xc3a4f000 3000 libiconv.ko 14 1 0xc3b10000 4000 ipdivert.ko 15 1 0xc3bd2000 4000 ng_socket.ko 16 10 0xc3bd8000 a000 netgraph.ko 17 1 0xc3bed000 3000 ng_iface.ko 18 1 0xc3bf0000 5000 ng_ppp.ko 19 1 0xc3bf5000 4000 ng_bpf.ko 20 1 0xc3c47000 4000 ng_vjc.ko 21 1 0xc3c84000 4000 ng_pptpgre.ko 22 1 0xc3c88000 4000 ng_ksocket.ko 23 1 0xc3d7f000 3000 ng_mppc.ko 24 1 0xc3d82000 2000 rc4.ko 25 1 0xc3d9f000 3000 ng_ether.ko 26 1 0xc3da2000 5000 ng_pppoe.ko %cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: on emu10kx0 (4p/1r/0v channels duplex default) pcm1: on emu10kx0 (1p/0r/0v channels) pcm2: on emu10kx0 (1p/0r/0v channels) pcm3: on emu10kx0 (1p/0r/0v channels) sudo cat /dev/emu10kx0 FreeBSD EMU10Kx Audio Driver Hardware resource usage: DSP General Purpose Registers: 38 used, 256 total DSP Instruction Registers: 54 used, 512 total Card supports AC97 codec and 5.1 output, SBLive! DSP code Installed devices: EMU10Kx DSP FRONT PCM Interface on pcm0 EMU10Kx DSP REAR PCM Interface on pcm1 EMU10Kx DSP CENTER PCM Interface on pcm2 EMU10Kx DSP SUBWOOFER PCM Interface on pcm3 EMU10Kx MIDI Interface On-card connector on midi0 IR reciever MIDI events disabled %mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 0:0 Mixer line is currently set to 32:32 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igain is currently set to 75:75 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 32:32 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 75:75 Recording source: vol From owner-freebsd-current@FreeBSD.ORG Sat May 20 22:34:59 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9692D16A46F; Sat, 20 May 2006 22:34:59 +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 5139743D5D; Sat, 20 May 2006 22:34:59 +0000 (GMT) (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 041D746C13; Sat, 20 May 2006 18:34:59 -0400 (EDT) Date: Sat, 20 May 2006 23:34:58 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: jkoshy@FreeBSD.org Message-ID: <20060520233201.B8068@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: PMC enters debugger with NMI on ctrl-C X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 22:35:02 -0000 Got the following today while using PMC to sample a multi-process web server on an SMP Xeon box: tiger-2# ./httpd 80 /tmp/zero & [1] 769 tiger-2# tiger-2# tiger-2# pmcstat -S unhalted-cycles -O /tmp/sample.out ^CNMI ... going to debugger [thread pid 898 tid 100175 ] Stopped at p4_stop_pmc+0x70: movl $0,%eax db> bt Tracing pid 898 tid 100175 td 0xc765c360 p4_stop_pmc(0,1,1,0,0) at p4_stop_pmc+0x70 pmc_release_pmc_descriptor(c703ca00,c06c03f3,c1032860,c103cac8,e992fb18) at pmc_release_pmc_descriptor+0x61 pmc_syscall_handler(c765c360,e992fd04,2,202,c09c07d8) at pmc_syscall_handler+0xf6f syscall(3b,3b,bfbf003b,0,8050ee0) at syscall+0x2ee Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (210, FreeBSD ELF32, pmc_syscall_handler), eip = 0x280d104d, esp = 0xbfbfe6e0, ebp = 0xbfbfe6f8 --- db> I'll leave it in the debugger overnight in case there's anything useful to be done with it. BTW, saw some oddness. I capture the PMC samples on one box, and post-process on another. This results in the following oddness: I used the above pmcstat command to track unhalted-cycles on a Dual Xeon, then post-processed on an amd64 box, so pmcstat generated gmon output with the name p4-global-power-events. Perhaps pmcstat should capture the event name in its data file so that when doing later post-processing, it can use the names from the machine the captures were on, rather than the names of the machine the processing is being done on? Robert N M Watson