From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 00:29:08 2004 Return-Path: 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 4B1DE16A4CE for ; Sun, 17 Oct 2004 00:29:08 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1048843D45 for ; Sun, 17 Oct 2004 00:29:08 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 06E125C84B; Sat, 16 Oct 2004 17:29:08 -0700 (PDT) Date: Sun, 17 Oct 2004 02:29:07 +0200 From: Maxime Henrion To: current@FreeBSD.org Message-ID: <20041017002907.GE45249@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: mixer problems with SiS 7012 and CMI9761 ac97 codec X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 00:29:08 -0000 Hello all, I'm seeing quite weird symptoms with this onboard SiS 7012 audio controller. The "pcm" mixer setting doesn't change the sound's volume at all, except at 0 where it mutes the sound as expected. The "vol" mixer setting has absolutely no control over sound, it doesn't change anything whether I set it to 0 or 100. If I set the "speaker" mixer setting to 0, it outputs a very loud beep. If I set it to 1, there is a small beep. If I set it higher, up to 49, the beep gets louder, and at 50 and above it doesn't output the beep anymore. I don't have a "ogain" channel. Interesting, isn't it? :-) As said in the topic, this is a SiS 7012 sound card. It has a CMI9761 ac97 codec (id == 0x434d4982 == "CMI" 0x82). It isn't in the list of supported codec ids on FreeBSD. It is however listed in ALSA's source code, and has chipset specific support code. I merged one of the workaround, which is for the specific revision of the CMI9761 chipset I have. Unfortunately, nothing changed. I wonder if anyone else is having problems with this chipset/ac97 codec, or if it's working fine for others. If someone more knowledgeable than me in AC97 code is interested to look at the problem, I'd be glad. I don't know enough about this to even know where exactly the problem may lie. Cheers, Maxime From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 00:46:39 2004 Return-Path: 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 4556616A4CE for ; Sun, 17 Oct 2004 00:46:39 +0000 (GMT) Received: from av3-1-sn3.vrr.skanova.net (av3-1-sn3.vrr.skanova.net [81.228.9.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id E401743D31 for ; Sun, 17 Oct 2004 00:46:38 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: by av3-1-sn3.vrr.skanova.net (Postfix, from userid 502) id F117637E61; Sun, 17 Oct 2004 02:46:37 +0200 (CEST) Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id E430037E58 for ; Sun, 17 Oct 2004 02:46:37 +0200 (CEST) Received: from [IPv6???1] (h65n2fls35o895.telia.com [217.211.109.65]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with ESMTP id B3D1838006 for ; Sun, 17 Oct 2004 02:46:37 +0200 (CEST) Message-ID: <4171BFFC.1030600@telia.com> Date: Sun, 17 Oct 2004 02:42:36 +0200 From: Pawel Worach User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040815) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [patch] typo in regression/netinet/tcpconnect/tcpconnect.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 00:46:39 -0000 The 'o', 'l' and 'i' keys are too close in the qwerty layout. -- Pawel Index: tools/regression/netinet/tcpconnect/tcpconnect.c =================================================================== RCS file: /export/ctm/cvs/src/tools/regression/netinet/tcpconnect/tcpconnect.c,v retrieving revision 1.1 diff -u -r1.1 tcpconnect.c --- tools/regression/netinet/tcpconnect/tcpconnect.c 9 Oct 2004 20:58:28 -0000 1.1 +++ tools/regression/netinet/tcpconnect/tcpconnect.c 11 Oct 2004 19:40:18 -0000 @@ -39,7 +39,7 @@ #include static void -usage(volid) +usage(void) { fprintf(stderr, "tcpconnect server port\n"); From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 01:01:35 2004 Return-Path: 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 4593716A4CE for ; Sun, 17 Oct 2004 01:01:35 +0000 (GMT) Received: from av5-2-sn3.vrr.skanova.net (av5-2-sn3.vrr.skanova.net [81.228.9.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2C3F43D69 for ; Sun, 17 Oct 2004 01:01:34 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: by av5-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 11A733813B; Sun, 17 Oct 2004 03:01:34 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av5-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 0129F3813B for ; Sun, 17 Oct 2004 03:01:34 +0200 (CEST) Received: from [IPv6???1] (h65n2fls35o895.telia.com [217.211.109.65]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id C8E7738002 for ; Sun, 17 Oct 2004 03:01:33 +0200 (CEST) Message-ID: <4171C37D.4030708@telia.com> Date: Sun, 17 Oct 2004 02:57:33 +0200 From: Pawel Worach User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040815) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: page fault panic in knote X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 01:01:35 -0000 This happened on shutdown, I think I magially hit enter twice when I fired off the shutdown command. This is on RELENG_5 from 2004-10-11. The system was also running in single-user at the time so no crash dump. -- serial snip -- # sync # sync # shutdown -r now Shutdown NOW! shutdown: [pid 1183] Oct 11 22:06:07 shutdown: reboot by root: # System shutdown time has arrived Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x1c fault code = supervisor write, page not present instruction pointer = 0x8:0xc04a88da stack pointer = 0x10:0xd4265728 frame pointer = 0x10:0xd4265748 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1 (init) [thread 100002] Stopped at knote+0x2a: lock cmpxchgl %ecx,0x1c(%edx) db> tr knote(c17a1898,0,0) at knote+0x2a ttwwakeup(c17a1800,0,c1561320,0,ffffffff) at ttwwakeup+0xee comstart(c17a1800,2580,0,0,c) at comstart+0x41e comparam(c17a1800,c17a18a4,0,c17c0420,c1561320) at comparam+0x28b sioopen(c06940c0,6,2000,c1561320,c0488928) at sioopen+0x216 spec_open(d4265860,d426591c,c0541a8e,d4265860,a) at spec_open+0x34a spec_vnoperate(d4265860,a,20010002,80,c1561320) at spec_vnoperate+0x18 vn_open_cred(d4265960,c069cfb8,0,c155e480,ffffffff) at vn_open_cred+0x45e vn_open(d4265960,c069cfb8,0,ffffffff,c17c0a50) at vn_open+0x33 cn_devopen(c069cf80,c1561320,0,0,6) at cn_devopen+0xe9 cnopen(c0692f88,6,2000,c1561320,c1561320) at cnopen+0x54 spec_open(d4265a70,d4265b2c,c0541a8e,d4265a70,c17cf000) at spec_open+0x34a spec_vnoperate(d4265a70,c17cf000,0,80,c1561320) at spec_vnoperate+0x18 vn_open_cred(d4265bd8,d4265cd8,0,c155e480,0) at vn_open_cred+0x45e vn_open(d4265bd8,d4265cd8,0,0,0) at vn_open+0x33 kern_open(c1561320,80b5aa2,0,6,0) at kern_open+0x113 open(c1561320,d4265d14,c,c1561320,7) at open+0x30 syscall(2f,2f,2f,80dc5e0,bfbfe4b0) at syscall+0x330 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (5, FreeBSD ELF32, open), eip = 0x80534a7, esp = 0xbfbfe02c, ebp = 0xbfbfecc8 --- db> panic panic: from debugger cpuid = 0 Uptime: 19m21s Cannot dump. No dump device defined. Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... -- Pawel From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 01:24:10 2004 Return-Path: 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 4541E16A4CE for ; Sun, 17 Oct 2004 01:24:10 +0000 (GMT) Received: from lakermmtao04.cox.net (lakermmtao04.cox.net [68.230.240.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB72A43D2F for ; Sun, 17 Oct 2004 01:24:09 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.30.24]) by lakermmtao04.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041017012407.XPIJ6435.lakermmtao04.cox.net@dolphin.local.net>; Sat, 16 Oct 2004 21:24:07 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with SMTP id i9H1O80u003580; Sat, 16 Oct 2004 20:24:08 -0500 (CDT) (envelope-from conrads@cox.net) Date: Sat, 16 Oct 2004 20:24:03 -0500 From: "Conrad J. Sabatier" To: "Poul-Henning Kamp" Message-ID: <20041016202403.7928c26d@dolphin.local.net> In-Reply-To: <19260.1097963444@critter.freebsd.dk> References: <16753.38774.621295.6356@ran.psg.com> <19260.1097963444@critter.freebsd.dk> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Randy Bush cc: freebsd-current@freebsd.org Subject: Re: no echo console X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 01:24:10 -0000 On Sat, 16 Oct 2004 23:50:44 +0200, "Poul-Henning Kamp" wrote: > In message <16753.38774.621295.6356@ran.psg.com>, Randy Bush writes: > >> Does it depend on which shell you use for single-user mode ? > > > >uh, make the test you want clear, plz. i am fried today. > > > >root's shell is /usr/local/bin/bash (no comments, please:-) > > > >i am seeing the problem as root in multiluser. i don't spend > >much time in single abuser, so can't say. > > Ahh, that's different then. > > I'll hunt this one down tomorrow. I'm quite certain now that it's occurring after every run of portupgrade. I don't get the same if I cd to a port's dir and do a build; only if I use portupgrade. Weird. I have no idea what's going on. -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 01:32:27 2004 Return-Path: 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 4563716A4CE for ; Sun, 17 Oct 2004 01:32:27 +0000 (GMT) Received: from mortis.over-yonder.net (adsl-222-78-9.jan.bellsouth.net [68.222.78.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C1D443D45 for ; Sun, 17 Oct 2004 01:32:26 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 60EF620F96; Sat, 16 Oct 2004 20:32:25 -0500 (CDT) Date: Sat, 16 Oct 2004 20:32:25 -0500 From: "Matthew D. Fuller" To: "Ralf S. Engelschall" Message-ID: <20041017013224.GJ93213@over-yonder.net> References: <20041015201033.GA51887@engelschall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041015201033.GA51887@engelschall.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.6i-fullermd.2 cc: freebsd-current@freebsd.org Subject: Re: Linux ABI and permissions to /dev X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 01:32:27 -0000 On Fri, Oct 15, 2004 at 10:10:33PM +0200 I heard the voice of Ralf S. Engelschall, and lo! it spake thus: > > | $ echo foo >/dev/null > | bash: /dev/null: Permission denied > | $ > > Has anybody an idea where to search? There were no changes to devfs > recently and the recent changes to the Linuxulator seemed harmless to me > at the first glance... Try it with the double '>>'. It may be trying to truncate or remove it because of the '>' and getting the "Permission denied" from THAT part of the process. Of course, I can't explain why it would start out of the blue... bash upgrade? -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 01:32:58 2004 Return-Path: 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 894F516A4D5 for ; Sun, 17 Oct 2004 01:32:58 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F7BF43D31 for ; Sun, 17 Oct 2004 01:32:58 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) i9H1WoUr021882; Sat, 16 Oct 2004 18:32:50 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (pc1.oakwoodazabu1-unet.ocn.ne.jp [220.110.140.201]) by mail.meer.net (8.12.10/8.12.2/meer) with ESMTP id i9H1WbxC068161; Sat, 16 Oct 2004 18:32:37 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Sun, 17 Oct 2004 10:32:35 +0900 Message-ID: From: gnn@freebsd.org To: "Bjoern A. Zeeb" In-Reply-To: References: User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.5 Emacs/21.2 (powerpc-apple-darwin) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable cc: FreeBSD current mailing list Subject: Re: 6-CUR: panic in ipsec processing w/o ipsec in use X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 01:32:58 -0000 At Sat, 16 Oct 2004 19:39:00 +0000 (UTC), Bjoern A. Zeeb wrote: >=20 > Hi, >=20 > on my MP machine running 6-CURRENT from around late 2004-09-26 > I got a panic while editing a Makefile of a port; though compiled in > I have no ipsec in use on that machine atm. >=20 > hand transcribed: > panic > free +0xaa > _key_delsp +0x1b > key_delsp +0xab > _key_freesp +0x8a > ipsec4_hdrsiz +0x9b > ipsec4_hdrsiz_tc +0xa9 > tcp_output +0x9c1 > tcp_usr_send +0x18b > sosend +0x5e7 > soo_write +0x46 > dofilewrite +0xa8 > write +0x39 > syscall > Xint0x80_syscall >=20 >=20 > the bt looks strange to me, so I decided to post though > this may already be corrected ? This might be related to a fix, that needs testing, with respect to the mbuf data size. The thing I'm thinking about is this: There are reports that racoon is unable to complete IKE negotiation due to a send to the pfkey socket returning ENOBUFS. This appears to be a result of an incorrect assumption about mbuf data size due to a change resulting from mbuma. A fix for this is in RELENG_5 now. You might want to update your system. =46rom what you say in your email this looks like an intermittent error. Have you been able to reproduce this? Thanks, George From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 01:53:04 2004 Return-Path: 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 CB1F016A4CE for ; Sun, 17 Oct 2004 01:53:04 +0000 (GMT) Received: from mail.vtec.ipme.de (C3B3C660.dial.de.easynet.net [195.179.198.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id B807543D1D for ; Sun, 17 Oct 2004 01:53:03 +0000 (GMT) (envelope-from volker@vwsoft.com) Received: from [192.168.16.24] (unknown [192.168.16.24]) by bellona.sz.vwsoft.com (Postfix) with ESMTP id C5BB05C38 for ; Sun, 17 Oct 2004 03:52:12 +0200 (CEST) Message-ID: <4171D04C.8070601@vwsoft.com> Date: Sun, 17 Oct 2004 03:52:12 +0200 From: Volker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040822 Thunderbird/0.7+ Mnenhy/0.6.0.101 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: LOR ath X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 01:53:05 -0000 Hi folks! Yesterday I've tried to kldload the if_ath module. On the serial console I caught the following while loading the module: ath0: mem 0xdffe0000-0xdffeffff irq 19 at device 11.0 on pci0 ath0: [GIANT-LOCKED] ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 ath0: Ethernet address: 00:09:5b:96:ed:90 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps ahc0: port 0xc800-0xc8ff mem 0xdf800000 -0xdfbfffff,0xdfefe000-0xdfefefff irq 18 at device 0.0 on pci2 RAID functionality unsupported device_attach: ahc0 attach returned 6 Whenever if_ath is loaded or unloaded, the ahc0 driver enters the game. After that (kldload), my kernel told me about a LOR: lock order reversal 1st 0xc1a1bc58 ath0 (network driver) @ /usr/src/sys/modules/ath/../../dev/ath/i f_ath.c:893 2nd 0xc184f620 user map (user map) @ /usr/src/sys/vm/vm_map.c:2997 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c0728ee8,c072a388,c06d17ec) at kdb_backtrace+0x29 witness_checkorder(c184f620,9,c06a7966,bb5) at witness_checkorder+0x540 _sx_xlock(c184f620,c06a7966,bb5) at _sx_xlock+0x50 _vm_map_lock_read(c184f5dc,c06a7966,bb5,2000000,c16f3e8c) at _vm_map_lock_read+0 x3b vm_map_lookup(cc7a29dc,8055000,2,cc7a29e0,cc7a29d0) at vm_map_lookup+0x26 vm_fault(c184f5dc,8055000,2,8,c15907d0) at vm_fault+0x69 trap_pfault(cc7a2aa4,0,8055000) at trap_pfault+0xf2 trap(18,10,10,8055000,c16cae00) at trap+0x351 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc0641c70, esp = 0xcc7a2ae4, ebp = 0xcc7a2b18 --- slow_copyout(c1a1b000,cc7a2c60,c1a1ba08,c0286938,0) at slow_copyout+0x4 ieee80211_ioctl(c1a1b000,c0286938,cc7a2c60,0,cc7a2c60) at ieee80211_ioctl+0xbc ath_ioctl(c1a1b000,c0286938,cc7a2c60,c051a0d4,c074dc60) at ath_ioctl+0x14d ifhwioctl(c0286938,c1a1b000,cc7a2c60,c15907d0,c072aa68) at ifhwioctl+0x88e ifioctl(c189b510,c0286938,cc7a2c60,c15907d0,0) at ifioctl+0xc5 soo_ioctl(c182cbb0,c0286938,cc7a2c60,c14dee00,c15907d0) at soo_ioctl+0x2b1 ioctl(c15907d0,cc7a2d14,3,2,292) at ioctl+0x3e0 syscall(2f,2f,2f,8055000,3) at syscall+0x22b Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280d08af, esp = 0xbfbfec7c, ebp = 0xbfbfecd8 --- Is this LOR safe to be ignored or has it to be hacked? This has been yesterday and I can't remember if I dramatically changed the setup or something at the kernel configuration. Today when kldloading if_ath, no LOR is being displayed but the ath0 interface isn't functioning (it doesn't show the ethernet address or the 11b/11g rates on the console). Today, it just comes up with the following error message: ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 ath0: failed to allocate descriptors: 12 device_attach: ath0 attach returned 12 I've not checked the WLAN connection whether or not it has been operational (yesterday) - I just tried to kldload and checked for the results. Greetings, Volker -- GPG/PGP fingerprint: FF93 13A1 2477 B631 E953 06DF 4C49 ADD9 E4BF 79B1 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 01:53:05 2004 Return-Path: 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 E738B16A4CE; Sun, 17 Oct 2004 01:53:05 +0000 (GMT) Received: from mail.vtec.ipme.de (C3B3C660.dial.de.easynet.net [195.179.198.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4052143D2D; Sun, 17 Oct 2004 01:53:03 +0000 (GMT) (envelope-from volker@vwsoft.com) Received: from [192.168.16.24] (unknown [192.168.16.24]) by bellona.sz.vwsoft.com (Postfix) with ESMTP id 95FA25C02; Sun, 17 Oct 2004 03:42:12 +0200 (CEST) Message-ID: <4171CDF3.6050901@vwsoft.com> Date: Sun, 17 Oct 2004 03:42:11 +0200 From: Volker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040822 Thunderbird/0.7+ Mnenhy/0.6.0.101 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: beta6/7 machine freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 01:53:06 -0000 Robert & list & RE, sorry for delay. While I've done some hardware changes, I've been unable to check the i4b corrections earlier. I've cvsup'ed to RELENG_5 again, recompiled using INVARIANTS and WITNESS enabled, setup ppp using i4b on the troubled machine and the machine didn't die again. I've closed the connection and re-setup the ppp link several times, also had a connection for more than two hours and the machine is still alive. From my point of view it looks like i4b is now healthy again and your patches made it. I'm still using debug.mpsafenet=0 for the i4b code (may I remove it or is it still required for i4b?). Before your i4b changes the machine died in the middle or at the end of a ppp connection. For me, this is a huge step forward (or backward into stability). Now while the machine is running stable (no lock ups, no panics) for quite some days (the first time since BETA-4) I'm sure RELENG_5 made a huge step into the 5-STABLE direction. Two weeks ago I really had concerns for 5's stability but now I think 5.x will do a good job as 4.x did it. I think you guys really did a great job! :) Will remove INVARIANTS and WITNESS now and enjoy the speed of a good OS. Thanks, Volker On 2004-10-11 17:44, Robert Watson wrote: > In fact, this is almost certainly part of the problem. I'd try setting > debug.mpsafenet=0 in /boot/loader.conf and reboot as a first step t see if > the problem goes away. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Principal Research Scientist, McAfee Research > > On Mon, 11 Oct 2004, Robert Watson wrote: > > >>BTW, since it sounds like this might be a networking related problem, you >>might try setting debug.mpsafenet=0 in loader.conf to see if the problem >>goes away -- that will put the Giant lock back over the network stack and >>might close races. i4b might not be MPSAFE, I'll go take a look. >> >>Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >>robert@fledge.watson.org Principal Research Scientist, McAfee Research >> >> > > -- GPG/PGP fingerprint: FF93 13A1 2477 B631 E953 06DF 4C49 ADD9 E4BF 79B1 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 02:06:41 2004 Return-Path: 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 CBB1216A4CE for ; Sun, 17 Oct 2004 02:06:41 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F4343D39 for ; Sun, 17 Oct 2004 02:06:41 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101711:06:31:402687.7481.2686360496 for ; Sun, 17 Oct 2004 11:06:31 +0900 (KST) Message-ID: <4171D3AE.8010601@yahoo.com> Date: Sun, 17 Oct 2004 11:06:38 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041002 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-4.46) (SRN:SPAMROBOT) ----------------- Subject: 5.3-Beta7 diskless boot: it boots but has empty /var (on /dev/md1) !? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 02:06:41 -0000 Hi, I am gradually making progress with configuring a 5.3-Beta7 PC as a server for a diskless boot up. I followed instructions in diskless(8) manpage. My diskless system boots and I can login. So most of the work seems to be done. However, on the diskless PC, /var is on a memory disk, but that directory is completely empty: disklessPC# ls -a /var . .. .snap disklessPC# mount 192.168.123.254:/ on / (nfs, read-only) devfs on /dev (devfs, local) /dev/md0 on /etc (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/md1 on /var (ufs, local, soft-updates) 192.168.123.254:/usr on /usr (nfs, read-only) 192.168.123.254:/home on /home (nfs) /dev/md2 on /tmp (ufs, local, soft-updates) This has serious consequences on the diskless PC. For example, sshd cannot start because /var/empty is not there. There is no information in /var/run, /var/log etc. Is something missing in the /etc/rc.d/initdiskless script, or have I forgotten something? Thanks, Rob. From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 03:09:09 2004 Return-Path: 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 BCF2116A4CE; Sun, 17 Oct 2004 03:09:09 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633D043D46; Sun, 17 Oct 2004 03:09:09 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.200] ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i9H39CRP032295; Sat, 16 Oct 2004 21:09:12 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <4171E1FC.4040603@freebsd.org> Date: Sat, 16 Oct 2004 21:07:40 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Volker References: <4171CDF3.6050901@vwsoft.com> In-Reply-To: <4171CDF3.6050901@vwsoft.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: beta6/7 machine freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 03:09:09 -0000 Volker wrote: > Robert & list & RE, > > sorry for delay. While I've done some hardware changes, I've been unable > to check the i4b corrections earlier. > > I've cvsup'ed to RELENG_5 again, recompiled using INVARIANTS and WITNESS > enabled, setup ppp using i4b on the troubled machine and the machine > didn't die again. I've closed the connection and re-setup the ppp link > several times, also had a connection for more than two hours and the > machine is still alive. > > From my point of view it looks like i4b is now healthy again and your > patches made it. > > I'm still using debug.mpsafenet=0 for the i4b code (may I remove it or > is it still required for i4b?). > > Before your i4b changes the machine died in the middle or at the end of > a ppp connection. For me, this is a huge step forward (or backward into > stability). > > Now while the machine is running stable (no lock ups, no panics) for > quite some days (the first time since BETA-4) I'm sure RELENG_5 made a > huge step into the 5-STABLE direction. Two weeks ago I really had > concerns for 5's stability but now I think 5.x will do a good job as 4.x > did it. > > I think you guys really did a great job! :) > > Will remove INVARIANTS and WITNESS now and enjoy the speed of a good OS. > > Thanks, > > Volker > Volker, Excellent to hear, thanks for the report! Scott From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 03:22:52 2004 Return-Path: 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 1478C16A4CE for ; Sun, 17 Oct 2004 03:22:52 +0000 (GMT) Received: from ms-smtp-01-eri0.ohiordc.rr.com (ms-smtp-01-smtplb.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9437343D45 for ; Sun, 17 Oct 2004 03:22:51 +0000 (GMT) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from www.bluecirclesoft.com (cpe-024-165-114-048.cinci.rr.com [24.165.114.48])i9H3MWlv021564; Sat, 16 Oct 2004 23:22:33 -0400 (EDT) Received: from www.bluecirclesoft.com (localhost [127.0.0.1]) i9H3MVMA089290; Sat, 16 Oct 2004 23:22:32 -0400 (EDT) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from localhost (localhost [[UNIX: localhost]]) by www.bluecirclesoft.com (8.12.11/8.12.11/Submit) id i9H3MVQ9089289; Sat, 16 Oct 2004 23:22:31 -0400 (EDT) (envelope-from marc.ramirez@bluecirclesoft.com) X-Authentication-Warning: www.bluecirclesoft.com: mrami set sender to marc.ramirez@bluecirclesoft.com using -f From: Marc Ramirez Organization: Blue Circle Software Corp. To: David Syphers Date: Sat, 16 Oct 2004 23:22:24 -0400 User-Agent: KMail/1.7 References: <1097916792.1810.4.camel@kaiser.sig11.org> <200410161625.42502.marc.ramirez@bluecirclesoft.com> <200410161416.51163.dsyphers@u.washington.edu> In-Reply-To: <200410161416.51163.dsyphers@u.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1855471.nS4jXD6byC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410162322.28821.marc.ramirez@bluecirclesoft.com> X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-current@freebsd.org cc: rionda@gufi.org Subject: Re: UPDATING readability X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 03:22:52 -0000 --nextPart1855471.nS4jXD6byC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 16 October 2004 05:16 pm, David Syphers wrote: > On Saturday 16 October 2004 01:25 pm, Marc Ramirez wrote: > > On Saturday 16 October 2004 03:08 pm, David Syphers wrote: > > > On Saturday 16 October 2004 01:53 am, Matteo Riondato wrote: > > > > Could we change an entry from: > > > > > > > > 20041007: > > > > One of the syscalls the 1:1 threading library libthr uses h= as > > > > changed, thus breaking ABI compatibility. Make sure you > > > > rebuild this library with the kernel. > > > > > > > > to: > > > > Compromise: One of the syscalls _which_ the ... > > Okay... this would be grammatically correct. However, I'm curious why the > original poster believes the current version to be unclear, since it is > also grammatically correct. (Omitting "that" or "which" at the beginning = of > a restrictive relative clause is very common in English.) There are a lot of words between the nominal subject, 'one' and the nominal= =20 verb, 'has changed.' All these interspersers must be pushed, and if you're= =20 not fluent, well, remember the 'five things in short-term memory' rule. Maybe the best way to write it is in press release style: Oct 7, 2004 SYSCALL DROPPED, CAUSING LIBRARY BREAKAGE =46reeBSD staff /USR/SRC/SYS/ - Today, libthr is picking through the pieces of the life it= =20 once knew. Libthr, the predominate 1:1 threading library for FreeBSD, foun= d=20 today that a syscall it had depended on was dropped from the FreeBSD ABI. = =20 According to the library, "unless the admin rebuilds me under the new ABI,= =20 the kernel's only option will be to kill(2) the process, probably with a=20 SIGSYS." The dropped syscall was only four years old. For more informatio= n=20 on SIGSYS, visit /usr/include/sys/signal.h. =20 =2D-=20 Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) --nextPart1855471.nS4jXD6byC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBceV0g1EgpGw750IRAnXsAKDMJ1gbPKhm/HmyGn33whcmqdZRlQCfcM3K 3pd5niHPVCWUX6EmkKBTd28= =uLSE -----END PGP SIGNATURE----- --nextPart1855471.nS4jXD6byC-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 03:43:20 2004 Return-Path: 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 5506C16A4CE for ; Sun, 17 Oct 2004 03:43:20 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F4A743D5A for ; Sun, 17 Oct 2004 03:43:20 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id IBA74465; Sat, 16 Oct 2004 20:43:20 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5139C5D04; Sat, 16 Oct 2004 20:43:19 -0700 (PDT) To: Alexey Dokuchaev In-reply-to: Your message of "Sat, 16 Oct 2004 20:17:17 +0700." <20041016131717.GA95897@regency.nsu.ru> Date: Sat, 16 Oct 2004 20:43:19 -0700 From: "Kevin Oberman" Message-Id: <20041017034319.5139C5D04@ptavv.es.net> cc: current@freebsd.org Subject: Re: Mixer problems RELENG_5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 03:43:20 -0000 > Date: Sat, 16 Oct 2004 20:17:17 +0700 > From: Alexey Dokuchaev > Sender: owner-freebsd-current@freebsd.org > > On Sat, Oct 16, 2004 at 01:50:08PM +0100, Matt wrote: > > I have no idea how long it's been like this for as I've only just > > noticed but it appears the mixer settings no longer have any effect at > > all on my soundcard volume. It's permanently at full volume no matter > > what I set the mixer values to. > > I second this. mixer(8) apparently does not work any longer. While my laptop (beta7) works normally, two other 5.3beta systems have volume settings which no longer work, but ogain does. ogain (output gain) seems to have replaced volume. Volume does nothing, but the mixer works on all three systems by using ogain. One system with the change has an AD1885 and an ICH2 and the other uses PCI snd_es137x. The working system has an AD1881A with an ICH3. I won't claim to know why the AD devices behave so differently. The one where Volume still works does not even have an ogain. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 03:45:12 2004 Return-Path: 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 443F716A4F9 for ; Sun, 17 Oct 2004 03:45:12 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id AC78D43D1D for ; Sun, 17 Oct 2004 03:45:11 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 67578 invoked by uid 0); 17 Oct 2004 03:44:10 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.165.205) by node15.coopprint.com with SMTP; 17 Oct 2004 03:44:10 -0000 Message-ID: <4171EACE.4020602@gamersimpact.com> Date: Sat, 16 Oct 2004 22:45:18 -0500 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <4171D3AE.8010601@yahoo.com> In-Reply-To: <4171D3AE.8010601@yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: 5.3-Beta7 diskless boot: it boots but has empty /var (on /dev/md1) !? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 03:45:12 -0000 Rob wrote: > However, on the diskless PC, /var is on a memory > disk, but that directory is completely empty: > > disklessPC# ls -a /var > . .. .snap > > disklessPC# mount > 192.168.123.254:/ on / (nfs, read-only) > devfs on /dev (devfs, local) > /dev/md0 on /etc (ufs, local, soft-updates) > procfs on /proc (procfs, local) > /dev/md1 on /var (ufs, local, soft-updates) > 192.168.123.254:/usr on /usr (nfs, read-only) > 192.168.123.254:/home on /home (nfs) > /dev/md2 on /tmp (ufs, local, soft-updates) > > This has serious consequences on the diskless PC. > For example, sshd cannot start because /var/empty > is not there. There is no information in /var/run, > /var/log etc. > > Is something missing in the /etc/rc.d/initdiskless script, > or have I forgotten something? > > Thanks, > Rob. The /var memory disk needs to be populated with a base structure. This is handled in initdiskless by templates (see /etc/rc.d/initdiskless:285). You can either have them as subdirectories in your /conf/ or as dir.cpio.gz cpio'gzip archives that are then extracted. -- Ryan Sommers ryans@gamersimpact.com From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 03:54:35 2004 Return-Path: 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 BF82916A4CF; Sun, 17 Oct 2004 03:54:35 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9945C43D1D; Sun, 17 Oct 2004 03:54:35 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id IBA74465; Sat, 16 Oct 2004 20:54:35 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 88E185D04; Sat, 16 Oct 2004 20:54:34 -0700 (PDT) To: David Xu In-reply-to: Your message of "Sat, 16 Oct 2004 21:38:22 +0800." <4171244E.1080106@freebsd.org> Date: Sat, 16 Oct 2004 20:54:34 -0700 From: "Kevin Oberman" Message-Id: <20041017035434.88E185D04@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: Any chance to get my sound card to work ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 03:54:35 -0000 > Date: Sat, 16 Oct 2004 21:38:22 +0800 > From: David Xu > Sender: owner-freebsd-current@freebsd.org > > I have the sound card as the following mail said: > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=181707+0+/usr/local/www/db/text/2003/freebsd-stable/20031214.freebsd-stable > > But I didn't find that it works, I have loaded snd_es137x.ko: > > tiger# kldload snd_es137x.ko > pcm0: port 0xe400-0xe41f,0xe000-0xe03f irq > 17 at device 12.0 on pci0 > pcm0: > > The driver seems identified the device, but no sound at all when I try to > use it. This card has initialization problems. If you boot Windows and then boot FreeBSD, it works fine until the system is power cycled. This was first discussed almost two years ago on stable. I have not seen any patch for it. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 04:12:05 2004 Return-Path: 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 C41BD16A4CF for ; Sun, 17 Oct 2004 04:12:05 +0000 (GMT) Received: from heineken.flexi-surf.co.uk (heineken.flexi-surf.co.uk [62.41.128.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6E6F43D49 for ; Sun, 17 Oct 2004 04:12:04 +0000 (GMT) (envelope-from nbco@btinternet.com) Received: from [192.168.2.2] ([217.51.147.95])i9H2oY814182 for ; Sun, 17 Oct 2004 03:50:35 +0100 From: nbco Date: Sun, 17 Oct 2004 05:12:01 +0100 User-Agent: KMail/1.7 To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410170512.01673.nbco@btinternet.com> Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nbco@screaming.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 04:12:05 -0000 On Sunday 17 October 2004 00:10, Jochen Gensch wrote: > I just cvsup'd RELENG_5 and the system is not booting any more with > the new kernel. It hangs at the ata identifying with the message: > > ata1-slave: FAILURE - ATAPI_IDENTIFY timed out > > I am using the GENERIC kernel, the only additional thing in there is > atapicam. Maybe I just cvsup'd at a bad time :-) ? Hi there, I have the same problem. I have a T41, removing the cd drive will mean that you can boot cleanly. I suffered from the same problem earlier this year. I have had no problem with 5.3-BETA7. It appears that this regression was caused by an ata driver commit before RELENG_5_3 was branched. If you are going to roll sources back, roll them back to 08:00:00 UTC on 16 Oct 2004, use the branch RELENG_5, but don't use the branch RELENG_5_3 until this gets sorted out. .nbco From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 04:31:02 2004 Return-Path: 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 02F1216A4D1; Sun, 17 Oct 2004 04:31:02 +0000 (GMT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE35E43D49; Sun, 17 Oct 2004 04:31:01 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id IBA74465; Sat, 16 Oct 2004 21:31:01 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 842035D04; Sat, 16 Oct 2004 21:31:00 -0700 (PDT) To: Ariff Abdullah In-reply-to: Your message of "Sat, 16 Oct 2004 22:06:50 +0800." <20041016220650.56e95112.skywizard@time.net.my> Date: Sat, 16 Oct 2004 21:31:00 -0700 From: "Kevin Oberman" Message-Id: <20041017043100.842035D04@ptavv.es.net> cc: freebsd-current@freebsd.org cc: David Xu Subject: Re: Any chance to get my sound card to work ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 04:31:02 -0000 > Date: Sat, 16 Oct 2004 22:06:50 +0800 > From: Ariff Abdullah > Sender: owner-freebsd-current@freebsd.org > > > On Sat, 16 Oct 2004 21:38:22 +0800 > David Xu wrote: > > I have the sound card as the following mail said: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=181707+0+/usr/local/www/db/text/2003/freebsd-stable/20031214.freebsd-stable > > > > But I didn't find that it works, I have loaded snd_es137x.ko: > > > > tiger# kldload snd_es137x.ko > > pcm0: port 0xe400-0xe41f,0xe000-0xe03f > > irq 17 at device 12.0 on pci0 > > pcm0: > > > > The driver seems identified the device, but no sound at all when I > > try to use it. > > > > You may try this patch: > http://staff.mybsd.org.my/skywizard/FreeBSD/es137x.c.diff > > It's pathetic, ugly, but does it job to properly initialize mixer > on ev1938 chip. Perhaps somebody can really clean it up. Cool! For the first time I can get my ES1371 to work on boot after a power cycle. Thanks, Ariff! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 04:37:10 2004 Return-Path: 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 E8BFA16A4CF; Sun, 17 Oct 2004 04:37:10 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5A3543D41; Sun, 17 Oct 2004 04:37:09 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id i9H4axB4085154; Sat, 16 Oct 2004 21:37:03 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200410170437.i9H4axB4085154@gw.catspoiler.org> Date: Sat, 16 Oct 2004 21:36:58 -0700 (PDT) From: Don Lewis To: pjd@FreeBSD.org In-Reply-To: <20041016062115.GS73767@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: ache@nagual.pp.ru cc: scottl@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Stable panic on shutdown: swapoff: failed to locate N swap blocks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 04:37:11 -0000 On 16 Oct, Pawel Jakub Dawidek wrote: > On Sat, Oct 16, 2004 at 08:54:47AM +0400, Andrey Chernov wrote: > +> On Sat, Oct 16, 2004 at 12:47:31AM -0400, David Schultz wrote: > +> > Pawel has a patch that moves the swapoff() later in the shutdown > +> > sequence, after all user processes have been killed. It should > +> > make swapoff() basically a no-op / sanity check, since nothing > +> > should actually be paged out at that point. > +> > +> Forward it to me, please, I'll test it. > > http://people.freebsd.org/~pjd/patches/swapoff_all.patch > This should probably be combined with vfs_umountall() to handle the mutual interdependencies between regular file systems, file systems stored on swap-backed md devices, and vnode-backed md devices used for swap. I have no idea how difficult this might be to implement. Hopefully nobody swaps to a vnode-backed md device that resides in a file system that is stored on a swap-backed md device ... From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 05:19:02 2004 Return-Path: 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 DE87816A4CE; Sun, 17 Oct 2004 05:19:02 +0000 (GMT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EEE43D1F; Sun, 17 Oct 2004 05:19:02 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.1/8.13.1) with ESMTP id i9H5J0Oi010833; Sun, 17 Oct 2004 09:19:00 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 17 Oct 2004 09:19:00 +0400 (MSD) From: Dmitry Morozovsky To: Ruslan Ermilov In-Reply-To: <20041017013523.O90434@woozle.rinet.ru> Message-ID: <20041017091627.T10792@woozle.rinet.ru> References: <20041016235144.P53591@woozle.rinet.ru> <20041017000419.G53591@woozle.rinet.ru> <20041017011515.N90434@woozle.rinet.ru> <20041017013523.O90434@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: cross-release RELENG_5_3 under 4-STABLE broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 05:19:03 -0000 On Sun, 17 Oct 2004, Dmitry Morozovsky wrote: [snip] DM> RE> > for i in base catpages manpages games proflibs dict info doc; do ... DM> RE> > touch release.1 DM> RE> DM> RE> As you can see, there's no "compat*" dists listed here. Since the DM> RE> list of distributions fully matches the "make -V DISTRIBUTIONS" DM> RE> output in src/release of HEAD, I believe that you try to use HEAD DM> RE> version of release/Makefile to build a RELENG_5_3. DM> RE> DM> RE> I mentioned this a number of times on the current@ mailing list, DM> RE> that to build a 5.x release on 4.x, you need to check out and use DM> RE> target (5.x) version of src/release/Makefile*. And you should use DM> RE> the WORLDDIR knob of "make release" to specify the location of DM> RE> your 4.x src/ tree. DM> DM> Yes, somehow my /FreeBSd/src.53 tree is mixed with RELENG_5_3 and HEAD tags... DM> Will re-update and re-check... Just to confirm that script -t2 /usr/obj/log/releaselog.53 make release BUILDNAME=5.3-RiNet-RC CVSROOT=/home/ncvs RELEASETAG=RELENG_5_3 CHROOTDIR=/usr/obj/R WORLDDIR=/usr/src NOPORTS=1 NO_PF=1 WORLD_FLAGS=-j4 KERNEL_FLAGS=-j4 LOCAL_PATCHES=../../current-crossrelease.patch MAKE_ISOS=1 has been completed successfully (yes, modulo docports which I have to fix in LOCAL_PATCHES and cdrtools which are downloaded from the net and has wrong version). Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 06:15:29 2004 Return-Path: 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 08D2616A4CE for ; Sun, 17 Oct 2004 06:15:29 +0000 (GMT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id A469743D2F for ; Sun, 17 Oct 2004 06:15:28 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-67-124-50-20.dsl.snfc21.pacbell.net [67.124.50.20])i9H6FQWC443898; Sun, 17 Oct 2004 02:15:27 -0400 Message-ID: <41720DFD.2090709@elischer.org> Date: Sat, 16 Oct 2004 23:15:25 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: Venkatesh.Babu@nokia.com References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Multiprocessing for network protocol stack X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 06:15:29 -0000 Venkatesh.Babu@nokia.com wrote: > We have a proprietary OS, which is a variant of FreeBSD 2.x and has extensive > changes to protocol stack. We are planning to migrate to the latest FreeBSD > like 4.x or 5.x to get multiprocessor support. So I am trying to evaluate > these options. > > How good the network protocol stack takes advantages of the multi processor > in 5.x ? > > What parallelizing paradigm (Connection level parallelism / Packet level > parallelism / processor per message / predictable parallel protocol > processing) is implemented for network protocol stack (like TCP/IP) in BSD > 5.x ? > > Are there any benchmarks on the performance analysis of network protocol > stack on multiprocessor system ? Parallelisation of teh network stacks is only in "beta" (so to speak) it works (mostly) but still has work to be done. It's a bit early to be basing decisions on numbers we are seeing now.. > > Thanks, VBabu _______________________________________________ > 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 Oct 17 08:07:05 2004 Return-Path: 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 A404216A4CE for ; Sun, 17 Oct 2004 08:07:05 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6745043D3F for ; Sun, 17 Oct 2004 08:07:05 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 12612 invoked from network); 17 Oct 2004 08:07:05 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Oct 2004 08:07:04 -0000 Received: from hydrogen.funkthat.com (gbshkj@localhost.funkthat.com [127.0.0.1])i9H872lb092472; Sun, 17 Oct 2004 01:07:03 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i9H86wWh092471; Sun, 17 Oct 2004 01:06:58 -0700 (PDT) Date: Sun, 17 Oct 2004 01:06:58 -0700 From: John-Mark Gurney To: Max Laier Message-ID: <20041017080658.GY22681@funkthat.com> Mail-Followup-To: Max Laier , freebsd-current@freebsd.org, Bruce M Simpson , Robert Huff , Andrey Chernov , Ian FREISLICH , Robert Watson , Kris Kennaway References: <20041014000822.GA30887@nagual.pp.ru> <20041014182715.GB665@empiric.icir.org> <20041014203132.GA54873@nagual.pp.ru> <200410151943.01797.max@love2party.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3Pql8miugIZX0722" Content-Disposition: inline In-Reply-To: <200410151943.01797.max@love2party.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE 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: Bruce M Simpson cc: Robert Huff cc: Andrey Chernov cc: Ian FREISLICH cc: freebsd-current@freebsd.org cc: Robert Watson cc: Kris Kennaway Subject: Re: network slowness/freez-up since update 10/11 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 17 Oct 2004 08:07:05 -0000 --3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Max Laier wrote this message on Fri, Oct 15, 2004 at 19:42 +0200: > Anyway, let's end this and get on to fixing it - shall we? I didn't try those patches, but I think I found the problem. I'm not sure why it would effect us now, and not a long time ago, but it appears that there was some optimization to drop back to processing only one packet at a time (and possibly process other packets in an interrupt), but something got broken... I ended up just eliminating the drop back to single packet delivery, and things over here seem to be doing well.. I've been running netperf's tcp stream for the last 20 minutes or so, and ping's ar still in the sub 10ms range.. usually around 4ms.. and most of the time I've been pushing around 11meg/sec to the machine (which generates around 300k transmit)... I'm now running transmits from the machine, but the performance isn't as good as it should be.. I'm getting only about 10meg/sec right now.. attached is the patch... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_de.c.diff" Index: if_de.c =================================================================== RCS file: /home/ncvs/src/sys/pci/if_de.c,v retrieving revision 1.158 diff -u -r1.158 if_de.c --- if_de.c 13 Aug 2004 22:48:05 -0000 1.158 +++ if_de.c 17 Oct 2004 07:52:55 -0000 @@ -117,7 +117,6 @@ static int tulip_ifmedia_change(struct ifnet * const ifp); static void tulip_ifmedia_status(struct ifnet * const ifp, struct ifmediareq *req); -static void tulip_ifstart_one(struct ifnet *ifp); static void tulip_ifstart(struct ifnet *ifp); static void tulip_init(tulip_softc_t * const sc); static void tulip_intr_shared(void *arg); @@ -4635,29 +4634,9 @@ break; } } - if (IFQ_DRV_IS_EMPTY(&sc->tulip_if.if_snd)) - sc->tulip_if.if_start = tulip_ifstart_one; } TULIP_PERFEND(ifstart); -} - -static void -tulip_ifstart_one( - struct ifnet * const ifp) -{ - TULIP_PERFSTART(ifstart_one) - tulip_softc_t * const sc = (tulip_softc_t *)ifp->if_softc; - - if ((sc->tulip_if.if_flags & IFF_RUNNING) - && !IFQ_DRV_IS_EMPTY(&sc->tulip_if.if_snd)) { - struct mbuf *m; - IFQ_DRV_DEQUEUE(&sc->tulip_if.if_snd, m); - if(m == NULL); - else if((m = tulip_txput(sc, m)) != NULL) - IFQ_DRV_PREPEND(&sc->tulip_if.if_snd, m); - } - TULIP_PERFEND(ifstart_one); } /* --3Pql8miugIZX0722-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 08:09:40 2004 Return-Path: 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 3985D16A532 for ; Sun, 17 Oct 2004 08:09:40 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F82243D1F for ; Sun, 17 Oct 2004 08:09:39 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i9H89bGa008278; Sun, 17 Oct 2004 11:09:37 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 71787-09; Sun, 17 Oct 2004 11:09:36 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i9H89a50008275; Sun, 17 Oct 2004 11:09:36 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i9H89Sat039580; Sun, 17 Oct 2004 11:09:28 +0300 (EEST) (envelope-from ru) Date: Sun, 17 Oct 2004 11:09:28 +0300 From: Ruslan Ermilov To: Dmitry Morozovsky Message-ID: <20041017080928.GB39447@ip.net.ua> References: <20041016235144.P53591@woozle.rinet.ru> <20041017000419.G53591@woozle.rinet.ru> <20041016210749.GB16260@ip.net.ua> <20041017011515.N90434@woozle.rinet.ru> <20041016213251.GA60166@ip.net.ua> <20041017013523.O90434@woozle.rinet.ru> <20041017091627.T10792@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <20041017091627.T10792@woozle.rinet.ru> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@freebsd.org Subject: Re: cross-release RELENG_5_3 under 4-STABLE broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 08:09:40 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 17, 2004 at 09:19:00AM +0400, Dmitry Morozovsky wrote: > On Sun, 17 Oct 2004, Dmitry Morozovsky wrote: > Just to confirm that=20 >=20 > script -t2 /usr/obj/log/releaselog.53 make release BUILDNAME=3D5.3-RiNet-= RC=20 > CVSROOT=3D/home/ncvs RELEASETAG=3DRELENG_5_3 CHROOTDIR=3D/usr/obj/R WORLD= DIR=3D/usr/src=20 > NOPORTS=3D1 NO_PF=3D1 WORLD_FLAGS=3D-j4 KERNEL_FLAGS=3D-j4=20 > LOCAL_PATCHES=3D../../current-crossrelease.patch MAKE_ISOS=3D1 >=20 > has been completed successfully (yes, modulo docports which I have to fix= in=20 > LOCAL_PATCHES and cdrtools which are downloaded from the net and has wron= g=20 > version). >=20 You can also avoid NO_PF by creating necessary UIDs/GIDs in LOCAL_SCRIPT. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBcii4qRfpzJluFF4RAo9iAJoC4aM/ctZtjT2aPKE+pf/I44qH7gCfYGU4 53S2H2I2cY8q7/4Oon4WVac= =b9Et -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 08:41:51 2004 Return-Path: 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 C4D1316A4CF for ; Sun, 17 Oct 2004 08:41:51 +0000 (GMT) Received: from mail.kuehlbox.de (ns1.kuehlbox.de [62.159.47.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id B15D543D1D for ; Sun, 17 Oct 2004 08:41:50 +0000 (GMT) (envelope-from bsd@kuehlbox.de) Received: (qmail 431 invoked by uid 89); 17 Oct 2004 08:40:26 -0000 Received: from unknown (HELO ?172.16.21.120?) (webmaster@kuehlbox.de@82.135.6.231) by www.kuehlbox.de with SMTP; 17 Oct 2004 08:40:26 -0000 Message-ID: <41723049.90000@kuehlbox.de> Date: Sun, 17 Oct 2004 10:41:45 +0200 From: Stephan Fiebrandt User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: serious problem with 5.3-B7 and linux emulated vmware X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 08:41:51 -0000 Hi all, in the first place, i had some issues, that i've also posted in -emulation, but now i have found out a critical problem with 5.3-BETA7. I installed vmware3 from /usr/ports/emulation/vmware3 as supposted. After i turned on the first time a vmware session, my mouse in X almost freeze, console has delayed input, and top believes that all %CPU activity is at 0.0. But my biggest concern is, that my ATAPI Controller "crashes" unusable: acd0: FAILURE - ATAPI_IDENTIFY timed out when i try afterwards to use an ATA device, in this case the cdrom. (e.g. just starting /stand/systinstall, and it hangs with that error) But it got a bit better. One error is missing since BETA6: watchdog: xl0 timed out In 5.3-B6 in the same moment, after starting a vmware session, as soon the secound networkcard had activity, *all* networkcard got stalled with the watchdog timeout message. With the latest B7 i could not reproduce this anymore (yet). I have tried all ways out, with no SMP, and no ACPI, linux_base or linuxbase-8 ,vmware2 (patches from -current) or vmware3 and so on... everytime it is the same effect after i did turn on once a vmware session. I have seen another one, that had an IDE disk, that was inaccessable after he turned on the session. I do not have a normal IDE disk attached on the system. I got an Adaptec Raid Controller, so thats way got much far than him. And losing the access to the fixed disk, i would count as an critical bug. In FreeBSD 4.10 everything runs just fine. So i believe there are still some serious bugs in 5.3. And since it wants to become "stable", i would like to help with any information that i can give, to solve this prob, since in that case, a Linux-prog was able to totaly "crash" the mashine into an unusable state. my dmesg: Copyright (c) 1992-2004 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 5.3-BETA7 #0: Wed Oct 13 20:22:47 CEST 2004 root@kuehlbox.de:/usr/obj/usr/src/sys/SERVER WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073152000 (1023 MB) avail memory = 1040580608 (992 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu1: Failed to attach throttling P_CNT pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 3.0 on pci0 pci2: on pcib1 em0: port 0x2000-0x201f mem 0xd0100000-0xd011ffff,0xd0120000-0xd013ffff irq 18 at device 1.0 on pci2 em0: [GIANT-LOCKED] em0: Ethernet address: 00:0d:60:83:73:18 em0: Speed:N/A Duplex:N/A pcib2: at device 28.0 on pci0 pci3: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 0xd0200000-0xd020007f irq 24 at device 1.0 on pci3 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:20:8c:5b xl0: [GIANT-LOCKED] asr0: mem 0xd4000000-0xd5ffffff irq 25 at device 2.0 on pci3 asr0: [GIANT-LOCKED] asr0: ADAPTEC 2400A FW Rev. 3A0L, 4 channel, 256 CCBs, Protocol I2O pcib3: at device 2.1 on pci3 pci4: on pcib3 uhci0: port 0x1400-0x141f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: LegSup = 0x003b usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1420-0x143f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: LegSup = 0x0010 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 29.4 (no driver attached) pci0: at device 29.5 (no driver attached) pci0: at device 29.7 (no driver attached) pcib4: at device 30.0 on pci0 pci5: on pcib4 pci5: at device 2.0 (no driver attached) puc0: port 0x4460-0x446f,0x4470-0x4477,0x4478-0x447f,0x4480-0x4487,0x4488-0x448f,0x4490-0x4497 irq 17 at device 6.0 on pci5 sio4: on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode sio5: on puc0 sio5: type 16550A sio5: unable to activate interrupt in fast mode - using normal mode ppc0: on puc0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ifpi2-0: port 0x4440-0x445f mem 0xd0310000-0xd031001f irq 20 at device 7.0 on pci5 ifpi2-0: [GIANT-LOCKED] ifpi2-0: ISACSX PSB3186 ifpi2-0: passive stack unit 0 pci5: at device 8.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1460-0x146f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 ppc1 port 0x378-0x37f irq 7 on acpi0 ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc1: FIFO with 16/16/8 bytes threshold ppbus1: on ppc1 plip1: on ppbus1 lpt1: on ppbus1 lpt1: Interrupt-driven port ppi1: on ppbus1 orm0: at iomem 0xca800-0xd07ff,0xca000-0xca7ff,0xc9000-0xc9fff,0xc0000-0xc8fff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec i4btel: 2 ISDN telephony interface device(s) attached i4bipr: 4 IP over raw HDLC ISDN device(s) attached i4bctl: ISDN system control port attached i4bisppp: 4 ISDN SyncPPP device(s) attached i4b: ISDN call control device attached i4btrc: 4 ISDN trace device(s) attached i4brbch: 4 raw B channel access device(s) attached IPsec: Initialized Security Association Processing. ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 10 packets/entry by default i4b-L1 ifpi2_isacsx_ind_hdlr: UNKNOWN Indication 0x1 in state F3 Deactivated acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% acd0: CDROM at ata0-master UDMA33 SMP: AP CPU #1 Launched! da0 at asr0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 305254MB (625160192 512 byte sectors: 255H 63S/T 38914C) Mounting root from ufs:/dev/da0s1a em0: Link is up 100 Mbps Full Duplex WARNING: driver "vmmon" used unreserved major device number 200 /dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $ /dev/vmmon: Module vmmon: initialized vmnet1: Ethernet address: 00:bd:7b:0c:00:01 xl0: promiscuous mode enabled vmnet1: promiscuous mode enabled pcm0: port 0x4400-0x443f irq 21 at device 8.0 on pci5 pcm0: pcm0: [GIANT-LOCKED] drm0: port 0x4000-0x40ff mem 0xd0300000-0xd030ffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci5 info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 <----vmware start and exiting it again ----> /dev/vmmon: Vmx86_DestroyVM: unlocked pages: 10165, unlocked dirty pages: 10113 <--------------- trying to access now the /dev/acd0 (cdrom) -----------------> acd0: FAILURE - ATAPI_IDENTIFY timed out acd0: FAILURE - ATAPI_IDENTIFY timed out From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 08:45:10 2004 Return-Path: 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 EA31C16A4DC; Sun, 17 Oct 2004 08:45:10 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B93D43D2D; Sun, 17 Oct 2004 08:45: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 7196E1FF9AC; Sun, 17 Oct 2004 10:45:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id A177C1FF9AB; Sun, 17 Oct 2004 10:45:06 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 5EBCE15606; Sun, 17 Oct 2004 08:44:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 53B43154FC; Sun, 17 Oct 2004 08:44:53 +0000 (UTC) Date: Sun, 17 Oct 2004 08:44:53 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: gnn@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: FreeBSD current mailing list Subject: Re: 6-CUR: panic in ipsec processing w/o ipsec in use X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 08:45:11 -0000 On Sun, 17 Oct 2004 gnn@freebsd.org wrote: Hi, > At Sat, 16 Oct 2004 19:39:00 +0000 (UTC), > Bjoern A. Zeeb wrote: > > > > Hi, > > > > on my MP machine running 6-CURRENT from around late 2004-09-26 > > I got a panic while editing a Makefile of a port; though compiled in > > I have no ipsec in use on that machine atm. > > > > hand transcribed: > > panic > > free +0xaa > > _key_delsp +0x1b > > key_delsp +0xab > > _key_freesp +0x8a > > ipsec4_hdrsiz +0x9b > > ipsec4_hdrsiz_tc +0xa9 > > tcp_output +0x9c1 > > tcp_usr_send +0x18b > > sosend +0x5e7 > > soo_write +0x46 > > dofilewrite +0xa8 > > write +0x39 > > syscall > > Xint0x80_syscall > > > > > > the bt looks strange to me, so I decided to post though > > this may already be corrected ? > > This might be related to a fix, that needs testing, with respect to > the mbuf data size. The thing I'm thinking about is this: > > There are reports that racoon is unable to complete IKE negotiation > due to a send to the pfkey socket returning ENOBUFS. This appears to > be a result of an incorrect assumption about mbuf data size due to a > change resulting from mbuma. A fix for this is in RELENG_5 now. I know but as said: "no ipsec in use on that machine". The questions are: a) why does anything go into the ipsec processing path if I do not use ipsec (no policies, no SAs, no raccon, ...)? b) why does this happen from dofilewrite? > You might want to update your system. yeah I might want to do that. > From what you say in your email this looks like an intermittent > error. Have you been able to reproduce this? no. it just happened this one time in ~14 days. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 08:53:44 2004 Return-Path: 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 BA9C016A4CF for ; Sun, 17 Oct 2004 08:53:44 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2991743D58 for ; Sun, 17 Oct 2004 08:53:44 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9H8re4L021356; Sun, 17 Oct 2004 04:53:40 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9H8reKl021352; Sun, 17 Oct 2004 04:53:40 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 04:53:40 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Volker In-Reply-To: <4171CDF3.6050901@vwsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: beta6/7 machine freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 08:53:44 -0000 On Sun, 17 Oct 2004, Volker wrote: > I'm still using debug.mpsafenet=0 for the i4b code (may I remove it or > is it still required for i4b?). You can move the explicit reference, because the network stack will automatically set debug.mpsafenet=0 if you compile i4b into it. I hope to have some patches to make it more mpsafe in the near future, but am currently working on other bugs. I'll probably bother you again in a few weeks with some patches to try :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > > Before your i4b changes the machine died in the middle or at the end of > a ppp connection. For me, this is a huge step forward (or backward into > stability). > > Now while the machine is running stable (no lock ups, no panics) for > quite some days (the first time since BETA-4) I'm sure RELENG_5 made a > huge step into the 5-STABLE direction. Two weeks ago I really had > concerns for 5's stability but now I think 5.x will do a good job as 4.x > did it. > > I think you guys really did a great job! :) > > Will remove INVARIANTS and WITNESS now and enjoy the speed of a good OS. > > Thanks, > > Volker > > > > On 2004-10-11 17:44, Robert Watson wrote: > > > In fact, this is almost certainly part of the problem. I'd try setting > > debug.mpsafenet=0 in /boot/loader.conf and reboot as a first step t see if > > the problem goes away. > > > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > > robert@fledge.watson.org Principal Research Scientist, McAfee Research > > > > On Mon, 11 Oct 2004, Robert Watson wrote: > > > > > >>BTW, since it sounds like this might be a networking related problem, you > >>might try setting debug.mpsafenet=0 in loader.conf to see if the problem > >>goes away -- that will put the Giant lock back over the network stack and > >>might close races. i4b might not be MPSAFE, I'll go take a look. > >> > >>Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > >>robert@fledge.watson.org Principal Research Scientist, McAfee Research > >> > >> > > > > > > -- > GPG/PGP fingerprint: > FF93 13A1 2477 B631 E953 06DF 4C49 ADD9 E4BF 79B1 > From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 08:58:29 2004 Return-Path: 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 204D216A4CE for ; Sun, 17 Oct 2004 08:58:29 +0000 (GMT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4525343D1D for ; Sun, 17 Oct 2004 08:58:27 +0000 (GMT) (envelope-from wilkinsa@squirm.dsto.defence.gov.au) Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id i9H8vXZg009518 for ; Sun, 17 Oct 2004 18:27:33 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by ednmsw503.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Sun, 17 Oct 2004 18:28:20 +0930 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81]) by muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id i9H8rWh26631 for ; Sun, 17 Oct 2004 18:23:32 +0930 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.40.211]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id RZJBZTMB; Sun, 17 Oct 2004 18:23:19 +0930 Received: from squirm.dsto.defence.gov.au (localhost [127.0.0.1]) by squirm.dsto.defence.gov.au (8.13.1/8.13.1) with ESMTP id i9F8OVDV001349 for ; Fri, 15 Oct 2004 17:54:31 +0930 (CST) (envelope-from wilkinsa@squirm.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by squirm.dsto.defence.gov.au (8.13.1/8.13.1/Submit) id i9F8OVdU001348 for freebsd-current@freebsd.org; Fri, 15 Oct 2004 17:54:31 +0930 (CST) (envelope-from wilkinsa) Date: Fri, 15 Oct 2004 17:54:30 +0930 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20041015082424.GA786@squirm.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: RELENG_5 panic [nic: _mtx_lock_sleep: recursed on non-recursivemutex nfsd_mtx] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 08:58:29 -0000 Hi all, I currently get a panic with "nfs_server_enable=YES" in /etc/rc.conf. OS: FreeBSD 5.3-BETA4 #2: Tue Sep 14 13:55:30 UTC 2004 Backtrace --------- panic: _mtx_lock_sleep: recursed on non-recursive mutex nfsd_mtx @ /usr /src/sys/nfsserver/nfs_serv.c:1947 cpuid = 0 KDB: enter: panic [thread 100074] Stopped at kdb_enter+0x32: leave db> tr kdb_enter(c068ba66,0,c068aed8,dd2ed90c,c1b6b340) at kdb_enter+0x32 panic(c068aed8,c069885f,c0698617,79b,c0698617) at panic+0x1b0 _mtx_lock_sleep(c071c940,c1b6b340,0,c0698617,79b) at _mtx_lock_sleep+0x16e _mtx_lock_flags(c071c940,0,c0698617,79b,0) at _mtx_lock_flags+0xb0 nfsrv_create(c1eb6800,c1b98800,c1b6b340,dd2edc8c,0) at nfsrv_create+0x8c4 nfssvc(c1b6b340,dd2edd14,8,0,2) at nfssvc+0x6ea syscall(2f,2f,2f,0,0) at syscall+0x13b Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (155, FreeBSD ELF32, nfssvc), eip = 0x280c60bf, esp = 0xbfbfeb1c, eb p = 0xbfbfeb38 --- - aW From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 09:25:23 2004 Return-Path: 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 2B9BE16A4D3 for ; Sun, 17 Oct 2004 09:25:23 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EC5A43D31 for ; Sun, 17 Oct 2004 09:25:08 +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 5CFCA1FF92F; Sun, 17 Oct 2004 11:25:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 6E81D1FF91D; Sun, 17 Oct 2004 11:25:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id F0B8D15606; Sun, 17 Oct 2004 09:24:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id E5EC8154FC; Sun, 17 Oct 2004 09:24:31 +0000 (UTC) Date: Sun, 17 Oct 2004 09:24:31 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Volker In-Reply-To: <4171D04C.8070601@vwsoft.com> Message-ID: References: <4171D04C.8070601@vwsoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-current@freebsd.org Subject: Re: LOR ath X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 09:25:23 -0000 On Sun, 17 Oct 2004, Volker wrote: > Whenever if_ath is loaded or unloaded, the ahc0 driver enters the game. > > After that (kldload), my kernel told me about a LOR: > > lock order reversal > 1st 0xc1a1bc58 ath0 (network driver) @ > /usr/src/sys/modules/ath/../../dev/ath/i > f_ath.c:893 > 2nd 0xc184f620 user map (user map) @ /usr/src/sys/vm/vm_map.c:2997 > KDB: stack backtrace: > kdb_backtrace(0,ffffffff,c0728ee8,c072a388,c06d17ec) at kdb_backtrace+0x29 > witness_checkorder(c184f620,9,c06a7966,bb5) at witness_checkorder+0x540 > _sx_xlock(c184f620,c06a7966,bb5) at _sx_xlock+0x50 > _vm_map_lock_read(c184f5dc,c06a7966,bb5,2000000,c16f3e8c) at > _vm_map_lock_read+0 > x3b > vm_map_lookup(cc7a29dc,8055000,2,cc7a29e0,cc7a29d0) at vm_map_lookup+0x26 > vm_fault(c184f5dc,8055000,2,8,c15907d0) at vm_fault+0x69 > trap_pfault(cc7a2aa4,0,8055000) at trap_pfault+0xf2 > trap(18,10,10,8055000,c16cae00) at trap+0x351 > calltrap() at calltrap+0x5 for the archives. I added this as LOR 042: http://sources.zabbadoz.net/freebsd/lor.html#042 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 09:59:04 2004 Return-Path: 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 6BE7B16A4CE for ; Sun, 17 Oct 2004 09:59:04 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB8043D5C for ; Sun, 17 Oct 2004 09:59:03 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 27B9949; Sun, 17 Oct 2004 11:59:03 +0200 (CEST) Date: Sun, 17 Oct 2004 11:59:03 +0200 From: Guido van Rooij To: Peter Jeremy Message-ID: <20041017095903.GB59847@gvr.gvr.org> References: <20041013214911.GD986@green.homeunix.org> <20041015073118.GA19660@gvr.gvr.org> <20041015104856.GB45863@cirb503493.alcatel.com.au> <20041015123547.GA23221@gvr.gvr.org> <20041015220203.GT83620@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041015220203.GT83620@cirb503493.alcatel.com.au> cc: freebsd-current@freebsd.org Subject: Re: 5.3-BETA7 install cd: kernel trap 12 with interrupts disabled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 09:59:04 -0000 On Sat, Oct 16, 2004 at 08:02:03AM +1000, Peter Jeremy wrote: > On Fri, 2004-Oct-15 14:35:47 +0200, Guido van Rooij wrote: > >A make buildworld cannot be used in sich a scenario. A nice memtester > >that could be called from the bootloader would have been handy. > > http://www.memtest86.com/memtest86-3.1a.iso.gz > > I'm not sure how much effort would be involved in making memtest[86] > in a form that could be loaded by the bootloader. I am going to take a look next week. -Guido From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 10:15:33 2004 Return-Path: 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 3B16E16A4D3; Sun, 17 Oct 2004 10:15:33 +0000 (GMT) Received: from will.iki.fi (will.iki.fi [217.169.64.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9817543D45; Sun, 17 Oct 2004 10:15:16 +0000 (GMT) (envelope-from will+freebsd-current@will.iki.fi) Received: from [192.168.1.101] (KMMCDXI.dsl.saunalahti.fi [195.197.18.211]) by will.iki.fi (Postfix) with ESMTP id 87E22AD; Sun, 17 Oct 2004 13:15:14 +0300 (EEST) Message-ID: <4172461E.9060008@will.iki.fi> Date: Sun, 17 Oct 2004 13:14:54 +0300 From: Ville-Pertti Keinonen User-Agent: Mozilla Thunderbird 0.8 (X11/20041016) X-Accept-Language: en-us, en MIME-Version: 1.0 To: obrien@freebsd.org References: <20041016174925.GA96809@dragon.nuxi.com> In-Reply-To: <20041016174925.GA96809@dragon.nuxi.com> Content-Type: multipart/mixed; boundary="------------020909000407050000000700" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-current@freebsd.org Subject: Optimized libc/amd64/string (was Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 10:15:33 -0000 This is a multi-part message in MIME format. --------------020909000407050000000700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit If -current is now at a stage where simple assembly-language optimizations are desirable, another nice target would be the libc string functions on the amd64 (they're still built from the portable C sources). I'm currently running using the attached files, adapted from NetBSD. Just untarring the contents in /usr/src will include them in a buildworld (without overwriting anything). --------------020909000407050000000700-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 11:08:36 2004 Return-Path: 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 EC56616A4CE; Sun, 17 Oct 2004 11:08:36 +0000 (GMT) Received: from mail.vtec.ipme.de (Ad6ca.a.pppool.de [213.6.214.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B241E43D31; Sun, 17 Oct 2004 11:08:30 +0000 (GMT) (envelope-from volker@vwsoft.com) Received: from [192.168.16.24] (unknown [192.168.16.24]) by bellona.sz.vwsoft.com (Postfix) with ESMTP id BCBB05C4F; Sun, 17 Oct 2004 13:08:19 +0200 (CEST) Message-ID: <417252A2.6070908@vwsoft.com> Date: Sun, 17 Oct 2004 13:08:18 +0200 From: Volker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040822 Thunderbird/0.7+ Mnenhy/0.6.0.101 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: beta6/7 machine freeze X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 11:08:37 -0000 Hi Robert! On 2004-10-17 10:53, Robert Watson wrote: > On Sun, 17 Oct 2004, Volker wrote: > > >>I'm still using debug.mpsafenet=0 for the i4b code (may I remove it or >>is it still required for i4b?). > > > You can move the explicit reference, because the network stack will > automatically set debug.mpsafenet=0 if you compile i4b into it. I hope to > have some patches to make it more mpsafe in the near future, but am > currently working on other bugs. > > I'll probably bother you again in a few weeks with some patches to try > :-). > Please don't hesitate to bother me! :) Greetings, Volker -- GPG/PGP fingerprint: FF93 13A1 2477 B631 E953 06DF 4C49 ADD9 E4BF 79B1 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 11:12:12 2004 Return-Path: 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 6EA9816A4CE for ; Sun, 17 Oct 2004 11:12:12 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76DFE43D3F for ; Sun, 17 Oct 2004 11:12:11 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101720:10:55:969671.15513.2830777264 for ; Sun, 17 Oct 2004 20:10:55 +0900 (KST) Message-ID: <4172538A.9080906@yahoo.com> Date: Sun, 17 Oct 2004 20:12:10 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Sommers , freebsd-current@freebsd.org References: <4171D3AE.8010601@yahoo.com> <4171EACE.4020602@gamersimpact.com> In-Reply-To: <4171EACE.4020602@gamersimpact.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:3.27) (by Terrace) Subject: Re: 5.3-Beta7 diskless boot: it boots but has empty /var (on/dev/md1) !? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 11:12:12 -0000 Ryan Sommers wrote: > Rob wrote: > >> However, on the diskless PC, /var is on a memory >> disk, but that directory is completely empty: >> >> disklessPC# ls -a /var >> . .. .snap >> >> disklessPC# mount >> 192.168.123.254:/ on / (nfs, read-only) >> devfs on /dev (devfs, local) >> /dev/md0 on /etc (ufs, local, soft-updates) >> procfs on /proc (procfs, local) >> /dev/md1 on /var (ufs, local, soft-updates) >> 192.168.123.254:/usr on /usr (nfs, read-only) >> 192.168.123.254:/home on /home (nfs) >> /dev/md2 on /tmp (ufs, local, soft-updates) >> >> This has serious consequences on the diskless PC. >> For example, sshd cannot start because /var/empty >> is not there. There is no information in /var/run, >> /var/log etc. >> >> Is something missing in the /etc/rc.d/initdiskless script, >> or have I forgotten something? >> >> Thanks, >> Rob. > > > The /var memory disk needs to be populated with a base structure. This > is handled in initdiskless by templates (see > /etc/rc.d/initdiskless:285). You can either have them as subdirectories > in your /conf/ or as dir.cpio.gz cpio'gzip archives that are then > extracted. Great! Thank you. This works very well. What I have done is putting only the directories in the var.cpio.gz, as follows: find /var -type d | cpio -o > /conf/base/var.cpio gzip /conf/base/var.cpio to regenerate the directory tree for /var on the diskless PC, assuming that individual files will be created as the system boots. The latter is indeed the case with files like /var/run/dmesg.boot /var/run/sshd.pid /var/run/syslog.pid /var/run/syslogd.sockets and so forth. However, /var/log/ is empty and remains empty !?!? Any idea why that is? I need to inspect files like /var/log/auth.log, /var/log/messages and so on. Why are these log files not generated? syslogd is running: # ps awux | grep syslog root 231 0.0 2.7 1316 760 ?? Ss 6:20PM 0:00.13 /usr/sbin/syslogd -ss rob 677 0.0 1.1 476 312 p2 R+ 8:09PM 0:00.01 grep syslog Thanks! Rob. From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 11:41:14 2004 Return-Path: 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 B2A1016A4CE for ; Sun, 17 Oct 2004 11:41:14 +0000 (GMT) Received: from smtp2.bahnhof.se (mailut.bahnhof.net [213.136.33.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB9043D2D for ; Sun, 17 Oct 2004 11:41:13 +0000 (GMT) (envelope-from mark.rowlands@mypost.se) Received: from mfilter1.bahnhof.se (mail.bahnhof.se [213.136.33.1]) by smtp2.bahnhof.se (Postfix) with ESMTP id 49244890B4 for ; Sun, 17 Oct 2004 13:41:16 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by re-injector1.bahnhof.se (Postfix) with ESMTP id 75E35129157 for ; Sun, 17 Oct 2004 13:41:12 +0200 (CEST) Received: from smtp4.bahnhof.se ([213.136.33.3]) by localhost (mfilter1.bahnhof.se [10.0.1.21]) (amavisd-new, port 10024) with ESMTP id 18200-08 for ; Sun, 17 Oct 2004 13:41:12 +0200 (CEST) Received: from pcmarpxy.mine.nu (unknown [81.170.150.191]) by smtp4.bahnhof.se (Postfix) with ESMTP id A851A12E390 for ; Sun, 17 Oct 2004 13:41:11 +0200 (CEST) Received: from localhost (localhost.mwrwin2k.se [127.0.0.1]) by pcmarpxy.mine.nu (Postfix) with ESMTP id E60AB10531 for ; Sun, 17 Oct 2004 13:41:11 +0200 (CEST) Received: from pcmarpxy.mine.nu ([127.0.0.1]) by localhost (pcmarpxy.mine.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43954-07 for ; Sun, 17 Oct 2004 13:41:09 +0200 (CEST) Received: from exchsrv1.mwrwin2k.se (kalendar.mine.nu [192.168.0.4]) by pcmarpxy.mine.nu (Postfix) with ESMTP id 9E44510503 for ; Sun, 17 Oct 2004 13:41:09 +0200 (CEST) Date: Sun, 17 Oct 2004 13:41:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Message-ID: Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: Pentax Optio 30 panic 5.3-Beta 7 Thread-Index: AcS0K6xWShEIlI+4SY+9gbYiBsFl9QAEgLzQ From: "Mark Rowlands" To: X-Virus-Scanned: by amavisd-new at bahnhof.se Subject: Pentax Optio 30 panic 5.3-Beta 7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 11:41:14 -0000 While I guess this is progress.=20 Previously my Pentax Optio 30 was unrecognised and paniced on insertion, now it it is recognised and then panics. umass0 PENTAX PENTAX OPTIO 30 rev 2.00/1.00,=20 addr 3 da0 at umass-sim0 bus 0 target 0 lun 0=20 da0 0MB 1127302200=20 fatal trap integer divide fault while in kernel mode Instruction Pointer 0x8 : 0xc06a7b5b=20 stack pointer 0x10:0xd42088cc=20 frame pointer 0x10:0xd4208950=20 code segment base 0x0 limit 0xfffff=20 type 0x1b DPL 0, pres 1, def32 1, gran 1=20 processor eflags interrupt enbaled, resume, IOPL =3D 0=20 current process 2(g_event)=20 trap number =3D 18 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:02:58 2004 Return-Path: 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 A295B16A4CE for ; Sun, 17 Oct 2004 12:02:58 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D13C43D2D for ; Sun, 17 Oct 2004 12:02:58 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])9DF1743BD5; Sun, 17 Oct 2004 14:02:56 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27723-03-2; Sun, 17 Oct 2004 14:02:56 +0200 (CEST) Received: from m2a2.dyndns.org (p54854810.dip.t-dialin.net [84.133.72.16]) 50F6B43BD2; Sun, 17 Oct 2004 14:02:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 9A3BED1C1C; Sun, 17 Oct 2004 14:02:53 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31274-03; Sun, 17 Oct 2004 14:02:53 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 522FCCE9F8; Sun, 17 Oct 2004 14:02:53 +0200 (CEST) To: David Syphers In-Reply-To: <200410161416.51163.dsyphers@u.washington.edu> (David Syphers's message of "Sat, 16 Oct 2004 14:16:50 -0700") References: <1097916792.1810.4.camel@kaiser.sig11.org> <200410161208.32381.dsyphers@u.washington.edu> <200410161625.42502.marc.ramirez@bluecirclesoft.com> <200410161416.51163.dsyphers@u.washington.edu> From: Matthias Andree Date: Sun, 17 Oct 2004 14:02:53 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: Marc Ramirez cc: freebsd-current@freebsd.org cc: rionda@gufi.org Subject: Re: UPDATING readability X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:02:58 -0000 David Syphers writes: > Okay... this would be grammatically correct. However, I'm curious why the > original poster believes the current version to be unclear, since it is also > grammatically correct. (Omitting "that" or "which" at the beginning of a > restrictive relative clause is very common in English.) Yes, but this is pretty special to English; I know three other languages and English is the only one that leaves the _necessary_ relative clause (as in this case) without pronouns or other distinction. I'd agree that is correct, and from a knowledgable point of view, it is desirable to omit the commas and the "which", but I understand that less skilled non-native speakers may have difficulties understanding the whole paragraph. -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:05:49 2004 Return-Path: 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 B145716A514 for ; Sun, 17 Oct 2004 12:05:49 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A2A943D49 for ; Sun, 17 Oct 2004 12:05:32 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])874FE43BD6; Sun, 17 Oct 2004 14:05:31 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27723-03-4; Sun, 17 Oct 2004 14:05:31 +0200 (CEST) Received: from m2a2.dyndns.org (p54854810.dip.t-dialin.net [84.133.72.16]) 3AAA043BC6; Sun, 17 Oct 2004 14:05:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 17B5CD1C1C; Sun, 17 Oct 2004 14:05:30 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31274-04-2; Sun, 17 Oct 2004 14:05:29 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id B2488CE9F8; Sun, 17 Oct 2004 14:05:29 +0200 (CEST) To: Marc Ramirez In-Reply-To: <200410162322.28821.marc.ramirez@bluecirclesoft.com> (Marc Ramirez's message of "Sat, 16 Oct 2004 23:22:24 -0400") References: <1097916792.1810.4.camel@kaiser.sig11.org> <200410161625.42502.marc.ramirez@bluecirclesoft.com> <200410161416.51163.dsyphers@u.washington.edu> <200410162322.28821.marc.ramirez@bluecirclesoft.com> From: Matthias Andree Date: Sun, 17 Oct 2004 14:05:29 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: David Syphers cc: freebsd-current@freebsd.org cc: rionda@gufi.org Subject: Re: UPDATING readability X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:05:50 -0000 Marc Ramirez writes: > There are a lot of words between the nominal subject, 'one' and the nominal > verb, 'has changed.' All these interspersers must be pushed, and if you're > not fluent, well, remember the 'five things in short-term memory' > rule. Fine so far, but... > Maybe the best way to write it is in press release style: ...that is too long for skilled people. I like Geoff's suggestion. Perhaps adding the reason in a second sentence would be helpful for the technically aware readers, and the guys who do not want to care about technical detail know what to do. (Plus it is still press-style, important information first, less important in subsequent paragraphs, where stripping off from the end of the documents still leaves it comprehensible). OK, in which shed is my bike? :) -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:06:25 2004 Return-Path: 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 3B8FE16A4CE for ; Sun, 17 Oct 2004 12:06:25 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D27DA43D45 for ; Sun, 17 Oct 2004 12:06:22 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail 3151 invoked by uid 65534); 17 Oct 2004 12:06:21 -0000 Received: from p5089DEEC.dip.t-dialin.net (EHLO ms.homeip.net) (80.137.222.236) by mail.gmx.net (mp007) with SMTP; 17 Oct 2004 14:06:21 +0200 X-Authenticated: #15946415 Received: from [10.0.0.13] (helo=[10.0.0.13]) by ms.homeip.net with asmtp (TLSv1:AES256-SHA:256) id 1CJ9np-000PmU-DE for freebsd-current@freebsd.org; Sun, 17 Oct 2004 14:06:21 +0200 Message-ID: <41726038.4080407@gmx.de> Date: Sun, 17 Oct 2004 14:06:16 +0200 From: Jochen Gensch User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4171AA66.2050005@gmx.de> <200410170510.32364.nbco@screaming.net> In-Reply-To: <200410170510.32364.nbco@screaming.net> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:06:25 -0000 nbco wrote: > It appears that this regression was caused by an ata driver commit > before RELENG_5_3 was branched. Do we already have a 5_3 branch? I will stick with RELENG_5 anyway, so I will wait until this ATA driver issue is fixed. Jochen From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 14:28:59 2004 Return-Path: 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 9FB4E16A4CE for ; Sat, 16 Oct 2004 14:28:59 +0000 (GMT) Received: from pearl.ibctech.ca (dev.eagle.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C0243D39 for ; Sat, 16 Oct 2004 14:28:58 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 66922 invoked by uid 1002); 16 Oct 2004 14:31:12 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.64. Clear:RC:1(127.0.0.1):. Processed in 1.537641 secs); 16 Oct 2004 14:31:12 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.ibctech.ca with SMTP; 16 Oct 2004 14:31:10 -0000 Received: from 64.39.177.196 (SquirrelMail authenticated user steve@ibctech.ca); by webmail.ibctech.ca with HTTP; Sat, 16 Oct 2004 10:31:10 -0400 (EDT) Message-ID: <11654.64.39.177.196.1097937070.squirrel@64.39.177.196> In-Reply-To: <41711F8F.8000501@gamersimpact.com> References: <3269.209.167.16.15.1097857251.squirrel@209.167.16.15> <32801.62.194.19.87.1097928869.squirrel@62.194.19.87> <41711F8F.8000501@gamersimpact.com> Date: Sat, 16 Oct 2004 10:31:10 -0400 (EDT) From: "Steve Bertrand" To: "Ryan Sommers" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Sun, 17 Oct 2004 12:08:04 +0000 cc: freebsd-current@freebsd.org cc: albi Subject: Re: Xorg and libm.so.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 16 Oct 2004 14:28:59 -0000 > albi wrote: > >>>I have just installed 5.3b7, and after installing Xorg, I get the >>>following error: >>> >>>/libexec/ld-elf.so.1: Shared obj "libm.so.2" not found, required by >>>"Xorg" >>> >>>I found in google that certain libs have been upgraded, and indeed, >>> I >>>do have libm.so.3 in the /lib dir. >>> >>>Can I tell Xorg that it should use .3, and if so, how. >>> >>> >> >>ln -s /lib/libm.so.3 /lib/libm.so.2 worked for me >> >> > A better way would be to recompile Xorg from ports against the new > library. Make sure you remove the symlink. Or if you don't want to > build > a new Xorg use /etc/libmap.conf instead of symlink hacks. Thank you for the info everyone... I did find someone else (google) that used libmap.conf, however, my newly installed system does not have this file. Can someone please provide a sample of what a line in this file looks like, for my particular issue above? Thanks again, I feel confident that this problem is far less an issue than I first thought... Steve > > -- > Ryan Sommers > ryans@gamersimpact.com > > From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 17:15:56 2004 Return-Path: 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 0D7BE16A4CE for ; Sat, 16 Oct 2004 17:15:56 +0000 (GMT) Received: from visp.engelschall.com (visp.engelschall.com [195.27.176.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0294443D2F for ; Sat, 16 Oct 2004 17:15:55 +0000 (GMT) (envelope-from rse@engelschall.com) Received: by visp.engelschall.com (Postfix, from userid 1005) id 3B51D4CE581; Sat, 16 Oct 2004 19:15:54 +0200 (CEST) Received: by en1.engelschall.com (Postfix, from userid 10000) id 2897BA1841; Sat, 16 Oct 2004 19:09:46 +0200 (CEST) Date: Sat, 16 Oct 2004 19:09:46 +0200 From: "Ralf S. Engelschall" To: Arne Schwabe Message-ID: <20041016170946.GA86123@engelschall.com> References: <20041015201033.GA51887@engelschall.com> <86acumu6dy.fsf@kamino.rfc1149.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86acumu6dy.fsf@kamino.rfc1149.org> User-Agent: Mutt/1.4.2.1i Organization: Engelschall, Germany. X-Web-Homepage: http://www.engelschall.com/ X-PGP-Public-Key: http://www.engelschall.com/ho/rse/pgprse.asc X-PGP-Fingerprint: 00 C9 21 8E D1 AB 70 37 DD 67 A2 3A 0A 6F 8D A5 X-Mailman-Approved-At: Sun, 17 Oct 2004 12:08:04 +0000 cc: freebsd-current@freebsd.org Subject: Re: Linux ABI and permissions to /dev X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rse@engelschall.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 17:15:56 -0000 On Sat, Oct 16, 2004, Arne Schwabe wrote: > "Ralf S. Engelschall" writes: > > > Under latest RELENG_5 I'm experiencing since recently (about 2-4 weeks I > > think) "permission denied" errors under the Linux ABI on write-access to > > e.g. /dev/null or other devices under /dev: > > > > | $ id > > | uid=10000(rse) gid=10000(rse) groups=10000(rse),5(operator),2001(en) > > | $ ls -l /dev/null > > | crw-rw-rw- 1 root wheel 2, 2 Oct 15 21:39 /dev/null > > | $ echo foo >/dev/null > > | $ ls -l /compat/linux/bin/dev/null > > | ls: /compat/linux/bin/dev/null: No such file or directory > > | $ /compat/linux/bin/bash > > | bash bash2 > > | $ /compat/linux/bin/bash > > | $ ls -l /dev/null > > | crw-rw-rw- 1 root wheel 2, 2 Oct 15 21:40 /dev/null > > | $ echo foo >/dev/null > > | bash: /dev/null: Permission denied > > | $ > > > > Has anybody an idea where to search? There were no changes to devfs > > recently and the recent changes to the Linuxulator seemed harmless to me > > at the first glance... > > is there a /usr/compat/linux/dev directory? If there is try to remove > it, so that it does not shadow the /dev/ direcotry Yes, I have a /compat/linux/dev directory: | # ls -l /compat/linux/dev/ | total 0 | brw-r--r-- 1 root wheel 0, 0x00010002 Sep 17 22:05 had | brw-r--r-- 1 root wheel 0, 0x0001000a Sep 17 22:05 hdb | lrwxr-xr-x 1 root wheel 22 Sep 17 22:05 tty0 -> /compat/linux/dev/tty1 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty1 -> /dev/ttyv0 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty10 -> /dev/ttyv9 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty11 -> /dev/ttyva | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty12 -> /dev/ttyvb | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty2 -> /dev/ttyv1 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty3 -> /dev/ttyv2 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty4 -> /dev/ttyv3 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty5 -> /dev/ttyv4 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty6 -> /dev/ttyv5 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty7 -> /dev/ttyv6 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty8 -> /dev/ttyv7 | lrwxr-xr-x 1 root wheel 10 Sep 17 22:05 tty9 -> /dev/ttyv8 And yes, your guess is right: once I remove it, the problem with my "echo foo >/dev/null" or running "acroread" wents away. But the /compat/linux/dev stuff is created by the "vmware3" port with its... | @exec mkdir -p %%LINUXBASE%%/dev;for n in 0 1 2 3 4 5 6 7 8 9; do ln -s /dev/ttyv$n %%LINUXBASE%%/dev/tty$n;done | @exec ln -s /dev/ttyva %%LINUXBASE%%/dev/tty10 | @exec ln -s /dev/ttyvb %%LINUXBASE%%/dev/tty11 | @exec mknod %%LINUXBASE%%/dev/had b 0 0x00010002 | @exec mknod %%LINUXBASE%%/dev/hdb b 0 0x0001000a ...and unfortunately without at least the /compat/linux/dev/ttyv0 VMWare ultimately fails on startup. So, for running VMWare one really needs this directory. Additionally, the overlaying of /dev with /compat/linux/dev as the "vmware3" port does, definetely _worked_ until about 2 weeks ago. So, the question is what broke it? Ralf S. Engelschall rse@engelschall.com www.engelschall.com From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 18:34:56 2004 Return-Path: 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 9808216A4CE; Sat, 16 Oct 2004 18:34:56 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id C018743D1D; Sat, 16 Oct 2004 18:34:55 +0000 (GMT) (envelope-from schwabe@uni-paderborn.de) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 7973E3EAC; Sat, 16 Oct 2004 20:34:54 +0200 (CEST) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id DA1913EA9; Sat, 16 Oct 2004 20:34:51 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 6891C4089; Sat, 16 Oct 2004 20:34:49 +0200 (CEST) To: Emanuel Strobl From: Arne Schwabe In-Reply-To: <200410161919.22753.Emanuel.Strobl@gmx.net> (Emanuel Strobl's message of "Sat, 16 Oct 2004 19:19:20 +0200") References: <86fz4fx5rs.fsf@kamino.rfc1149.org> <200410161919.22753.Emanuel.Strobl@gmx.net> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) Date: Sat, 16 Oct 2004 20:34:49 +0200 Message-ID: <86zn2mse9i.fsf@kamino.rfc1149.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: X-Mailman-Approved-At: Sun, 17 Oct 2004 12:08:04 +0000 cc: freebsd-current@freebsd.org cc: current@freebsd.org Subject: Re: Problems with firewire card X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 16 Oct 2004 18:34:56 -0000 Emanuel Strobl writes: > Am Freitag, 15. Oktober 2004 19:14 schrieb Arne Schwabe: >> cardbus0: Resource not specified in CIS: id=10, size=1000 >> cardbus0: Resource not specified in CIS: id=14, size=100 >> cardbus0: Resource not specified in CIS: id=18, size=100 >> pcib2: device cardbus0 requested decoded memory range 0xc0200000-0xcfffffff >> found-> vendor=0x1033, dev=0x00cd, revid=0x03 >> bus=3, slot=0, func=0 >> class=0c-00-10, hdrtype=0x00, mfdev=0 >> cmdreg=0x0000, statreg=0x0290, cachelnsz=8 (dwords) >> lattimer=0xe8 (6960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) >> intpin=a, irq=222 >> powerspec 2 supports D0 D2 D3 current D0 >> fwohci0: mem >> 0xc0241000-0xc02410ff,0xc0241100-0xc02411ff,0xc0240000-0xc0240fff irq 10 at >> device 0.0 on cardbus0 pcib2: device fwohci0 requested decoded memory range >> 0xc0240000-0xc0240fff fwohci0: [MPSAFE] > [...] >> Attaching a fw disk(ipod) results in a panic :/ The Fw cards works > > -current (6) or RELENG_5 ? -current (6) I just rebuild today (because of the ath stuff) and no change. Arne -- The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (George Bernard Shaw) From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 18:34:56 2004 Return-Path: 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 9808216A4CE; Sat, 16 Oct 2004 18:34:56 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id C018743D1D; Sat, 16 Oct 2004 18:34:55 +0000 (GMT) (envelope-from schwabe@uni-paderborn.de) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 7973E3EAC; Sat, 16 Oct 2004 20:34:54 +0200 (CEST) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id DA1913EA9; Sat, 16 Oct 2004 20:34:51 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 6891C4089; Sat, 16 Oct 2004 20:34:49 +0200 (CEST) To: Emanuel Strobl From: Arne Schwabe In-Reply-To: <200410161919.22753.Emanuel.Strobl@gmx.net> (Emanuel Strobl's message of "Sat, 16 Oct 2004 19:19:20 +0200") References: <86fz4fx5rs.fsf@kamino.rfc1149.org> <200410161919.22753.Emanuel.Strobl@gmx.net> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) Date: Sat, 16 Oct 2004 20:34:49 +0200 Message-ID: <86zn2mse9i.fsf@kamino.rfc1149.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: X-Mailman-Approved-At: Sun, 17 Oct 2004 12:08:04 +0000 cc: freebsd-current@freebsd.org cc: current@freebsd.org Subject: Re: Problems with firewire card X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 16 Oct 2004 18:34:56 -0000 Emanuel Strobl writes: > Am Freitag, 15. Oktober 2004 19:14 schrieb Arne Schwabe: >> cardbus0: Resource not specified in CIS: id=10, size=1000 >> cardbus0: Resource not specified in CIS: id=14, size=100 >> cardbus0: Resource not specified in CIS: id=18, size=100 >> pcib2: device cardbus0 requested decoded memory range 0xc0200000-0xcfffffff >> found-> vendor=0x1033, dev=0x00cd, revid=0x03 >> bus=3, slot=0, func=0 >> class=0c-00-10, hdrtype=0x00, mfdev=0 >> cmdreg=0x0000, statreg=0x0290, cachelnsz=8 (dwords) >> lattimer=0xe8 (6960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) >> intpin=a, irq=222 >> powerspec 2 supports D0 D2 D3 current D0 >> fwohci0: mem >> 0xc0241000-0xc02410ff,0xc0241100-0xc02411ff,0xc0240000-0xc0240fff irq 10 at >> device 0.0 on cardbus0 pcib2: device fwohci0 requested decoded memory range >> 0xc0240000-0xc0240fff fwohci0: [MPSAFE] > [...] >> Attaching a fw disk(ipod) results in a panic :/ The Fw cards works > > -current (6) or RELENG_5 ? -current (6) I just rebuild today (because of the ath stuff) and no change. Arne -- The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (George Bernard Shaw) From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 04:10:37 2004 Return-Path: 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 B021216A4CF for ; Sun, 17 Oct 2004 04:10:37 +0000 (GMT) Received: from heineken.flexi-surf.co.uk (smtp.flexi-surf.co.uk [62.41.128.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3954043D2D for ; Sun, 17 Oct 2004 04:10:36 +0000 (GMT) (envelope-from nbco@screaming.net) Received: from [192.168.2.2] ([217.51.147.95])i9H2n5814133; Sun, 17 Oct 2004 03:49:06 +0100 From: nbco To: freebsd-current@freebsd.org Date: Sun, 17 Oct 2004 05:10:31 +0100 User-Agent: KMail/1.7 References: <4171AA66.2050005@gmx.de> In-Reply-To: <4171AA66.2050005@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410170510.32364.nbco@screaming.net> X-Mailman-Approved-At: Sun, 17 Oct 2004 12:08:04 +0000 cc: Jochen Gensch Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nbco@screaming.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 04:10:38 -0000 On Sunday 17 October 2004 00:10, Jochen Gensch wrote: > I just cvsup'd RELENG_5 and the system is not booting any more with > the new kernel. It hangs at the ata identifying with the message: > > ata1-slave: FAILURE - ATAPI_IDENTIFY timed out > > I am using the GENERIC kernel, the only additional thing in there is > atapicam. Maybe I just cvsup'd at a bad time :-) ? Hi there, I have the same problem. I have a T41, removing the cd drive will mean that you can boot cleanly. I suffered from the same problem earlier this year. I have had no problem with 5.3-BETA7. It appears that this regression was caused by an ata driver commit before RELENG_5_3 was branched. If you are going to roll sources back, roll them back to 08:00:00 UTC on 16 Oct 2004, use the branch RELENG_5, but don't use the branch RELENG_5_3 until this gets sorted out. .nbco From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:17:06 2004 Return-Path: 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 13E8816A4CE for ; Sun, 17 Oct 2004 12:17:06 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8B6E43D3F for ; Sun, 17 Oct 2004 12:17:05 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101721:15:49:492670.15513.2915261360 for ; Sun, 17 Oct 2004 21:15:49 +0900 (KST) Message-ID: <417262C0.2030201@yahoo.com> Date: Sun, 17 Oct 2004 21:17:04 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Bertrand , freebsd-current@freebsd.org References: <3269.209.167.16.15.1097857251.squirrel@209.167.16.15> <32801.62.194.19.87.1097928869.squirrel@62.194.19.87> <41711F8F.8000501@gamersimpact.com> <11654.64.39.177.196.1097937070.squirrel@64.39.177.196> In-Reply-To: <11654.64.39.177.196.1097937070.squirrel@64.39.177.196> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:0.65) (by Terrace) Subject: Re: Xorg and libm.so.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:17:06 -0000 Steve Bertrand wrote: >>albi wrote: >> >> >>>>I have just installed 5.3b7, and after installing Xorg, I get the >>>>following error: >>>> >>>>/libexec/ld-elf.so.1: Shared obj "libm.so.2" not found, required by >>>>"Xorg" >>>> >>>>I found in google that certain libs have been upgraded, and indeed, >>>>I >>>>do have libm.so.3 in the /lib dir. >>>> >>>>Can I tell Xorg that it should use .3, and if so, how. >>>> >>>> >>> >>>ln -s /lib/libm.so.3 /lib/libm.so.2 worked for me >>> >>> >> >>A better way would be to recompile Xorg from ports against the new >>library. Make sure you remove the symlink. Or if you don't want to >>build >>a new Xorg use /etc/libmap.conf instead of symlink hacks. > > > Thank you for the info everyone... > > I did find someone else (google) that used libmap.conf, however, my > newly installed system does not have this file. Can someone please > provide a sample of what a line in this file looks like, for my > particular issue above? Have a look at the manpage libmap.conf(5). Rob. From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:22:42 2004 Return-Path: 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 EDB2C16A4CE for ; Sun, 17 Oct 2004 12:22:42 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF9143D2D for ; Sun, 17 Oct 2004 12:22:42 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101721:21:26:863102.15513.2853850032 for ; Sun, 17 Oct 2004 21:21:26 +0900 (KST) Message-ID: <41726412.4050001@yahoo.com> Date: Sun, 17 Oct 2004 21:22:42 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-3.51) (SRN:SPAMROBOT) ----------------- Subject: make installkernel with alternative destination. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:22:43 -0000 Hi, I wonder if it is possible to add a destination to the make installkernel. I would like this for the kernel files that I build for my diskless system, for example: make installkernel KERNCONF=DISKLESS DEST=/boot/kernel.diskless Is this possible, and is it a reasonable way of doing this? Thanks, Rob. From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:28:30 2004 Return-Path: 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 527F916A4CE for ; Sun, 17 Oct 2004 12:28:30 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B2043D31 for ; Sun, 17 Oct 2004 12:28:30 +0000 (GMT) (envelope-from nkalev@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so106748rnk for ; Sun, 17 Oct 2004 05:28:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=ElZxq4+pZwYkksFgn2dBnDPEBwIJmoVZpwUa8z3VxzdQYPvBWaDrvkecB+qHiU5B9aHOinGeZl6a5VCJ36eJxc+OTxgBOp1ilTm3DXptVBsLiEHnUeQd2k4SPN4U6aTMS4J91VMwj/JkYdF9y2+X1HU1yH7VNsrVO0QYPCo39vs Received: by 10.38.152.19 with SMTP id z19mr989585rnd; Sun, 17 Oct 2004 05:28:29 -0700 (PDT) Received: by 10.38.149.13 with HTTP; Sun, 17 Oct 2004 05:28:29 -0700 (PDT) Message-ID: <136a340a0410170528626e8ac8@mail.gmail.com> Date: Sun, 17 Oct 2004 15:28:29 +0300 From: Nikolay Kalev To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: xine-lib missin dependancy for a52dec ! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nikolay Kalev List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 12:28:30 -0000 There is a missing dependancy for a52dec in recent xine-lib-rc5 in ports!!! -- Key fingerprint = 9864 E575 E207 FB90 44C8 26A2 0167 E57E 66ED 0F1D From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:29:45 2004 Return-Path: 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 2CAA916A4CE for ; Sun, 17 Oct 2004 12:29:45 +0000 (GMT) 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 774C243D3F for ; Sun, 17 Oct 2004 12:29:44 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [194.192.25.143] (laptop.deepcore.dk [194.192.25.143]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i9HCTeIW001934; Sun, 17 Oct 2004 14:29:42 +0200 (CEST) (envelope-from sos@DeepCore.dk) Message-ID: <417265A0.1080308@DeepCore.dk> Date: Sun, 17 Oct 2004 14:29:20 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040802) X-Accept-Language: en-us, en MIME-Version: 1.0 To: nbco@screaming.net References: <4171AA66.2050005@gmx.de> <200410170510.32364.nbco@screaming.net> In-Reply-To: <200410170510.32364.nbco@screaming.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: Jochen Gensch cc: freebsd-current@freebsd.org Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:29:45 -0000 nbco wrote: > On Sunday 17 October 2004 00:10, Jochen Gensch wrote: >=20 >>I just cvsup'd RELENG_5 and the system is not booting any more with >>the new kernel. It hangs at the ata identifying with the message: >> >>ata1-slave: FAILURE - ATAPI_IDENTIFY timed out >> >>I am using the GENERIC kernel, the only additional thing in there is >>atapicam. Maybe I just cvsup'd at a bad time :-) ? >=20 >=20 > Hi there, > I have the same problem. I have a T41, removing the cd drive will mean= =20 > that you can boot cleanly. I suffered from the same problem earlier=20 > this year. I have had no problem with 5.3-BETA7. You have no idea how tired I am of the crappy HW IBM uses these days,=20 I'm most happy I dont have one :) Anyhow we need this fixed again, and I'll look into it when I get some=20 spare time, but its difficult since it depends to a large degree on=20 having IBM HW at hand to test on... > It appears that this regression was caused by an ata driver commit=20 > before RELENG_5_3 was branched. >=20 > If you are going to roll sources back, roll them back to 08:00:00 UTC o= n=20 > 16 Oct 2004, use the branch RELENG_5, but don't use the branch=20 > RELENG_5_3 until this gets sorted out. > .nbco Well that commit fixed real problems so just backing it out might be a=20 real bad idea. Anyhow its up for re@ to decide.. --=20 -S=F8ren From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 12:54:14 2004 Return-Path: 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 C045316A4CE for ; Sun, 17 Oct 2004 12:54:14 +0000 (GMT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC60143D39 for ; Sun, 17 Oct 2004 12:54:13 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id i9HCsBmF065864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Oct 2004 16:54:12 +0400 (MSD) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id i9HCsBvJ065863 for current@freebsd.org; Sun, 17 Oct 2004 16:54:11 +0400 (MSD) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Sun, 17 Oct 2004 16:54:11 +0400 From: Gleb Smirnoff To: current@freebsd.org Message-ID: <20041017125411.GA65842@cell.sick.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: [TEST] tun(4) and tap(4) improvement X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 12:54:14 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Dear current users, please test attached patches to tun(4) and tap(4), if you utilize one of these drivers. I'm planning to add them to tree. tun(4) patch is already tested with a small test, but I'd be glad if someone tests it under some load. tap(4) isn't tested but the patch is very similar to tun's. Thanks in advance. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="tun.uiotombuf.diff" Index: if_tun.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_tun.c,v retrieving revision 1.145 diff -u -r1.145 if_tun.c --- if_tun.c 11 Oct 2004 07:28:36 -0000 1.145 +++ if_tun.c 17 Oct 2004 12:39:18 -0000 @@ -739,8 +739,8 @@ { struct tun_softc *tp = dev->si_drv1; struct ifnet *ifp = &tp->tun_if; - struct mbuf *top, **mp, *m; - int error=0, tlen, mlen; + struct mbuf *m; + int error = 0; uint32_t family; int isr; @@ -757,58 +757,32 @@ TUNDEBUG(ifp, "len=%d!\n", uio->uio_resid); return (EIO); } - tlen = uio->uio_resid; - /* get a header mbuf */ - MGETHDR(m, M_DONTWAIT, MT_DATA); - if (m == NULL) - return (ENOBUFS); - mlen = MHLEN; - - top = NULL; - mp = ⊤ - while (error == 0 && uio->uio_resid > 0) { - m->m_len = min(mlen, uio->uio_resid); - error = uiomove(mtod(m, void *), m->m_len, uio); - *mp = m; - mp = &m->m_next; - if (uio->uio_resid > 0) { - MGET (m, M_DONTWAIT, MT_DATA); - if (m == 0) { - error = ENOBUFS; - break; - } - mlen = MLEN; - } - } - if (error) { - if (top) - m_freem (top); + if ((m = m_uiotombuf(uio, M_DONTWAIT, 0)) == NULL) { ifp->if_ierrors++; return (error); } - top->m_pkthdr.len = tlen; - top->m_pkthdr.rcvif = ifp; + m->m_pkthdr.rcvif = ifp; #ifdef MAC - mac_create_mbuf_from_ifnet(ifp, top); + mac_create_mbuf_from_ifnet(ifp, m); #endif /* Could be unlocked read? */ mtx_lock(&tp->tun_mtx); if (tp->tun_flags & TUN_IFHEAD) { mtx_unlock(&tp->tun_mtx); - if (top->m_len < sizeof(family) && - (top = m_pullup(top, sizeof(family))) == NULL) + if (m->m_len < sizeof(family) && + (m = m_pullup(m, sizeof(family))) == NULL) return (ENOBUFS); - family = ntohl(*mtod(top, u_int32_t *)); - m_adj(top, sizeof(family)); + family = ntohl(*mtod(m, u_int32_t *)); + m_adj(m, sizeof(family)); } else { mtx_unlock(&tp->tun_mtx); family = AF_INET; } - BPF_MTAP2(ifp, &family, sizeof(family), top); + BPF_MTAP2(ifp, &family, sizeof(family), m); switch (family) { #ifdef INET @@ -838,9 +812,9 @@ /* First chunk of an mbuf contains good junk */ if (harvest.point_to_point) random_harvest(m, 16, 3, 0, RANDOM_NET); - ifp->if_ibytes += top->m_pkthdr.len; + ifp->if_ibytes += m->m_pkthdr.len; ifp->if_ipackets++; - netisr_dispatch(isr, top); + netisr_dispatch(isr, m); return (0); } --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="tap.uiotombuf.diff" Index: if_tap.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_tap.c,v retrieving revision 1.47 diff -u -r1.47 if_tap.c --- if_tap.c 17 Sep 2004 03:55:50 -0000 1.47 +++ if_tap.c 17 Oct 2004 12:49:32 -0000 @@ -800,8 +800,8 @@ { struct tap_softc *tp = dev->si_drv1; struct ifnet *ifp = &tp->tap_if; - struct mbuf *top = NULL, **mp = NULL, *m = NULL; - int error = 0, tlen, mlen; + struct mbuf *m; + int error = 0; TAPDEBUG("%s writting, minor = %#x\n", ifp->if_xname, minor(dev)); @@ -815,42 +815,16 @@ return (EIO); } - tlen = uio->uio_resid; - /* get a header mbuf */ - MGETHDR(m, M_DONTWAIT, MT_DATA); - if (m == NULL) - return (ENOBUFS); - mlen = MHLEN; - - top = 0; - mp = ⊤ - while ((error == 0) && (uio->uio_resid > 0)) { - m->m_len = min(mlen, uio->uio_resid); - error = uiomove(mtod(m, void *), m->m_len, uio); - *mp = m; - mp = &m->m_next; - if (uio->uio_resid > 0) { - MGET(m, M_DONTWAIT, MT_DATA); - if (m == NULL) { - error = ENOBUFS; - break; - } - mlen = MLEN; - } - } - if (error) { + if ((m = m_uiotombuf(uio, M_DONTWAIT, 0)) == NULL) { ifp->if_ierrors ++; - if (top) - m_freem(top); return (error); } - top->m_pkthdr.len = tlen; - top->m_pkthdr.rcvif = ifp; + m->m_pkthdr.rcvif = ifp; /* Pass packet up to parent. */ - (*ifp->if_input)(ifp, top); + (*ifp->if_input)(ifp, m); ifp->if_ipackets ++; /* ibytes are counted in parent */ return (0); --MGYHOYXEY6WxJCY8-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 13:31:52 2004 Return-Path: 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 C4B2616A4CE; Sun, 17 Oct 2004 13:31:52 +0000 (GMT) Received: from tomoyo.MyBSD.org.my (duke.void.net.my [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA72B43D39; Sun, 17 Oct 2004 13:31:51 +0000 (GMT) (envelope-from skywizard@time.net.my) Received: from kasumi.MyBSD.org.my (unknown [219.94.117.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id C0CD76CC1F; Sun, 17 Oct 2004 21:35:16 +0800 (MYT) Date: Sun, 17 Oct 2004 21:31:48 +0800 From: Ariff Abdullah To: "Kevin Oberman" , davidxu@freebsd.org Message-Id: <20041017213148.3fdafee6.skywizard@time.net.my> In-Reply-To: <20041017043100.842035D04@ptavv.es.net> References: <20041016220650.56e95112.skywizard@time.net.my> <20041017043100.842035D04@ptavv.es.net> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Any chance to get my sound card to work ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 13:31:52 -0000 On Sat, 16 Oct 2004 21:31:00 -0700 "Kevin Oberman" wrote: > > Date: Sat, 16 Oct 2004 22:06:50 +0800 > > From: Ariff Abdullah > > Sender: owner-freebsd-current@freebsd.org > > > > > > On Sat, 16 Oct 2004 21:38:22 +0800 > > David Xu wrote: > > > I have the sound card as the following mail said: > > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=181707+0+/usr/local/www/db/text/2003/freebsd-stable/20031214.freebsd-stable > > > > > > But I didn't find that it works, I have loaded snd_es137x.ko: > > > > > > tiger# kldload snd_es137x.ko > > > pcm0: port > > > 0xe400-0xe41f,0xe000-0xe03f irq 17 at device 12.0 on pci0 > > > pcm0: > > > > > > The driver seems identified the device, but no sound at all when > > > I try to use it. > > > > > > > You may try this patch: > > http://staff.mybsd.org.my/skywizard/FreeBSD/es137x.c.diff > > > > It's pathetic, ugly, but does it job to properly initialize mixer > > on ev1938 chip. Perhaps somebody can really clean it up. > > Cool! For the first time I can get my ES1371 to work on boot after a > power cycle. > > Thanks, Ariff! > Perhaps both of you guys should try this latest patch. I can't say if it's a little bit cleaner, but perhaps it looks better. http://staff.mybsd.org.my/skywizard/FreeBSD/es137x.c.ev1938.diff -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 14:19:45 2004 Return-Path: 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 CAEF016A4CE for ; Sun, 17 Oct 2004 14:19:45 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74D5143D39 for ; Sun, 17 Oct 2004 14:19:43 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9HEJZOV027993; Sun, 17 Oct 2004 10:19:35 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9HEJYq8027990; Sun, 17 Oct 2004 10:19:35 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 10:19:34 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Wilkinson, Alex" In-Reply-To: <20041015082424.GA786@squirm.dsto.defence.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: RELENG_5 panic [nic: _mtx_lock_sleep: recursed on non-recursivemutex nfsd_mtx] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 14:19:45 -0000 On Fri, 15 Oct 2004, Wilkinson, Alex wrote: > Hi all, > > I currently get a panic with "nfs_server_enable=YES" in /etc/rc.conf. > > OS: FreeBSD 5.3-BETA4 #2: Tue Sep 14 13:55:30 UTC 2004 > > Backtrace > --------- > > panic: _mtx_lock_sleep: recursed on non-recursive mutex nfsd_mtx @ /usr /src/sys/nfsserver/nfs_serv.c:1947 Is the NFS server code compiled into your kernel, or is it getting loaded as a module? Do you have any other NFS-related entries in /etc/rc.conf? Could you show the output of "show locks" and "show witness" with witness compiled into the kernel? Thanks! Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > cpuid = 0 > KDB: enter: panic > [thread 100074] > Stopped at kdb_enter+0x32: leave > db> tr > kdb_enter(c068ba66,0,c068aed8,dd2ed90c,c1b6b340) at kdb_enter+0x32 > panic(c068aed8,c069885f,c0698617,79b,c0698617) at panic+0x1b0 > _mtx_lock_sleep(c071c940,c1b6b340,0,c0698617,79b) at _mtx_lock_sleep+0x16e > _mtx_lock_flags(c071c940,0,c0698617,79b,0) at _mtx_lock_flags+0xb0 > nfsrv_create(c1eb6800,c1b98800,c1b6b340,dd2edc8c,0) at nfsrv_create+0x8c4 > nfssvc(c1b6b340,dd2edd14,8,0,2) at nfssvc+0x6ea > syscall(2f,2f,2f,0,0) at syscall+0x13b > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (155, FreeBSD ELF32, nfssvc), eip = 0x280c60bf, esp = 0xbfbfeb1c, eb p = 0xbfbfeb38 --- > > > - aW > _______________________________________________ > 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 Oct 17 14:33:53 2004 Return-Path: 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 0AC1716A4CF for ; Sun, 17 Oct 2004 14:33:53 +0000 (GMT) Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mx1.FreeBSD.org (Postfix) with SMTP id BEA8843D46 for ; Sun, 17 Oct 2004 14:33:52 +0000 (GMT) (envelope-from dsnofe@yahoo.com.cn) Received: from unknown (HELO ?192.168.0.123?) (dsnofe@222.64.42.23 with login) by smtp011.mail.yahoo.com with SMTP; 17 Oct 2004 14:33:51 -0000 Date: Sun, 17 Oct 2004 22:33:57 +0800 From: Deng XueFeng To: obrien@freebsd.org In-Reply-To: <20041016174925.GA96809@dragon.nuxi.com> References: <20041016174925.GA96809@dragon.nuxi.com> Message-Id: <20041017222853.FDD8.DSNOFE@yahoo.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.11.02 [CN] cc: freebsd-current@freebsd.org Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 14:33:53 -0000 I have sent the patch some day ago... http://docs.freebsd.org/cgi/getmsg.cgi?fetch=207593+0+archive/2004/freebsd-hackers/20040502.freebsd-hackers -- Deng XueFeng From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 15:09:06 2004 Return-Path: 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 641F216A4CE for ; Sun, 17 Oct 2004 15:09:06 +0000 (GMT) Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 304A543D4C for ; Sun, 17 Oct 2004 15:09:05 +0000 (GMT) (envelope-from Norick@seznam.cz) Received: (qmail 17754 invoked from network); 17 Oct 2004 15:09:02 -0000 Received: from unknown (HELO echelon.norick.slivenec.czf) (norick@62.24.71.119) by smtp.seznam.cz with SMTP; 17 Oct 2004 15:09:02 -0000 Date: Sun, 17 Oct 2004 17:08:35 +0200 From: Jan Vyhlidka To: freebsd-current@freebsd.org Message-Id: <20041017170835.37dcc68e.Norick@seznam.cz> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__17_Oct_2004_17_08_35_+0200_18DxwRQ0Mk63RbCH" Subject: wi1: device timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 15:09:06 -0000 --Signature=_Sun__17_Oct_2004_17_08_35_+0200_18DxwRQ0Mk63RbCH Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit I have got this problem since BETA4, but some time it was less frequent then it is now. I have 3 wi devices and problems appear only on that, which is used by ospfd(but neighbor router uses similar configuration and doesnt have aby problems with that, so i dont blame ospfd). When i switched the link to wi2, wi1 stopped timeouting(but wasnt used) and wi2 started, so i dont think that it is hw problem. I would be most grateful for any advice.. Here are some pieces of information: norick@norick:/sys/i386/conf# uname -a FreeBSD norick.slivenec.czf 5.3-RC1 FreeBSD 5.3-RC1 #3: Sun Oct 17 14:12:17 CEST 2004 norick@norick.slivenec.czf:/cvs/src-releng/sys/i386/compile/NORICK-ALL i386 less /var/log/messages Oct 17 15:00:01 norick newsyslog[3165]: logfile turned over due to size>100K Oct 17 15:00:14 norick kernel: wi1: device timeout Oct 17 15:00:46 norick last message repeated 4 times Oct 17 15:02:45 norick last message repeated 13 times Oct 17 15:12:46 norick last message repeated 59 times Oct 17 15:22:47 norick last message repeated 62 times Oct 17 15:32:49 norick last message repeated 58 times Oct 17 15:42:48 norick last message repeated 54 times Oct 17 15:43:31 norick last message repeated 5 times Oct 17 16:02:42 norick last message repeated 28 times Oct 17 16:12:46 norick last message repeated 66 times Oct 17 16:22:42 norick last message repeated 64 times Oct 17 16:32:44 norick last message repeated 59 times norick@norick:/sys/i386/conf# netstat -m 73 mbufs in use 1/18048 mbuf clusters in use (current/max) 0/4/2480 sfbufs in use (current/peak/max) 20 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines here you can see changes in mbuf behavior: Sun Oct 17 16:37:58 CEST 2004 6 mbufs in use Sun Oct 17 16:37:59 CEST 2004 6 mbufs in use Sun Oct 17 16:38:00 CEST 2004 6 mbufs in use Sun Oct 17 16:38:01 CEST 2004 61 mbufs in use Sun Oct 17 16:38:02 CEST 2004 61 mbufs in use Sun Oct 17 16:38:03 CEST 2004 61 mbufs in use Sun Oct 17 16:38:05 CEST 2004 61 mbufs in use Sun Oct 17 16:38:06 CEST 2004 6 mbufs in use Sun Oct 17 16:38:07 CEST 2004 6 mbufs in use Sun Oct 17 16:38:08 CEST 2004 6 mbufs in use Sun Oct 17 16:38:10 CEST 2004 78 mbufs in use Sun Oct 17 16:38:11 CEST 2004 72 mbufs in use Sun Oct 17 16:38:12 CEST 2004 72 mbufs in use Sun Oct 17 16:38:13 CEST 2004 72 mbufs in use Sun Oct 17 16:38:14 CEST 2004 6 mbufs in use Sun Oct 17 16:38:15 CEST 2004 6 mbufs in use Sun Oct 17 16:38:16 CEST 2004 7 mbufs in use Sun Oct 17 16:38:18 CEST 2004 68 mbufs in use Sun Oct 17 16:38:19 CEST 2004 68 mbufs in use Sun Oct 17 16:38:20 CEST 2004 68 mbufs in use Sun Oct 17 16:38:21 CEST 2004 65 mbufs in use Sun Oct 17 16:38:22 CEST 2004 8 mbufs in use Sun Oct 17 16:38:24 CEST 2004 57 mbufs in use Sun Oct 17 16:38:25 CEST 2004 58 mbufs in use Sun Oct 17 16:38:26 CEST 2004 58 mbufs in use norick@norick:/sys/i386/conf# ping slima PING slima (10.16.64.17): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ^C --- slima ping statistics --- 20 packets transmitted, 0 packets received, 100% packet loss norick@norick:/sys/i386/conf# less /boot/loader.conf debug.mpsafenet=0 some time i have used 1, then i switched to 0, but it didnt help autoboot_delay="3" hw.ata.wc=0 kern.ipc.nmbclusters=18048 kern.ipc.nmbufs=36096 my kernel config - non-default options options IPDIVERT options IPSTEALTH options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ options ALTQ_NOPCC options NMBCLUSTERS=4096 options NBUF=4096 options GEOM_BDE device pf device pflog device pfsync These i added to the last kernel just to check, whether something changes, but i wasnt sure od their purpose options NET_WITH_GIANT - this i added options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS options WITNESS #Enable checks to detect deadlocks and cycles norick@norick:/sys/i386/conf# vmstat -m Type InUse MemUse HighUse Requests Size(s) ISOFS mount 1 64K 64K 1 isadev 34 3K 3K 34 64 atkbddev 2 1K 1K 2 32 $PIR 6 1K 1K 6 32 GEOM 142 18K 34K 776 16,32,64,128,256,512,1024,2048,4096 nexusdev 2 1K 1K 2 16 legacydrv 4 1K 1K 4 16 pfs_fileno 1 20K 20K 1 UMAHash 2 1K 1K 3 256,512 VM pgdata 3 17K 17K 3 64 pfs_nodes 20 3K 3K 20 128 MSDOSFS mount 1 32K 32K 1 DEVFS 294 41K 41K 400 16,32,128,4096 UFS mount 21 48K 48K 21 256,2048,4096 UFS ihash 1 64K 64K 1 UFS dirhash 126 23K 23K 126 16,32,64,128,512 dirrem 1 1K 1K 690 32 mkdir 0 0K 1K 6 32 diradd 0 0K 2K 743 32 freefile 0 0K 1K 359 32 freeblks 1 1K 4K 309 256 freefrag 0 0K 1K 200 32 allocindir 0 0K 14K 366 64 indirdep 0 0K 33K 207 32 allocdirect 0 0K 6K 800 128 bmsafemap 1 1K 1K 419 32 newblk 1 1K 1K 1167 64,256 inodedep 2 65K 79K 1119 128,256 pagedep 4 9K 10K 476 64 p1003.1b 1 1K 1K 1 16 NFS daemon 1 1K 1K 1 256 NFS hash 1 64K 64K 1 ip6_moptions 1 1K 1K 1 16 in6_multi 16 1K 1K 16 64 syncache 1 8K 8K 1 hostcache 1 24K 24K 1 ip_moptions 1 1K 1K 1 128 in_multi 15 1K 1K 16 32 igmp 3 1K 1K 3 16 80211node 7 2K 3K 58152 256 routetbl 176 11K 16K 2313 16,32,64,128,256,512 USBdev 4 2K 2K 4 128,512 USB 16 2K 2K 16 16,32,64,128,256 lo 5 5K 5K 5 1024 clone 6 24K 24K 6 4096 ether_multi 128 6K 6K 133 16,32,64 ifaddr 224 28K 28K 228 16,32,64,256,512,2048 BPF 37 99K 99K 37 32,64,128,256,4096 mount 23 10K 10K 28 16,32,128,1024 vnodes 50 8K 8K 187 16,32,64,128,256 cluster_save buffer 0 0K 1K 31 32,64 vfscache 1 128K 128K 1 BIO buffer 267 534K 534K 275 2048 pcb 45 5K 5K 816 16,32,64,2048 soname 16 2K 2K 70197 16,32,128 tag 0 0K 1K 1290 32 ptys 4 1K 1K 4 128 ttys 1436 188K 188K 3221 128,512 shm 1 12K 12K 1 sem 4 7K 7K 4 512,1024,4096 msg 4 25K 25K 4 512,4096 iov 0 0K 1K 62365 16,64,128 ioctlops 0 0K 1K 54 256,512,1024 entropy 1024 64K 64K 1024 64 turnstiles 201 13K 13K 201 64 taskqueue 5 1K 1K 5 64 sleep queues 201 7K 7K 201 32 sbuf 0 0K 29K 460 16,32,64,128,256,512,1024,2048,4096 rman 79 5K 6K 605 16,64 kobj 214 428K 428K 262 2048 ACD driver 1 2K 2K 1 2048 eventhandler 45 3K 3K 45 32,128 devstat 14 29K 29K 14 16,4096 AR driver 1 1K 3K 7 64,256,2048 bus-sc 32 46K 134K 589 16,64,128,256,512,1024,2048,4096 bus 737 28K 73K 2020 16,32,64,128,1024 SWAP 4 93K 93K 4 64 sysctltmp 0 0K 1K 430 16,32,64,128,512 sysctloid 1205 36K 36K 1205 16,32,64 sysctl 0 0K 1K 27807 16,32,64 uidinfo 17 1K 1K 685 32,256 plimit 21 6K 7K 26536 256 AD driver 3 1K 1K 3 128 cred 66 9K 10K 103392 128 subproc 233 563K 644K 74476 32,4096 proc 2 2K 2K 2 1024 session 39 5K 6K 177 128 pgrp 49 4K 4K 330 64 ATA DMA 2 1K 1K 2 128 mtx_pool 1 8K 8K 1 module 332 21K 21K 332 64 ip6ndp 16 2K 2K 17 64,128 ip6opt 1 1K 1K 1 128 temp 7 106K 115K 53060 16,32,64,128,256,512,1024,2048,4096 devbuf 252 1179K 1179K 271 16,32,64,128,256,512,2048,4096 lockf 28 2K 2K 1369 64 linker 48 2K 2K 106 16,32,256 KTRACE 100 13K 13K 100 128 ithread 47 5K 5K 48 64,128 zombie 0 0K 1K 25413 128 proc-args 78 6K 8K 23961 16,32,64,128,256 kqueue 0 0K 4K 1006 128,1024 kenv 103 6K 6K 104 16,32,64,2048 sigio 1 1K 1K 1 32 file desc 165 42K 46K 25582 16,256,512 cdev 68 17K 17K 68 256 pf_if 38 8K 8K 38 16,256,2048 pfsync 1 1K 1K 1 1024 ATA generic 8 3K 3K 8 16,512 pflog 1 1K 1K 1 1024 Best Reagrds Jan Vyhlidka --Signature=_Sun__17_Oct_2004_17_08_35_+0200_18DxwRQ0Mk63RbCH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFBcor6UZwTtzMO0/kRAowcAKCCWLldtA5sUKaYoUWBF5TWhnyv7QCfYGVt Im/VsEborjtmDhenKQE7SXk= =Esfz -----END PGP SIGNATURE----- --Signature=_Sun__17_Oct_2004_17_08_35_+0200_18DxwRQ0Mk63RbCH-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 15:13:14 2004 Return-Path: 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 EDE6D16A4CE for ; Sun, 17 Oct 2004 15:13:14 +0000 (GMT) Received: from ran.psg.com (ip192.186.dsl-acs2.seawa0.iinet.com [209.20.186.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C9B43D2F for ; Sun, 17 Oct 2004 15:13:14 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=ran.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.34 (FreeBSD)) id 1CJCif-000PFl-Ab; Sun, 17 Oct 2004 08:13:13 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16754.35848.726554.89402@ran.psg.com> Date: Sun, 17 Oct 2004 08:13:12 -0700 To: "Conrad J. Sabatier" References: <16753.38774.621295.6356@ran.psg.com> <19260.1097963444@critter.freebsd.dk> <20041016202403.7928c26d@dolphin.local.net> cc: Poul-Henning Kamp cc: freebsd-current@freebsd.org Subject: Re: no echo console X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 15:13:15 -0000 > I'm quite certain now that it's occurring after every run of > portupgrade. i have it occuring after other, simple, things. but i think phk is on the case. randy From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 15:21:54 2004 Return-Path: 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 7B54E16A4DD for ; Sun, 17 Oct 2004 15:21:54 +0000 (GMT) Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by mx1.FreeBSD.org (Postfix) with SMTP id DE52343D49 for ; Sun, 17 Oct 2004 15:21:53 +0000 (GMT) (envelope-from Norick@seznam.cz) Received: (qmail 27636 invoked from network); 17 Oct 2004 15:21:52 -0000 Received: from unknown (HELO echelon.norick.slivenec.czf) (norick@62.24.71.119) by smtp.seznam.cz with SMTP; 17 Oct 2004 15:21:52 -0000 Date: Sun, 17 Oct 2004 17:21:31 +0200 From: Jan Vyhlidka To: freebsd-current@freebsd.org Message-Id: <20041017172131.22e4f8f9.Norick@seznam.cz> In-Reply-To: <20041017170835.37dcc68e.Norick@seznam.cz> References: <20041017170835.37dcc68e.Norick@seznam.cz> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: wi1: device timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 15:21:54 -0000 On Sun, 17 Oct 2004 17:08:35 +0200 Jan Vyhlidka wrote: I forget to mention that BETA4 was my first of RELENG_5. Before it I had used 5.2.1 and it was ok. From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 15:23:01 2004 Return-Path: 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 928D116A4CF for ; Sun, 17 Oct 2004 15:23:01 +0000 (GMT) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id A149043D41 for ; Sun, 17 Oct 2004 15:23:00 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id i9HFMxi3023359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Oct 2004 17:22:59 +0200 Message-ID: <41728E53.5050801@ng.fadesa.es> Date: Sun, 17 Oct 2004 17:22:59 +0200 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: gl, en, es MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20041016222937.8286A611F@hoppel.local> In-Reply-To: <20041016222937.8286A611F@hoppel.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on tierra2 X-Virus-Status: Clean Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 15:23:01 -0000 Bjoern Koenig wrote: > Bjoern Koenig wrote: > > >>Tell your hard disk controller chip or at least the model of your >>mainboard. Do you have UDMA devices at your secondary ATA channel? > > > I discovered your dmesg output. If it possible then boot without the ad2 device and/or without your DVD drive. > > My hard disk worked fine after removing my CD-R drive. no, it doesn't makes any difference :-( From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 15:35:09 2004 Return-Path: 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 B410816A4CE for ; Sun, 17 Oct 2004 15:35:09 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CFCC43D3F for ; Sun, 17 Oct 2004 15:35:09 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 0B9A63EEC; Sun, 17 Oct 2004 17:35:07 +0200 (CEST) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id 06E413EB9; Sun, 17 Oct 2004 17:35:04 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 7DE6E4089; Sun, 17 Oct 2004 17:35:02 +0200 (CEST) To: Sam Leffler In-Reply-To: <86655au64d.fsf@kamino.rfc1149.org> (Arne Schwabe's message of "Sat, 16 Oct 2004 15:47:46 +0200") References: <416DF63E.6000401@errno.com> <20041015132512.GA95147@zibbi.icomtek.csir.co.za> <416FE900.7030809@errno.com> <20041015152337.GA98631@zibbi.icomtek.csir.co.za> <416FEDFB.1060908@errno.com> <20041015172105.GA2560@zibbi.icomtek.csir.co.za> <41704795.6070603@errno.com> <86655au64d.fsf@kamino.rfc1149.org> From: Arne Schwabe Date: Sun, 17 Oct 2004 17:35:02 +0200 Message-ID: <86is99we6x.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: John Hay cc: freebsd-current@freebsd.org Subject: Re: net80211+atheros changes (updated) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 15:35:09 -0000 Arne Schwabe writes: > Sam Leffler writes: > >>>>more ath_hal-20041013/freebsd/i386-elf.hal.o.uu >>> That have: >>> #define ATH_HAL_VERSION "0.9.12.6" >> >> Let's try this again: >> >> http://people.freebsd.org/~sam/net80211+ath-20041015.tgz >> >> This applys cleanly to -current as of last night, builds, and boots. >> Beware of applying this over old patches as patch -N doesn't always seem >> to do the right thing with the new files. I tested against a clean cvs co. > > This time it works (: Well, not really. _Very_ soon mostly < 1min after the card has associated with a wlan I am getting a panic: "panic: multicast fragm?" Arne -- compiling millions of tiny c-programs...done checking for a working configure script... not found From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 15:39:09 2004 Return-Path: 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 D0A3516A4CF for ; Sun, 17 Oct 2004 15:39:09 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 4BF1643D3F for ; Sun, 17 Oct 2004 15:39:06 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 65479 invoked by uid 0); 17 Oct 2004 15:34:22 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 17 Oct 2004 15:34:22 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id F0E5D13241E; Sun, 17 Oct 2004 23:39:02 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00870-08; Sun, 17 Oct 2004 23:38:57 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id EFACD131F8C; Sun, 17 Oct 2004 23:38:56 +0800 (CST) Date: Sun, 17 Oct 2004 23:38:56 +0800 From: Xin LI To: David O'Brien Message-ID: <20041017153856.GA460@frontfree.net> References: <20041016174925.GA96809@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20041016174925.GA96809@dragon.nuxi.com> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #4: Mon Sep 13 12:44:05 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-current@freebsd.org Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 15:39:10 -0000 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, David I really like to see this happen, as it means we are going to support modern hardware better, without completely set a barrier for supporting older hardware. By committing this, would you please add something into src/UPDATING like: 200410XX: Certain part in libc's i386 assembly source code has been changed in favor of using instructions available only on newer processors for performance considerations. In order to get libc run on 80386 processors, you will have to define I386_CPU. On Sat, Oct 16, 2004 at 10:49:25AM -0700, David O'Brien wrote: > Now that we don't support running 6-CURRENT on i386 class machines (vs. > 486 and newer), I'd like to commit this minor optimization. Issues? > Concerns? Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBcpIQ/cVsHxFZiIoRArsJAKCH+E2LS+Re63OqRnjitZUFmRo2kgCdH1y3 06Oty52XhUd3ug14DCN7xAo= =5Tm6 -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 16:50:48 2004 Return-Path: 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 E30EA16A4CE for ; Sun, 17 Oct 2004 16:50:48 +0000 (GMT) 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 3063543D2F for ; Sun, 17 Oct 2004 16:50:48 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [194.192.25.143] (laptop.deepcore.dk [194.192.25.143]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i9HGoixj004719; Sun, 17 Oct 2004 18:50:46 +0200 (CEST) (envelope-from sos@DeepCore.dk) Message-ID: <4172A2D0.2060202@DeepCore.dk> Date: Sun, 17 Oct 2004 18:50:24 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040802) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jochen Gensch References: <4171AA66.2050005@gmx.de> In-Reply-To: <4171AA66.2050005@gmx.de> Content-Type: multipart/mixed; boundary="------------090403000301030809020004" X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: freebsd-current@freebsd.org Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 16:50:49 -0000 This is a multi-part message in MIME format. --------------090403000301030809020004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jochen Gensch wrote: > Hi, >=20 > I just cvsup'd RELENG_5 and the system is not booting any more with the= =20 > new kernel. It hangs at the ata identifying with the message: >=20 > ata1-slave: FAILURE - ATAPI_IDENTIFY timed out >=20 > I am using the GENERIC kernel, the only additional thing in there is=20 > atapicam. Maybe I just cvsup'd at a bad time :-) ? Maybe not, could you please try the attached patch and let me know if=20 that helps or not ? --=20 -S=F8ren --------------090403000301030809020004 Content-Type: text/plain; name="rel5.p1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rel5.p1" Index: ata-all.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v retrieving revision 1.222.2.4 diff -u -r1.222.2.4 ata-all.c --- ata-all.c 16 Oct 2004 08:43:06 -0000 1.222.2.4 +++ ata-all.c 17 Oct 2004 16:38:21 -0000 @@ -306,6 +306,12 @@ } } + ch->flags &= ~ATA_IMMEDIATE_MODE; + mtx_lock(&ch->state_mtx); + ch->state = ATA_IDLE; + mtx_unlock(&ch->state_mtx); + ch->locking(ch, ATA_LF_UNLOCK); + /* attach new devices */ if ((newdev = ~devices & ch->devices)) { if ((newdev & (ATA_ATA_MASTER | ATA_ATAPI_MASTER)) && @@ -323,12 +329,6 @@ if (bootverbose) ata_printf(ch, -1, "device config done ..\n"); - ch->flags &= ~ATA_IMMEDIATE_MODE; - mtx_lock(&ch->state_mtx); - ch->state = ATA_IDLE; - mtx_unlock(&ch->state_mtx); - ch->locking(ch, ATA_LF_UNLOCK); - ata_start(ch); return 0; } --------------090403000301030809020004-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 16:56:00 2004 Return-Path: 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 53BD116A4CE for ; Sun, 17 Oct 2004 16:56:00 +0000 (GMT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74A8E43D55 for ; Sun, 17 Oct 2004 16:55:59 +0000 (GMT) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.12.11/jtpda-5.4) with ESMTP id i9HGtk32004261 ; Sun, 17 Oct 2004 18:55:46 +0200 (CEST) X-Ids: 165 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) i9HGtjAm014631 ; Sun, 17 Oct 2004 18:55:45 +0200 (MEST) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.13.1/8.13.1/Submit) id i9HGtjZf014628; Sun, 17 Oct 2004 18:55:45 +0200 (MEST) (envelope-from arno) To: current@freebsd.org References: <4171AA66.2050005@gmx.de> <200410170510.32364.nbco@screaming.net> <417265A0.1080308@DeepCore.dk> From: "Arno J. Klaassen" Date: 17 Oct 2004 18:55:44 +0200 In-Reply-To: <417265A0.1080308@DeepCore.dk> Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.8 (shiva.jussieu.fr [134.157.0.165]); Sun, 17 Oct 2004 18:55:46 +0200 (CEST) X-Miltered: at shiva.jussieu.fr with ID 4172A412.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Antivirus: scanned by sophie at shiva.jussieu.fr cc: =?iso-8859-1?q?S=F8ren_Schmidt?= Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 16:56:00 -0000 Soren, > > It appears that this regression was caused by an ata driver commit > > before RELENG_5_3 was branched. > > If you are going to roll sources back, roll them back to 08:00:00 > > UTC on 16 Oct 2004, use the branch RELENG_5, but don't use the > > branch RELENG_5_3 until this gets sorted out. > > .nbco > > Well that commit fixed real problems so just backing it out might be a > real bad idea. Anyhow its up for re@ to decide.. same here; looks to me as if the last commits revived the "fake slave" daemon. (Toshiba MB & disk; idem with or without atapicam) Regards, Arno From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 16:57:39 2004 Return-Path: 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 E78DB16A4CE for ; Sun, 17 Oct 2004 16:57:39 +0000 (GMT) Received: from av3-1-sn4.m-sp.skanova.net (av3-1-sn4.m-sp.skanova.net [81.228.10.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C30643D39 for ; Sun, 17 Oct 2004 16:57:39 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av3-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id 80B9237E89; Sun, 17 Oct 2004 18:57:38 +0200 (CEST) Received: from smtp2-2-sn4.m-sp.skanova.net (smtp2-2-sn4.m-sp.skanova.net [81.228.10.182]) by av3-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 71D0E37E4B for ; Sun, 17 Oct 2004 18:57:38 +0200 (CEST) Received: from sentinel (h130n1fls11o822.telia.com [213.64.66.130]) by smtp2-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 592A537E44 for ; Sun, 17 Oct 2004 18:57:38 +0200 (CEST) From: "Daniel Eriksson" To: Date: Sun, 17 Oct 2004 18:57:30 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcS0amOT76m5k6msS6idso6xEWR3cA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Current crash on today's kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 16:57:40 -0000 Got this a few minutes ago during heavy network and disc activity on one of my servers running 6-CURRENT from earlier today. Machine is a dual Athlon MP / Tyan Tiger S2466N-4M running without ACPI. Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 00 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x8:0xc06feada stack pointer = 0x10:0xe73f99c0 frame pointer = 0x10:0xe73f9b5c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 48 (syncer) [thread 100036] Stopped at generic_bcopy+0x1a: repe movsl (%esi),%es:(%edi) db> tr generic_bcopy(d65d6524,c06bc24f,0,ffffffff,e73f9bc4) at generic_bcopy+0x1a softdep_disk_prewrite(c2aa7210,d65d6524,c20056b8,fffd3000,ffffffff) at softdep_disk_prewrite+0xc4 ufs_strategy(e73f9be0,1,4,ffffffff,e73f9bfc) at ufs_strategy+0x13c ibwrite(d65d6524,ffffffff,2104700,0,e73f9c4c) at ibwrite+0x2e2 vfs_bio_awrite(d65d6524,80012,0,c22fc900,0) at vfs_bio_awrite+0x53 ffs_fsync(e73f9cd4,30002,c22fc900,0,0) at ffs_fsync+0x3ed sched_sync(0,e73f9d48,0,0,0) at sched_sync+0x539 fork_exit(c05c7170,0,e73f9d48) at fork_exit+0x62 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe73f9d7c, ebp = 0 --- I have a dump if anyone wants me to provide additional information. /Daniel Eriksson From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 16:59:59 2004 Return-Path: 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 32EC316A4CE for ; Sun, 17 Oct 2004 16:59:59 +0000 (GMT) Received: from will.iki.fi (will.iki.fi [217.169.64.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id E906243D31 for ; Sun, 17 Oct 2004 16:59:58 +0000 (GMT) (envelope-from will+freebsd-current@will.iki.fi) Received: from [192.168.1.101] (KMCCXI.dsl.saunalahti.fi [195.197.18.211]) by will.iki.fi (Postfix) with ESMTP id D437F164 for ; Sun, 17 Oct 2004 19:59:54 +0300 (EEST) Message-ID: <4172A4EC.6040806@will.iki.fi> Date: Sun, 17 Oct 2004 19:59:24 +0300 From: Ville-Pertti Keinonen User-Agent: Mozilla Thunderbird 0.8 (X11/20041016) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20041016174925.GA96809@dragon.nuxi.com> <4172461E.9060008@will.iki.fi> In-Reply-To: <4172461E.9060008@will.iki.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Optimized libc/amd64/string (was Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 16:59:59 -0000 From my earlier post... > I'm currently running using the attached files, adapted from NetBSD. > Just untarring the Apparently the attachment didn't make it to the list. The files are available at http://will.iki.fi/patches/libc-amd64-string.tar.gz From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 17:44:42 2004 Return-Path: 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 766A916A4CE for ; Sun, 17 Oct 2004 17:44:42 +0000 (GMT) Received: from mail.netroad.ru (mail.netroad.ru [213.24.172.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id D213443D4C for ; Sun, 17 Oct 2004 17:44:39 +0000 (GMT) (envelope-from blackv@netroad.ru) Received: from mail.netroad.ru (localhost [127.0.0.1]) by mail.netroad.ru (Postfix) with ESMTP id 3951D148608 for ; Sun, 17 Oct 2004 21:43:10 +0400 (MSD) Received: from proxy.netroad.ru (proxy.netroad.ru [213.24.172.2]) by mail.netroad.ru (Postfix) with ESMTP id 1A9FB1482A7 for ; Sun, 17 Oct 2004 21:43:10 +0400 (MSD) Received: by proxy.netroad.ru (Postfix, from userid 1003) id 29750256214; Sun, 17 Oct 2004 21:44:35 +0400 (MSD) Date: Sun, 17 Oct 2004 21:44:35 +0400 From: "Lenar D. Tukhvatullin" To: freebsd-current@freebsd.org Message-ID: <20041017174435.GC36338@proxy.netroad.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-AntiVirus: ClamAV at mail.netroad.ru Subject: bridge configuration and interface names X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 17:44:42 -0000 FreeBSD 5.3-BETA7, cvsup'ed today: # ifconfig bge0.100 create ... # sysctl net.link.ether.bridge.enable=1 # sysctl net.link.ether.bridge.config="bge0.100 bge1" in log: ... kernel: interface 100 Not found in bridge and bridge does not work... It is necessary to correct this bug in bridge.c sys/net/bridge.c, line 505: /* names are lowercase and digits */ for ( beg = p ; islower(*p) || isdigit(*p) ; p++ ) Other letters, like ".", "-", "_", may be present in interface names. -- Lenar D. Tukhvatullin From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 17:45:30 2004 Return-Path: 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 64A2E16A4D6 for ; Sun, 17 Oct 2004 17:45:24 +0000 (GMT) Received: from av4-1-sn3.vrr.skanova.net (av4-1-sn3.vrr.skanova.net [81.228.9.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C2E943D2F for ; Sun, 17 Oct 2004 17:45:24 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av4-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 8A34837EEB; Sun, 17 Oct 2004 19:45:23 +0200 (CEST) Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av4-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 7A56137E48 for ; Sun, 17 Oct 2004 19:45:23 +0200 (CEST) Received: from sentinel (h130n1fls11o822.telia.com [213.64.66.130]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 3FDA138006 for ; Sun, 17 Oct 2004 19:45:23 +0200 (CEST) From: "Daniel Eriksson" To: Date: Sun, 17 Oct 2004 19:45:14 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcS0amOT76m5k6msS6idso6xEWR3cAABPbUg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Subject: RE: Current crash on today's kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 17:45:30 -0000 Sorry about the lack of details in the previous message! The machine is using both ataraid and gvinum. (But cannot use geom_stripe since it doesn't want to play nice with ataraid.) At the time of the crash I was pulling data off of it using Samba, and there was also at least two fast uploads to filesystem using sftp. When using ACPI there seems to be some sort of interrupt problem, possibly with the SATA controller. It results in an unusually high interrupt load even when the machine is mostly idle. I will try with ACPI again after I switch some cards around. Below is the dmesg, mptable and vmstat -i output. /Daniel Eriksson KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2004 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 6.0-CURRENT #0: Sun Oct 17 15:14:55 CEST 2004 daniel@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2600+ (2000.08-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0480000 real memory = 1073217536 (1023 MB) avail memory = 1040691200 (992 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pci0: on pcib0 agp0: port 0x1490-0x1493 mem 0xea100000-0xea100fff,0xec000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.3 (no driver attached) em0: port 0x1400-0x143f mem 0xe8000000-0xe803ffff,0xe8080000-0xe809ffff irq 16 at device 8.0 on pci0 em0: Ethernet address: 00:04:23:ac:20:8a em0: Speed:N/A Duplex:N/A em1: port 0x1440-0x147f mem 0xe8040000-0xe807ffff,0xe80a0000-0xe80bffff irq 17 at device 8.1 on pci0 em1: Ethernet address: 00:04:23:ac:20:8b em1: Speed:N/A Duplex:N/A ahc0: port 0x1000-0x10ff mem 0xe80c0000-0xe80c0fff irq 17 at device 9.0 on pci0 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pcib2: at device 16.0 on pci0 pci2: on pcib2 atapci1: port 0x3000-0x307f,0x30c0-0x30cf,0x3080-0x30bf mem 0xea000000-0xea01ffff,0xea021000-0xea021fff irq 16 at device 4.0 on pci2 atapci1: failed: rid 0x20 is memory, requested 4 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 ata4: channel #2 on atapci1 ata5: channel #3 on atapci1 atapci2: port 0x2000-0x20ff,0x30d0-0x30d3,0x30d8-0x30df,0x30d4-0x30d7,0x30e0-0x30e7 irq 17 at device 5.0 on pci2 ata6: channel #0 on atapci2 ata7: channel #1 on atapci2 atapci3: port 0x2400-0x24ff,0x30e8-0x30eb,0x30f0-0x30f7,0x30ec-0x30ef,0x30f8-0x30ff irq 17 at device 5.1 on pci2 ata8: channel #0 on atapci3 ata9: channel #1 on atapci3 atapci4: port 0x2800-0x28ff,0x3400-0x3403,0x3408-0x340f,0x3404-0x3407,0x3410-0x3417 irq 19 at device 7.0 on pci2 ata10: channel #0 on atapci4 ata11: channel #1 on atapci4 atapci5: port 0x2c00-0x2cff,0x3418-0x341b,0x3420-0x3427,0x341c-0x341f,0x3428-0x342f irq 19 at device 7.1 on pci2 ata12: channel #0 on atapci5 ata13: channel #1 on atapci5 cpu0 on motherboard cpu1 on motherboard orm0: at iomem 0xe0000-0xe3fff,0xc0000-0xcafff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounters tick every 1.000 msec ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to accept, logging unlimited ad0: 117800MB [239340/16/63] at ata0-master UDMA100 ad1: 117800MB [239340/16/63] at ata0-slave UDMA100 ad2: 117800MB [239340/16/63] at ata1-master UDMA100 ad3: 117800MB [239340/16/63] at ata1-slave UDMA100 em0: Link is up 1000 Mbps Full Duplex ad4: 239372MB [486344/16/63] at ata2-master SATA150 ad6: 238475MB [484521/16/63] at ata3-master SATA150 ad8: 239372MB [486344/16/63] at ata4-master SATA150 em1: Link is up 100 Mbps Full Duplex ad12: 238475MB [484521/16/63] at ata6-master UDMA100 ad13: 238475MB [484521/16/63] at ata6-slave UDMA100 ad14: 239372MB [486344/16/63] at ata7-master UDMA133 ad15: 239372MB [486344/16/63] at ata7-slave UDMA133 ad16: 194481MB [395136/16/63] at ata8-master UDMA133 ad17: 194481MB [395136/16/63] at ata8-slave UDMA133 ad18: 194481MB [395136/16/63] at ata9-master UDMA133 ad19: 239372MB [486344/16/63] at ata9-slave UDMA133 ad20: 114473MB [232581/16/63] at ata10-master UDMA100 ad21: 114473MB [232581/16/63] at ata10-slave UDMA100 ad22: 117246MB [238216/16/63] at ata11-master UDMA133 ad23: 117246MB [238216/16/63] at ata11-slave UDMA133 ad24: 114473MB [232581/16/63] at ata12-master UDMA100 ar0: 476950MB [60802/255/63] status: READY subdisks: disk0 READY on ad12 at ata6-master disk1 READY on ad13 at ata6-slave ar1: 478744MB [61031/255/63] status: READY subdisks: disk0 READY on ad14 at ata7-master disk1 READY on ad15 at ata7-slave ar2: 388962MB [49585/255/63] status: READY subdisks: disk0 READY on ad17 at ata8-slave disk1 READY on ad16 at ata8-master ar3: 228946MB [29186/255/63] status: READY subdisks: disk0 READY on ad23 at ata11-slave disk1 READY on ad24 at ata12-master Waiting 5 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8759MB (17938986 512 byte sectors: 255H 63S/T 1116C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 8759MB (17938986 512 byte sectors: 255H 63S/T 1116C) da2 at ahc0 bus 0 target 10 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da3 at ahc0 bus 0 target 11 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da3: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da4 at ahc0 bus 0 target 12 lun 0 da4: Fixed Direct Access SCSI-3 device da4: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da4: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da5 at ahc0 bus 0 target 13 lun 0 da5: Fixed Direct Access SCSI-3 device da5: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da5: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s1a Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: point_to_point kickstart. kernel dumps on /dev/da0s1b swapon: adding /dev/da0s1b as swap device swapon: adding /dev/da1s1b as swap device Starting file system checks: /dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 197205 free (1333 frags, 24484 blocks, 0.5% fragmentation) /dev/da1s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da1s1e: clean, 913768 free (32 frags, 114217 blocks, 0.0% fragmentation) /dev/da0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1e: clean, 253813 free (21 frags, 31724 blocks, 0.0% fragmentation) /dev/da1s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da1s1d: clean, 198959 free (2087 frags, 24609 blocks, 0.4% fragmentation) /dev/da0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1f: clean, 1026218 free (20410 frags, 125726 blocks, 0.8% fragmentation) /dev/da0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1d: clean, 182953 free (393 frags, 22820 blocks, 0.2% fragmentation) net.inet.tcp.sendspace: 32768 -> 262144 net.inet.tcp.recvspace: 65536 -> 262144 kern.ipc.maxsockbuf: 262144 -> 2097152 kern.maxfiles: 12328 -> 32768 kern.maxfilesperproc: 11095 -> 16384 kern.ipc.somaxconn: 128 -> 1024 net.inet.ip.intr_queue_maxlen: 50 -> 500 net.isr.enable: 0 -> 1 Setting hostname: xxx.xx.xxx em0: flags=8843 mtu 1500 options=1b inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.255 ether 00:04:23:ac:20:8a media: Ethernet autoselect status: no carrier em1: flags=8843 mtu 1500 options=1b inet 192.168.xxx.1 netmask 0xffffff00 broadcast 192.168.xxx.255 ether 00:04:23:ac:20:8b media: Ethernet autoselect status: no carrier lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ============================================================================ === MPTable, version 2.0.15 ---------------------------------------------------------------------------- --- MP Floating Pointer Structure: location: BIOS physical address: 0x000f7170 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x43 mode: Virtual Wire ---------------------------------------------------------------------------- --- MP Config Table Header: physical address: 0x0009e470 signature: 'PCMP' base table length: 316 version: 1.4 checksum: 0x8c OEM ID: 'TYAN ' Product ID: 'PAULANER ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 31 local APIC address: 0xfee00000 extended table length: 324 extended table checksum: 18 ---------------------------------------------------------------------------- --- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 1 0x10 BSP, usable 6 10 0 0x383fbff 0 0x10 AP, usable 6 10 0 0x383fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 PCI 3 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 3 0 2 0 INT active-hi edge 3 1 2 1 INT active-hi edge 3 0 2 2 INT active-lo level 0 8:B 2 17 INT active-hi edge 3 4 2 4 INT active-lo level 0 8:A 2 16 INT active-hi edge 3 6 2 6 INT active-hi edge 3 7 2 7 INT active-hi edge 3 8 2 8 INT active-hi edge 3 9 2 9 INT active-lo level 2 7:A 2 19 INT active-lo level 1 5:A 2 18 INT active-hi edge 3 12 2 12 INT active-hi edge 3 13 2 13 INT active-hi edge 3 14 2 14 INT active-hi edge 3 15 2 15 INT active-lo level 0 9:A 2 17 INT active-lo level 2 0:C 2 19 INT active-lo level 2 4:A 2 16 INT active-lo level 2 5:A 2 17 INT active-lo level 2 5:A 2 17 INT active-lo level 2 7:A 2 19 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 3 0 255 0 NMI active-hi edge 1 0:A 255 1 ---------------------------------------------------------------------------- --- MP Config Extended Table Entries: -- System Address Space bus ID: 0 address type: I/O address address base: 0x0 address range: 0x10000 -- System Address Space bus ID: 0 address type: memory address address base: 0x40000000 address range: 0xaa100000 -- System Address Space bus ID: 0 address type: prefetch address address base: 0xea100000 address range: 0xdf00000 -- System Address Space bus ID: 0 address type: memory address address base: 0xf8000000 address range: 0x6e00000 -- System Address Space bus ID: 0 address type: memory address address base: 0xfee01000 address range: 0x11ff000 -- System Address Space bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x24000 -- System Address Space bus ID: 0 address type: memory address address base: 0xc8000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xcc000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd0000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd2000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd4000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd6000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd8000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xe0000 address range: 0x12000 -- System Address Space bus ID: 0 address type: memory address address base: 0xf8000 address range: 0x4000 -- Bus Heirarchy bus ID: 3 bus info: 0x01 parent bus ID: 0 -- Compatibility Bus Address bus ID: 0 address modifier: add predefined range: 0x00000000 -- Compatibility Bus Address bus ID: 0 address modifier: add predefined range: 0x00000001 ============================================================================ === # vmstat -i interrupt total rate irq1: atkbd0 2 0 irq0: clk 5142796 995 irq4: sio0 1056 0 irq6: fdc0 10 0 irq8: rtc 658343 127 irq13: npx0 1 0 irq14: ata0 205255 39 irq15: ata1 205046 39 irq16: em0 atapci1 11635073 2251 irq17: em1 ahc0++ 6549430 1267 irq19: atapci4+ 442467 85 Total 24839479 4807 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 18:17:13 2004 Return-Path: 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 605A316A4CE for ; Sun, 17 Oct 2004 18:17:13 +0000 (GMT) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1C243D3F for ; Sun, 17 Oct 2004 18:17:12 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id i9HIHAi3023941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Oct 2004 20:17:10 +0200 Message-ID: <4172B726.4050602@ng.fadesa.es> Date: Sun, 17 Oct 2004 20:17:10 +0200 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: gl, en, es MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20041015190638.C5A0E5D04@ptavv.es.net> <41715E7F.7060509@ng.fadesa.es> In-Reply-To: <41715E7F.7060509@ng.fadesa.es> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on tierra2 X-Virus-Status: Clean Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 18:17:13 -0000 fandino wrote: > Kevin Oberman wrote: >> Also, make sure that disk write-cache is enabled on both or disabled on >> both. > write-cache was enable on all tests and disks were in UDMA5 mode. > I was thought about this and since I don't known the internals of FreeBSD all I can to do is formulate a theory about the problem. Here are my thoughts: I don't think about a hardware problem because Linux, OpenBSD and windows shows a normal throughput. The mobo has a VIA-82C686B controller with ad0 and ad2 and a Promise- PDC20265 controller with ad4, ad5, ad6 and ad7. It doesn't matter if test are beetween VIA, promise or other combination that you choose, so I don't think it's a problem with the promise controller, it's independent of controllers. Test over disks as raw devices have the same bad throughput, this makes me think that it isn't related to filesystem, buffer-cache, softupdates, async, etc. Now I'm out of ideas and I would be very grateful if someone could help me. Thank you. > In this new round of tests I add FreeBSD witch async and OpenBSD (always > using the same hardware). FreeBSD is by far, the worst throughput of all > (about 50% slower than others) :-? > > GNU/Linux 2.4.18 with ext2: 56848 K/sec > FreeBSD 5.3b7 with default fs: 26347 K/sec > FreeBSD 5.3b7 with default fs(async): 26566 K/sec > FreeBSD 5.3b7 ata raid0* (two disks): 26131 K/sec > FreeBSD 5.3b7 geom stripe* (two disks): 30063 K/sec > FreeBSD 5.3b7 geom stripe** (four disks): 31891 K/sec > OpenBSD 3.5 UFS fs: 55277 K/sec > > * Each disk of the raid had a throughput of approx. 15000 K/sec > ** Each disk of the raid had a throughput of approx. 7500 K/sec > Each disk of the read split the throughput by half. > > How is possible that FreeBSD performs as bad? > > > http://195.55.55.164/tests/bsd.txt (original FBSD test) > http://195.55.55.164/tests/obsd.txt (openbsd test) > http://195.55.55.164/tests/gstripe-4.txt (4 disks gstripe tests with async) > http://195.55.55.164/tests/fbsd2.txt (FBSD test with async) > http://195.55.55.164/tests/linux.txt (original GNU/Linux test) > http://195.55.55.164/tests/dmesg.txt From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 18:27:23 2004 Return-Path: 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 ECE4A16A4CE for ; Sun, 17 Oct 2004 18:27:23 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCE6943D45 for ; Sun, 17 Oct 2004 18:27:23 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id i9HIRNtR041962; Sun, 17 Oct 2004 11:27:23 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id i9HIRHmW041956; Sun, 17 Oct 2004 11:27:17 -0700 (PDT) (envelope-from obrien) Date: Sun, 17 Oct 2004 11:27:16 -0700 From: "David O'Brien" To: Xin LI Message-ID: <20041017182716.GB41354@dragon.nuxi.com> References: <20041016174925.GA96809@dragon.nuxi.com> <20041017153856.GA460@frontfree.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041017153856.GA460@frontfree.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-current@freebsd.org Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 18:27:24 -0000 On Sun, Oct 17, 2004 at 11:38:56PM +0800, Xin LI wrote: > Hi, David > > I really like to see this happen, as it means we are going to support > modern hardware better, without completely set a barrier for supporting > older hardware. > > By committing this, would you please add something into src/UPDATING > like: > > 200410XX: > Certain part in libc's i386 assembly source code has been changed > in favor of using instructions available only on newer processors > for performance considerations. In order to get libc run on > 80386 processors, you will have to define I386_CPU. We've already so desupported running 6-CURRENT on the original i386 processor, I'd rather not create the appearance that it is still supported and easy to do by simply defining one thing. -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 18:35:37 2004 Return-Path: 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 20B2A16A4CE for ; Sun, 17 Oct 2004 18:35:37 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A13043D2F for ; Sun, 17 Oct 2004 18:35:34 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 66657 invoked by uid 0); 17 Oct 2004 18:30:50 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 17 Oct 2004 18:30:50 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 3BFB2132FDA; Mon, 18 Oct 2004 02:35:30 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00850-05; Mon, 18 Oct 2004 02:35:26 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 82DFD132668; Mon, 18 Oct 2004 02:35:25 +0800 (CST) Date: Mon, 18 Oct 2004 02:35:25 +0800 From: Xin LI To: David O'Brien Message-ID: <20041017183525.GA1717@frontfree.net> References: <20041016174925.GA96809@dragon.nuxi.com> <20041017153856.GA460@frontfree.net> <20041017182716.GB41354@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20041017182716.GB41354@dragon.nuxi.com> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #4: Mon Sep 13 12:44:05 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-current@freebsd.org Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 18:35:37 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 17, 2004 at 11:27:16AM -0700, David O'Brien wrote: > On Sun, Oct 17, 2004 at 11:38:56PM +0800, Xin LI wrote: > > Hi, David > >=20 > > I really like to see this happen, as it means we are going to support > > modern hardware better, without completely set a barrier for supporting > > older hardware. > >=20 > > By committing this, would you please add something into src/UPDATING > > like: > >=20 > > 200410XX: > > Certain part in libc's i386 assembly source code has been changed > > in favor of using instructions available only on newer processors > > for performance considerations. In order to get libc run on > > 80386 processors, you will have to define I386_CPU. >=20 > We've already so desupported running 6-CURRENT on the original i386 > processor, I'd rather not create the appearance that it is still > supported and easy to do by simply defining one thing. Um... What about something like this: 200410XX: With several performance and maintaince considerations, we are now discouraging using newer FreeBSD on ancient hardware, e.g. 80386. While it is still possible to define some symbols to get it ``just work'', it does not mean that newer FreeBSD versions will perform very well, nor guarantee is provided that these support will not broken in the future. Please stick with an older FreeBSD release if you really need these hardware. Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBcrtt/cVsHxFZiIoRAnd/AJ4nnuyZ4TQ3oH/U/EG6leaQb8Ka5wCfdRo9 q8OtrK3CPi2xjrstssUYUwk= =GmfU -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 19:01:31 2004 Return-Path: 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 40DE316A4CE for ; Sun, 17 Oct 2004 19:01:31 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEF0C43D46 for ; Sun, 17 Oct 2004 19:01:30 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D2FAE519B5; Sun, 17 Oct 2004 12:01:28 -0700 (PDT) Date: Sun, 17 Oct 2004 12:01:28 -0700 From: Kris Kennaway To: Nikolay Kalev Message-ID: <20041017190128.GA71834@xor.obsecurity.org> References: <136a340a0410170528626e8ac8@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <136a340a0410170528626e8ac8@mail.gmail.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: xine-lib missin dependancy for a52dec ! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 19:01:31 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Oct 17, 2004 at 03:28:29PM +0300, Nikolay Kalev wrote: > There is a missing dependancy for a52dec in recent xine-lib-rc5 in ports!!! 1) discussion of ports should be on the ports mailing list 2) Problems with specific ports should be CC'ed to the maintainer of the port 3) Please provide more evidence. Kris --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBcsGIWry0BWjoQKURAmWAAKDsIfo+JpG0jBEqXuqHgwkM6+5W2ACghw7I cKfo4b/u9fBJb3qWmlkgbfw= =s08c -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 19:17:43 2004 Return-Path: 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 1D76716A4CE for ; Sun, 17 Oct 2004 19:17:43 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF75043D5D for ; Sun, 17 Oct 2004 19:17:42 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9HJHcNk032428 for ; Sun, 17 Oct 2004 15:17:38 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9HJHcgZ032425 for ; Sun, 17 Oct 2004 15:17:38 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 15:17:37 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Preemption-related bug in propagate_priority(): it's OK to hold Giant but not be running X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 19:17:43 -0000 Ran into an interesting problem relating to WITNESS and a multiply-destroyed mutex today, but I didn't get the real panic message because of what looks like one or two other bugs. Here's the high-level: sodealloc() tries to destroy the mutex on a socket more than once, causing WITNESS to panic. The soft clock ithread preempts the serial output in panic() when a critical section is released, resulting in a context switch to that ithread. That ithread then attempts to lock a mutex, and is horrified to find out that Giant is held by the thread it preempted, but that that thread isn't blocked: tiger-2# ppanic: process 15955(tcpconnect):2 holds Giant but isn't blocked on a lock % rwatson -- note that double p is from the initiating panic cpuid = 0 KDB: enter: panic [thread 100071] Stopped at kdb_enter+0x2b: nop db> trace kdb_enter(c07fc101) at kdb_enter+0x2b panic(c07ff1ec,3e53,c5f90588,2,c080c957) at panic+0x127 propagate_priority(c547b180,c08c47b8,c5f91780,c08bdbc0,0) at propagate_priority+ 0x139 turnstile_wait(0,c08bdbc0,c5f91780,c08bdbc0,2,c07fb4a5,217) at turnstile_wait+0x 2de _mtx_lock_sleep(c08bdbc0,c547b180,0,c07fd124,f7) at _mtx_lock_sleep+0x15f _mtx_lock_flags(c08bdbc0,0,c07fd124,f7,0) at _mtx_lock_flags+0x85 softclock(0) at softclock+0x16a ithread_loop(c5436e80,e942fd48,c5436e80,c05f7c80,0) at ithread_loop+0x124 fork_exit(c05f7c80,c5436e80,e942fd48) at fork_exit+0xa4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe942fd7c, ebp = 0 --- db> show locks db> show pcpu cpuid = 0 curthread = 0xc547b180: pid 87 "swi4: clock sio" curpcb = 0xe942fda0 fpcurthread = none idlethread = 0xc53e4a80: pid 14 "idle: cpu0" APIC ID = 0 currentldt = 0x28 spin locks held: db> ps pid proc uarea uid ppid pgrp flag stat wmesg wchan cmd 15955 c5f90400 ebbb1000 0 525 15955 0004002 [Can run] tcpconnect ... 87 c548b400 e946e000 0 0 0 000020c [LOCK Giant c5432d00] swi4: clock sio db> trace 15955 sched_switch(c5f91780,c5451d80,6) at sched_switch+0x16f mi_switch(6,c5451d80,c5451ed0,c5451d80,ebba492c) at mi_switch+0x264 maybe_preempt(c5451d80) at maybe_preempt+0x156 sched_add(c5451d80,4,c53e2d80,c5451d80,c5450800) at sched_add+0x153 setrunqueue(c5451d80,4) at setrunqueue+0xab ithread_schedule(c53e2d80,1f,c5f91780,c5f91780,2580) at ithread_schedule+0xb3 intr_execute_handlers(c53dc0d8,ebba49a8,1f,ebba49f0,c0780ad3) at intr_execute_ha ndlers+0xf5 lapic_handle_intr(4f) at lapic_handle_intr+0x2e Xapic_isr2() at Xapic_isr2+0x33 --- interrupt, eip = 0xc0619446, esp = 0xebba49ec, ebp = 0xebba49f0 --- critical_exit(3f8,ebba4a30,c076f731,c08fa000,0) at critical_exit+0x92 _mtx_unlock_spin_flags(c08fa000,0,c08174fc,be4) at _mtx_unlock_spin_flags+0x8d siocnputc(c08987c0,70) at siocnputc+0xb9 cnputc(70) at cnputc+0x4d putchar(70,ebba4b44) at putchar+0x52 kvprintf(c07fc2ed,c06219b8,ebba4b44,a,ebba4b64) at kvprintf+0x77 printf(c07fc2ed,c08bf060,c08bf060,100,c07ff91e,ebba4b98) at printf+0x43 panic(c07ff91e,c07b69b1,c0813aa8,c07ff6af,c5a23ebc) at panic+0xcb witness_destroy(c5a23ebc,c5a23dec,ebba4bd0,c063f15f,c5a23ebc) at witness_destroy +0x40 mtx_destroy(c5a23ebc,c5e94e00,c5a23ebc,ebba4be8,c063f4fd) at mtx_destroy+0x7a sodealloc(c5a23dec,c5a23eb0,c5832bb0,c5a23dec,ebba4c00) at sodealloc+0xf3 sofree(c5a23dec) at sofree+0x281 soclose(c5a23dec,c5832bb0,0,ebba4c2c,c05efad0) at soclose+0x24d soo_close(c5832bb0,c5f91780) at soo_close+0x4b fdrop_locked(c5832bb0,c5f91780,c53ccf40,0,c07f90b1) at fdrop_locked+0x84 fdrop(c5832bb0,c5f91780,ebba4c78,c0628c5c,c07f90ba) at fdrop+0x24 closef(c5832bb0,c5f91780,c5ebc628,0,c07f90b1) at closef+0x1db close(c5f91780,ebba4d14,1,14b,292) at close+0xe6 syscall(2f,bfbf002f,bfbf002f,3,bfbfedf7) at syscall+0x213 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (6, FreeBSD ELF32, close), eip = 0x280c154b, esp = 0xbfbfec0c, ebp = 0xbfbfec48 --- db> show locks 15955 exclusive sleep mutex Giant r = 0 (0xc08bdbc0) locked @ kern/kern_descrip.c:967 So on face value, it looks like propagate_priority() is unhappy about the tcpconnect thread (that was preempted) still holding Giant. However, given that preemption is supposed to preempt but leave a thread runnable, this would seem not to be a panic-worthy condition. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 20:01:46 2004 Return-Path: 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 7AA1516A4CE for ; Sun, 17 Oct 2004 20:01:46 +0000 (GMT) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3EF743D46 for ; Sun, 17 Oct 2004 20:01:45 +0000 (GMT) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id D026DDCF88; Sun, 17 Oct 2004 22:01:44 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id B5ACB8CF9B; Sun, 17 Oct 2004 22:01:44 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 1028B8CD76; Sun, 17 Oct 2004 22:01:44 +0200 (CEST) Received: from coyote.q.local (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id E839AD3FBA; Sun, 17 Oct 2004 22:01:43 +0200 (CEST) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.12.10/8.12.10) with ESMTP id i9HK1hhp002896; Sun, 17 Oct 2004 22:01:43 +0200 (CEST) (envelope-from q@uni.de) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.1/8.13.1) with ESMTP id i9HK1hxR006235; Sun, 17 Oct 2004 22:01:43 +0200 (CEST) (envelope-from q@uni.de) Received: (from q@localhost) by roadrunner.q.local (8.13.1/8.13.1/Submit) id i9HK1hXx006234; Sun, 17 Oct 2004 22:01:43 +0200 (CEST) (envelope-from q@uni.de) Date: Sun, 17 Oct 2004 22:01:43 +0200 From: Ulrich Spoerlein To: Rob Message-ID: <20041017200143.GC842@galgenberg.net> Mail-Followup-To: Rob , freebsd-current References: <41726412.4050001@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yLVHuoLXiP9kZBkt" Content-Disposition: inline In-Reply-To: <41726412.4050001@yahoo.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) cc: freebsd-current Subject: Re: make installkernel with alternative destination. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 20:01:46 -0000 --yLVHuoLXiP9kZBkt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 17.10.2004 at 21:22:42 +0900, Rob wrote: > make installkernel KERNCONF=3DDISKLESS DEST=3D/boot/kernel.diskless >=20 > Is this possible, and is it a reasonable way of doing this? # make kernel KERNCONF=3DDISKLESS INSTKERNNAME=3Ddiskless will put your kernel into /boot/diskless/ Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! PGP Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --yLVHuoLXiP9kZBkt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBcs+nmArGtfDbn0QRAp4vAJ4yEXutxRg1ibDgw/LrHKrwiExesgCfXYSf Ek4y6W0talUHDQL50c7+zn4= =R0YK -----END PGP SIGNATURE----- --yLVHuoLXiP9kZBkt-- From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 20:13:18 2004 Return-Path: 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 A58DE16A4CE for ; Sun, 17 Oct 2004 20:13:18 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id E560743D4C for ; Sun, 17 Oct 2004 20:13:17 +0000 (GMT) (envelope-from kent.hauser@verizon.net) Received: from [192.168.1.103] ([4.26.247.15]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041017201317.XMKX2120.out012.verizon.net@[192.168.1.103]>; Sun, 17 Oct 2004 15:13:17 -0500 From: Kent Hauser To: Vaclav Rehak Date: Sun, 17 Oct 2004 10:12:57 -1000 User-Agent: KMail/1.7 References: <200410151255.02521.kent.hauser@verizon.net> <200410161010.27141.kent.hauser@verizon.net> <20041017132629.GA21191@openbsd.cz> In-Reply-To: <20041017132629.GA21191@openbsd.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410171012.57844.kent.hauser@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [4.26.247.15] at Sun, 17 Oct 2004 15:13:03 -0500 cc: freebsd-current@freebsd.org Subject: [WORKAROUND] Re: usb power turned off by X.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 20:13:18 -0000 Hi, Thanks to a note from Vaclav Rehak, I've a workaround for the USB power problem. Removing extension "glx" from the XF86Config file solved the problem. I still think there's a bug in there -- possibly the UCHI register writes for the Intel 82801DB chip inadvertently clear an extended register bit which supplies power. A utility which queries the controller & possibly allows twiddling of things like power would also be useful. Thanks all for the quick help resolving this problem. Kent On Sunday 17 October 2004 03:26 am, Vaclav Rehak wrote: > It sounds similar to my problem on R40. > Are you using radeon DRM kernel module? > See http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/72224 From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 20:29:38 2004 Return-Path: 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 4D45B16A4D1 for ; Sun, 17 Oct 2004 20:29:38 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4F0DF43D2D for ; Sun, 17 Oct 2004 20:29:37 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail 4632 invoked by uid 65534); 17 Oct 2004 20:29:36 -0000 Received: from p5089FC47.dip.t-dialin.net (EHLO ms.homeip.net) (80.137.252.71) by mail.gmx.net (mp025) with SMTP; 17 Oct 2004 22:29:36 +0200 X-Authenticated: #15946415 Received: from vpnpool01-0360.uni-muenster.de ([128.176.151.114] helo=[192.168.0.148]) by ms.homeip.net with asmtp (TLSv1:AES256-SHA:256) id 1CJHes-0002HB-Oj for freebsd-current@freebsd.org; Sun, 17 Oct 2004 22:29:39 +0200 Message-ID: <4172D626.2060605@gmx.de> Date: Sun, 17 Oct 2004 22:29:26 +0200 From: Jochen Gensch User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4171AA66.2050005@gmx.de> <4172A2D0.2060202@DeepCore.dk> In-Reply-To: <4172A2D0.2060202@DeepCore.dk> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: No booting - ata1-slave: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 20:29:38 -0000 Søren Schmidt wrote: > Maybe not, could you please try the attached patch and let me know if > that helps or not ? Didn't help. It still locks up at the same place. Jochen From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 20:39:37 2004 Return-Path: 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 28E4E16A4CE; Sun, 17 Oct 2004 20:39:37 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABA3C43D46; Sun, 17 Oct 2004 20:39:36 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9HKdVGK033482; Sun, 17 Oct 2004 16:39:31 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9HKdL9G033475; Sun, 17 Oct 2004 16:39:31 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 16:39:21 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Marc UBM Bocklet In-Reply-To: <20041015174542.61606d63.ubm@u-boot-man.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: scottl@FreeBSD.org cc: current@FreeBSD.org Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 20:39:37 -0000 On Fri, 15 Oct 2004, Marc UBM Bocklet wrote: > Panicstring: sodealloc(): so_count 1 > > Brian mentioned something about INVARIANTS obscuring the panic, can that > have something to do with it? > > Oh, kernel compile has just finished, I'll reboot and try the new kernel > with your fix. The good news and the bad news: after spending a day or two hacking up an IP stack simulator to simulate various nasty combinations of TCP packets, I've managed to reproduce the problem, and am able to get a core. I'm currently working on tracking down the problem. Thanks, Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 20:52:22 2004 Return-Path: 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 B5A4E16A4CF for ; Sun, 17 Oct 2004 20:52:22 +0000 (GMT) Received: from 194-185-53-242.f5.ngi.it (194-185-53-242.f5.ngi.it [194.185.53.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6C5143D58 for ; Sun, 17 Oct 2004 20:52:21 +0000 (GMT) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost. [127.0.0.1])i9HKqJ7M035324; Sun, 17 Oct 2004 22:52:20 +0200 (CEST) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost.lab [127.0.0.1]) by einstein.lab (8.13.1/8.13.1) with ESMTP id i9HKrAAL077498; Sun, 17 Oct 2004 22:53:10 +0200 (CEST) (envelope-from mark@einstein.lab) Received: (from mark@localhost) by einstein.lab (8.13.1/8.13.1/Submit) id i9HKr4FF077497; Sun, 17 Oct 2004 22:53:04 +0200 (CEST) (envelope-from mark) Date: Sun, 17 Oct 2004 22:53:04 +0200 From: Marco Trentini To: freebsd-current@freebsd.org Message-ID: <20041017205304.GA83283@einstein.lab> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD einstein.lab 6.0-CURRENT i386 User-Agent: Mutt/1.5.6i cc: buildadm@jp.FreeBSD.org Subject: About iso images (i386) on current.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 20:52:22 -0000 Just so you know I've noted the latest iso image for i386 is 5.2-CURRENT-20040818-JPSNAP.iso and today I've built an iso CURRENT snapshot without problems (with "make release" tool for i386 with MAKE_ISOS=yes NODOC=yes options). -- Marco Trentini mark@remotelab.org http://www.remotelab.org/ From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:00:29 2004 Return-Path: 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 3C88B16A4CE for ; Sun, 17 Oct 2004 21:00:29 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDD6943D2D for ; Sun, 17 Oct 2004 21:00:28 +0000 (GMT) (envelope-from c.widger@comcast.net) Received: from [192.168.90.36] (c-24-5-158-1.client.comcast.net[24.5.158.1]) by comcast.net (sccrmhc12) with ESMTP id <2004101721002701200fuktge> (Authid: c.widger); Sun, 17 Oct 2004 21:00:28 +0000 Message-ID: <41727D98.6090709@comcast.net> Date: Sun, 17 Oct 2004 14:11:36 +0000 From: cwidger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: acd0 FAILURE READ_BIG MEDIUM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:00:29 -0000 uname -r 5.3-BETA7 acd0 : CDRW at ata1-master UDMA33 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0 This happens when there's a DVD in acd0. It doesn't happen when acd0's empty. From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:11:18 2004 Return-Path: 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 7DDF316A4E0 for ; Sun, 17 Oct 2004 21:11:18 +0000 (GMT) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E358F43D31 for ; Sun, 17 Oct 2004 21:11:17 +0000 (GMT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.13.1/8.12.9) with ESMTP id i9HLDh7N067240 for ; Sun, 17 Oct 2004 14:13:43 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.13.1/8.12.9) with ESMTP id i9HLBHZk079260 for ; Sun, 17 Oct 2004 14:11:17 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.13.1/8.13.1/Submit) id i9HLBHLL079259 for freebsd-current@freebsd.org; Sun, 17 Oct 2004 14:11:17 -0700 (PDT) (envelope-from frank) From: Frank Mayhar Message-Id: <200410172111.i9HLBHLL079259@realtime.exit.com> To: freebsd-current@freebsd.org Date: Sun, 17 Oct 2004 14:11:17 -0700 (PDT) X-Copyright0: Copyright 2004 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL119 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: NDIS-related crash FYI. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: frank@exit.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 21:11:19 -0000 Just so folks will know, I uncovered and fixed an NDIS-related LOR last night/this morning. Check out PR 72795 for the details and fix. Turns out ndis_start() was failing to release the NDIS lock on one path through the code... It might explain a number of crashes I saw before I switched wireless cards. After, of course, the system became unusably unstable due the the crashes, it wouldn't run for more than an hour and sometimes only a few minutes before stumbling over the dangling lock. (I also have to say that being able to use the firewire port as the console really made a huge difference; this laptop doesn't have a serial port other than the internal Winmodem.) -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:16:36 2004 Return-Path: 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 1823D16A4D1 for ; Sun, 17 Oct 2004 21:16:36 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE1C743D45 for ; Sun, 17 Oct 2004 21:16:35 +0000 (GMT) (envelope-from marchenko@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so129333rnk for ; Sun, 17 Oct 2004 14:16:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=O/6YjXkw+uOz8JBTs5H7gOaa445gNmnZKpRo9iHVCLBMxOps720+ASKgf2YfkoAjzTMWFKpQZunb3u+4CbNPJeq5f5gFXfui1qweXlRlvzv+gRDr2VXq5fogEgwZBVCjb5uHDLrxe7uoLyDv0Qmv4xcApsvuZvchENz501Pw3UY Received: by 10.38.81.49 with SMTP id e49mr1131958rnb; Sun, 17 Oct 2004 14:16:34 -0700 (PDT) Received: by 10.38.22.66 with HTTP; Sun, 17 Oct 2004 14:16:34 -0700 (PDT) Message-ID: Date: Sun, 17 Oct 2004 17:16:34 -0400 From: Vlad To: Robert Watson In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041015174542.61606d63.ubm@u-boot-man.de> cc: scottl@freebsd.org cc: current@freebsd.org cc: Marc UBM Bocklet Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vlad List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 21:16:36 -0000 Robert, is there a specific condition when that happens? I tried to simulate heavy tcp traffic from number of sources but could not induct the panic by such artificial traffic. It happened to me only in 'natural' way ;) so maybe if you know exactly how to trigger it, and share that with us, we could do some workaround on live production servers so it doesn't happen, until it's fixed in the code? > The good news and the bad news: after spending a day or two hacking up an > IP stack simulator to simulate various nasty combinations of TCP packets, > I've managed to reproduce the problem, and am able to get a core. I'm > currently working on tracking down the problem. -- Vlad From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:25:23 2004 Return-Path: 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 5D6FE16A4CE for ; Sun, 17 Oct 2004 21:25:23 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A771343D2F for ; Sun, 17 Oct 2004 21:25:22 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i9HLPM90043933; Sun, 17 Oct 2004 14:25:22 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <4172E340.20206@freebsd.org> Date: Sun, 17 Oct 2004 14:25:20 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: spam maps References: <20041013172834.81984.qmail@web54008.mail.yahoo.com> In-Reply-To: <20041013172834.81984.qmail@web54008.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current Subject: Re: I deleted /stand/, but I need it again for diskless boot... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:25:23 -0000 I suggest patching /etc/rc.d/initdiskless instead: @@ -299,13 +299,13 @@ cp -Rp $j/* /$subdir fi done - for j in /conf/$i/*.cpio.gz ; do + for j in /conf/$i/*.cpio ; do subdir=${j%*.cpio.gz} subdir=${subdir##*/} if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" - (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d ) + (cd / ; /bin/cat < $j | /bin/pax -r ) fi done for j in /conf/$i/*.remove ; do For some reason, people keep forgetting that /bin/pax can read cpio archives. This patch also eliminates the use of gzip (at the cost of requiring an uncompressed archive, which should not be a problem in practice). If you prefer, you could use /rescue/gzip instead. Cheers, Tim spam maps wrote: > Hello, > > This is 5.3-Beta7. > > Earlier I sensed that /stand/ is more or less > redundant (that all is in /rescue/ with 5.X), so > I deleted this directory. > > However, now that I want to use diskless-bootup, > I seem to need /stand/ again. > > Is there a way to get it back? > > Thanks, > Rob. > > PS: using /rescue/ for that instead would be really > nice :). > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.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 Sun Oct 17 21:27:30 2004 Return-Path: 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 B3C4016A4CE; Sun, 17 Oct 2004 21:27:30 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65FC043D2F; Sun, 17 Oct 2004 21:27:30 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9HLRPSm034142; Sun, 17 Oct 2004 17:27:25 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9HLRP81034139; Sun, 17 Oct 2004 17:27:25 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 17:27:25 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Vlad In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: scottl@freebsd.org cc: current@freebsd.org cc: Marc UBM Bocklet Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:27:30 -0000 On Sun, 17 Oct 2004, Vlad wrote: > is there a specific condition when that happens? I tried to simulate > heavy tcp traffic from number of sources but could not induct the panic > by such artificial traffic. It happened to me only in 'natural' way ;) > > so maybe if you know exactly how to trigger it, and share that with us, > we could do some workaround on live production servers so it doesn't > happen, until it's fixed in the code? Yeah -- I'm cleaning up the reproduction pieces and will commit them to the FreeBSD source tree in the regression area this evening or tomorrow. Basically, the race that seems to currently be triggering occurs when there's a simultaneous close() on a socket at the same time as a RST is received on the socket causing the protocol to also try and close the socket. I reproduce it by running the tcpconnect server (in the regression tree) on a TCP port, then running the test tool so that it connects and immediately resets the connection. I.e., it sounds like a reference count issue due to sockets using a slightly aberrant reference model. I'll try to come up with a workaround sometime in the next 12-24 hours, and hopefully also a proper fix. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > > > > The good news and the bad news: after spending a day or two hacking up an > > IP stack simulator to simulate various nasty combinations of TCP packets, > > I've managed to reproduce the problem, and am able to get a core. I'm > > currently working on tracking down the problem. > > -- > Vlad > From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:42:37 2004 Return-Path: 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 EE9ED16A4CE; Sun, 17 Oct 2004 21:42:37 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A344E43D2F; Sun, 17 Oct 2004 21:42:37 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-67-124-50-20.dsl.snfc21.pacbell.net [67.124.50.20])i9HLgPxQ169726; Sun, 17 Oct 2004 17:42:26 -0400 Message-ID: <4172E741.7080508@elischer.org> Date: Sun, 17 Oct 2004 14:42:25 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Vlad cc: scottl@freebsd.org cc: current@freebsd.org cc: Marc UBM Bocklet Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:42:38 -0000 I.e., it sounds like a > reference count issue due to sockets using a slightly aberrant reference > model. I'll try to come up with a workaround sometime in the next 12-24 > hours, and hopefully also a proper fix. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Principal Research Scientist, McAfee Research At the risk of sounding like a broken record, if we had a central policy on how reference counts were done, and library/include support for doing it we would be some distance ahead fo where we are now.. There are too many examples of "aberrant reference model". From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:57:09 2004 Return-Path: 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 EDF8916A4CE for ; Sun, 17 Oct 2004 21:57:09 +0000 (GMT) Received: from imap.univie.ac.at (mailbox-lmtp.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E69FA43D58 for ; Sun, 17 Oct 2004 21:57:08 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben.prv.univie.ac.at (korben.prv.univie.ac.at [131.130.7.98]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i9HLv2To383350; Sun, 17 Oct 2004 23:57:03 +0200 Date: Sun, 17 Oct 2004 23:57:04 +0200 (CEST) From: Lukas Ertl To: Frank Mayhar In-Reply-To: <200410172111.i9HLBHLL079259@realtime.exit.com> Message-ID: <20041017235552.H569@korben.prv.univie.ac.at> References: <200410172111.i9HLBHLL079259@realtime.exit.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx7.univie.ac.at 4247; Body=2 Fuz1=2 Fuz2=2 cc: freebsd-current@FreeBSD.org Subject: Re: NDIS-related crash FYI. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:57:10 -0000 On Sun, 17 Oct 2004, Frank Mayhar wrote: > Just so folks will know, I uncovered and fixed an NDIS-related LOR last > night/this morning. Check out PR 72795 for the details and fix. Turns > out ndis_start() was failing to release the NDIS lock on one path > through the code... Confirmed. I had problems with my laptop since Oct 7, complete freezes without any warning after a few minutes of network activity. With this patch, it seems fine. Thanks, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:58:28 2004 Return-Path: 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 48AD716A4CE; Sun, 17 Oct 2004 21:58:28 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id E23E543D46; Sun, 17 Oct 2004 21:58:27 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-67-124-50-20.dsl.snfc21.pacbell.net [67.124.50.20])i9HLwQSX138420; Sun, 17 Oct 2004 17:58:26 -0400 Message-ID: <4172EB01.9010202@elischer.org> Date: Sun, 17 Oct 2004 14:58:25 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: Robert Watson References: <4172E741.7080508@elischer.org> In-Reply-To: <4172E741.7080508@elischer.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Kernel frameworks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:58:28 -0000 Julian Elischer wrote: > I.e., it sounds like a > >> reference count issue due to sockets using a slightly aberrant reference >> model. I'll try to come up with a workaround sometime in the next 12-24 >> hours, and hopefully also a proper fix. >> >> Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >> robert@fledge.watson.org Principal Research Scientist, McAfee >> Research > > > At the risk of sounding like a broken record, if we had a central policy > on how > reference counts were done, and library/include support for doing it we > would > be some distance ahead fo where we are now.. > > There are too many examples of "aberrant reference model". One of the things that John Dyson wanted to do before he overloaded and had to take things easy for a while, was to rewrite FreeBSD in another language. These days I tend to agree with him on this.. My gut feeling is that the same algorythms and data structure mechanisms keep occuring again and again in teh kernel, and that it should be possible to specify the kernel in a meta-language (also known as a Very High Level Language) and generate the result. I've actually thought a little about this. I havent seen a language that fits the bill yet. Does anyone have a favourite VHLL that they think could be used to describe a kernel? My suspicion is that the descriptions would be such that we'd probably have to create our own KDS (Kernel descripion Language :-) With Gigabyte machines now however, it is becoming feasible to create very large semantic and symbolic maps and model things that only a few years ago would have been impossible. Various frameworks such as geom, vfs, the BSD network stacks, netgraph, process/thread hieararchies, the VM pmap and object layers, teh tty code (now) etc. could all be described in some way I'm sure. For example there are many fields in the proc structure, the existance of which should be deducible from a description of what structures exist and how they should be linked together. it should not be neccesary that a human programmer needs to specify them. In the same manner locking in these cases could be automaticall generated.. Oh well.. enough dreaming. > > _______________________________________________ > 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 Oct 17 21:58:50 2004 Return-Path: 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 BA27A16A4CE; Sun, 17 Oct 2004 21:58:50 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D88C43D1D; Sun, 17 Oct 2004 21:58:50 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9HLwhWb034612; Sun, 17 Oct 2004 17:58:43 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9HLwhBF034609; Sun, 17 Oct 2004 17:58:43 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 17:58:43 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: <4172E741.7080508@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Vlad cc: scottl@freebsd.org cc: current@freebsd.org cc: Marc UBM Bocklet Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 21:58:50 -0000 On Sun, 17 Oct 2004, Julian Elischer wrote: > I.e., it sounds like a > > reference count issue due to sockets using a slightly aberrant reference > > model. I'll try to come up with a workaround sometime in the next 12-24 > > hours, and hopefully also a proper fix. > > At the risk of sounding like a broken record, if we had a central policy > on how reference counts were done, and library/include support for doing > it we would be some distance ahead fo where we are now.. > > There are too many examples of "aberrant reference model". I've actually looked a little at normalizing socket reference counting, but it uses a moderate number of "Weak" references, including a reference from the protocol that isn't counted, as well as possible references from the listen queues. It is my intent to investigate this more, and possibly move to a more normal referencing scheme, but not before 5.3. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 22:01:51 2004 Return-Path: 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 0AF3F16A4CE for ; Sun, 17 Oct 2004 22:01:51 +0000 (GMT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id E559243D46 for ; Sun, 17 Oct 2004 22:01:49 +0000 (GMT) (envelope-from lists-freebsd-current@biaix.org) Received: (qmail 13326 invoked by uid 1000); 17 Oct 2004 21:59:30 -0000 Date: Sun, 17 Oct 2004 23:59:30 +0200 From: Joan Picanyol To: freebsd-current@freebsd.org Message-ID: <20041017215930.GA13178@grummit.biaix.org> Mail-Followup-To: freebsd-current@freebsd.org References: <20041014110752.GA57541@grummit.biaix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: NFS issues on BETA7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 22:01:51 -0000 * gnn@freebsd.org [20041014 14:19]: > At Thu, 14 Oct 2004 13:07:52 +0200, > Joan Picanyol wrote: > > What else should I do to debug this further? > > Is this easy to reproduce? It actually is as easy as cp'ing a local file to an NFS mount. > Is it intermittent? I've been able to reproduce it with a fresh install of BETA7, which should leave out any configuration issues... tks -- pica From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 22:38:55 2004 Return-Path: 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 ADC6516A4CE for ; Sun, 17 Oct 2004 22:38:55 +0000 (GMT) Received: from server.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2CD943D41 for ; Sun, 17 Oct 2004 22:38:54 +0000 (GMT) (envelope-from ale@FreeBSD.org) Received: from [192.168.0.101] (thunder.alexdupre.com [192.168.0.101]) i9HMcpIS034781; Mon, 18 Oct 2004 00:38:52 +0200 (CEST) (envelope-from ale@FreeBSD.org) Message-ID: <4172F47B.7020403@FreeBSD.org> Date: Mon, 18 Oct 2004 00:38:51 +0200 From: Alex Dupre User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marco Trentini References: <20041017205304.GA83283@einstein.lab> In-Reply-To: <20041017205304.GA83283@einstein.lab> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: buildadm@jp.FreeBSD.org cc: freebsd-current@FreeBSD.org Subject: Re: About iso images (i386) on current.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 22:38:55 -0000 Marco Trentini wrote: > Just so you know I've noted the latest iso image for i386 is > 5.2-CURRENT-20040818-JPSNAP.iso and today I've built an iso > CURRENT snapshot without problems (with "make release" tool > for i386 with MAKE_ISOS=yes NODOC=yes options). From the snapshots.jp.FreeBSD.org website: * Due to some script errors, ISO-IMAGES creation is stopped for a while. Sorry for inconveniences. (Aug/19/2004) You can get an updated ISO from snapshots.se.FreeBSD.org. -- Alex Dupre From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 23:28:31 2004 Return-Path: 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 2CF8A16A4CE for ; Sun, 17 Oct 2004 23:28:31 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 051DB43D45 for ; Sun, 17 Oct 2004 23:28:31 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 14773 invoked from network); 17 Oct 2004 23:28:30 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Oct 2004 23:28:30 -0000 Received: from hydrogen.funkthat.com (bczgzu@localhost.funkthat.com [127.0.0.1])i9HNSTlb011822; Sun, 17 Oct 2004 16:28:29 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i9HNSRWU011821; Sun, 17 Oct 2004 16:28:27 -0700 (PDT) Date: Sun, 17 Oct 2004 16:28:27 -0700 From: John-Mark Gurney To: Sean McNeil Message-ID: <20041017232827.GZ22681@funkthat.com> Mail-Followup-To: Sean McNeil , freebsd-current@freebsd.org References: <1097896460.1123.2.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1097896460.1123.2.camel@server.mcneil.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE 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: freebsd-current@freebsd.org Subject: Re: re0 fix that works with polling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 17 Oct 2004 23:28:31 -0000 Sean McNeil wrote this message on Fri, Oct 15, 2004 at 20:14 -0700: > The following changes allows me to stream a 15Mbps video content with > re0 and not lose any packets. I had to decrease the timer count so it > checks more often and I modified it so that polling disables all but the > timer interrupt. Attached is a patch to -current. Ok, interesting... now are you sure that adding re_txeof in re_start is better than properly fixing it so that we can make use of the extra tx descriptors that the 8169 supports? Right now it is hardcoded to 64 because that is all that the 8110 supports iirc, but the 8164 supports upto 1024 tx descriptors... I have thought about properly extracting the rings so that we can have different sized tx and rx ring sizes also adjust ring size based upon data rate... Also, do you know of the tx timer changes fire rate dependant upon the speed of the link.. the 8169 data sheet gives no specifics on what the rate of the time is and approrpriate values.. I'll do some tests shortly to see about these issues... -- 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 Sun Oct 17 23:30:50 2004 Return-Path: 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 CB39C16A4CE for ; Sun, 17 Oct 2004 23:30:50 +0000 (GMT) Received: from amber.ccs.neu.edu (amber.ccs.neu.edu [129.10.116.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99E4B43D39 for ; Sun, 17 Oct 2004 23:30:50 +0000 (GMT) (envelope-from bass@ccs.neu.edu) Received: from atlantis.ccs.neu.edu ([129.10.116.41]) by amber.ccs.neu.edu with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.34) id 1CJKUD-0007Yv-N8 for freebsd-current@freebsd.org; Sun, 17 Oct 2004 19:30:50 -0400 Received: from bass by atlantis.ccs.neu.edu with local (Exim 4.34) id 1CJKUD-0001Fv-Hx for freebsd-current@freebsd.org; Sun, 17 Oct 2004 19:30:49 -0400 Date: Sun, 17 Oct 2004 19:30:49 -0400 From: Ian Langworth To: freebsd-current@freebsd.org Message-ID: <20041017233049.GB4336@atlantis.ccs.neu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://langworth.com/downloads/langworth.pub User-Agent: Mutt/1.5.4i Subject: wicontrol man page X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 23:30:50 -0000 Looking at the `wicontrol' man page, it seems that the described functionality of two options is reversed: wicontrol [-i] iface -l (dump associated stations) wicontrol [-i] iface -L (list available access points) It seems that -l actually lists any available access points and -L actually lists the access point that I'm associated with. Can anyone else confirm this? -- Ian Langworth Project Guerrilla Northeastern University College of Computer and Information Science From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 23:43:30 2004 Return-Path: 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 92FCF16A4CE for ; Sun, 17 Oct 2004 23:43:30 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B02243D2D for ; Sun, 17 Oct 2004 23:43:30 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 27824 invoked from network); 17 Oct 2004 23:43:29 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Oct 2004 23:43:29 -0000 Received: from hydrogen.funkthat.com (bqjylq@localhost.funkthat.com [127.0.0.1])i9HNhTlb012213; Sun, 17 Oct 2004 16:43:29 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i9HNhSHc012212; Sun, 17 Oct 2004 16:43:28 -0700 (PDT) Date: Sun, 17 Oct 2004 16:43:28 -0700 From: John-Mark Gurney To: Pawel Worach Message-ID: <20041017234328.GA22681@funkthat.com> Mail-Followup-To: Pawel Worach , current@freebsd.org, phk@freebsd.org References: <4171C37D.4030708@telia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4171C37D.4030708@telia.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE 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: current@freebsd.org Subject: Re: page fault panic in knote X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 17 Oct 2004 23:43:30 -0000 Pawel Worach wrote this message on Sun, Oct 17, 2004 at 02:57 +0200: > This happened on shutdown, I think I magially hit enter twice > when I fired off the shutdown command. This is on RELENG_5 from > 2004-10-11. The system was also running in single-user at the time > so no crash dump. This is a known issue.. On most systems it has a chance of working if you're rebooting the system from serial console.. The problem is that the tty struct is not properly initalized and/or not properly destroyed.. phk, have you completed the use of ttymalloc, etc. so that all struct tty's are properly initalized? -- 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 Sun Oct 17 23:56:55 2004 Return-Path: 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 56CB616A4CE for ; Sun, 17 Oct 2004 23:56:55 +0000 (GMT) Received: from sage.ts.co.nz (sage.tasman.net [202.49.92.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 701C843D3F for ; Sun, 17 Oct 2004 23:56:54 +0000 (GMT) (envelope-from marcos@ThePacific.Net) Received: from sage.ts.co.nz ([172.16.21.1]) by sage.ts.co.nz (8.12.11/8.12.10) with ESMTP id i9HNuned000657 for ; Mon, 18 Oct 2004 12:56:52 +1300 Received: from [172.16.20.10] (gateway-nelson.thepacific.net [202.49.95.33]) by sage.ts.co.nz (8.12.11/8.12.10) with ESMTP id i9HNr8Ht032081; Mon, 18 Oct 2004 12:53:08 +1300 Message-ID: <41730551.6090801@ThePacific.Net> Date: Mon, 18 Oct 2004 12:50:41 +1300 From: "Marcos Biscaysaqu - ThePacific.net" User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040910) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ian Langworth , freebsd-current@freebsd.org References: <20041017233049.GB4336@atlantis.ccs.neu.edu> In-Reply-To: <20041017233049.GB4336@atlantis.ccs.neu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: wicontrol man page X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Oct 2004 23:56:55 -0000 wicontrol -i iface -L list all the AP available, and wicontrol -i iface -l will gi've you the stations connected. Ian Langworth wrote: >Looking at the `wicontrol' man page, it seems that the described >functionality of two options is reversed: > > wicontrol [-i] iface -l (dump associated stations) > wicontrol [-i] iface -L (list available access points) > >It seems that -l actually lists any available access points and >-L actually lists the access point that I'm associated with. > >Can anyone else confirm this? > > > From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 00:29:06 2004 Return-Path: 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 78F4B16A4CE for ; Mon, 18 Oct 2004 00:29:06 +0000 (GMT) Received: from amber.ccs.neu.edu (amber.ccs.neu.edu [129.10.116.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D4C343D4C for ; Mon, 18 Oct 2004 00:29:06 +0000 (GMT) (envelope-from bass@ccs.neu.edu) Received: from atlantis.ccs.neu.edu ([129.10.116.41]) by amber.ccs.neu.edu with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.34) id 1CJLOb-00058p-Ch; Sun, 17 Oct 2004 20:29:05 -0400 Received: from bass by atlantis.ccs.neu.edu with local (Exim 4.34) id 1CJLOb-00049h-6W; Sun, 17 Oct 2004 20:29:05 -0400 Date: Sun, 17 Oct 2004 20:29:05 -0400 From: Ian Langworth To: "Marcos Biscaysaqu - ThePacific.net" Message-ID: <20041018002905.GC15283@atlantis.ccs.neu.edu> References: <20041017233049.GB4336@atlantis.ccs.neu.edu> <41730551.6090801@ThePacific.Net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41730551.6090801@ThePacific.Net> X-PGP-Key: http://langworth.com/downloads/langworth.pub User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: wicontrol man page X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 00:29:06 -0000 On 18.Oct.2004 12:50PM +1300, Marcos Biscaysaqu - ThePacific.net wrote: > wicontrol -i iface -L list all the AP available, and wicontrol > -i iface -l will gi've you the stations connected. Right, that's what the manual page says. However, this doesn't look like the list of all APs available: $ wicontrol -i ndis0 -L NIC serial number: [ ] Station name: [ omni.langworth.com ] SSID for IBSS creation: [ Unit 21 ] Current netname (SSID): [ Unit 21 ] Desired netname (SSID): [ Unit 21 ] Current BSSID: [ 00:00:00:00:00:00 ] Channel list: [ 3fff ] IBSS channel: [ 1 ] ... WEP encryption: [ Off ] TX encryption key: [ 1 ] Encryption keys: [ ][ ][ ][ ] Available APs: wicontrol: SIOCSWAVELAN: Operation not permitted Instead, it looks like the AP that I'm conencted to, but this sure doesn't: $ wicontrol -i ndis0 -l 8 stations: ap[0]: netname (SSID): [ linksys ] BSSID: [ 00:06:25:e8:1c:13 ] Channel: [ 1 ] Quality/Signal/Noise [signal]: [ 80 / 80 / 0 ] [dBm]: [ 80 / -69 / -149 ] BSS Beacon Interval [msec]: [ 0 ] Capinfo: [ ] DataRate [Mbps]: [ 11 ] ... ap[7]: netname (SSID): [ Unit 19 ] BSSID: [ 00:0f:66:b9:6e:21 ] Channel: [ 6 ] Quality/Signal/Noise [signal]: [ 65 / 65 / 0 ] [dBm]: [ 65 / -84 / -149 ] BSS Beacon Interval [msec]: [ 0 ] Capinfo: [ WEP ] -- Ian Langworth Project Guerrilla Northeastern University College of Computer and Information Science From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 00:38:13 2004 Return-Path: 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 0AABA16A4CE; Mon, 18 Oct 2004 00:38:13 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83F6943D58; Mon, 18 Oct 2004 00:38:12 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101809:36:47:306728.15513.2876242864 for ; Mon, 18 Oct 2004 09:36:47 +0900 (KST) Message-ID: <41731071.2030405@yahoo.com> Date: Mon, 18 Oct 2004 09:38:09 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Kientzle , freebsd-current References: <20041013172834.81984.qmail@web54008.mail.yahoo.com> <4172E340.20206@freebsd.org> In-Reply-To: <4172E340.20206@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-7.65) (SRN:SPAMROBOT) ----------------- Subject: Re: I deleted /stand/, but I need it again for diskless boot... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 00:38:13 -0000 Tim Kientzle wrote: > I suggest patching /etc/rc.d/initdiskless instead: > > @@ -299,13 +299,13 @@ > cp -Rp $j/* /$subdir > fi > done > - for j in /conf/$i/*.cpio.gz ; do > + for j in /conf/$i/*.cpio ; do > subdir=${j%*.cpio.gz} > subdir=${subdir##*/} > if [ -f $j ]; then > create_md $subdir > echo "Loading /$subdir from cpio archive $j" > - (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d ) > + (cd / ; /bin/cat < $j | /bin/pax -r ) > fi > done > for j in /conf/$i/*.remove ; do > > For some reason, people keep forgetting > that /bin/pax can read cpio archives. > This patch also eliminates the use of gzip > (at the cost of requiring an uncompressed archive, > which should not be a problem in practice). > If you prefer, you could use /rescue/gzip > instead. The old initdiskless script worked fine for me. So I replaced only the line with /stand/ by following: (cd / ; /rescue/gzip -d < $j | /bin/pax -r ) and then my diskless boot stops working !?!?! The kernel seems to load fine. Unfortunately the boot process is not at all verbose. In both cases I see the long array of dots while loading the kernel with the 'done' at the end. After that nothing but "dark silence" until the PC is up and running with the login prompt. That loging prompt never appears when using the /rescue/ line above (yes, I've waiting a really long time :). When I change it back to the old line with /stand/, everything is fine again. Just for double checking that these commands are there: # ls -als /rescue/gzip /bin/pax 82 -r-xr-xr-x 1 root wheel 82852 Oct 15 20:17 /bin/pax 3616 -r-xr-xr-x 135 root wheel 3680076 Oct 15 20:19 /rescue/gzip So, any idea what's the misterious logic here? Does 'pax' depend on something that has not been mounted yet on the diskless PC? I don't know how to investigate this, because there's no output to the screen during bootup. Regards, Rob. From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 01:08:34 2004 Return-Path: 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 30BA216A4CE for ; Mon, 18 Oct 2004 01:08:34 +0000 (GMT) Received: from s1.stradamotorsports.com (ip30.gte215.dsl-acs2.sea.iinet.com [209.20.215.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B4E643D2D for ; Mon, 18 Oct 2004 01:08:33 +0000 (GMT) (envelope-from jcw@highperformance.net) Received: from [192.168.1.16] ([192.168.1.16])i9I18V8m081997 for ; Sun, 17 Oct 2004 18:08:31 -0700 (PDT) (envelope-from jcw@highperformance.net) Date: Sun, 17 Oct 2004 18:08:32 -0700 From: "Jason C. Wells" To: freebsd-current@freebsd.org Message-ID: X-Mailer: Mulberry/3.1.5 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Status: No, hits=0.0 required=4.0 tests=none version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Prevent Installing Includes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 01:08:34 -0000 Is there an easy way to prevent installation of include headers while running make installworld? Perhaps there is a NO_INCLUDE make option that my search didn't uncover. Thanks, Jason C. Wells From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 01:12:37 2004 Return-Path: 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 D086516A4CE for ; Mon, 18 Oct 2004 01:12:37 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7C9F43D5A for ; Mon, 18 Oct 2004 01:12:37 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 3361 invoked from network); 18 Oct 2004 01:12:37 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Oct 2004 01:12:37 -0000 Received: from hydrogen.funkthat.com (mrgrip@localhost.funkthat.com [127.0.0.1])i9I1Calb014220; Sun, 17 Oct 2004 18:12:37 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i9I1CZGX014219; Sun, 17 Oct 2004 18:12:35 -0700 (PDT) Date: Sun, 17 Oct 2004 18:12:35 -0700 From: John-Mark Gurney To: Sean McNeil , freebsd-current@freebsd.org Message-ID: <20041018011235.GB22681@funkthat.com> Mail-Followup-To: Sean McNeil , freebsd-current@freebsd.org References: <1097896460.1123.2.camel@server.mcneil.com> <20041017232827.GZ22681@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041017232827.GZ22681@funkthat.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE 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 Subject: Re: re0 fix that works with polling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 18 Oct 2004 01:12:37 -0000 John-Mark Gurney wrote this message on Sun, Oct 17, 2004 at 16:28 -0700: > I'll do some tests shortly to see about these issues... Ok, I played around w/ rwatson's netsend program, and I was able to send 1316 byte payload udp packets at about 28kpps w/o problems.. I was not able to confirm that no packets were loss, BUT, netstat did show very close to 28kpps received... At 28kpps, it's far exceeds your problem of 15Mbps, it is about 38megbytes/sec.. What does your dmesg say about your re0? Mine is: re0: port 0xe000-0xe0ff mem 0xe8002000-0xe80020ff irq 11 at device 11.0 on pci0 re0: Ethernet address: 00:50:fc:f7:5b:d0 and it's more specificly a 32-bit ConnectGear G30TX-32. -- 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 Mon Oct 18 02:20:21 2004 Return-Path: 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 3D53216A4D1 for ; Mon, 18 Oct 2004 02:20:21 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0556A43D46 for ; Mon, 18 Oct 2004 02:20:21 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id i9I2KJRu050673; Sun, 17 Oct 2004 19:20:19 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id i9I2KHQb050672; Sun, 17 Oct 2004 19:20:17 -0700 (PDT) (envelope-from obrien) Date: Sun, 17 Oct 2004 19:20:17 -0700 From: "David O'Brien" To: Xin LI Message-ID: <20041018022017.GA50477@dragon.nuxi.com> References: <20041016174925.GA96809@dragon.nuxi.com> <20041017153856.GA460@frontfree.net> <20041017182716.GB41354@dragon.nuxi.com> <20041017183525.GA1717@frontfree.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041017183525.GA1717@frontfree.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-current@freebsd.org Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 02:20:21 -0000 On Mon, Oct 18, 2004 at 02:35:25AM +0800, Xin LI wrote: > On Sun, Oct 17, 2004 at 11:27:16AM -0700, David O'Brien wrote: > > We've already so desupported running 6-CURRENT on the original i386 > > processor, I'd rather not create the appearance that it is still > > supported and easy to do by simply defining one thing. > > Um... What about something like this: > > 200410XX: > With several performance and maintaince considerations, we are now > discouraging using newer FreeBSD on ancient hardware, e.g. 80386. > While it is still possible to define some symbols to get it ``just > work'', The problem is I don't think it is true that "it is still possible to [just] define some symbols". This commit to i386 GENERIC 3 years ago means no one has tested a kernel on a real I386 in a long time. ---------------------------- revision 1.296 date: 2001/01/14 10:11:10; author: jhb; state: Exp; lines: +2 -2 Remove I386_CPU from GENERIC. Support for the 386 seriously pessimizes performance on other x86 processors. Custom kernels can still be built that will run on the 386. ---------------------------- I remember someone tried a few years ago after this commit to get FreeBSD 5-CURRENT running on an I386 and had to hack some things to get it work. Since no one has reported success in doing this since then I'm willing to bet you dinner next time I'm in Bejing that we've broken running on real I386's w/o realizing it. -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 02:26:36 2004 Return-Path: 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 156E216A4CE; Mon, 18 Oct 2004 02:26:36 +0000 (GMT) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3D4D43D48; Mon, 18 Oct 2004 02:26:35 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from [192.168.0.10] (jn@c-24-2-72-123.client.comcast.net [24.2.72.123]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id i9I2QZ7j013652; Sun, 17 Oct 2004 19:26:35 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-current@freebsd.org, obrien@freebsd.org Date: Sun, 17 Oct 2004 20:25:55 -0600 User-Agent: KMail/1.7 References: <20041016174925.GA96809@dragon.nuxi.com> <20041017183525.GA1717@frontfree.net> <20041018022017.GA50477@dragon.nuxi.com> In-Reply-To: <20041018022017.GA50477@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410172025.55534.lists@jnielsen.net> X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on ns1.jnielsen.net X-Virus-Status: Clean Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 02:26:36 -0000 On Sunday 17 October 2004 08:20 pm, David O'Brien wrote: > I remember someone tried a few years ago after this commit to get FreeBSD > 5-CURRENT running on an I386 and had to hack some things to get it work. > Since no one has reported success in doing this since then I'm willing to > bet you dinner next time I'm in Bejing that we've broken running on real > I386's w/o realizing it. Just to add a data point- I installed FreeBSD 5.2 or thereabouts on a 386DX machine some months ago without any unexpected trouble. (The expected trouble involved making a custom world and set of installation floppies.) I think I set it up to act as a firewall/router, but don't remember if I tested it out much. It's currently in storage.so I can't fire it up to play with too easily. JN From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 02:39:44 2004 Return-Path: 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 9802616A4CE; Mon, 18 Oct 2004 02:39:44 +0000 (GMT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3107743D31; Mon, 18 Oct 2004 02:39:44 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.13.0/8.13.0) with ESMTP id i9I2dcdP003208; Sun, 17 Oct 2004 22:39:40 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20041018022017.GA50477@dragon.nuxi.com> References: <20041016174925.GA96809@dragon.nuxi.com> <20041017153856.GA460@frontfree.net> <20041017182716.GB41354@dragon.nuxi.com> <20041017183525.GA1717@frontfree.net> <20041018022017.GA50477@dragon.nuxi.com> Date: Sun, 17 Oct 2004 22:39:37 -0400 To: obrien@freebsd.org, Xin LI From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-current@freebsd.org Subject: Re: [PATCH] optimizing X now that we don't support i386 CPU's on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 02:39:44 -0000 At 7:20 PM -0700 10/17/04, David O'Brien wrote: > > ---------------------------- > revision 1.296 > date: 2001/01/14 10:11:10; author: jhb; state: Exp; lines: +2 -2 > Remove I386_CPU from GENERIC. Support for the 386 seriously > pessimizes performance on other x86 processors. Custom kernels > can still be built that will run on the 386. > ---------------------------- > >I remember someone tried a few years ago after this commit to get >FreeBSD 5-CURRENT running on an I386 and had to hack some things to >get it work. Since no one has reported success in doing this since >then I'm willing to bet you dinner next time I'm in Bejing that we've >broken running on real I386's w/o realizing it. For what it's worth, I was also under the impression that we were going to recommend that people running a "genuine 80386" chip should probably stick with the 4.x-series of releases. Even if 5.3 works on 80386 right now, I was not sure that it would continue to work for the life of the 5.x series. I don't know where I picked up that idea, but even if we are supporting 80386 for 5.x then I think we should be able to drop it for 6.x. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 03:03:38 2004 Return-Path: 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 DC94E16A4CE for ; Mon, 18 Oct 2004 03:03:37 +0000 (GMT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 290A843D46 for ; Mon, 18 Oct 2004 03:03:35 +0000 (GMT) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id i9I32fZg027602 for ; Mon, 18 Oct 2004 12:32:41 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by ednmsw503.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Mon, 18 Oct 2004 12:33:28 +0930 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81]) by muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id i9I2vah27036 for ; Mon, 18 Oct 2004 12:27:36 +0930 (CST) Received: from squash.dsto.defence.gov.au ([131.185.40.212]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id RZJB5XLQ; Mon, 18 Oct 2004 12:27:22 +0930 Received: from squash.dsto.defence.gov.au (localhost [127.0.0.1]) by squash.dsto.defence.gov.au (8.12.11/8.12.11) with ESMTP id i9I2vaxH002042 for ; Mon, 18 Oct 2004 12:27:36 +0930 (CST) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by squash.dsto.defence.gov.au (8.12.11/8.12.11/Submit) id i9I2vaEh002041 for freebsd-current@freebsd.org; Mon, 18 Oct 2004 12:27:36 +0930 (CST) (envelope-from wilkinsa) Date: Mon, 18 Oct 2004 12:27:36 +0930 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20041018025733.GA2026@squash.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org References: <20041015082424.GA786@squirm.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Subject: Re: RELENG_5 panic [nic: _mtx_lock_sleep: recursed on non-recursivemutex nfsd_mtx] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 03:03:38 -0000 1. The NFS server code is compiled into the kernel: options NFSCLIENT options NFSSERVER 2. The following NFS entries are in /etc/rc.conf nfs_client_enable="YES" nfs_server_enable="NO" 3. I upgraded to: FreeBSD 5.3-BETA7 #3: Sun Oct 17 18:51:58 CST 2004 and the panic hasn't happened since. Something else to note is that IPv6 was not compiled into the kernel. - aW 0n Sun, Oct 17, 2004 at 10:19:34AM -0400, Robert Watson wrote: On Fri, 15 Oct 2004, Wilkinson, Alex wrote: > Hi all, > > I currently get a panic with "nfs_server_enable=YES" in /etc/rc.conf. > > OS: FreeBSD 5.3-BETA4 #2: Tue Sep 14 13:55:30 UTC 2004 > > Backtrace > --------- > > panic: _mtx_lock_sleep: recursed on non-recursive mutex nfsd_mtx @ /usr /src/sys/nfsserver/nfs_serv.c:1947 Is the NFS server code compiled into your kernel, or is it getting loaded as a module? Do you have any other NFS-related entries in /etc/rc.conf? Could you show the output of "show locks" and "show witness" with witness compiled into the kernel? Thanks! Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > cpuid = 0 > KDB: enter: panic > [thread 100074] > Stopped at kdb_enter+0x32: leave > db> tr > kdb_enter(c068ba66,0,c068aed8,dd2ed90c,c1b6b340) at kdb_enter+0x32 > panic(c068aed8,c069885f,c0698617,79b,c0698617) at panic+0x1b0 > _mtx_lock_sleep(c071c940,c1b6b340,0,c0698617,79b) at _mtx_lock_sleep+0x16e > _mtx_lock_flags(c071c940,0,c0698617,79b,0) at _mtx_lock_flags+0xb0 > nfsrv_create(c1eb6800,c1b98800,c1b6b340,dd2edc8c,0) at nfsrv_create+0x8c4 > nfssvc(c1b6b340,dd2edd14,8,0,2) at nfssvc+0x6ea > syscall(2f,2f,2f,0,0) at syscall+0x13b > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (155, FreeBSD ELF32, nfssvc), eip = 0x280c60bf, esp = 0xbfbfeb1c, eb p = 0xbfbfeb38 --- > > > - aW > _______________________________________________ > 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 Mon Oct 18 03:22:36 2004 Return-Path: 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 6633116A4CE for ; Mon, 18 Oct 2004 03:22:36 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A05743D31 for ; Mon, 18 Oct 2004 03:22:36 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101812:21:08:965736.15513.2853850032 for ; Mon, 18 Oct 2004 12:21:08 +0900 (KST) Message-ID: <417336FA.7080708@yahoo.com> Date: Mon, 18 Oct 2004 12:22:34 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-5.69) (SRN:SPAMROBOT) ----------------- Subject: 5.3-Beta7: diskless boot up does not show boot messages on screen. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 03:22:36 -0000 Hello, I am now successfully booting a diskless PC with 5.3-Beta7, using an etherboot floppy. I can see the initial boot up from floppy, followed by the downloading of the kernel ("..................done"). But after that no more messages on the screen anymore, until after a while the login prompt appears. The diskless PC does produce a legitimate /var/run/dmesg.boot. So I can inspect the bootup process after a successful boot. However, if there's a boot problem, I do not at all get a clue what's going wrong. A verbose boot up on the screen is then of vital importance. So why do i not get any verbose boot up of the kernel messages with the diskless boot? Rob. From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 03:28:50 2004 Return-Path: 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 2C22D16A4CE for ; Mon, 18 Oct 2004 03:28:50 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC73043D1F for ; Mon, 18 Oct 2004 03:28:49 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101812:27:23:557052.15513.2963467184 for ; Mon, 18 Oct 2004 12:27:23 +0900 (KST) Message-ID: <41733871.5040708@yahoo.com> Date: Mon, 18 Oct 2004 12:28:49 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current References: <4171D3AE.8010601@yahoo.com> <4171EACE.4020602@gamersimpact.com> <4172538A.9080906@yahoo.com> In-Reply-To: <4172538A.9080906@yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:1.91) (by Terrace) Subject: Re: 5.3-Beta7 diskless boot: it boots but has empty /var (on/dev/md1) !? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 03:28:50 -0000 Rob wrote: > Ryan Sommers wrote: > >> Rob wrote: >> >>> However, on the diskless PC, /var is on a memory >>> disk, but that directory is completely empty: >>> >>> disklessPC# ls -a /var >>> . .. .snap >>> >>> disklessPC# mount >>> 192.168.123.254:/ on / (nfs, read-only) >>> devfs on /dev (devfs, local) >>> /dev/md0 on /etc (ufs, local, soft-updates) >>> procfs on /proc (procfs, local) >>> /dev/md1 on /var (ufs, local, soft-updates) >>> 192.168.123.254:/usr on /usr (nfs, read-only) >>> 192.168.123.254:/home on /home (nfs) >>> /dev/md2 on /tmp (ufs, local, soft-updates) >>> >>> This has serious consequences on the diskless PC. >>> For example, sshd cannot start because /var/empty >>> is not there. There is no information in /var/run, >>> /var/log etc. >>> >>> Is something missing in the /etc/rc.d/initdiskless script, >>> or have I forgotten something? >>> >>> Thanks, >>> Rob. >> >> >> >> The /var memory disk needs to be populated with a base structure. This >> is handled in initdiskless by templates (see >> /etc/rc.d/initdiskless:285). You can either have them as >> subdirectories in your /conf/ or as dir.cpio.gz cpio'gzip archives >> that are then extracted. > > > Great! Thank you. This works very well. > > What I have done is putting only the directories in the var.cpio.gz, > as follows: > find /var -type d | cpio -o > /conf/base/var.cpio > gzip /conf/base/var.cpio > > to regenerate the directory tree for /var on the diskless PC, assuming > that individual files will be created as the system boots. > The latter is indeed the case with files like > /var/run/dmesg.boot > /var/run/sshd.pid > /var/run/syslog.pid > /var/run/syslogd.sockets > and so forth. > > However, /var/log/ is empty and remains empty !?!? Any idea why that is? > I need to inspect files like /var/log/auth.log, /var/log/messages and > so on. Why are these log files not generated? Let me answer my own question: The answer is in the man page of syslogd(8): For security reasons, syslogd will not append to log files that do not exist; therefore, they must be created manually before running syslogd. The log files should be there with "chmod 600" owned by root. Rob. From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 04:13:35 2004 Return-Path: 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 8855116A4CE for ; Mon, 18 Oct 2004 04:13:35 +0000 (GMT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C45243D48 for ; Mon, 18 Oct 2004 04:13:33 +0000 (GMT) (envelope-from jhay@icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) i9I4DOZV005983; Mon, 18 Oct 2004 06:13:25 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)i9I4DORs005982; Mon, 18 Oct 2004 06:13:24 +0200 (SAST) (envelope-from jhay) Date: Mon, 18 Oct 2004 06:13:24 +0200 From: John Hay To: Rob Message-ID: <20041018041324.GA5799@zibbi.icomtek.csir.co.za> References: <417336FA.7080708@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <417336FA.7080708@yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: 5.3-Beta7: diskless boot up does not show boot messages on screen. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 04:13:35 -0000 > > I am now successfully booting a diskless PC with 5.3-Beta7, > using an etherboot floppy. I can see the initial boot up > from floppy, followed by the downloading of the kernel > ("..................done"). But after that no more messages > on the screen anymore, until after a while the login prompt > appears. > > The diskless PC does produce a legitimate /var/run/dmesg.boot. > So I can inspect the bootup process after a successful boot. > > However, if there's a boot problem, I do not at all get a > clue what's going wrong. A verbose boot up on the screen > is then of vital importance. > > So why do i not get any verbose boot up of the kernel > messages with the diskless boot? Uncomment the hints line in your kernel config file or a hints line looking at the example in the GENERIC config and rebuild your kernel. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 04:29:51 2004 Return-Path: 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 673B716A4CF for ; Mon, 18 Oct 2004 04:29:51 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB9AF43D4C for ; Mon, 18 Oct 2004 04:29:50 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i9I4To90045874; Sun, 17 Oct 2004 21:29:50 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <417346BB.3050609@freebsd.org> Date: Sun, 17 Oct 2004 21:29:47 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <20041013172834.81984.qmail@web54008.mail.yahoo.com> <4172E340.20206@freebsd.org> <41731071.2030405@yahoo.com> In-Reply-To: <41731071.2030405@yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current Subject: Re: I deleted /stand/, but I need it again for diskless boot... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 04:29:51 -0000 Rob wrote: > Tim Kientzle wrote: > >> I suggest patching /etc/rc.d/initdiskless instead: >> > > So I replaced only the line with /stand/ by following: > > (cd / ; /rescue/gzip -d < $j | /bin/pax -r ) > > and then my diskless boot stops working !?!?! Two things to check: 1) ldd /bin/pax should show you what shared libraries are required by /bin/pax. Make sure those are all available on the root partition. 2) From the ordinary command line, try cat [[one of /conf/$i/*.cpio.gz]] | /rescue/gzip -d | /bin/pax and check that /bin/pax is correctly recognizing the format of the archive. Of course, it's also worth trying the two changes here (/rescue/gzip for /stand/gzip and /bin/pax for /stand/cpio) separately, just to isolate the problem. Cheers, Tim From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 04:47:45 2004 Return-Path: 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 8603016A4CF for ; Mon, 18 Oct 2004 04:47:45 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id D559A43D54 for ; Mon, 18 Oct 2004 04:47:44 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 78725 invoked by uid 0); 18 Oct 2004 04:46:41 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.165.205) by node15.coopprint.com with SMTP; 18 Oct 2004 04:46:41 -0000 Message-ID: <41734AFB.2040208@gamersimpact.com> Date: Sun, 17 Oct 2004 23:47:55 -0500 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Kientzle References: <20041013172834.81984.qmail@web54008.mail.yahoo.com> <4172E340.20206@freebsd.org> <41731071.2030405@yahoo.com> <417346BB.3050609@freebsd.org> In-Reply-To: <417346BB.3050609@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Rob cc: freebsd-current Subject: Re: I deleted /stand/, but I need it again for diskless boot... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 04:47:45 -0000 Tim Kientzle wrote: > Two things to check: > > 1) ldd /bin/pax > > should show you what shared libraries are > required by /bin/pax. Make sure those are > all available on the root partition. > > 2) From the ordinary command line, try > > cat [[one of /conf/$i/*.cpio.gz]] | /rescue/gzip -d | /bin/pax > > and check that /bin/pax is correctly > recognizing the format of the archive. > > Of course, it's also worth trying the two changes > here (/rescue/gzip for /stand/gzip and /bin/pax > for /stand/cpio) separately, just to isolate > the problem. > > Cheers, > > Tim I'll give you a better patch tomorrow to try. In the meantime, instead of catting. Try using ( cd / ; /rescue/gzip -d $j.cpio.gz | pax -r -p e ) I believe this works, if it doesn't try ( cd / ; /rescue/gzip -d < $j.cpio.gz | pax -r -p e ) Also, in order for pax to work it only needs /lib/libc.so.[56]. If you're willing to try I also have a patch here in the works that moves gzip to /bin which then will allow you to use it instead of /rescue/gzip. It worked on my system, I just need to bundle it up with some nice instructions since it also involves moving directories. It's just too late to do tonight. With pax I noticed sometimes things don't get preserved unless you add the "-p e", things like permissions and owners. Another thing, if you created your archives with pax, I would recommend not using the old cpio way of doing "find -d . | cpio -o >..." using this with pax will often end up adding files multiple times, which isn't really a bug as much as a feature gone amiss, instead add the -u flag to pax which boils down to not including multiple copies of a file. This shouldn't be causing any errors you are seeing but it's a possibility. -- Ryan Sommers ryans@gamersimpact.com From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 04:55:48 2004 Return-Path: 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 AEF1716A4CE for ; Mon, 18 Oct 2004 04:55:48 +0000 (GMT) Received: from greenhill.txc.net.au (greenhill.txc.net.au [202.61.171.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D00B943D1F for ; Mon, 18 Oct 2004 04:55:47 +0000 (GMT) (envelope-from tim@spyderweb.com.au) Received: from bofh.spyderweb.com.au (static-9.235.240.220.dsl.comindico.com.au [220.240.235.9]) i9I4todF072474 for ; Mon, 18 Oct 2004 14:25:51 +0930 (CST) (envelope-from tim@spyderweb.com.au) Received: from spyderweb.com.au (localhost [127.0.0.1]) by bofh.spyderweb.com.au (8.13.1/8.13.1) with SMTP id i9I4tMTd038032 for ; Mon, 18 Oct 2004 14:25:23 +0930 (CST) (envelope-from tim@spyderweb.com.au) Date: Mon, 18 Oct 2004 14:25:22 +0930 From: Tim Aslat To: "freebsd-current@freebsd.org" Message-ID: <20041018142522.0ca6fd9a@bofh.spyderweb.com.au> Organization: Spyderweb Consulting X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: delays in 5.3x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 04:55:48 -0000 Hi All, There was a thread a couple of weeks back concerning the delays in the wakeup/idle routines and I was wondering if there had been any commits fixing the problem. I've updated via cvsup today and rebuilt world + kernel and I'm still getting the same problem. Things work fine as long as I'm using them, but if I leave a virtual desktop alone for a bit, all the apps on it appear to freeze for a number of seconds and then resume fine. The overall system performance is fast, but the delays are causing a few headaches. I'm prepared to try patches prior to committing to cvs if it helps. Cheers Tim -- Tim Aslat Spyderweb Consulting http://www.spyderweb.com.au Phone: +61 0401088479 From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 05:15:52 2004 Return-Path: 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 9262C16A4CE for ; Mon, 18 Oct 2004 05:15:52 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34B9A43D31 for ; Mon, 18 Oct 2004 05:15:52 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004101814:14:21:768332.15513.3038002096 for ; Mon, 18 Oct 2004 14:14:21 +0900 (KST) Message-ID: <41735184.5060302@yahoo.com> Date: Mon, 18 Oct 2004 14:15:48 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Hay , freebsd-current@freebsd.org References: <417336FA.7080708@yahoo.com> <20041018041324.GA5799@zibbi.icomtek.csir.co.za> In-Reply-To: <20041018041324.GA5799@zibbi.icomtek.csir.co.za> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-1.07) (SRN:SPAMROBOT) ----------------- Subject: Re: 5.3-Beta7: diskless boot up does not show boot messages on screen. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 05:15:52 -0000 John Hay wrote: >>I am now successfully booting a diskless PC with 5.3-Beta7, >>using an etherboot floppy. I can see the initial boot up >>from floppy, followed by the downloading of the kernel >>("..................done"). But after that no more messages >>on the screen anymore, until after a while the login prompt >>appears. >> >>The diskless PC does produce a legitimate /var/run/dmesg.boot. >>So I can inspect the bootup process after a successful boot. >> >>However, if there's a boot problem, I do not at all get a >>clue what's going wrong. A verbose boot up on the screen >>is then of vital importance. >> >>So why do i not get any verbose boot up of the kernel >>messages with the diskless boot? > > > Uncomment the hints line in your kernel config file or a hints line > looking at the example in the GENERIC config and rebuild your kernel. I'm not sure I get your point. Just double check for me: Currently I have in my DISKLESS kernel configuration file these lines #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. Are you suggesting that I have to comment out the hints line here to get the kernel messages and bootup sequence printed on my screen? Do I have to manually copy /usr/src/sys/i386/conf/GENERIC.hints to /boot, or will that be done automatically? Rob. From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 05:38:28 2004 Return-Path: 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 4BC3216A4CE for ; Mon, 18 Oct 2004 05:38:28 +0000 (GMT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 024D843D49 for ; Mon, 18 Oct 2004 05:38:26 +0000 (GMT) (envelope-from jhay@icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) i9I5cOZV008433; Mon, 18 Oct 2004 07:38:24 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)i9I5cNme008432; Mon, 18 Oct 2004 07:38:23 +0200 (SAST) (envelope-from jhay) Date: Mon, 18 Oct 2004 07:38:23 +0200 From: John Hay To: Rob Message-ID: <20041018053823.GB8116@zibbi.icomtek.csir.co.za> References: <417336FA.7080708@yahoo.com> <20041018041324.GA5799@zibbi.icomtek.csir.co.za> <41735184.5060302@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41735184.5060302@yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: 5.3-Beta7: diskless boot up does not show boot messages on screen. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 05:38:28 -0000 On Mon, Oct 18, 2004 at 02:15:48PM +0900, Rob wrote: > John Hay wrote: > >>I am now successfully booting a diskless PC with 5.3-Beta7, > >>using an etherboot floppy. I can see the initial boot up > >>from floppy, followed by the downloading of the kernel > >>("..................done"). But after that no more messages > >>on the screen anymore, until after a while the login prompt > >>appears. > >> > >>The diskless PC does produce a legitimate /var/run/dmesg.boot. > >>So I can inspect the bootup process after a successful boot. > >> > >>However, if there's a boot problem, I do not at all get a > >>clue what's going wrong. A verbose boot up on the screen > >>is then of vital importance. > >> > >>So why do i not get any verbose boot up of the kernel > >>messages with the diskless boot? > > > > > >Uncomment the hints line in your kernel config file or a hints line > >looking at the example in the GENERIC config and rebuild your kernel. > > I'm not sure I get your point. Just double check for me: > > Currently I have in my DISKLESS kernel configuration file these lines > > #To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" # Default places to look for > devices. > > > Are you suggesting that I have to comment out the hints line here > to get the kernel messages and bootup sequence printed on my screen? You have to uncomment that hints line, remove the # in front of the line. Normally the loader will load the hints file for you, but etherboot doesn't do that for you. > Do I have to manually copy /usr/src/sys/i386/conf/GENERIC.hints to > /boot, or will that be done automatically? If you use pxe to netboot, pxeloader will load the hints file for you but etherboot isn't clever enough to do it, so you have to compile it into your kernel. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 05:44:33 2004 Return-Path: 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 B1A9316A4CE for ; Mon, 18 Oct 2004 05:44:33 +0000 (GMT) Received: from CPE000103d44c07-CM000f9f7ae88c.cpe.net.cable.rogers.com (CPE000103d44c07-CM000f9f7ae88c.cpe.net.cable.rogers.com [69.193.222.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 636CA43D45 for ; Mon, 18 Oct 2004 05:44:33 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from 192.168.0.1 (localhost [127.0.0.1]) with ESMTP id D6BB5295428 for ; Mon, 18 Oct 2004 01:44:29 -0400 (EDT) Received: from 192.168.0.188 (SquirrelMail authenticated user mikej); by 192.168.0.1 with HTTP; Mon, 18 Oct 2004 01:44:29 -0400 (EDT) Message-ID: <1518.192.168.0.188.1098078269.squirrel@192.168.0.188> In-Reply-To: <1539.66.11.183.178.1097860994.squirrel@66.11.183.178> References: <1542.192.168.0.188.1097646528.squirrel@192.168.0.188> <416D2482.2090000@gamersimpact.com> <1099.66.11.183.178.1097672454.squirrel@66.11.183.178> <1097673727.10151.0.camel@rushlight.kf8nh.com> <1076.66.11.183.178.1097848226.squirrel@66.11.183.178> <1539.66.11.183.178.1097860994.squirrel@66.11.183.178> Date: Mon, 18 Oct 2004 01:44:29 -0400 (EDT) From: "Mike Jakubik" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-wettoast-MailScanner-Information: Please contact the ISP for more information X-wettoast-MailScanner: Found to be clean X-MailScanner-From: mikej@rogers.com Subject: Re: Odd behaviour from bash after recent cvsup and world... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 05:44:33 -0000 Mike Jakubik said: > Jiawei Ye said: >> On Fri, 15 Oct 2004 09:50:26 -0400 (EDT), Mike Jakubik >> >> wrote: >>> > syscons seems to be unbroken now, but bash problem persists. Anyone >>> > else seeing this as well? >>> >>> Yes, me. I cvsuped and made world yesterday around 2pm EST, and its >>> still >>> broken. >> >> I believe phk@ commited a fix a couple of hours ago. > > Yes, it works fine now. I just did a cvsup and buildworld, and bash seems > to be working OK. Actually, there are still problems which occur after using portupgrade. Am I the only one seeing these? From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 05:46:51 2004 Return-Path: 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 7A2EE16A4CE for ; Mon, 18 Oct 2004 05:46:51 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31A5043D1D for ; Mon, 18 Oct 2004 05:46:51 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1CJQM8-0000I3-IH; Mon, 18 Oct 2004 09:46:52 +0400 From: Vladimir Grebenschikov To: Jacob Rhoden In-Reply-To: <200410181202.40249.jacob@rhoden.id.au> References: <200410171552.34115.jacob@rhoden.id.au> <1098021904.1141.13.camel@localhost> <200410181202.40249.jacob@rhoden.id.au> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 18 Oct 2004 09:46:51 +0400 Message-Id: <1098078411.1045.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" Subject: Re: intel 2200b/g card on dell8600 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 18 Oct 2004 05:46:51 -0000 =F7 =D0=CE, 18/10/2004 =D7 12:02 +0000, Jacob Rhoden =D0=C9=DB=C5=D4: Hi > On Sunday 17 October 2004 14:05, Vladimir Grebenschikov wrote: > > =F7 =D7=D3, 17/10/2004 =D7 15:52 +0000, Jacob Rhoden =D0=C9=DB=C5=D4: > > Have such card, ndis runs under currnet without problems: > > ndis0: mem > > 0xd0201000-0xd0201fff irq 9 at device 11.0 on pci2 > > ndis0: [GIANT-LOCKED] > > ndis0: NDIS API version: 5.1 > > ndis0: Ethernet address: 00:0e:35:03:82:74 > > ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 5.5Mbps 11Mbps > > ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >=20 > Thanks for the reply! Its strange that it works for you, perhaps its beca= use i=20 > am using 5.3 and i am guessing you are using something before then. I hav= e=20 > since found the native driver thanks! the native driver works (with some=20 > coaxing). I am using current of 9 Oct, so it is not so old. As for iwi driver - I have tried it, it works somehow, but I think it is not stable enough for me now and I am waiting for 1.1 release of iwi driver. > Regards, > Jacob --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 05:54:51 2004 Return-Path: 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 402A016A4CE for ; Mon, 18 Oct 2004 05:54:51 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9BE743D45 for ; Mon, 18 Oct 2004 05:54:50 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id D05AFACAF1; Mon, 18 Oct 2004 07:54:48 +0200 (CEST) Date: Mon, 18 Oct 2004 07:54:48 +0200 From: Pawel Jakub Dawidek To: Daniel Eriksson Message-ID: <20041018055448.GE73767@darkness.comp.waw.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ExCcSBZiLVYufuln" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-current@freebsd.org Subject: Re: Current crash on today's kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-