From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 03:57:49 2003 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 4704137B401 for ; Sun, 6 Apr 2003 03:57:49 -0700 (PDT) Received: from web41808.mail.yahoo.com (web41808.mail.yahoo.com [66.218.93.142]) by mx1.FreeBSD.org (Postfix) with SMTP id DC3C943F93 for ; Sun, 6 Apr 2003 03:57:48 -0700 (PDT) (envelope-from csujun@yahoo.com) Message-ID: <20030406105748.10644.qmail@web41808.mail.yahoo.com> Received: from [211.161.222.251] by web41808.mail.yahoo.com via HTTP; Sun, 06 Apr 2003 18:57:48 CST Date: Sun, 6 Apr 2003 18:57:48 +0800 (CST) From: =?gb2312?q?Jun=20Su?= To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit Subject: why not document load modules instead of recompiling kernel?? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: csujun@21cn.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, 06 Apr 2003 10:57:50 -0000 Hi All, When I read the freebsd handbook, I found many part of document said it is needed to recompile the kernel. for example, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html However, kldload ipfw also works. Why there isn;t any words about this? Is loadable module not encourage? Thanks, Jun Su _________________________________________________________ Do You Yahoo!? 更多惊喜,同样精彩,NetVista A30 热卖 http://ad.cn.doubleclick.net/clk;5313999;7930402;p?http://www.ibm.com/cn/promotion/pc/netvista_a30/index.shtml From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 04:08:03 2003 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 090E237B401 for ; Sun, 6 Apr 2003 04:08:03 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34A9643F75 for ; Sun, 6 Apr 2003 04:08:02 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h36B7pYC015253; Sun, 6 Apr 2003 06:07:52 -0500 (CDT) Date: Sun, 06 Apr 2003 06:07:51 -0500 From: Larry Rosenman To: "M. Warner Losh" Message-ID: <2150000.1049627271@lerlaptop.lerctr.org> In-Reply-To: <20030405.213227.60415608.imp@bsdimp.com> References: <9400000.1049488982@lerlaptop.iadfw.net> <20030405.213227.60415608.imp@bsdimp.com> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 06 Apr 2003 11:08:03 -0000 What more can I get? I did do a list of the instruction pointer in the panic, and it's in the cbb driver, on a bus_space_read(IIRC), of 4 bytes, I can get whatever you'd like, or put the kernel/vmcore/whatever up. LER --On Saturday, April 05, 2003 21:32:27 -0700 "M. Warner Losh" wrote: > In message: <9400000.1049488982@lerlaptop.iadfw.net> > Larry Rosenman writes: > : at /usr/src/sys/kern/kern_intr.c:536 > > 536 if ((ih->ih_flags & IH_MPSAFE) == > 0) > > This is very odd. It doesn't make any sense. > > Warner -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 04:23:50 2003 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 495F337B401 for ; Sun, 6 Apr 2003 04:23:49 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7572643FBD for ; Sun, 6 Apr 2003 04:23:48 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h36BNhYC016057; Sun, 6 Apr 2003 06:23:44 -0500 (CDT) Date: Sun, 06 Apr 2003 06:23:43 -0500 From: Larry Rosenman To: "M. Warner Losh" Message-ID: <3000000.1049628223@lerlaptop.lerctr.org> In-Reply-To: <2150000.1049627271@lerlaptop.lerctr.org> References: <9400000.1049488982@lerlaptop.iadfw.net> <20030405.213227.60415608.imp@bsdimp.com> <2150000.1049627271@lerlaptop.lerctr.org> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 06 Apr 2003 11:23:50 -0000 --On Sunday, April 06, 2003 06:07:51 -0500 Larry Rosenman wrote: > What more can I get? > > I did do a list of the instruction pointer in the panic, and it's in the > cbb driver, on a bus_space_read(IIRC), of 4 bytes, I can get whatever > you'd like, or put the kernel/vmcore/whatever up. > Here is the list I was refering to: Script started on Sun Apr 6 06:18:00 2003 lerlaptop# gdb -k kernel.1 vmcore.2 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: integer divide fault panic messages: --- Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc0193d12 stack pointer = 0x10:0xd63cecc0 frame pointer = 0x10:0xd63cece0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 23 (irq11: cbb0 cbb1+++) trap number = 18 panic: integer divide fault syncing disks, buffers remaining... 3541 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 giving up on 1817 buffers Uptime: 6m0s Dumping 503 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 239 dumping++; (kgdb) l *0xc0193d12 0xc0193d12 is in cbb_intr (/usr/src/sys/dev/pccbb/pccbb.c:277). 272 bus_space_write_4(sc->bst, sc->bsh, reg, val); 273 } 274 275 static __inline uint32_t 276 cbb_get(struct cbb_softc *sc, uint32_t reg) 277 { 278 return (bus_space_read_4(sc->bst, sc->bsh, reg)); 279 } 280 281 static __inline void (kgdb) print *sc No symbol "sc" in current context. (kgdb) lerlaptop# ^D??exit Script done on Sun Apr 6 06:19:04 2003 > LER > > --On Saturday, April 05, 2003 21:32:27 -0700 "M. Warner Losh" > wrote: > >> In message: <9400000.1049488982@lerlaptop.iadfw.net> >> Larry Rosenman writes: >> : at /usr/src/sys/kern/kern_intr.c:536 >> >> 536 if ((ih->ih_flags & IH_MPSAFE) == >> 0) >> >> This is very odd. It doesn't make any sense. >> >> Warner > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 972-414-9812 E-Mail: ler@lerctr.org > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > > > > _______________________________________________ > 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" > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 05:09:48 2003 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 5B48137B401; Sun, 6 Apr 2003 05:09:46 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F5A743FD7; Sun, 6 Apr 2003 05:09:45 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id E64BF5309; Sun, 6 Apr 2003 14:09:43 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bruce Evans From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 14:09:43 +0200 In-Reply-To: <20030405204940.L800@gamplex.bde.org> (Bruce Evans's message of "Sat, 5 Apr 2003 20:52:31 +1000 (EST)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030405194620.I645@gamplex.bde.org> <20030405204940.L800@gamplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org cc: peter@freebsd.org Subject: Re: context switching pessimizations 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, 06 Apr 2003 12:09:48 -0000 Bruce Evans writes: > On Sat, 5 Apr 2003, Bruce Evans wrote: > > Recent optimizations of context switching are large pessimizations > > according to lmbench2, at least in the default case (no LAZY_SWITCH). > The ifdefs are just so convoluted that they are broken in the > !LAZY_SWITCH case. I ran lmbench2 on the same machine with three versions of the same kernel (same sources, same config, built with the same compiler) - one without your !LAZY_SWITCH patch - one with your patch but no lazy switching - one with your patch and LAZY_SWITCH enabled The benchmark was run three times in rapid succession on each kernel. In each case I stopped X and cron before running the benchmark, so nothing of significance was running but lmbench2. In each of the tables below, the first three lines are without the patch, the middle three are with the patch but no lazy switching, the last three are with lazy switching. Context switching - times in microseconds - smaller is better ------------------------------------------------------------- Host OS 2p/0K 2p/16K 2p/64K 8p/16K 8p/64K 16p/16K 16p/64K ctxsw ctxsw ctxsw ctxsw ctxsw ctxsw ctxsw --------- ------------- ----- ------ ------ ------ ------ ------- ------- dwp.think FreeBSD 5.0-C 24.5 28.9 141.8 82.3 235.2 93.6 233.7 dwp.think FreeBSD 5.0-C 13.6 35.7 145.1 81.5 235.3 94.1 234.5 dwp.think FreeBSD 5.0-C 24.4 24.6 147.4 85.5 234.4 93.8 234.0 dwp.think FreeBSD 5.0-C 24.5 25.5 146.7 84.7 234.7 94.3 233.8 dwp.think FreeBSD 5.0-C 31.4 27.6 143.4 80.9 232.4 93.8 232.8 dwp.think FreeBSD 5.0-C 24.6 24.2 145.7 81.9 234.7 94.0 233.4 dwp.think FreeBSD 5.0-C 25.1 24.4 146.3 83.0 236.9 95.6 236.1 dwp.think FreeBSD 5.0-C 25.1 36.5 144.6 84.8 237.9 95.1 237.0 dwp.think FreeBSD 5.0-C 13.7 41.8 144.1 83.9 236.9 95.4 236.7 *Local* Communication latencies in microseconds - smaller is better ------------------------------------------------------------------- Host OS 2p/0K Pipe AF UDP RPC/ TCP RPC/ TCP ctxsw UNIX UDP TCP conn --------- ------------- ----- ----- ---- ----- ----- ----- ----- ---- dwp.think FreeBSD 5.0-C 24.5 74.8 121. 206.3 377.4 185.3 384.6 597. dwp.think FreeBSD 5.0-C 13.6 104.8 96.8 204.9 378.4 191.6 314.1 635. dwp.think FreeBSD 5.0-C 24.4 105.9 119. 196.4 371.3 182.1 349.6 606. dwp.think FreeBSD 5.0-C 24.5 106.1 105. 202.8 383.3 188.3 351.6 636. dwp.think FreeBSD 5.0-C 31.4 107.3 87.5 206.1 386.4 225.5 358.4 600. dwp.think FreeBSD 5.0-C 24.6 106.0 122. 200.2 394.2 211.1 363.1 692. dwp.think FreeBSD 5.0-C 25.1 107.5 130. 195.1 384.1 210.4 364.2 598. dwp.think FreeBSD 5.0-C 25.1 108.6 91.2 196.8 371.3 183.2 312.3 593. dwp.think FreeBSD 5.0-C 13.7 86.0 90.7 196.0 383.3 219.2 313.5 600. I'll leave you to draw your own conclusions... DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 05:51:36 2003 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 4020C37B401 for ; Sun, 6 Apr 2003 05:51:36 -0700 (PDT) Received: from hfep07.dion.ne.jp (hfep07.dion.ne.jp [203.181.105.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5617043FB1 for ; Sun, 6 Apr 2003 05:51:35 -0700 (PDT) (envelope-from haro@kgt.co.jp) Received: from localhost ([211.126.16.9]) by hfep07.dion.ne.jp with ESMTP id <20030406125133567.OORN@hfep07.dion.ne.jp> for ; Sun, 6 Apr 2003 21:51:33 +0900 Date: Sun, 06 Apr 2003 21:50:54 +0900 (JST) Message-Id: <20030406.215054.74749642.haro@h4.dion.ne.jp> To: current@freebsd.org From: Munehiro Matsuda X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: libthr faults with recent 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, 06 Apr 2003 12:51:36 -0000 Hi, When ever I try to run application with the new libthr.so.1 with recent kernel, I get my system falt and just reboots: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xa0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc037f80e stack pointer = 0x10:0xd202fca0 frame pointer = 0x10:0xd202fcc8 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 = Idle trap number = 12 panic: page fault Anybody seen this, or am I the only getting this? I'm assuming that, it started after the LAZY_SWITCH commit, but I can't say for sure. Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 06:30:12 2003 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 3C8EF37B401 for ; Sun, 6 Apr 2003 06:30:12 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F9C143FDF for ; Sun, 6 Apr 2003 06:30:11 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id A2B7710BF94; Sun, 6 Apr 2003 15:30:09 +0200 (CEST) Date: Sun, 6 Apr 2003 15:30:09 +0200 From: "Simon L. Nielsen" To: freebsd-current@freebsd.org Message-ID: <20030406133008.GA87298@nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: panic: mutex Giant not owned at sys/kern/kern_exit.c:122 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, 06 Apr 2003 13:30:12 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello When i try to create an RAID array with atacontol I get the following panic when the rebuild is complete. The problem seems to be that exit1 requires that giant is held but it isn't. I have no idea where it should be aquired so it will be released again. #0 doadump () at /data/FreeBSD/CURRENT/sys/kern/kern_shutdown.c:239 #1 0xc0300403 in boot (howto=3D256) at /data/FreeBSD/CURRENT/sys/kern/kern_shutdown.c:371 #2 0xc0300703 in panic () at /data/FreeBSD/CURRENT/sys/kern/kern_shutdown.c:542 #3 0xc02f743c in _mtx_assert (m=3D0xc053cc00, what=3D0,=20 file=3D0xc04e6095 "/data/FreeBSD/CURRENT/sys/kern/kern_exit.c", line=3D= 122) at /data/FreeBSD/CURRENT/sys/kern/kern_mutex.c:844 #4 0xc02e9583 in exit1 (td=3D0xc284a000, rv=3D4352) at /data/FreeBSD/CURRENT/sys/kern/kern_exit.c:122 #5 0xc02ee946 in kthread_exit () at /data/FreeBSD/CURRENT/sys/kern/kern_kthread.c:135 #6 0xc01cf4c5 in ar_rebuild () at /data/FreeBSD/CURRENT/sys/dev/ata/ata-raid.c:859 #7 0xc02ec8d4 in fork_exit (callout=3D0xc01cf080 , arg=3D0x0,= =20 frame=3D0x0) at /data/FreeBSD/CURRENT/sys/kern/kern_fork.c:796 Btw. the -CURRENT is from today. --=20 Simon L. Nielsen --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kCvg8kocFXgPTRwRAqK3AJsHSAGdZX5jY+Ndy1Iva70z+MFMowCgiKgT 1rZlYxZrNW8CfFxGRJOgWyA= =1ADS -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 07:45:06 2003 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 7158E37B401 for ; Sun, 6 Apr 2003 07:45:06 -0700 (PDT) Received: from gluon.dyndns.org (s225.dhcp212-198-162.noos.fr [212.198.162.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4044D43F85 for ; Sun, 6 Apr 2003 07:45:05 -0700 (PDT) (envelope-from chris@gluon.dyndns.org) Received: from gluon.dyndns.org (localhost [127.0.0.1]) by gluon.dyndns.org (8.12.9/8.12.9) with ESMTP id h36Ej16I058436 for ; Sun, 6 Apr 2003 16:45:02 +0200 (CEST) (envelope-from chris@gluon.dyndns.org) Received: (from chris@localhost) by gluon.dyndns.org (8.12.9/8.12.9/Submit) id h36Ej1Gx058435 for current@freebsd.org; Sun, 6 Apr 2003 16:45:01 +0200 (CEST) Date: Sun, 6 Apr 2003 16:45:01 +0200 From: Christophe Juniet To: current@freebsd.org Message-ID: <20030406144500.GA58090@gluon.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Bug in gdtoa ? 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, 06 Apr 2003 14:45:06 -0000 Hello, When using 'ls -lh', I noticed a strange behavior: all file sizes ending with one or more 0 are printed incorrectly. For instance: % ls -l .Xauthority -rw------- 1 chris chris 110 Apr 6 14:38 .Xauthority % ls -lh .Xauthority -rw------- 1 chris chris 1100B Apr 6 14:38 .Xauthority While I was looking into printsize() of src/bin/ls/print.c, I made this simple test: ---8<--- #include int main(void) { printf("%.1f\n", 1.0); printf("%.1f\n", 10.0); printf("%.1f\n", 100.0); printf("%.1f\n", 1000.0); printf("%.1f\n", 10000.0); printf("%.1f\n", 1.0); printf("%.1f\n", 11.0); printf("%.1f\n", 101.0); printf("%.1f\n", 1001.0); printf("%.1f\n", 10001.0); return 0; } ---8<--- Which output is: % cc -o test test.c % ./test 1.0 10.00 100.000 1000.0000 10000.00000 1.0 11.0 101.0 1001.0 10001.0 I suspect a bug in gdtoa since I get the correct output with 5.0-RELEASE. I cvsup'ed up src-all and now I'm running: FreeBSD gluon.dyndns.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 6 14:15:10 CEST 2003 root@gluon.dyndns.org:/usr/obj/usr/src/sys/GLUON i386 If I got something wrong, how do I fix this ? Thanks, chris From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 08:21:49 2003 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 A1FAD37B401 for ; Sun, 6 Apr 2003 08:21:49 -0700 (PDT) Received: from web11401.mail.yahoo.com (web11401.mail.yahoo.com [216.136.131.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 3932A43FBF for ; Sun, 6 Apr 2003 08:21:49 -0700 (PDT) (envelope-from raysonlogin@yahoo.com) Message-ID: <20030406152149.3637.qmail@web11401.mail.yahoo.com> Received: from [65.49.83.254] by web11401.mail.yahoo.com via HTTP; Sun, 06 Apr 2003 08:21:49 PDT Date: Sun, 6 Apr 2003 08:21:49 -0700 (PDT) From: Rayson Ho To: Glenn Johnson , PBS Users , kris@obsecurity.org, current@freebsd.org In-Reply-To: <20030404210917.GA67633@node1.cluster.srrc.usda.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: brooks@aero.org Subject: GridEngine (was Re: building OpenPBS-2.3.16 on FreeBSD 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, 06 Apr 2003 15:21:49 -0000 FYI, earlier this year, Brooks made an announce on bsdforums.org: http://www.bsdforums.org/forums/showthread.php?threadid=6486 Last month the FreeBSD and MacOSX ports were merged to the SGE cvs. I am not sure about FreeBSD 5.0 support, may be Brooks can answer that?? Rayson --- Glenn Johnson wrote: > Has anyone been able to build OpenPBS-2.3.16 on a FreeBSD 5-current > system? There seems to be a problem generating the dependencies. > Attached is a log file of my attempt. > > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 08:55:20 2003 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 A1FFE37B404 for ; Sun, 6 Apr 2003 08:55:20 -0700 (PDT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E10543FD7 for ; Sun, 6 Apr 2003 08:55:19 -0700 (PDT) (envelope-from der_julian@web.de) Received: from fwd04.sul.t-online.de by mailout11.sul.t-online.com with smtp id 192CUI-0007MU-00; Sun, 06 Apr 2003 17:55:18 +0200 Received: from jmmr.no-ip.com (520088592922-0001@[217.225.187.211]) by fmrl04.sul.t-online.com with esmtp id 192CTz-1EH96mC; Sun, 6 Apr 2003 17:54:59 +0200 Received: from jmmr.no-ip.com (blitz@localhost [127.0.0.1]) by jmmr.no-ip.com (8.12.8/8.12.8) with ESMTP id h36FsicB011804 for ; Sun, 6 Apr 2003 17:54:48 +0200 (CEST) (envelope-from der_julian@web.de) Received: (from blitz@localhost) by jmmr.no-ip.com (8.12.8/8.12.8/Submit) id h36FseaL011742 for current@freebsd.org; Sun, 6 Apr 2003 17:54:40 +0200 (CEST) (envelope-from der_julian@web.de) X-Authentication-Warning: jmmr.no-ip.com: blitz set sender to der_julian@web.de using -f From: "Julian St." To: FreeBSD-current In-Reply-To: <20030405.213333.80215738.imp@bsdimp.com> References: <20030405105015.K6270-100000@ury.york.ac.uk> <20030405.213333.80215738.imp@bsdimp.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+7MMwscgyd1OB9F5YmMU" Organization: Message-Id: <1049644477.577.14.camel@jmmr.no-ip.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 06 Apr 2003 17:54:39 +0200 X-Sender: 520088592922-0001@t-dialin.net Subject: Re: device puc on non-i386 or with parallel devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: der_julian@web.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 15:55:21 -0000 --=-+7MMwscgyd1OB9F5YmMU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, it would be nice to have the supported graphics cards mentioned in the release notes, too.=20 Regards Am So, 2003-04-06 um 06.33 schrieb M. Warner Losh: > In message: <20030405105015.K6270-100000@ury.york.ac.uk> > Gavin Atkinson writes: > : I'm currently working on updating the hardware release notes to reflect > : reality. the puc device is currently only in the i386 section of the > : release notes, however I am under the impression people are successfull= y > : using it with other platforms. Can anyone confirm this? >=20 > Yes. >=20 > : Also, is anyone successfully using it to provide parallel port access? = As > : far as I can tell, the device supports parallel ports, all the comments= in > : the code suggests it does, however I can't find any mention of people > : using it for parallel ports and commit messages suggest it may be limit= ed > : to serial ports only at the moment. >=20 > Limited to serial ports at the moment. >=20 > Warner > _______________________________________________ > 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= " -- Julian Stecklina This is no ordinary fool you're dealing with. --=-+7MMwscgyd1OB9F5YmMU Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+kE28NdiNDtZbKrURAu4QAJ0ZzleNOtq5dwbKwaSlgnZ+lPxKrQCffTpk Mh68u+5FPIsmjmS9Ch2J/4Q= =M2et -----END PGP SIGNATURE----- --=-+7MMwscgyd1OB9F5YmMU-- From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 09:39:19 2003 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 3872C37B401 for ; Sun, 6 Apr 2003 09:39:19 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BAC643FCB for ; Sun, 6 Apr 2003 09:39:18 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h36GfYqC041534 for ; Sun, 6 Apr 2003 12:41:34 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h36GfY3H041533 for freebsd-current@freebsd.org; Sun, 6 Apr 2003 12:41:34 -0400 (EDT) Date: Sun, 6 Apr 2003 12:41:34 -0400 From: Mathew Kanner To: freebsd-current@freebsd.org Message-ID: <20030406164134.GN17533@cnd.mcgill.ca> References: <20030404182557.GK17533@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030404182557.GK17533@cnd.mcgill.ca> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i Subject: Re: midi problem, an isa device on a pci 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: Sun, 06 Apr 2003 16:39:19 -0000 Hello, I've recived no responses. Anyway, the following includes my own solution to the question, lots of trial and error. I've found that isahints was the closest exsting code to what I wanted. As always, I would love to hear any comments. > How do I create isa devices from a pci device. Do I search up the > soundcard tree for the pci bus then search down for the isa bus, then > create_child(..."mpushim")? In pci device_attach: isa=devclass_find("isa"); if( !isa ) { device_printf(sc->dev,"cmi midi error no devclass for isa\n"); goto err; } if (devclass_get_devices(isa, &isalistp, &isacountp) != 0 ) { device_printf(sc->dev,"cmi midi error fetching isa devices\n"); goto err; } if ( isacountp < 1 ) { device_printf(sc->dev,"cmi midi no isa busses found\n"); goto err; } /* * Be stupid and just pick the first isa bus */ sc->isadev = isalistp[0]; mpuisa=devclass_find("mpuisa"); if( !mpuisa ) { device_printf(sc->dev,"cmi: midi driver not found\n"); goto err; } i = devclass_find_free_unit(mpuisa,0); sc->mpudev = BUS_ADD_CHILD(sc->isadev, 1, "mpuisa", i); [Needs to be done with BUS_ADD_CHILD, I tried with others, m' yo they just don't work] > How do I tell the shim before the probe/attach what io region to look > at, do I fiddle with ivars (or some internal structure), do I mess with hints > via kenv(9) [Is there a kenv(9)? ] [ Say, p->port=0x300, then following would set it to 0x300-0x302 and the same IRQ as the pci device ] bus_set_resource(sc->mpudev, SYS_RES_IOPORT, 0, p->port, 2); bus_set_resource(sc->mpudev, SYS_RES_IRQ, 0, rman_get_start(sc->irq), 1); if( device_probe_and_attach(sc->mpudev) == 0 ) { device_printf(sc->dev,"added %s/%s\n", device_get_nameunit(sc->isadev), device_get_nameunit(sc->mpudev) ); return ; } Cheers, --Mat -- Brain: Are you pondering what I'm pondering? Pinky: I think so Brain, but the Rockettes, it's mostly girls, isn't it? From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 09:49:04 2003 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 3FCF837B401 for ; Sun, 6 Apr 2003 09:49:04 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5156E43F75 for ; Sun, 6 Apr 2003 09:49:03 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DEDFD5309; Sun, 6 Apr 2003 18:49:00 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: current@freebsd.org From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 18:49:00 +0200 Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 16:49:04 -0000 With a kernel built from sources only a few hours old (in the hopes of figuring out whether I could use the TSC in SMP mode), I hit a number of strange bugs in the fxp and / or miibus code: - trying to unload fxp after the interface has been configured with dhclient causes a panic near the top of fxp_txeof (of course, somebody has broken dumps again...) - loading the if_fxp module (and miibus as a dependency) switches the timecounter hardware to PIIX. - switching the timecounter hardware manually to PIIX when if_fxp and miibus are loaded causes the machine to lock up. DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 10:53:18 2003 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 508B637B407; Sun, 6 Apr 2003 10:53:18 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0621B43FAF; Sun, 6 Apr 2003 10:53:17 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.7) with ESMTP id h36Hr1D0031055; Sun, 6 Apr 2003 10:53:01 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h36Hr0kT031054; Sun, 6 Apr 2003 10:53:00 -0700 (PDT) Date: Sun, 6 Apr 2003 10:52:59 -0700 From: "David O'Brien" To: Ruslan Ermilov Message-ID: <20030406175259.GB30707@dragon.nuxi.com> References: <20030404165738.GA21750@rot13.obsecurity.org> <20030404174114.GC67714@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030404174114.GC67714@sunbay.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.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: Larry Rosenman cc: freebsd-current@freebsd.org cc: Kris Kennaway Subject: Re: Building 5-CURRENT world under 4-STABLE? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@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, 06 Apr 2003 17:53:18 -0000 On Fri, Apr 04, 2003 at 08:41:14PM +0300, Ruslan Ermilov wrote: > On Fri, Apr 04, 2003 at 08:57:38AM -0800, Kris Kennaway wrote: > > On Fri, Apr 04, 2003 at 10:12:09AM -0600, Larry Rosenman wrote: > > > Is it supported to be running under a 4-STABLE world and build > > > a 5-CURRENT world? > > > > Yes. > > > Currently it is supported, but may not be soon. 4-STABLE ==> a recent RELENG_4 check out and 'make world'; 5-CURRENT ==> HEAD. Upgrading from RELENG_4 world to a 5-CURRENT one has always been supported and no one has said it should not be. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:19:15 2003 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 F06EF37B404; Sun, 6 Apr 2003 11:19:14 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 828E243FAF; Sun, 6 Apr 2003 11:19:13 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id B6E09530A; Sun, 6 Apr 2003 20:19:11 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: current@freebsd.org From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 20:19:10 +0200 In-Reply-To: (des@ofug.org's message of "Sun, 06 Apr 2003 18:49:00 +0200") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 18:19:15 -0000 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable des@ofug.org (Dag-Erling Sm=F8rgrav) writes: > - loading the if_fxp module (and miibus as a dependency) switches the > timecounter hardware to PIIX. This turns out to be caused by a combination of bugs in tc_init() and the piix driver. The piix driver initializes the PIIX timecounter in piix_attach(), which is called whenever the PCI bus is rescanned (e.g. when a driver for a PCI device such as fxp is loaded) instead of piix_probe() which is only called once. The other problem is that tc_init() will actually install the timecounter being initialized, so in effect, unless you explicitly select one after boot, your machine will use whichever timecounter was probed and attached last. I've modified the piix driver to only initialize the timecounter once, and tc_init() to use the *first* timecounter it runs across (on i386, this is generally the i8254), leaving the admin to pick another one if the default does not suit her. See the attached patch. > - switching the timecounter hardware manually to PIIX when if_fxp and > miibus are loaded causes the machine to lock up. This problem seems to have disappeared now that the PIIX timecounter only gets initialized once. DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=timecounter.diff Index: sys/kern/kern_tc.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_tc.c,v retrieving revision 1.148 diff -u -r1.148 kern_tc.c --- sys/kern/kern_tc.c 18 Mar 2003 08:45:23 -0000 1.148 +++ sys/kern/kern_tc.c 6 Apr 2003 18:06:38 -0000 @@ -295,7 +295,8 @@ printf("\n"); (void)tc->tc_get_timecount(tc); (void)tc->tc_get_timecount(tc); - timecounter = tc; + if (timecounter == &dummy_timecounter) + timecounter = tc; } /* Report the frequency of the current timecounter. */ Index: sys/i386/i386/mp_clock.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/mp_clock.c,v retrieving revision 1.11 diff -u -r1.11 mp_clock.c --- sys/i386/i386/mp_clock.c 13 Nov 2002 17:50:59 -0000 1.11 +++ sys/i386/i386/mp_clock.c 6 Apr 2003 17:41:44 -0000 @@ -101,12 +101,11 @@ switch (pci_get_devid(dev)) { case 0x71138086: d = pci_read_config(dev, 0x4, 2); - if (!(d & 1)) - return 0; /* IO space not mapped */ - d = pci_read_config(dev, 0x40, 4); - piix_timecounter_address = (d & 0xffc0) + 8; - piix_timecounter.tc_frequency = piix_freq; - tc_init(&piix_timecounter); + if (d & 1) + return (0); + printf("PIIX I/O space not mapped\n"); + return (ENXIO); + default: return (ENXIO); }; return (ENXIO); @@ -115,8 +114,13 @@ static int piix_attach (device_t dev) { - - return 0; + u_int32_t d; + + d = pci_read_config(dev, 0x40, 4); + piix_timecounter_address = (d & 0xffc0) + 8; + piix_timecounter.tc_frequency = piix_freq; + tc_init(&piix_timecounter); + return (0); } static device_method_t piix_methods[] = { --=-=-=-- From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:23:45 2003 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 12F8F37B405 for ; Sun, 6 Apr 2003 11:23:45 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF9E943FA3 for ; Sun, 6 Apr 2003 11:23:42 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id A64465308; Sun, 6 Apr 2003 20:23:40 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: csujun@21cn.com From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 20:23:39 +0200 In-Reply-To: <20030406105748.10644.qmail@web41808.mail.yahoo.com> (Jun Su's message of "Sun, 6 Apr 2003 18:57:48 +0800 (CST)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030406105748.10644.qmail@web41808.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org Subject: Re: why not document load modules instead of recompiling 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, 06 Apr 2003 18:23:45 -0000 Jun Su writes: > However, kldload ipfw also works. Why there isn;t any > words about this? Is loadable module not encourage?=20 The module is built without any options (such as logging), and there is no kld for divert sockets or dummynet. DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:25:57 2003 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 4F61537B401 for ; Sun, 6 Apr 2003 11:25:57 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F109D43FBD for ; Sun, 6 Apr 2003 11:25:55 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h36IPqLd028636; Sun, 6 Apr 2003 20:25:52 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 06 Apr 2003 20:19:10 +0200." Date: Sun, 06 Apr 2003 20:25:52 +0200 Message-ID: <28635.1049653552@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 18:25:57 -0000 In message , Dag-Erling =?iso-8859-1?q?Sm=F8 rgrav?= writes: >I've modified the piix driver to only initialize the timecounter once, This is correct. >and tc_init() to use the *first* timecounter it runs across (on i386, >this is generally the i8254), leaving the admin to pick another one if >the default does not suit her. See the attached patch. This is wrong. Please do not commit it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:40:26 2003 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 CCFC837B401 for ; Sun, 6 Apr 2003 11:40:26 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BCC43FBD for ; Sun, 6 Apr 2003 11:40:26 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 61ECB5308; Sun, 6 Apr 2003 20:40:25 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Poul-Henning Kamp" From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 20:40:24 +0200 In-Reply-To: <28635.1049653552@critter.freebsd.dk> ("Poul-Henning Kamp"'s message of "Sun, 06 Apr 2003 20:25:52 +0200") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <28635.1049653552@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 18:40:27 -0000 "Poul-Henning Kamp" writes: > > and tc_init() to use the *first* timecounter it runs across (on i386, > > this is generally the i8254), leaving the admin to pick another one if > > the default does not suit her. See the attached patch. > This is wrong. Please do not commit it. OK. Any suggestion as to how we could rank timecounters so we can switch to a better one when it becomes available? Is this something we can determine statically (with a compiled-in preference list), or do we have to determine it at run time? DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:49:23 2003 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 C733537B401 for ; Sun, 6 Apr 2003 11:49:23 -0700 (PDT) Received: from mx03.uni-tuebingen.de (mx03.uni-tuebingen.de [134.2.3.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57D4343FB1 for ; Sun, 6 Apr 2003 11:49:22 -0700 (PDT) (envelope-from friedemann.becker@student.uni-tuebingen.de) Received: from linux17.zdv.uni-tuebingen.de (linux17.zdv.uni-tuebingen.de [134.2.18.17])h36ImdHY010249; Sun, 6 Apr 2003 20:48:39 +0200 Date: Sun, 6 Apr 2003 20:48:38 +0200 (CEST) From: Friedemann Becker X-Sender: To: Craig Reyenga In-Reply-To: <000c01c2fbc3$989d8610$0200000a@fireball> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.5 cc: freebsd-current@freebsd.org cc: Andre Guibert de Bruet Subject: Re: systat -v on -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, 06 Apr 2003 18:49:24 -0000 I found the problem and wrote a little patch over to freebsd-hackers On Sat, 5 Apr 2003, Craig Reyenga wrote: > Now that you mention it, Yes: ad2 is -0% busy. > > Disks ad0 ad2 cd0 pass0 ofod intrn > KB/t 0.00 0.00 0.00 0.00 %slo-z 30576 buf > tps 0 0 0 0 tfree 23 dirtybuf > MB/s 0.00 0.00 0.00 0.00 17867 desiredvnodes > % busy 0 -0 0 0 1070 numvnodes > > -Craig > > ----- Original Message ----- > From: "Andre Guibert de Bruet" > > > Hi, > > > > I've noticed that 'systat -v' sometimes reports a negative disk activity > > percentile. Has anyone else noticed this behavior? > > > > Before I look into the problem, is someone already working on a fix? > > > > Regards, > > From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:54:10 2003 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 CD8F437B401 for ; Sun, 6 Apr 2003 11:54:10 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9D7043FBF for ; Sun, 6 Apr 2003 11:54:09 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h36Is8Ld028860; Sun, 6 Apr 2003 20:54:08 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 06 Apr 2003 20:40:24 +0200." Date: Sun, 06 Apr 2003 20:54:08 +0200 Message-ID: <28859.1049655248@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 18:54:11 -0000 In message , Dag-Erling =?iso-8859-1?q?Sm=F8 rgrav?= writes: >"Poul-Henning Kamp" writes: >> > and tc_init() to use the *first* timecounter it runs across (on i386, >> > this is generally the i8254), leaving the admin to pick another one if >> > the default does not suit her. See the attached patch. >> This is wrong. Please do not commit it. > >OK. Any suggestion as to how we could rank timecounters so we can >switch to a better one when it becomes available? Is this something >we can determine statically (with a compiled-in preference list), or >do we have to determine it at run time? Defining "best" is at best hard, so I have resorted to the simple technique we use now: Don't call tc_init on a timecounter unless you want to use it. Provided people set it sensibly, we could add a "priority" field to the timecounter structure and have tc_init() respect that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 11:56:38 2003 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 8F2A537B401 for ; Sun, 6 Apr 2003 11:56:38 -0700 (PDT) Received: from mx02.uni-tuebingen.de (mx02.uni-tuebingen.de [134.2.3.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A62844032 for ; Sun, 6 Apr 2003 11:56:36 -0700 (PDT) (envelope-from friedemann.becker@student.uni-tuebingen.de) Received: from linux17.zdv.uni-tuebingen.de (linux17.zdv.uni-tuebingen.de [134.2.18.17]) by mx02.uni-tuebingen.de (8.12.3/8.12.3) with ESMTP id h36IuZR0025549 for ; Sun, 6 Apr 2003 20:56:35 +0200 Date: Sun, 6 Apr 2003 20:56:34 +0200 (CEST) From: Friedemann Becker X-Sender: To: In-Reply-To: <000c01c2fbc3$989d8610$0200000a@fireball> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.5 Subject: Re: systat -v on -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, 06 Apr 2003 18:56:38 -0000 Bye the way, did you see "real" negative values (other than -0)? On Sat, 5 Apr 2003, Craig Reyenga wrote: > Date: Sat, 5 Apr 2003 17:34:51 -0500 > From: Craig Reyenga > To: Andre Guibert de Bruet > Cc: freebsd-current@freebsd.org > Subject: Re: systat -v on -CURRENT > > Now that you mention it, Yes: ad2 is -0% busy. > > Disks ad0 ad2 cd0 pass0 ofod intrn > KB/t 0.00 0.00 0.00 0.00 %slo-z 30576 buf > tps 0 0 0 0 tfree 23 dirtybuf > MB/s 0.00 0.00 0.00 0.00 17867 desiredvnodes > % busy 0 -0 0 0 1070 numvnodes > > -Craig > > ----- Original Message ----- > From: "Andre Guibert de Bruet" > To: > Sent: Saturday, April 05, 2003 5:20 PM > Subject: systat -v on -CURRENT > > > > Hi, > > > > I've noticed that 'systat -v' sometimes reports a negative disk activity > > percentile. Has anyone else noticed this behavior? > > > > Before I look into the problem, is someone already working on a fix? > > > > Regards, > > > > > Andre Guibert de Bruet | Enterprise Software Consultant > > > > Silicon Landmark, LLC. | http://siliconlandmark.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" > > > > _______________________________________________ > 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 Apr 6 11:57:33 2003 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 2AF5337B404 for ; Sun, 6 Apr 2003 11:57:33 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84C7643FBD for ; Sun, 6 Apr 2003 11:57:31 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h36IvQYC009223; Sun, 6 Apr 2003 13:57:26 -0500 (CDT) Date: Sun, 06 Apr 2003 13:57:25 -0500 From: Larry Rosenman To: "M. Warner Losh" Message-ID: <3950000.1049655445@lerlaptop.lerctr.org> In-Reply-To: <3000000.1049628223@lerlaptop.lerctr.org> References: <9400000.1049488982@lerlaptop.iadfw.net> <20030405.213227.60415608.imp@bsdimp.com> <2150000.1049627271@lerlaptop.lerctr.org> <3000000.1049628223@lerlaptop.lerctr.org> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 06 Apr 2003 18:57:33 -0000 --On Sunday, April 06, 2003 06:23:43 -0500 Larry Rosenman wrote: > > > --On Sunday, April 06, 2003 06:07:51 -0500 Larry Rosenman > wrote: > >> What more can I get? >> >> I did do a list of the instruction pointer in the panic, and it's in the >> cbb driver, on a bus_space_read(IIRC), of 4 bytes, I can get whatever >> you'd like, or put the kernel/vmcore/whatever up. >> > Here is the list I was refering to: [snip] More noodling around with GDB, but I'd like some direction from a good kernel hacker to find out why this is happening. Script started on Sun Apr 6 13:48:33 2003 lerlaptop# gdb -k kernel.1 vmcore.2 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: integer divide fault panic messages: --- Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc0193d12 stack pointer = 0x10:0xd63cecc0 frame pointer = 0x10:0xd63cece0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 23 (irq11: cbb0 cbb1+++) trap number = 18 panic: integer divide fault syncing disks, buffers remaining... 3541 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 giving up on 1817 buffers Uptime: 6m0s Dumping 503 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 239 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 #1 0xc0245b1a in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:371 #2 0xc0245d93 in panic () at /usr/src/sys/kern/kern_shutdown.c:542 #3 0xc039a10e in trap_fatal (frame=0xc14eb130, eva=0) at /usr/src/sys/i386/i386/trap.c:843 #4 0xc0399c02 in trap (frame= {tf_fs = -1051852776, tf_es = -1051852784, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1051832832, tf_ebp = -700650272, tf_isp = -700650324, tf_ebx = -1007012800, tf_edx = -546881536, tf_ecx = -1069393536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1072087790, tf_cs = 8, tf_eflags = 514, tf_esp = -1071394701, tf_ss = 344}) at /usr/src/sys/i386/i386/trap.c:640 #5 0xc038b318 in calltrap () at {standard input}:96 #6 0xc0234502 in ithread_loop (arg=0xc3f8aa00) at /usr/src/sys/kern/kern_intr.c:536 #7 0xc0233742 in fork_exit (callout=0xc02343b0 , arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:796 (kgdb) fr 4 #4 0xc0399c02 in trap (frame= {tf_fs = -1051852776, tf_es = -1051852784, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1051832832, tf_ebp = -700650272, tf_isp = -700650324, tf_ebx = -1007012800, tf_edx = -546881536, tf_ecx = -1069393536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1072087790, tf_cs = 8, tf_eflags = 514, tf_esp = -1071394701, tf_ss = 344}) at /usr/src/sys/i386/i386/trap.c:640 640 trap_fatal(&frame, eva); (kgdb) l 635 /* FALLTHROUGH */ 636 #endif /* POWERFAIL_NMI */ 637 #endif /* DEV_ISA */ 638 } 639 640 trap_fatal(&frame, eva); 641 goto out; 642 } 643 644 /* Translate fault for emulators (e.g. Linux) */ (kgdb) print frame $1 = {tf_fs = -1051852776, tf_es = -1051852784, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1051832832, tf_ebp = -700650272, tf_isp = -700650324, tf_ebx = -1007012800, tf_edx = -546881536, tf_ecx = -1069393536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1072087790, tf_cs = 8, tf_eflags = 514, tf_esp = -1071394701, tf_ss = 344} (kgdb) print fro? ?ame/x No symbol "x" in current context. (kgdb) print f? ?? ?/x frame $2 = {tf_fs = 0xc14e0018, tf_es = 0xc14e0010, tf_ds = 0xd63c0010, tf_edi = 0xc14eb130, tf_esi = 0xc14e4e00, tf_ebp = 0xd63cece0, tf_isp = 0xd63cecac, tf_ebx = 0xc3fa3440, tf_edx = 0xdf674000, tf_ecx = 0xc0425980, tf_eax = 0x0, tf_trapno = 0x12, tf_err = 0x0, tf_eip = 0xc0193d12, tf_cs = 0x8, tf_eflags = 0x202, tf_esp = 0xc023d073, tf_ss = 0x158} (kgdb) fr 5 #5 0xc038b318 in calltrap () at {standard input}:96 96 {standard input}: No such file or directory. in {standard input} Current language: auto; currently asm (kgdb) fr 6 #6 0xc0234502 in ithread_loop (arg=0xc3f8aa00) at /usr/src/sys/kern/kern_intr.c:536 536 ih->ih_handler(ih->ih_argument); Current language: auto; currently c (kgdb) print ig? ?h $3 = (struct intrhand *) 0xc3fa3440 (kgdb) print *ih $4 = {ih_handler = 0xc0193cf0 , ih_argument = 0xc14e4e00, ih_flags = 0, ih_name = 0xc3efa980 "cbb0", ih_ithread = 0xc3f8aa00, ih_need = 0, ih_next = {tqe_next = 0xc3fa3280, tqe_prev = 0xc3f8aa40}, ih_pri = 4 '\004'} (kgdb) print *ih->ih_ithread $5 = {it_lock = {mtx_object = {lo_class = 0xc0425920, lo_name = 0xc03dac81 "ithread", lo_type = 0xc03dac81 "ithread", lo_flags = 196608, lo_list = {tqe_next = 0x0, tqe_prev = 0x0}, lo_witness = 0x0}, mtx_lock = 4, mtx_recurse = 0, mtx_blocked = { tqh_first = 0x0, tqh_last = 0xc3f8aa24}, mtx_contested = {le_next = 0x0, le_prev = 0x0}}, it_td = 0xc14eb130, it_list = {le_next = 0x0, le_prev = 0x0}, it_handlers = {tqh_first = 0xc3fa3440, tqh_last = 0xc3f84e98}, it_interrupted = 0x0, it_disable = 0xc039d640 , it_enable = 0xc039d5d0 , it_md = 0x0, it_flags = 0, it_need = 0, it_vector = 11, it_name = "irq11:", '\0' } (kgdb) lerlaptop# ^D??exit Script done on Sun Apr 6 13:51:51 2003 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 12:12:51 2003 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 0AC0B37B401 for ; Sun, 6 Apr 2003 12:12:51 -0700 (PDT) Received: from mx01.uni-tuebingen.de (mx01.uni-tuebingen.de [134.2.3.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B50F43FBD for ; Sun, 6 Apr 2003 12:12:50 -0700 (PDT) (envelope-from friedemann.becker@student.uni-tuebingen.de) Received: from linux17.zdv.uni-tuebingen.de (linux17.zdv.uni-tuebingen.de [134.2.18.17])h36JChfP028015; Sun, 6 Apr 2003 21:12:43 +0200 Date: Sun, 6 Apr 2003 21:12:42 +0200 (CEST) From: Friedemann Becker X-Sender: To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.5 cc: csujun@21cn.com cc: current@freebsd.org Subject: Re: why not document load modules instead of recompiling 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, 06 Apr 2003 19:12:51 -0000 hmm..... ;-) [bitch] /boot/kernel> file /boot/kernel/dummynet.ko /boot/kernel/dummynet.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped most tasks can be done with kld, no need to recompile the kernel. it's much much easier so a source of less errors. I think too, kld should be mentioned appropriatly in the handbook. When reading, it seemes like rebuilding the kernel is the best (or only) way to configure the device drivers on the system, but I think in most cases, kldloading would be better. what else am I supposed to do with my modules? On Sun, 6 Apr 2003, Dag-Erling Sm鴕grav wrote: > Jun Su writes: > > However, kldload ipfw also works. Why there isn;t any > > words about this? Is loadable module not encourage? > > The module is built without any options (such as logging), and there > is no kld for divert sockets or dummynet. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 12:15:24 2003 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 6A4EB37B401 for ; Sun, 6 Apr 2003 12:15:24 -0700 (PDT) Received: from mx01.uni-tuebingen.de (mx01.uni-tuebingen.de [134.2.3.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7813543F93 for ; Sun, 6 Apr 2003 12:15:23 -0700 (PDT) (envelope-from friedemann.becker@student.uni-tuebingen.de) Received: from linux17.zdv.uni-tuebingen.de (linux17.zdv.uni-tuebingen.de [134.2.18.17]) by mx01.uni-tuebingen.de (8.12.3/8.12.3) with ESMTP id h36JFMfP028346 for ; Sun, 6 Apr 2003 21:15:22 +0200 Date: Sun, 6 Apr 2003 21:15:21 +0200 (CEST) From: Friedemann Becker X-Sender: To: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.5 Subject: Re: why not document load modules instead of recompiling 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, 06 Apr 2003 19:15:24 -0000 sorry, this should have been addressed to the list, rather than you. I once again pressed "reply" and forgot to enter the right "To" address :)) On Sun, 6 Apr 2003, Friedemann Becker wrote: > Date: Sun, 6 Apr 2003 21:12:42 +0200 (CEST) > From: Friedemann Becker > To: Dag-Erling Sm鴕grav > Cc: csujun@21cn.com, current@freebsd.org > Subject: Re: why not document load modules instead of recompiling kernel?? > > hmm..... ;-) > > [bitch] /boot/kernel> file /boot/kernel/dummynet.ko > /boot/kernel/dummynet.ko: ELF 32-bit LSB shared object, Intel 80386, > version 1 (FreeBSD), not stripped > > > most tasks can be done with kld, no need to recompile the kernel. > it's much much easier so a source of less errors. > I think too, kld should be mentioned appropriatly in the handbook. When > reading, it seemes like rebuilding the kernel is the best (or only) way to > configure the device drivers on the system, but I think in most cases, > kldloading would be better. > what else am I supposed to do with my modules? > > On Sun, 6 Apr 2003, Dag-Erling Sm鴕grav wrote: > > > Jun Su writes: > > > However, kldload ipfw also works. Why there isn;t any > > > words about this? Is loadable module not encourage? > > > > The module is built without any options (such as logging), and there > > is no kld for divert sockets or dummynet. > > From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 12:16:57 2003 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 DF95E37B401 for ; Sun, 6 Apr 2003 12:16:57 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45A4543F3F for ; Sun, 6 Apr 2003 12:16:57 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id E5C145308; Sun, 6 Apr 2003 21:16:55 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Poul-Henning Kamp" From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 06 Apr 2003 21:16:55 +0200 In-Reply-To: <28859.1049655248@critter.freebsd.dk> ("Poul-Henning Kamp"'s message of "Sun, 06 Apr 2003 20:54:08 +0200") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <28859.1049655248@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 19:16:58 -0000 "Poul-Henning Kamp" writes: > Defining "best" is at best hard, so I have resorted to the simple > technique we use now: Don't call tc_init on a timecounter unless > you want to use it. Huh? I added a Debugger() call to tc_init(), and can assure you that it gets called for every timecounter in the system (in my case i8254, PIIX, TSC and ACPI, not necessarily in that order). DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 12:35:54 2003 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 78E5237B401 for ; Sun, 6 Apr 2003 12:35:54 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91ADB43FB1 for ; Sun, 6 Apr 2003 12:35:53 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h36JZpLd029408; Sun, 6 Apr 2003 21:35:51 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 06 Apr 2003 21:16:55 +0200." Date: Sun, 06 Apr 2003 21:35:51 +0200 Message-ID: <29407.1049657751@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 19:35:54 -0000 In message , Dag-Erling =?iso-8859-1?q?Sm=F8 rgrav?= writes: >"Poul-Henning Kamp" writes: >> Defining "best" is at best hard, so I have resorted to the simple >> technique we use now: Don't call tc_init on a timecounter unless >> you want to use it. > >Huh? I added a Debugger() call to tc_init(), and can assure you that >it gets called for every timecounter in the system (in my case i8254, >PIIX, TSC and ACPI, not necessarily in that order). But they they happen, by no coincidence, to be called in exactly the right order to result in the best safe choice in current circumstances :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 12:53:55 2003 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 31A0737B401 for ; Sun, 6 Apr 2003 12:53:55 -0700 (PDT) Received: from mandarin.fruitsalad.org (pc117.net160.koping.net [81.16.160.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A978343F3F for ; Sun, 6 Apr 2003 12:53:54 -0700 (PDT) (envelope-from mdouhan@fruitsalad.org) Received: from [192.168.15.240] (helo=192.168.15.240) by mandarin.fruitsalad.org with esmtp (Exim 4.10) id 192GDB-0001Zv-00 for freebsd-current@freebsd.org; Sun, 06 Apr 2003 21:53:53 +0200 From: Matt Douhan To: freebsd-current@freebsd.org Date: Sun, 6 Apr 2003 21:54:56 +0000 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200304062155.02467.mdouhan@fruitsalad.org> Subject: SCHED_ULE and arts/KDE stopped working april 4 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, 06 Apr 2003 19:53:55 -0000 HI Using the new SCHED_ULE together with KDE is not working anymore, as of apr= il=20 4, using SCHED_ULE causes arts to crash the entire machine, if I recompile= =20 the kernel with the SCHED_4BSD arts works fine again, I am unable to find=20 anything useful in the logs and would appreciate any help so that I can hel= p=20 you debug this issue, I have confirmed this several times now by recompilin= g=20 the kernel and swapping schedulers. rgds Matt =2D-=20 =2D------------------------------------------------------------------------= =2D---------- Matt Douhan www.fruitsalad.org CCIE #4004 *** ping elvis *** *** elvis is alive *** From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 15:25:38 2003 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 4E4B737B401 for ; Sun, 6 Apr 2003 15:25:38 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E882C43FBF for ; Sun, 6 Apr 2003 15:25:36 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id IAA12603; Mon, 7 Apr 2003 08:25:28 +1000 Date: Mon, 7 Apr 2003 08:25:27 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: <20030407081351.V2224@gamplex.bde.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 22:25:38 -0000 On Sun, 6 Apr 2003, Dag-Erling [iso-8859-1] Sm=F8rgrav wrote: > des@ofug.org (Dag-Erling Sm=F8rgrav) writes: > > - loading the if_fxp module (and miibus as a dependency) switches the > > timecounter hardware to PIIX. > > This turns out to be caused by a combination of bugs in tc_init() and > the piix driver. The piix driver initializes the PIIX timecounter in > piix_attach(), which is called whenever the PCI bus is rescanned (e.g. > when a driver for a PCI device such as fxp is loaded) instead of > piix_probe() which is only called once. The other problem is that > tc_init() will actually install the timecounter being initialized, so > in effect, unless you explicitly select one after boot, your machine > will use whichever timecounter was probed and attached last. > > I've modified the piix driver to only initialize the timecounter once, > and tc_init() to use the *first* timecounter it runs across (on i386, > this is generally the i8254), leaving the admin to pick another one if > the default does not suit her. See the attached patch. Do any other attach routines get called on rescan? I would expect most of them to do the wrong thing. > Index: sys/kern/kern_tc.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sys/kern/kern_tc.c,v > retrieving revision 1.148 > diff -u -r1.148 kern_tc.c > --- sys/kern/kern_tc.c=0918 Mar 2003 08:45:23 -0000=091.148 > +++ sys/kern/kern_tc.c=096 Apr 2003 18:06:38 -0000 > @@ -295,7 +295,8 @@ > =09printf("\n"); > =09(void)tc->tc_get_timecount(tc); > =09(void)tc->tc_get_timecount(tc); > -=09timecounter =3D tc; > +=09if (timecounter =3D=3D &dummy_timecounter) > +=09=09timecounter =3D tc; > } This is not quite right (see other replies), but tc_init() should be split up so that it never decides whether to start using the timecounter. Note that the tc_get_timecounter() calls are part of using it. Bruce From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 15:43:30 2003 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 8B9A237B401; Sun, 6 Apr 2003 15:43:30 -0700 (PDT) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id A779843F85; Sun, 6 Apr 2003 15:43:29 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1])h36MhScJ028038; Sun, 6 Apr 2003 18:43:28 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)h36MhRSC028037; Sun, 6 Apr 2003 18:43:27 -0400 (EDT) Date: Sun, 6 Apr 2003 18:43:27 -0400 From: Craig Rodrigues To: freebsd-standards@freebsd.org Message-ID: <20030406224327.GA27960@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i cc: freebsd-current@freebsd.org Subject: [PATCH] Adding WCHAR_MIN to 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, 06 Apr 2003 22:43:30 -0000 Hi, Can someone provide feedback regarding the following patches? "Deprecate , add " http://www.freebsd.org/cgi/query-pr.cgi?pr=50523 "Define WCHAR_MIN and WCHAR_MAX in " http://www.freebsd.org/cgi/query-pr.cgi?pr=50582 I submitted these patches based on some previous discussions about : http://docs.freebsd.org/cgi/getmsg.cgi?fetch=77248+0+archive/2003/freebsd-standards/20030223.freebsd-standards -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 15:51:36 2003 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 98A9B37B401 for ; Sun, 6 Apr 2003 15:51:36 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B93EB43FAF for ; Sun, 6 Apr 2003 15:51:35 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h36MpYUs092729 for ; Sun, 6 Apr 2003 18:51:34 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h36MpXhi092726 for ; Sun, 6 Apr 2003 18:51:34 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 6 Apr 2003 18:51:31 -0400 (EDT) From: Andre Guibert de Bruet To: current@freebsd.org Message-ID: <20030406172853.X92580@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: usb scheduling overruns under system load 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, 06 Apr 2003 22:51:36 -0000 Hi, I've just installed -current on another one of my machines and have been seeing "usb0: 1 scheduling overruns" messages printed to the console over and over under load. As the load increases, so does the frequency of the messages. After a bit of experimenting, I've found that large amounts of network traffic (I used ftp) and bzip2'ing a large dump cause the message to be printed roughly ten times a second. This computer had been running -stable for a few months prior and did not exhibit this behavior. It's a dual Athlon MP 2000+ running on an Asus A7M-266D with an onboard AMD-brand OHCI USB controller. The only USB devices that are connected are a Microsoft Internet Keyboard Pro and an IntelliMouse Optical (1.0A). Unplugging both devices doesn't fix the problem. pciconf -lv thinks the following of the controller: ohci0@pci2:0:0: class=3D0x0c0310 card=3D0x80441043 chip=3D0x74491022 rev=3D= 0x07 hdr=3D0x00 vendor =3D 'Advanced Micro Devices (AMD)' device =3D 'AMD-768 USB Controller' class =3D serial bus subclass =3D USB usbdevs shows: addr 1: OHCI root hub, AMD addr 2: product 0x001c, Microsoft addr 3: Microsoft IntelliMouse=AE Optical, Microsoft The kernel config file and dmesg can be found at: http://siliconlandmark.com/staff/andre/files/BLING http://siliconlandmark.com/staff/andre/files/BLING.dmesg uname -a: FreeBSD bling.properkernel.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Apr = 6 16:47:32 EDT 2003 root@bling.properkernel.com:/usr/src/sys/i386/comp= ile/BLING i386 Any ideas? Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 15:55:25 2003 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 C0B5C37B401 for ; Sun, 6 Apr 2003 15:55:25 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C2443FBF for ; Sun, 6 Apr 2003 15:55:24 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h36MtNUs092747; Sun, 6 Apr 2003 18:55:23 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h36MtM1j092744; Sun, 6 Apr 2003 18:55:23 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 6 Apr 2003 18:55:22 -0400 (EDT) From: Andre Guibert de Bruet To: Friedemann Becker In-Reply-To: Message-ID: <20030406185322.C92580@alpha.siliconlandmark.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: systat -v on -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, 06 Apr 2003 22:55:26 -0000 On Sun, 6 Apr 2003, Friedemann Becker wrote: > did you see "real" negative values (other than -0)? I only came across -0. Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 16:00:50 2003 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 0F93B37B401 for ; Sun, 6 Apr 2003 16:00:50 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E28343F75 for ; Sun, 6 Apr 2003 16:00:49 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h36N0mUs092770; Sun, 6 Apr 2003 19:00:48 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h36N0luO092767; Sun, 6 Apr 2003 19:00:47 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 6 Apr 2003 19:00:46 -0400 (EDT) From: Andre Guibert de Bruet To: walt In-Reply-To: <3E70932F.8020503@myrealbox.com> Message-ID: <20030406185826.U92580@alpha.siliconlandmark.com> References: <3E70932F.8020503@myrealbox.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.ORG Subject: Re: Just for Your Information 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, 06 Apr 2003 23:00:50 -0000 On Thu, 13 Mar 2003, walt wrote: > CARTER Anthony wrote: > > > > I just tried to do a build world that failed, so I tried re-running it > > and it told me directory not empty (/usr/obj/usr/src/i386*)...Funny, > > even though the first thing it does is an rm -rf of that directory... > > > > So I tried to do it manually (of course as root), but nada. Told me that > > the directory was not empty (rm -rf telling me THAT???) > > I can't be certain, but I think I've seen that behavior in the past > when I had a corrupt filesystem. Does fsck have anything to say > about that partition? rm -rf fails with files/directories that have schg set on them. To see if that's the case do an 'ls -lo'. For more information, man chflags(1). Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 16:33:04 2003 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 D212237B401 for ; Sun, 6 Apr 2003 16:33:04 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3921C43F93 for ; Sun, 6 Apr 2003 16:33:04 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 762D45308; Mon, 7 Apr 2003 01:33:02 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bruce Evans From: Dag-Erling Smorgrav Date: Mon, 07 Apr 2003 01:33:02 +0200 In-Reply-To: <20030407081351.V2224@gamplex.bde.org> (Bruce Evans's message of "Mon, 7 Apr 2003 08:25:27 +1000 (EST)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030407081351.V2224@gamplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: current@freebsd.org Subject: Re: weird fxp / timecounter interaction in top-of-tree 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, 06 Apr 2003 23:33:05 -0000 Bruce Evans writes: > Do any other attach routines get called on rescan? I would expect most of > them to do the wrong thing. The problem was that the piix driver's *probe* routine did the attach work and got called on rescan, not that its attach routine got called on rescan. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 17:37:13 2003 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 3F5ED37B401 for ; Sun, 6 Apr 2003 17:37:13 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51D4543FA3 for ; Sun, 6 Apr 2003 17:37:12 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h370b6YC000494; Sun, 6 Apr 2003 19:37:07 -0500 (CDT) Date: Sun, 06 Apr 2003 19:37:06 -0500 From: Larry Rosenman To: "M. Warner Losh" Message-ID: <84970000.1049675826@lerlaptop.lerctr.org> In-Reply-To: <3950000.1049655445@lerlaptop.lerctr.org> References: <9400000.1049488982@lerlaptop.iadfw.net> <20030405.213227.60415608.imp@bsdimp.com> <2150000.1049627271@lerlaptop.lerctr.org> <3000000.1049628223@lerlaptop.lerctr.org> <3950000.1049655445@lerlaptop.lerctr.org> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 07 Apr 2003 00:37:13 -0000 I've posted a page with links to a tar-ball, and a rehash of this on my Webserver. http://www.lerctr.org/~ler/FreeBSD/ There is a link to the tarball with 2 vmcore's and the kernel and it's config. If anyone needs more information, please feel free to get with me. I'll supply as much info as you need. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 17:46:12 2003 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 A1BB137B43F for ; Sun, 6 Apr 2003 17:46:01 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D19C543FE1 for ; Sun, 6 Apr 2003 17:45:53 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h370jqUs092961; Sun, 6 Apr 2003 20:45:52 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h370jpIf092958; Sun, 6 Apr 2003 20:45:52 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 6 Apr 2003 20:45:51 -0400 (EDT) From: Andre Guibert de Bruet To: Daniel Kanafa In-Reply-To: <20030405190152.GA19624@valhalla.bofh.pl> Message-ID: <20030406204322.D92580@alpha.siliconlandmark.com> References: <20030405190152.GA19624@valhalla.bofh.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: sound driver 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, 07 Apr 2003 00:46:13 -0000 On Sat, 5 Apr 2003, Daniel Kanafa wrote: > I have a little problem with my soundcard :> > [ttyp4] [20:57] [chilon@wyvern]:~> dmesg | grep pcm > pcm0: at port > 0x370-0x371,0x330-0x331,0x388-0x38b,0x530-0x537,0x220-0x22f irq 5 drq 1,0 on > isa0 > 1st 0xc17121c0 pcm0 (sound softc) @ dev/sound/isa/mss.c:179 > 2nd 0xc174f340 pcm0:play:0 (pcm channel) @ dev/sound/pcm/channel.c:440 Okay, so there's a lock order reversal there. Are you having any other problem with the card? Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 18:03:47 2003 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 3DF7B37B407 for ; Sun, 6 Apr 2003 18:03:47 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C10643F93 for ; Sun, 6 Apr 2003 18:03:46 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) h3713bKj050962; Sun, 6 Apr 2003 18:03:37 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6p2/8.12.5/Submit) id h3713X3n050961; Sun, 6 Apr 2003 18:03:33 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Sun, 6 Apr 2003 18:03:33 -0700 From: David Schultz To: Christophe Juniet Message-ID: <20030407010333.GA50886@HAL9000.homeunix.com> Mail-Followup-To: Christophe Juniet , current@freebsd.org References: <20030406144500.GA58090@gluon.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030406144500.GA58090@gluon.dyndns.org> cc: current@FreeBSD.ORG Subject: Re: Bug in gdtoa ? 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, 07 Apr 2003 01:03:47 -0000 On Sun, Apr 06, 2003, Christophe Juniet wrote: > When using 'ls -lh', I noticed a strange behavior: all file sizes ending > with one or more 0 are printed incorrectly. It's actually a bug in the glue between printf() and [g]dtoa(). Sorry about that. I just fixed it. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 18:15:54 2003 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 DBBE737B405 for ; Sun, 6 Apr 2003 18:15:54 -0700 (PDT) Received: from 3jane.math.ualberta.ca (3jane.math.ualberta.ca [129.128.206.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35E7743FAF for ; Sun, 6 Apr 2003 18:15:54 -0700 (PDT) (envelope-from bvowk@math.ualberta.ca) Received: from 3jane.math.ualberta.ca (localhost.math.ualberta.ca [127.0.0.1]) h371FEb8006156 for ; Sun, 6 Apr 2003 19:15:14 -0600 (MDT) (envelope-from bvowk@math.ualberta.ca) Received: from localhost (bvowk@localhost)h371FEAJ006153 for ; Sun, 6 Apr 2003 19:15:14 -0600 (MDT) X-Authentication-Warning: 3jane.math.ualberta.ca: bvowk owned process doing -bs Date: Sun, 6 Apr 2003 19:15:14 -0600 (MDT) From: Barkley Vowk To: freebsd-current@freebsd.org Message-ID: <20030406191238.X5896@3jane.math.ualberta.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: XFree on 4.8 Vs 5.0 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, 07 Apr 2003 01:15:55 -0000 I've got a problem with X on my X30 notebook, I need DRI working for suspending and resuming to work, I also need 4.3.0 to support my i830 chipset. I can get everything working out of the box in 4.8, but 5.0 after compiling 4.3.0, I still cannot get DRI to work (cannot open /dev/dri/card0). Any ideas? ----------------------------------------------------------- Barkley C. Vowk -- Systems Analyst -- University of Alberta Math Sciences Department - Barkley.Vowk@math.ualberta.ca Office: CAB642A, 780-492-4064 Opinions expressed are the responsibility of the author and may not reflect the opinions of others or reality. From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 18:18:42 2003 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 A1DED37B404 for ; Sun, 6 Apr 2003 18:18:42 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9202143FE0 for ; Sun, 6 Apr 2003 18:18:41 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h371IcYC004734; Sun, 6 Apr 2003 20:18:38 -0500 (CDT) Date: Sun, 06 Apr 2003 20:18:38 -0500 From: Larry Rosenman To: Barkley Vowk , freebsd-current@freebsd.org Message-ID: <117200000.1049678318@lerlaptop.lerctr.org> In-Reply-To: <20030406191238.X5896@3jane.math.ualberta.ca> References: <20030406191238.X5896@3jane.math.ualberta.ca> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: Re: XFree on 4.8 Vs 5.0 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, 07 Apr 2003 01:18:43 -0000 --On Sunday, April 06, 2003 19:15:14 -0600 Barkley Vowk wrote: > I've got a problem with X on my X30 notebook, I need DRI working for > suspending and resuming to work, I also need 4.3.0 to support my i830 > chipset. I can get everything working out of the box in 4.8, but 5.0 after > compiling 4.3.0, I still cannot get DRI to work (cannot open > /dev/dri/card0). Any ideas? To the best of my knowledge DRI is NOT in the cards for the I830. If someone (you?) wants to port the support, I'm willing to test. (I'm not a kernel guru). LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 18:56:04 2003 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 C050037B401 for ; Sun, 6 Apr 2003 18:56:04 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10B5643FDD for ; Sun, 6 Apr 2003 18:56:04 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 3D75424D04 for ; Mon, 7 Apr 2003 10:56:03 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 0374024D02 for ; Mon, 7 Apr 2003 10:56:01 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id 8CAD51E460E for ; Mon, 7 Apr 2003 10:56:00 +0900 (JST) Date: Mon, 07 Apr 2003 10:56:00 +0900 Message-ID: <7m4r5byssv.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: current@freebsd.org In-Reply-To: <20030405231240.N68710@tsunami.platypusgroup.com> References: <20030405231240.N68710@tsunami.platypusgroup.com> User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: Re: Okay. who broke ata. 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, 07 Apr 2003 01:56:05 -0000 At Sun, 6 Apr 2003 04:18:42 +0000 (UTC), Kevin S. Brackett wrote: > make world from yesterday broke support for my promise udma66 controller, > getting READ/WRITE errors on the drive attached to, reverting to previous > kernel fixes problem. I got same result. After updating to latest source, I got: ad0: 76319MB [155061/16/63] at ata0-master UDMA100 ad1: 39266MB [79780/16/63] at ata0-slave UDMA100 ad4: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = 00000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc015eed2 stack pointer = 0x10:0xe11f0c48 frame pointer = 0x10:0xe11f0c5c 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 = 14 (swi7: tty:sio clock) kernel: type 12 trap, code=0 Stopped at reinit_bus+0x12: movl 0(%esi),%eax db> trace reinit_bus(0,2,e11f0c90,c0147998,c7a61e00) at reinit_bus+0x12 atapi_cam_reinit_bus(c7a61e00,ec,c03adf22,3,c7a87f00) at atapi_cam_reinit_bus+0x21 ata_reinit(c7a61e00,c7a87f00,c03a9f87,0,0) at ata_reinit+0x3c8 ad_timeout(c7a87f00,0,c03c0542,bf,438) at ad_timeout+0x136 softclock(0,0,c03bd526,232,c3afd5a0) at softclock+0x19c ithread_loop(c3afc180,e11f0d48,c03bd3a2,314,0) at ithread_loop+0x182 fork_exit(c01fac70,c3afc180,e11f0d48) at fork_exit+0xc4 fork_trampoline() at fork_trampoline+0x1a Previous (Mar 26) kernel said like this: ad0: 76319MB [155061/16/63] at ata0-master UDMA100 ad1: 39266MB [79780/16/63] at ata0-slave UDMA100 ad4: 58644MB [119150/16/63] at ata2-master UDMA100 ad5: 43979MB [89355/16/63] at ata2-slave UDMA100 acd0: CD-RW at ata1-master PIO4 acd1: DVD-R at ata1-slave PIO4 pass0 at ata1 bus 0 target 0 lun 0 pass0: Removable CD-ROM SCSI-0 device pass0: 16.000MB/s transfers pass1 at ata1 bus 0 target 1 lun 0 pass1: Removable CD-ROM SCSI-0 device pass1: 16.000MB/s transfers -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 20:28:59 2003 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 C39A537B401 for ; Sun, 6 Apr 2003 20:28:59 -0700 (PDT) Received: from mx02.uni-tuebingen.de (mx02.uni-tuebingen.de [134.2.3.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A806E43F75 for ; Sun, 6 Apr 2003 20:28:58 -0700 (PDT) (envelope-from friedemann.becker@student.uni-tuebingen.de) Received: from linux17.zdv.uni-tuebingen.de (linux17.zdv.uni-tuebingen.de [134.2.18.17]) by mx02.uni-tuebingen.de (8.12.3/8.12.3) with ESMTP id h373SuWX007227 for ; Mon, 7 Apr 2003 05:28:57 +0200 Date: Mon, 7 Apr 2003 05:28:55 +0200 (CEST) From: Friedemann Becker X-Sender: To: In-Reply-To: <7m4r5byssv.wl@black.imgsrc.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.5 Subject: Re: Okay. who broke ata. 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, 07 Apr 2003 03:29:00 -0000 from another thread: try hw.ata.ata_dma="0" in /boot/loader.conf to disable DMA, it is currently broken but being worked on On Mon, 7 Apr 2003, Jun Kuriyama wrote: > At Sun, 6 Apr 2003 04:18:42 +0000 (UTC), > Kevin S. Brackett wrote: > > make world from yesterday broke support for my promise udma66 controller, > > getting READ/WRITE errors on the drive attached to, reverting to previous > > kernel fixes problem. > > I got same result. > > After updating to latest source, I got: > > ad0: 76319MB [155061/16/63] at ata0-master UDMA100 > ad1: 39266MB [79780/16/63] at ata0-slave UDMA100 > ad4: READ command timeout tag=0 serv=0 - resetting > ata2: resetting devices .. > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; lapic.id = 00000000 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc015eed2 > stack pointer = 0x10:0xe11f0c48 > frame pointer = 0x10:0xe11f0c5c > 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 = 14 (swi7: tty:sio clock) > kernel: type 12 trap, code=0 > Stopped at reinit_bus+0x12: movl 0(%esi),%eax > db> trace > reinit_bus(0,2,e11f0c90,c0147998,c7a61e00) at reinit_bus+0x12 > atapi_cam_reinit_bus(c7a61e00,ec,c03adf22,3,c7a87f00) at atapi_cam_reinit_bus+0x21 > ata_reinit(c7a61e00,c7a87f00,c03a9f87,0,0) at ata_reinit+0x3c8 > ad_timeout(c7a87f00,0,c03c0542,bf,438) at ad_timeout+0x136 > softclock(0,0,c03bd526,232,c3afd5a0) at softclock+0x19c > ithread_loop(c3afc180,e11f0d48,c03bd3a2,314,0) at ithread_loop+0x182 > fork_exit(c01fac70,c3afc180,e11f0d48) at fork_exit+0xc4 > fork_trampoline() at fork_trampoline+0x1a > > > Previous (Mar 26) kernel said like this: > > ad0: 76319MB [155061/16/63] at ata0-master UDMA100 > ad1: 39266MB [79780/16/63] at ata0-slave UDMA100 > ad4: 58644MB [119150/16/63] at ata2-master UDMA100 > ad5: 43979MB [89355/16/63] at ata2-slave UDMA100 > acd0: CD-RW at ata1-master PIO4 > acd1: DVD-R at ata1-slave PIO4 > pass0 at ata1 bus 0 target 0 lun 0 > pass0: Removable CD-ROM SCSI-0 device > pass0: 16.000MB/s transfers > pass1 at ata1 bus 0 target 1 lun 0 > pass1: Removable CD-ROM SCSI-0 device > pass1: 16.000MB/s transfers > > > -- > Jun Kuriyama // IMG SRC, Inc. > // FreeBSD Project > _______________________________________________ > 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 Apr 6 22:14:35 2003 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 BFD9F37B401 for ; Sun, 6 Apr 2003 22:14:35 -0700 (PDT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3792A43F85 for ; Sun, 6 Apr 2003 22:14:34 -0700 (PDT) (envelope-from Alex.Wilkinson@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id h375Et7U000906 for ; Mon, 7 Apr 2003 14:44:55 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au for ; Mon, 7 Apr 2003 14:44:25 +0930 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81])h3753jh05905 for ; Mon, 7 Apr 2003 14:33:46 +0930 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2FV13MQA; Mon, 7 Apr 2003 14:33:35 +0930 Date: Mon, 7 Apr 2003 14:33:45 +0930 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au To: current@freebsd.org Message-ID: <20030407143118.V1049@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: SCHED_ULE question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex.Wilkinson@dsto.defence.gov.au List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 05:14:36 -0000 Hi all, How can I verify that I am using the new and improved scheduler (SCHED_ULE) on a running system that does not have the kernel config file to grep through. Cheers - aW From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 22:23:02 2003 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 A7C1F37B401 for ; Sun, 6 Apr 2003 22:23:02 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8DF543FAF for ; Sun, 6 Apr 2003 22:23:01 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.9/8.12.9) with SMTP id h375NJYY090276; Mon, 7 Apr 2003 01:23:19 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 7 Apr 2003 01:23:18 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Munehiro Matsuda In-Reply-To: <20030406.215054.74749642.haro@h4.dion.ne.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: libthr faults with recent 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: Mon, 07 Apr 2003 05:23:02 -0000 Jake Burkholder just posted a patch to freebsd-threads that works around (fixes?) the problem; indeed, it does seem to be a result of the recent LAZY_SWITCH changes. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Sun, 6 Apr 2003, Munehiro Matsuda wrote: > Hi, > > When ever I try to run application with the new libthr.so.1 with > recent kernel, I get my system falt and just reboots: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xa0 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc037f80e > stack pointer = 0x10:0xd202fca0 > frame pointer = 0x10:0xd202fcc8 > 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 = Idle > trap number = 12 > panic: page fault > > > Anybody seen this, or am I the only getting this? > > I'm assuming that, it started after the LAZY_SWITCH commit, > but I can't say for sure. > > Thanks, > Haro > =------------------------------------------------------------------------------ > _ _ Munehiro (haro) Matsuda > -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. > /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome > Chuo-ku Tokyo 103-8310, Japan > Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 > Email: haro@kgt.co.jp > > > > > > _______________________________________________ > 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 Apr 6 23:02:53 2003 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 E521E37B401 for ; Sun, 6 Apr 2003 23:02:53 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 277F743F75 for ; Sun, 6 Apr 2003 23:02:53 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h3762nA7089084; Mon, 7 Apr 2003 00:02:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 07 Apr 2003 00:01:18 -0600 (MDT) Message-Id: <20030407.000118.68039554.imp@bsdimp.com> To: mat@cnd.mcgill.ca From: "M. Warner Losh" In-Reply-To: <20030406164134.GN17533@cnd.mcgill.ca> References: <20030404182557.GK17533@cnd.mcgill.ca> <20030406164134.GN17533@cnd.mcgill.ca> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Mon, 07 Apr 2003 06:02:54 -0000 You can't create ISA devices that are parented to the pci bus. You just can't. You have to make them be full pci devices. Hweover, this is relatively easy to do. You hacks will just not work. Warner From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 23:09:36 2003 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 1BC0D37B401 for ; Sun, 6 Apr 2003 23:09:36 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F13643F85 for ; Sun, 6 Apr 2003 23:09:35 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h3769YA7089146; Mon, 7 Apr 2003 00:09:34 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 07 Apr 2003 00:08:02 -0600 (MDT) Message-Id: <20030407.000802.85393338.imp@bsdimp.com> To: ler@lerctr.org From: "M. Warner Losh" In-Reply-To: <84970000.1049675826@lerlaptop.lerctr.org> References: <3000000.1049628223@lerlaptop.lerctr.org> <3950000.1049655445@lerlaptop.lerctr.org> <84970000.1049675826@lerlaptop.lerctr.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 07 Apr 2003 06:09:36 -0000 Can you add options DDB to your kernel and see if the traceback changes at all? Warner From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 23:22:25 2003 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 1355237B401; Sun, 6 Apr 2003 23:22:25 -0700 (PDT) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E7143FBD; Sun, 6 Apr 2003 23:22:24 -0700 (PDT) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id C0D6F4A2C1; Mon, 7 Apr 2003 15:22:22 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 9B1174771C; Mon, 7 Apr 2003 15:22:22 +0900 (JST) Received: from localhost [192.168.17.105] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id AA86B0400FC; Mon, 07 Apr 2003 15:28:22 +0900 Date: Mon, 07 Apr 2003 15:22:21 +0900 (JST) Message-Id: <20030407.152221.06255547.haro@kgt.co.jp> To: rwatson@freebsd.org From: haro@kgt.co.jp In-Reply-To: References: <20030406.215054.74749642.haro@h4.dion.ne.jp> X-Mailer: Mew version 3.2 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: libthr faults with recent 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: Mon, 07 Apr 2003 06:22:25 -0000 Hi, With the patch applied, system doesn't crash anymore. Thanks for the info. Regards, Haro From: Robert Watson Date: Mon, 7 Apr 2003 01:23:18 -0400 (EDT) ::Jake Burkholder just posted a patch to freebsd-threads that works around ::(fixes?) the problem; indeed, it does seem to be a result of the recent ::LAZY_SWITCH changes. :: ::Robert N M Watson FreeBSD Core Team, TrustedBSD Projects ::robert@fledge.watson.org Network Associates Laboratories :: ::On Sun, 6 Apr 2003, Munehiro Matsuda wrote: :: ::> Hi, ::> ::> When ever I try to run application with the new libthr.so.1 with ::> recent kernel, I get my system falt and just reboots: ::> ::> Fatal trap 12: page fault while in kernel mode ::> fault virtual address = 0xa0 ::> fault code = supervisor read, page not present ::> instruction pointer = 0x8:0xc037f80e ::> stack pointer = 0x10:0xd202fca0 ::> frame pointer = 0x10:0xd202fcc8 ::> 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 = Idle ::> trap number = 12 ::> panic: page fault ::> ::> ::> Anybody seen this, or am I the only getting this? ::> ::> I'm assuming that, it started after the LAZY_SWITCH commit, ::> but I can't say for sure. =----------------------------------------------------------------------- _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Kubota Graphics Technology Inc. /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0931 Fax: +81-3-3225-0930 Email: haro@kgt.co.jp From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 23:45:41 2003 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 344DB37B401 for ; Sun, 6 Apr 2003 23:45:41 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 759FC43FAF for ; Sun, 6 Apr 2003 23:45:40 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h376lnqC043942; Mon, 7 Apr 2003 02:47:49 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h376lnYt043941; Mon, 7 Apr 2003 02:47:49 -0400 (EDT) Date: Mon, 7 Apr 2003 02:47:49 -0400 From: Mathew Kanner To: "M. Warner Losh" Message-ID: <20030407064749.GO17533@cnd.mcgill.ca> References: <20030404182557.GK17533@cnd.mcgill.ca> <20030406164134.GN17533@cnd.mcgill.ca> <20030407.000118.68039554.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407.000118.68039554.imp@bsdimp.com> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Mon, 07 Apr 2003 06:45:41 -0000 Hello Warner, Thanks for your comments, it helps keep me interested as this is only a for fun hacking project. On Apr 07, M. Warner Losh wrote: > You can't create ISA devices that are parented to the pci bus. You > just can't. I don't understand your comment, isn't the newly created devices parent the (first) ISA bus? I scan for the isa class, get device instances and create from there. > You have to make them be full pci devices. > Hweover, this > is relatively easy to do. You hacks will just not work. But it's an ISA device on on a pci card. I don't know this for sure but the soundcard docs talk about special hardware to appear as a legacy device, also, all pci devices on my machine have 4 byte port ranges while this and other ISA devices have 3. I can send and receive on the MPU, albeit, sending is screwy either too fast or too slow, (too slow by itself, too fast when I force feed interrupts with timeout(), sigh, I wonder if send interrupts are broken for mpus in general). kldload and unload both the pci(soundcard) and the isa(mpu) drivers seem to work well. --Mat -- The Brain: We're going to a place where the sun never sets, the size of your wallet matters, and actors and actresses slave all day! Pinky: We're going to Denny's? From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 23:45:48 2003 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 EF02937B404 for ; Sun, 6 Apr 2003 23:45:48 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00A9943FBF for ; Sun, 6 Apr 2003 23:45:48 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h376jkUs093616 for ; Mon, 7 Apr 2003 02:45:47 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h376jk28093613 for ; Mon, 7 Apr 2003 02:45:46 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Mon, 7 Apr 2003 02:45:44 -0400 (EDT) From: Andre Guibert de Bruet To: current@freebsd.org Message-ID: <20030407024249.S92580@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: nge not in GENERIC? 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, 07 Apr 2003 06:45:49 -0000 Hi, Is there a reason why the MII-based nge(4) doesn't figure in GENERIC? Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 00:14:44 2003 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 2191037B401 for ; Mon, 7 Apr 2003 00:14:44 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40FA643FAF for ; Mon, 7 Apr 2003 00:14:43 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h377EVA7089544; Mon, 7 Apr 2003 01:14:31 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 07 Apr 2003 01:12:58 -0600 (MDT) Message-Id: <20030407.011258.62370040.imp@bsdimp.com> To: mat@cnd.mcgill.ca From: "M. Warner Losh" In-Reply-To: <20030407064749.GO17533@cnd.mcgill.ca> References: <20030406164134.GN17533@cnd.mcgill.ca> <20030407.000118.68039554.imp@bsdimp.com> <20030407064749.GO17533@cnd.mcgill.ca> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Mon, 07 Apr 2003 07:14:44 -0000 In message: <20030407064749.GO17533@cnd.mcgill.ca> Mathew Kanner writes: : Hello Warner, : Thanks for your comments, it helps keep me interested as this : is only a for fun hacking project. : : On Apr 07, M. Warner Losh wrote: : > You can't create ISA devices that are parented to the pci bus. You : > just can't. : : I don't understand your comment, isn't the newly created : devices parent the (first) ISA bus? I scan for the isa class, get : device instances and create from there. I'm saying that what you are doing isn't right and won't work too well. If the device is on the pci bus, you have to create a pci attachment. : > You have to make them be full pci devices. : > Hweover, this : > is relatively easy to do. You hacks will just not work. : : But it's an ISA device on on a pci card. that's not possible. It is *NOT* an ISA device unless it is on a card that has ISA fingers on it. Otherwise it *IS* a PCI device. Does the pci card have a PCI to ISA bridge on it? If not, then you have to deal with it as a PCI bus. : I don't know this : for sure but the soundcard docs talk about special hardware to appear : as a legacy device, also, all pci devices on my machine have 4 byte : port ranges while this and other ISA devices have 3. I don't understand this. : I can send and receive on the MPU, albeit, sending is screwy : either too fast or too slow, (too slow by itself, too fast when I : force feed interrupts with timeout(), sigh, I wonder if send interrupts : are broken for mpus in general). : kldload and unload both the pci(soundcard) and the isa(mpu) : drivers seem to work well. You likely need to attach the mpu device to the pci soundcard in some way, or if the pci device has its own function, directly to the pci device. Chances are excellent that's what the interrupt problem you are encountering are. Warner From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 03:27:01 2003 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 7137337B404 for ; Mon, 7 Apr 2003 03:27:01 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF0C43FAF for ; Mon, 7 Apr 2003 03:27:00 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B1C7F66D16 for ; Mon, 7 Apr 2003 03:27:00 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 92EFE10E3; Mon, 7 Apr 2003 03:27:00 -0700 (PDT) Date: Mon, 7 Apr 2003 03:27:00 -0700 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20030407102700.GD56702@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GyRA7555PLgSTuth" Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Port errors from 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, 07 Apr 2003 10:27:01 -0000 --GyRA7555PLgSTuth Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This port has been broken by recent changes to -current. Can someone please investigate? http://bento.freebsd.org/errorlogs/i386-5-latest/uds-1.0.6.log Kris --GyRA7555PLgSTuth Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kVJzWry0BWjoQKURAlojAKDkLCtjlEf5MvraATwFbWtzBjUt6gCgoFHa pGEB2SjaXIUPbOQDjVssYfs= =mn7H -----END PGP SIGNATURE----- --GyRA7555PLgSTuth-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 03:35:03 2003 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 53C0837B401; Mon, 7 Apr 2003 03:35:03 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id A45A643FAF; Mon, 7 Apr 2003 03:35:02 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id F24BE66D16; Mon, 7 Apr 2003 03:35:01 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id E80F610E3; Mon, 7 Apr 2003 03:35:01 -0700 (PDT) Date: Mon, 7 Apr 2003 03:35:01 -0700 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20030407103501.GM56702@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KSyhVCl2eeZHT0Rn" Content-Disposition: inline User-Agent: Mutt/1.4i cc: jake@FreeBSD.org Subject: vm_paddr_t causing port errors 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, 07 Apr 2003 10:35:03 -0000 --KSyhVCl2eeZHT0Rn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline It looks like a number of ports are failing on alpha with an error relating to vm_paddr_t. Can whoever is responsible please investigate? http://bento.freebsd.org/errorlogs/alpha-5-latest/ezload-0.3.1.log http://bento.freebsd.org/errorlogs/alpha-5-latest/lsof-4.67.log http://bento.freebsd.org/errorlogs/alpha-5-latest/tircproxy-0.4.5_3.log Kris --KSyhVCl2eeZHT0Rn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kVRVWry0BWjoQKURAqmfAJ4mYs+VMCe4Ep6InSokdRLa5Y8IrwCfaI/3 h4qiWoyhUe7W0FbG5Yzwa0s= =max9 -----END PGP SIGNATURE----- --KSyhVCl2eeZHT0Rn-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 03:47:53 2003 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 4627137B401 for ; Mon, 7 Apr 2003 03:47:53 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EB9443F85 for ; Mon, 7 Apr 2003 03:47:52 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h37Alkht022131; Mon, 7 Apr 2003 05:47:47 -0500 (CDT) Date: Mon, 07 Apr 2003 05:47:46 -0500 From: Larry Rosenman To: "M. Warner Losh" Message-ID: <2150000.1049712466@lerlaptop.lerctr.org> In-Reply-To: <20030407.000802.85393338.imp@bsdimp.com> References: <3000000.1049628223@lerlaptop.lerctr.org> <3950000.1049655445@lerlaptop.lerctr.org> <84970000.1049675826@lerlaptop.lerctr.org> <20030407.000802.85393338.imp@bsdimp.com> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 07 Apr 2003 10:47:53 -0000 --On Monday, April 07, 2003 00:08:02 -0600 "M. Warner Losh" wrote: > Can you add options DDB to your kernel and see if the traceback > changes at all? > > Warner Here ya go: Script started on Mon Apr 7 05:34:55 2003 lerlaptop# gdb -k kernel.3 vmcore.3 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: from debugger panic messages: --- Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc0239568 stack pointer = 0x10:0xd63c4ce8 frame pointer = 0x10:0xd63c4d0c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 23 (irq11: cbb0 cbb1+++) panic: from debugger Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc03923a4 stack pointer = 0x10:0xd63c4aa0 frame pointer = 0x10:0xd63c4aac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = IOPL = 0 current process = 23 (irq11: cbb0 cbb1+++) panic: from debugger Uptime: 2m9s Dumping 503 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 239 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 #1 0xc024af18 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371 #2 0xc024b1c3 in panic () at /usr/src/sys/kern/kern_shutdown.c:542 #3 0xc014b5b2 in db_panic () at /usr/src/sys/ddb/db_command.c:448 #4 0xc014b532 in db_command (last_cmdp=0xc0407ac0, cmd_table=0x0, aux_cmd_tablep=0xc0401b18, aux_cmd_tablep_end=0xc0401b1c) at /usr/src/sys/ddb/db_command.c:346 #5 0xc014b646 in db_command_loop () at /usr/src/sys/ddb/db_command.c:470 #6 0xc014e3da in db_trap (type=18, code=0) at /usr/src/sys/ddb/db_trap.c:72 #7 0xc0392105 in kdb_trap (type=18, code=0, regs=0xd63c4ca8) at /usr/src/sys/i386/i386/db_interface.c:170 #8 0xc03a33f2 in trap_fatal (frame=0xd63c4ca8, eva=0) at /usr/src/sys/i386/i386/trap.c:838 #9 0xc03a2ee2 in trap (frame= {tf_fs = -1051852776, tf_es = -1007157232, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1007113728, tf_ebp = -700691188, tf_isp = -700691244, tf_ebx = -1007013248, tf_edx = 4, tf_ecx = -1069337536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1071409816, tf_cs = 8, tf_eflags = 582, tf_esp = -1069337536, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:640 #10 0xc0393a58 in calltrap () at {standard input}:96 #11 0xc0238852 in fork_exit (callout=0xc02394c0 , arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:796 (kgdb) fr ? ? 11 #11 0xc0238852 in fork_exit (callout=0xc02394c0 , arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:796 796 callout(arg, frame); (kgdb) print ? ?/x frame $1 = 0x0 (kgdb) print ? ?? ?? ?? ?? ?? ??????l 791 * cpu_set_fork_handler intercepts this function call to 792 * have this call a non-return function to stay in kernel mode. 793 * initproc has its own fork handler, but it does return. 794 */ 795 KASSERT(callout != NULL, ("NULL callout in fork_exit")); 796 callout(arg, frame); 797 798 /* 799 * Check if a kernel thread misbehaved and returned from its main 800 * function. (kgdb) fr 10 #10 0xc0393a58 in calltrap () at {standard input}:96 96 {standard input}: No such file or directory. in {standard input} Current language: auto; currently asm (kgdb) fr? ?? ???fr 9 #9 0xc03a2ee2 in trap (frame= {tf_fs = -1051852776, tf_es = -1007157232, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1007113728, tf_ebp = -700691188, tf_isp = -700691244, tf_ebx = -1007013248, tf_edx = 4, tf_ecx = -1069337536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1071409816, tf_cs = 8, tf_eflags = 582, tf_esp = -1069337536, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:640 640 trap_fatal(&frame, eva); Current language: auto; currently c (kgdb) print ? ?/x frame $2 = {tf_fs = 0xc14e0018, tf_es = 0xc3f80010, tf_ds = 0xd63c0010, tf_edi = 0xc14eb130, tf_esi = 0xc3f8aa00, tf_ebp = 0xd63c4d0c, tf_isp = 0xd63c4cd4, tf_ebx = 0xc3fa3280, tf_edx = 0x4, tf_ecx = 0xc0433440, tf_eax = 0x0, tf_trapno = 0x12, tf_err = 0x0, tf_eip = 0xc0239568, tf_cs = 0x8, tf_eflags = 0x246, tf_esp = 0xc0433440, tf_ss = 0x0} (kgdb) print eva $3 = 0 (kgdb) lerlaptop# ^D??exit Script done on Mon Apr 7 05:37:06 2003 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 04:07:53 2003 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 EFC8737B401 for ; Mon, 7 Apr 2003 04:07:53 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3659D43F93 for ; Mon, 7 Apr 2003 04:07:53 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0)h37B7mht023283; Mon, 7 Apr 2003 06:07:48 -0500 (CDT) Date: Mon, 07 Apr 2003 06:07:48 -0500 From: Larry Rosenman To: "M. Warner Losh" Message-ID: <15310000.1049713668@lerlaptop.lerctr.org> In-Reply-To: <2150000.1049712466@lerlaptop.lerctr.org> References: <3000000.1049628223@lerlaptop.lerctr.org> <3950000.1049655445@lerlaptop.lerctr.org> <84970000.1049675826@lerlaptop.lerctr.org> <20030407.000802.85393338.imp@bsdimp.com> <2150000.1049712466@lerlaptop.lerctr.org> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-current@freebsd.org Subject: Re: Integer Exception/5-CURRENT/cbb related 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, 07 Apr 2003 11:07:54 -0000 --On Monday, April 07, 2003 05:47:46 -0500 Larry Rosenman wrote: > > > --On Monday, April 07, 2003 00:08:02 -0600 "M. Warner Losh" > wrote: > >> Can you add options DDB to your kernel and see if the traceback >> changes at all? >> >> Warner > > Here ya go: [snip] I've updated the page at http://www.lerctr.org/~ler/FreeBSD/ with this backtrace and a link to a 2nd tarball. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 04:18:44 2003 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 1C90F37B401 for ; Mon, 7 Apr 2003 04:18:44 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EF2743FA3 for ; Mon, 7 Apr 2003 04:18:43 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h37BIoxS074710; Mon, 7 Apr 2003 07:18:50 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h37BIoQR074709; Mon, 7 Apr 2003 07:18:50 -0400 (EDT) Date: Mon, 7 Apr 2003 07:18:50 -0400 From: Jake Burkholder To: Kris Kennaway Message-ID: <20030407111850.GC67830@locore.ca> References: <20030407103501.GM56702@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407103501.GM56702@rot13.obsecurity.org> User-Agent: Mutt/1.4i cc: current@FreeBSD.org Subject: Re: vm_paddr_t causing port errors 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, 07 Apr 2003 11:18:44 -0000 Apparently, On Mon, Apr 07, 2003 at 03:35:01AM -0700, Kris Kennaway said words to the effect of; > It looks like a number of ports are failing on alpha with an error > relating to vm_paddr_t. Can whoever is responsible please > investigate? > > http://bento.freebsd.org/errorlogs/alpha-5-latest/ezload-0.3.1.log > http://bento.freebsd.org/errorlogs/alpha-5-latest/lsof-4.67.log > http://bento.freebsd.org/errorlogs/alpha-5-latest/tircproxy-0.4.5_3.log It looks like these ports include kernel headers directly from a source tree, not from the installed includes. This will not work unless your world is up to date. Please don't blame kernel developers for broken applications. Jake From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 04:26:56 2003 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 AD99937B404 for ; Mon, 7 Apr 2003 04:26:56 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C5C843FBD for ; Mon, 7 Apr 2003 04:26:56 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0041.cvx22-bradley.dialup.earthlink.net ([209.179.198.41] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 192Uly-0006pq-00; Mon, 07 Apr 2003 04:26:47 -0700 Message-ID: <3E916024.9D7E77C6@mindspring.com> Date: Mon, 07 Apr 2003 04:25:24 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "M. Warner Losh" References: <20030406164134.GN17533@cnd.mcgill.ca> <20030407.000118.68039554.imp@bsdimp.com> <20030407.011258.62370040.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a45db47cf661b9e1b47c3afcbe00f9f6c73ca473d225a0f487350badd9bab72f9c350badd9bab72f9c cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Mon, 07 Apr 2003 11:26:57 -0000 "M. Warner Losh" wrote: > In message: <20030407064749.GO17533@cnd.mcgill.ca> > Mathew Kanner writes: > : On Apr 07, M. Warner Losh wrote: > : > You can't create ISA devices that are parented to the pci bus. You > : > just can't. > : > : I don't understand your comment, isn't the newly created > : devices parent the (first) ISA bus? I scan for the isa class, get > : device instances and create from there. > > I'm saying that what you are doing isn't right and won't work too > well. If the device is on the pci bus, you have to create a pci > attachment. [ ... ] > : But it's an ISA device on on a pci card. > > that's not possible. It is *NOT* an ISA device unless it is on a card > that has ISA fingers on it. Otherwise it *IS* a PCI device. Does the > pci card have a PCI to ISA bridge on it? If not, then you have to > deal with it as a PCI bus. I think this is what he means: yes, there's a PCI-ISA bridge on the card, with an ISA device hung off the ISA side of the bridge. I remember that there were 1-ISA-device-PCI-ISA bridges when PCI first came out; this is probably one of them. His issue has got to be that you can't treat this as a normal PCI card, and have it "just work", because there's a 24 bit limit on the DMA addresses. This basically boils down to a "how do I get bounce buffers for an address space limited PCI card, if I am pretending it's a ``pure PCI'' device"? I think there's also a sub-issue; in his next-to-last post, he sort of implied (but didn't come right out and say) that the bridge driver itself gets probed and attached by the system, which then sees an ISA bus there. This could be problematic for him, since I don't think he wants to have to grab the card as PCI, and then write his own bridge chipset code (maybe he does, and I just missed it...). I think it would probably be a mistake to end up with multiple drivers for bridge chipsets, depending on whether or not they are on the motherboard or on a PCI card. Worst case, you have a box full of PCI cards whose function is to provide PCI-ISA bridges for ISA devices (serial ports, whatever), and every one of them has a seperate bridge driver in its driver. 8-(. So, I think he needs to tell you/the rest of us? 1) You imply a PCI-ISA bridge twice. Does the card have a PCI-ISA bridge? 2) Assuming the answer to #1 is "yes", who finds the bridge chip? Is it your code in your driver, or does the OS find it, as a recognized bridge chipset? 3) How do you want to handle the 24-bit address space problem on a PCI device? This is going to depend on the answer to #2. -- Terry From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 05:08:32 2003 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 CE17B37B401 for ; Mon, 7 Apr 2003 05:08:32 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E04D43FBD for ; Mon, 7 Apr 2003 05:08:32 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 233A75308; Mon, 7 Apr 2003 14:08:28 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Alex.Wilkinson@dsto.defence.gov.au From: Dag-Erling Smorgrav Date: Mon, 07 Apr 2003 14:08:28 +0200 In-Reply-To: <20030407143118.V1049@squirm.dsto.defence.gov.au> ("Wilkinson,Alex"'s message of "Mon, 7 Apr 2003 14:33:45 +0930 (CST)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030407143118.V1049@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: current@freebsd.org Subject: Re: SCHED_ULE question 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, 07 Apr 2003 12:08:33 -0000 "Wilkinson,Alex" writes: > How can I verify that I am using the new and improved scheduler > (SCHED_ULE) on a running system that does not have the kernel config > file to grep through. # sysctl kern.quantum sysctl: unknown oid 'kern.quantum' DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 05:16:58 2003 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 4FE0837B404 for ; Mon, 7 Apr 2003 05:16:58 -0700 (PDT) Received: from web41813.mail.yahoo.com (web41813.mail.yahoo.com [66.218.93.147]) by mx1.FreeBSD.org (Postfix) with SMTP id E8C9943F3F for ; Mon, 7 Apr 2003 05:16:57 -0700 (PDT) (envelope-from csujun@yahoo.com) Message-ID: <20030407121657.87751.qmail@web41813.mail.yahoo.com> Received: from [211.161.222.111] by web41813.mail.yahoo.com via HTTP; Mon, 07 Apr 2003 20:16:57 CST Date: Mon, 7 Apr 2003 20:16:57 +0800 (CST) From: =?gb2312?q?Jun=20Su?= To: Friedemann Becker In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit cc: current@freebsd.org Subject: Re: why not document load modules instead of recompiling kernel?? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: csujun@21cn.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 12:16:58 -0000 --- Friedemann Becker 的正文:> sorry, this should have been addressed to the list, > rather than you. > I once again pressed "reply" and forgot to enter the > right "To" address > > :)) > > On Sun, 6 Apr 2003, Friedemann Becker wrote: > > > Date: Sun, 6 Apr 2003 21:12:42 +0200 (CEST) > > From: Friedemann Becker > > > To: Dag-Erling Sm?grav > > Cc: csujun@21cn.com, current@freebsd.org > > Subject: Re: why not document load modules instead > of recompiling kernel?? > > > > hmm..... ;-) > > > > [bitch] /boot/kernel> file > /boot/kernel/dummynet.ko > > /boot/kernel/dummynet.ko: ELF 32-bit LSB shared > object, Intel 80386, > > version 1 (FreeBSD), not stripped > > > > > > most tasks can be done with kld, no need to > recompile the kernel. > > it's much much easier so a source of less errors. > > I think too, kld should be mentioned appropriatly > in the handbook. When > > reading, it seemes like rebuilding the kernel is > the best (or only) way to > > configure the device drivers on the system, but I > think in most cases, > > kldloading would be better. > > what else am I supposed to do with my modules? > > > > On Sun, 6 Apr 2003, Dag-Erling Sm?grav wrote: > > > > > Jun Su writes: > > > > However, kldload ipfw also works. Why there > isn;t any > > > > words about this? Is loadable module not > encourage? > > > > > > The module is built without any options (such as > logging), and there > > > is no kld for divert sockets or dummynet. > > > > We can also use the compile flag to customize the load module. This also should be documented, I think. :):) _________________________________________________________ Do You Yahoo!? 更多惊喜,同样精彩,NetVista A30 热卖 http://ad.cn.doubleclick.net/clk;5313999;7930402;p?http://www.ibm.com/cn/promotion/pc/netvista_a30/index.shtml From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 06:36:27 2003 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 4515537B404; Mon, 7 Apr 2003 06:36:27 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7D6F43F93; Mon, 7 Apr 2003 06:36:25 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h37DaPMS010512 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 7 Apr 2003 09:36:25 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h37DaKl41391; Mon, 7 Apr 2003 09:36:20 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16017.32468.46422.527585@grasshopper.cs.duke.edu> Date: Mon, 7 Apr 2003 09:36:20 -0400 (EDT) To: Kris Kennaway In-Reply-To: <20030407103501.GM56702@rot13.obsecurity.org> References: <20030407103501.GM56702@rot13.obsecurity.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: current@FreeBSD.org cc: jake@FreeBSD.org Subject: Re: vm_paddr_t causing port errors 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, 07 Apr 2003 13:36:27 -0000 Kris Kennaway writes: > It looks like a number of ports are failing on alpha with an error > relating to vm_paddr_t. Can whoever is responsible please > investigate? > > http://bento.freebsd.org/errorlogs/alpha-5-latest/ezload-0.3.1.log > http://bento.freebsd.org/errorlogs/alpha-5-latest/lsof-4.67.log > http://bento.freebsd.org/errorlogs/alpha-5-latest/tircproxy-0.4.5_3.log All of these build fine for me on an alpha whose world was built/installed on April 5th. How recent is the world on these machines? Drew From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 07:04:02 2003 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 9539137B401 for ; Mon, 7 Apr 2003 07:04:02 -0700 (PDT) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E9ED43FA3 for ; Mon, 7 Apr 2003 07:04:01 -0700 (PDT) (envelope-from gavin@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id h37E3iX14417; Mon, 7 Apr 2003 15:03:45 +0100 (BST) Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.6p2/8.12.6) with ESMTP id h37E3hSk083743; Mon, 7 Apr 2003 15:03:43 +0100 (BST) (envelope-from gavin@ury.york.ac.uk) Received: from localhost (gavin@localhost)h37E3gm7083720; Mon, 7 Apr 2003 15:03:43 +0100 (BST) Date: Mon, 7 Apr 2003 15:03:42 +0100 (BST) From: Gavin Atkinson To: "M. Warner Losh" In-Reply-To: <20030405.213333.80215738.imp@bsdimp.com> Message-ID: <20030407150042.W83532-100000@ury.york.ac.uk> References: <20030405105015.K6270-100000@ury.york.ac.uk> <20030405.213333.80215738.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: device puc on non-i386 or with parallel devices 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, 07 Apr 2003 14:04:02 -0000 On Sat, 5 Apr 2003, M. Warner Losh wrote: > In message: <20030405105015.K6270-100000@ury.york.ac.uk> > Gavin Atkinson writes: > : I'm currently working on updating the hardware release notes to reflect > : reality. the puc device is currently only in the i386 section of the > : release notes, however I am under the impression people are successfully > : using it with other platforms. Can anyone confirm this? > > Yes. On which other platforms is it known to work? Gavin From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 07:12:49 2003 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 CDA2A37B401 for ; Mon, 7 Apr 2003 07:12:49 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5EC143F3F for ; Mon, 7 Apr 2003 07:12:46 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h37ECg932334 for ; Mon, 7 Apr 2003 11:12:42 -0300 Message-ID: <3E91875A.9080200@tcoip.com.br> Date: Mon, 07 Apr 2003 11:12:42 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030326 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: CURRENT Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel broken (it's all USB's fault) 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, 07 Apr 2003 14:12:50 -0000 Ok, who did it? cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/usb/if_kue.c /usr/src/sys/dev/usb/if_kue.c:116: `USB_PRODUCT_KLSI_DUH3E10BTN' undeclared here (not in a function) /usr/src/sys/dev/usb/if_kue.c:116: initializer element is not constant /usr/src/sys/dev/usb/if_kue.c:116: (near initialization for `kue_devs[14].kue_did') /usr/src/sys/dev/usb/if_kue.c:116: initializer element is not constant /usr/src/sys/dev/usb/if_kue.c:116: (near initialization for `kue_devs[14]') /usr/src/sys/dev/usb/if_kue.c:117: initializer element is not constant /usr/src/sys/dev/usb/if_kue.c:117: (near initialization for `kue_devs[15]') /usr/src/sys/dev/usb/if_kue.c:118: initializer element is not constant /usr/src/sys/dev/usb/if_kue.c:118: (near initialization for `kue_devs[16]') /usr/src/sys/dev/usb/if_kue.c:119: initializer element is not constant /usr/src/sys/dev/usb/if_kue.c:119: (near initialization for `kue_devs[17]') /usr/src/sys/dev/usb/if_kue.c:120: initializer element is not constant /usr/src/sys/dev/usb/if_kue.c:120: (near initialization for `kue_devs[18]') *** Error code 1 Stop in /usr/obj/usr/src/sys/DCS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca TCO Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net If you would keep a secret from an enemy, tell it not to a friend. From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 07:40:57 2003 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 CB74037B401 for ; Mon, 7 Apr 2003 07:40:57 -0700 (PDT) Received: from insourcery.net (ns1.insourcery.net [198.93.171.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22FB743FAF for ; Mon, 7 Apr 2003 07:40:55 -0700 (PDT) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by insourcery.net with local; Mon, 07 Apr 2003 07:40:51 -0700 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) by mail.encontacto.net (Horde) with HTTP for ; Mon, 7 Apr 2003 07:40:51 -0700 Message-ID: <1049726451.ce22d5cdcbf62@mail.encontacto.net> X-Priority: 3 (Normal) Date: Mon, 7 Apr 2003 07:40:51 -0700 From: eculp@encontacto.net To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 64.173.182.155 Subject: After this mornings build: Syntax error: "for" unexpected 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, 07 Apr 2003 14:40:58 -0000 After a new cvsup this morning I am getting Syntax error: "for" unexpected anytime I do a make. The make world was going well until after installing csh. It then stoped with the above error after moving to games? I'm totally at a loss. Any suggestions would be appreciated on what the real problem is. The logfile of my failed make world follows. Thanks, ed install -o root -g wheel -m 444 csh.1.gz /usr/share/man/man1 /usr/share/man/man1/tcsh.1.gz -> /usr/share/man/man1/csh.1.gz /bin/tcsh -> /bin/csh /usr/share/nls/fi_FI.ISO8859-15/tcsh.cat -> ../fi_FI.ISO8859-1/tcsh.cat /usr/share/nls/fr_BE.ISO8859-1/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/fr_BE.ISO8859-15/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/fr_CA.ISO8859-1/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/fr_CA.ISO8859-15/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/fr_CH.ISO8859-1/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/fr_CH.ISO8859-15/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/fr_FR.ISO8859-15/tcsh.cat -> ../fr_FR.ISO8859-1/tcsh.cat /usr/share/nls/de_AT.ISO8859-1/tcsh.cat -> ../de_DE.ISO8859-1/tcsh.cat /usr/share/nls/de_AT.ISO8859-15/tcsh.cat -> ../de_DE.ISO8859-1/tcsh.cat /usr/share/nls/de_CH.ISO8859-1/tcsh.cat -> ../de_DE.ISO8859-1/tcsh.cat /usr/share/nls/de_CH.ISO8859-15/tcsh.cat -> ../de_DE.ISO8859-1/tcsh.cat /usr/share/nls/de_DE.ISO8859-15/tcsh.cat -> ../de_DE.ISO8859-1/tcsh.cat /usr/share/nls/it_CH.ISO8859-1/tcsh.cat -> ../it_IT.ISO8859-1/tcsh.cat /usr/share/nls/it_CH.ISO8859-15/tcsh.cat -> ../it_IT.ISO8859-1/tcsh.cat /usr/share/nls/it_IT.ISO8859-15/tcsh.cat -> ../it_IT.ISO8859-1/tcsh.cat /usr/share/nls/es_ES.ISO8859-15/tcsh.cat -> ../es_ES.ISO8859-1/tcsh.cat ===> games Syntax error: "for" unexpected *** Error code 2 -- ------------------------------------------------- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 07:45:12 2003 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 07AE637B401; Mon, 7 Apr 2003 07:45:12 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21DC843FAF; Mon, 7 Apr 2003 07:45:06 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h37Ej9xS075657; Mon, 7 Apr 2003 10:45:09 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h37Ej8Bg075656; Mon, 7 Apr 2003 10:45:08 -0400 (EDT) Date: Mon, 7 Apr 2003 10:45:08 -0400 From: Jake Burkholder To: haro@kgt.co.jp Message-ID: <20030407144508.GA75320@locore.ca> References: <20030406.215054.74749642.haro@h4.dion.ne.jp> <20030407.152221.06255547.haro@kgt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407.152221.06255547.haro@kgt.co.jp> User-Agent: Mutt/1.4i cc: rwatson@freebsd.org cc: current@freebsd.org Subject: Re: libthr faults with recent 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: Mon, 07 Apr 2003 14:45:12 -0000 Apparently, On Mon, Apr 07, 2003 at 03:22:21PM +0900, haro@kgt.co.jp said words to the effect of; > Hi, > > With the patch applied, system doesn't crash anymore. > Thanks for the info. > I don't know if its 100% correct or not so I'll wait for Jeff to get back or one of the the kse people to fix it properly. I think that the code in kern_thread.c should not try to teardown a thread while its still the current thread. Jake > Regards, > Haro > > From: Robert Watson > Date: Mon, 7 Apr 2003 01:23:18 -0400 (EDT) > ::Jake Burkholder just posted a patch to freebsd-threads that works around > ::(fixes?) the problem; indeed, it does seem to be a result of the recent > ::LAZY_SWITCH changes. > :: > ::Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > ::robert@fledge.watson.org Network Associates Laboratories > :: > ::On Sun, 6 Apr 2003, Munehiro Matsuda wrote: > :: > ::> Hi, > ::> > ::> When ever I try to run application with the new libthr.so.1 with > ::> recent kernel, I get my system falt and just reboots: > ::> > ::> Fatal trap 12: page fault while in kernel mode > ::> fault virtual address = 0xa0 > ::> fault code = supervisor read, page not present > ::> instruction pointer = 0x8:0xc037f80e > ::> stack pointer = 0x10:0xd202fca0 > ::> frame pointer = 0x10:0xd202fcc8 > ::> 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 = Idle > ::> trap number = 12 > ::> panic: page fault > ::> > ::> > ::> Anybody seen this, or am I the only getting this? > ::> > ::> I'm assuming that, it started after the LAZY_SWITCH commit, > ::> but I can't say for sure. > > =----------------------------------------------------------------------- > _ _ Munehiro (haro) Matsuda > -|- /_\ |_|_| Kubota Graphics Technology Inc. > /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan > Tel: +81-3-3225-0931 Fax: +81-3-3225-0930 > Email: haro@kgt.co.jp > > _______________________________________________ > 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 Apr 7 07:47:08 2003 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 3855137B401 for ; Mon, 7 Apr 2003 07:47:08 -0700 (PDT) Received: from ns.altadena.net (ns.altadena.net [207.151.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8537743FAF for ; Mon, 7 Apr 2003 07:47:07 -0700 (PDT) (envelope-from pete@ns.altadena.net) Received: from ns.altadena.net (localhost [127.0.0.1]) by ns.altadena.net (8.12.8p1/8.12.3) with ESMTP id h37El5YB034532 for ; Mon, 7 Apr 2003 07:47:05 -0700 (PDT) (envelope-from pete@ns.altadena.net) Received: (from pete@localhost) by ns.altadena.net (8.12.8p1/8.12.3/Submit) id h37El4Rx034530 for current@freebsd.org; Mon, 7 Apr 2003 07:47:04 -0700 (PDT) (envelope-from pete) From: Pete Carah Message-Id: <200304071447.h37El4Rx034530@ns.altadena.net> To: current@freebsd.org Date: Mon, 7 Apr 2003 07:47:04 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=iso8859-1 Content-Transfer-Encoding: 7bit Subject: Make world problem - apparent 'sh' partial commit 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, 07 Apr 2003 14:47:08 -0000 This came in last night during the 'make installworld' phase of make world first showing up under /usr/src/games. I lost that output, and now it happens very early in bootstrap tools. I'd presume a change to either '/bin/sh' or *.bsd.mk caused it. ------------------------------------------------------------------------ cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -I/usr/src/usr.sbin/kbdcontrol -c lex.c cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -I/usr/src/usr.sbin/kbdcontrol -L/usr/obj/usr/src/i386/legacy/usr/lib -static -o kbdcontrol kbdcontrol.o lex.o -ll sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 kbdcontrol /usr/obj/usr/src/i386/usr/sbin ===> gnu/usr.bin/gperf /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for /usr/src/gnu/usr.bin/gperf Syntax error: "for" unexpected *** Error code 2 Stop in /usr/src/gnu/usr.bin/gperf. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -------------------------------------------- If this was due to a change in sh, I have a catch-22 in that the make world doesn't get that far to fix it :-) (yes, I know I can likely build it individually, but things like this and unbootable kernels keep happening; these require the ability to cross-build under -stable to be kept at least for a while (I noted a comment that appeared to be from 'ru' to the effect that it may not be possible much longer...)) (and if 'make' fails in the /bin/sh subdir itself, we have a *real* catch-22...) Followup: OK - an individual rebuild of sh (1) worked, and (2) fixed the problem. Lucky this time... This probably resulted from a more general problem - how to assure that cvsup has brought in all dependent changes (or at least find out when it has not); there is no way to do this currently, I know that usually this is handled out-of-band with HEADS-UP messages but I didn't see one here... I presume that this is a more general property of cvs (e.g. lack of a partial-commit flag) and not just cvsup. I thought that one of the advantages of cvs over some of its competitors was that partial commits were less likely... -- Pete From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 08:05:52 2003 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 8496D37B40F for ; Mon, 7 Apr 2003 08:05:52 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77BFA43F85 for ; Mon, 7 Apr 2003 08:05:51 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h37F5lA7092690; Mon, 7 Apr 2003 09:05:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 07 Apr 2003 09:04:10 -0600 (MDT) Message-Id: <20030407.090410.118304537.imp@bsdimp.com> To: tlambert2@mindspring.com From: "M. Warner Losh" In-Reply-To: <3E916024.9D7E77C6@mindspring.com> References: <20030407064749.GO17533@cnd.mcgill.ca> <20030407.011258.62370040.imp@bsdimp.com> <3E916024.9D7E77C6@mindspring.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Mon, 07 Apr 2003 15:05:52 -0000 In message: <3E916024.9D7E77C6@mindspring.com> Terry Lambert writes: : I think this is what he means: yes, there's a PCI-ISA bridge on : the card, with an ISA device hung off the ISA side of the bridge. I doubt seriously this is the case. Otherwise our isa bridge code would attach another isa bus there and he'd not have a problem. : I remember that there were 1-ISA-device-PCI-ISA bridges when PCI : first came out; this is probably one of them. actually, there were and are a lot of localbus (aka ISA) to PCI bridges out there. These are PCI devices, and should be treated as such. It is extremely rare for a full-fledged PCI to ISA bridge to be on an add-in card that isn't a specialized hunk of hardware. Something as common as a sound card almost certainly doesn't do this. That makes the rest of your questions irrelevant.... Warner From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 08:15:41 2003 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 93FA637B401 for ; Mon, 7 Apr 2003 08:15:41 -0700 (PDT) Received: from insourcery.net (ns1.insourcery.net [198.93.171.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF46343FB1 for ; Mon, 7 Apr 2003 08:15:40 -0700 (PDT) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by insourcery.net with local; Mon, 07 Apr 2003 08:15:38 -0700 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) by mail.encontacto.net (Horde) with HTTP for ; Mon, 7 Apr 2003 08:15:38 -0700 Message-ID: <1049728538.a4a6cb558908b@mail.encontacto.net> X-Priority: 3 (Normal) Date: Mon, 7 Apr 2003 08:15:38 -0700 From: eculp@encontacto.net To: "current@freebsd.org" References: <1049726451.ce22d5cdcbf62@mail.encontacto.net> In-Reply-To: <1049726451.ce22d5cdcbf62@mail.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 64.173.182.155 Subject: Re: After this mornings build: Syntax error: "for" unexpected 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, 07 Apr 2003 15:15:41 -0000 Quoting "eculp@encontacto.net" : | After a new cvsup this morning I am getting Syntax error: "for" unexpected | anytime I do a make. The make world was going well until after installing | csh. It then stoped with the above error after moving to games? I'm | totally at a loss. Any suggestions would be appreciated on what the real | problem is. The logfile of my failed make world follows. | It appears that the problem is /bin/sh. I just started a new cvsup with a /bin/sh copied from another machine and it doesn't generate the Syntax error. Thanks, ed ------------------------------------------------- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 08:26:31 2003 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 C25B337B401 for ; Mon, 7 Apr 2003 08:26:31 -0700 (PDT) Received: from insourcery.net (ns1.insourcery.net [198.93.171.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC7143FB1 for ; Mon, 7 Apr 2003 08:26:31 -0700 (PDT) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by insourcery.net with local; Mon, 07 Apr 2003 08:26:31 -0700 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) by mail.encontacto.net (Horde) with HTTP for ; Mon, 7 Apr 2003 08:26:30 -0700 Message-ID: <1049729190.84deb5ebc9354@mail.encontacto.net> X-Priority: 3 (Normal) Date: Mon, 7 Apr 2003 08:26:30 -0700 From: eculp@encontacto.net To: "current@freebsd.org" References: <1049726451.ce22d5cdcbf62@mail.encontacto.net> <1049728538.a4a6cb558908b@mail.encontacto.net> In-Reply-To: <1049728538.a4a6cb558908b@mail.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 64.173.182.155 Subject: Re: After this mornings build: Syntax error: "for" unexpected 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, 07 Apr 2003 15:26:32 -0000 Quoting "eculp@encontacto.net" : | Quoting "eculp@encontacto.net" : | | | After a new cvsup this morning I am getting Syntax error: "for" unexpected | | anytime I do a make. The make world was going well until after installing | | csh. It then stoped with the above error after moving to games? I'm | | totally at a loss. Any suggestions would be appreciated on what the real | | problem is. The logfile of my failed make world follows. | | | | It appears that the problem is /bin/sh. I just started a new cvsup with | a /bin/sh copied from another machine and it doesn't generate the Syntax | error. After the cvsup a # cd /usr/src/bin/sh # make install Seems to have fixed the problem. Thanks and sorry for the noise, ed ------------------------------------------------- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 08:43:45 2003 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 2B71437B401 for ; Mon, 7 Apr 2003 08:43:44 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A0AE43FBD for ; Mon, 7 Apr 2003 08:43:42 -0700 (PDT) (envelope-from wa1ter@myrealbox.com) Received: from myrealbox.com wa1ter@smtp-send.myrealbox.com [64.175.107.72] $ on Novell NetWare via secured & encrypted transport (TLS); Mon, 07 Apr 2003 08:43:41 -0700 Message-ID: <3E919C7C.2010700@myrealbox.com> Date: Mon, 07 Apr 2003 08:42:52 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030213 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: After this mornings build: Syntax error: "for" unexpected 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, 07 Apr 2003 15:43:45 -0000 eculp@encontacto.net wrote: > Quoting "eculp@encontacto.net" : > > | After a new cvsup this morning I am getting Syntax error: "for" unexpected > | anytime I do a make. The make world was going well until after installing > | csh. It then stoped with the above error after moving to games? I'm > | totally at a loss. Any suggestions would be appreciated on what the real > | problem is. The logfile of my failed make world follows. > | > > It appears that the problem is /bin/sh. I just started a new cvsup with > a /bin/sh copied from another machine and it doesn't generate the Syntax > error. For those without a second -CURRENT machine -- this worked for me: cvsup again -- though I'm not sure this was necessary cd /usr/src/bin/sh make clean make make install From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 09:06:07 2003 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 D440437B418 for ; Mon, 7 Apr 2003 09:06:06 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F65043FAF for ; Mon, 7 Apr 2003 09:06:06 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.8/8.12.3) with ESMTP id h37G61LA011843; Mon, 7 Apr 2003 09:06:01 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.8/8.12.3/Submit) id h37G61sa011841; Mon, 7 Apr 2003 09:06:01 -0700 Date: Mon, 7 Apr 2003 09:06:00 -0700 From: Brooks Davis To: Kris Kennaway Message-ID: <20030407090600.C9478@Odin.AC.HMC.Edu> References: <20030404234917.GA98049@node1.cluster.srrc.usda.gov> <20030405000712.GA9839@node1.cluster.srrc.usda.gov> <20030405023615.GA27656@rot13.obsecurity.org> <20030405052613.GA1442@gforce.johnson.home> <20030405221835.GA21235@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030405221835.GA21235@rot13.obsecurity.org>; from kris@obsecurity.org on Sat, Apr 05, 2003 at 02:18:35PM -0800 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: Julian Elischer cc: current@freebsd.org Subject: Re: kp_proc and kp_eproc 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, 07 Apr 2003 16:06:07 -0000 --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 05, 2003 at 02:18:35PM -0800, Kris Kennaway wrote: > On Fri, Apr 04, 2003 at 11:26:14PM -0600, Glenn Johnson wrote: >=20 > > Thanks, I will give it a try, but probably not until Monday when I > > get back to work. Since you said you made this a while ago and it is > > untested, does that mean that you once used PBS and are using something > > else in its stead. I ask because I would really like to replace it with > > something else. I have been looking at SGE but it seems the FreeBSD > > port of that may not be quite ready. >=20 > I started porting it with a view towards making the bento package > cluster use it, but enough people recommended against it that I didn't > go any further than this. I've also been meaning to try out > GridEngine. SGE works fine if you use the version on the head of the tree. The release branch is non-functional at the moment, but I'm working on fixing it. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+kaHnXY6L6fI4GtQRAkoFAJ0ZwOb70BvzbviT58sVy3G5MpR7PACcCQkG +Xz5BVQe7fHhIGWEdGZ6B70= =IyO3 -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 10:05:07 2003 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 9296437B401 for ; Mon, 7 Apr 2003 10:05:07 -0700 (PDT) Received: from seed.net.tw (sn16.seed.net.tw [139.175.54.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55BD743F85 for ; Mon, 7 Apr 2003 10:05:06 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.134.119] (port=49165 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 192a3N-000Lmb-00 for freebsd-current@freebsd.org; Tue, 08 Apr 2003 01:05:05 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h37H54MM001117 for ; Tue, 8 Apr 2003 01:05:04 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.9/8.12.9/Submit) id h37H54LF001116 for freebsd-current@freebsd.org; Tue, 8 Apr 2003 01:05:04 +0800 (CST) (envelope-from leafy) Date: Tue, 8 Apr 2003 01:05:04 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20030407170504.GA1099@leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: recent fxp changes causes mpd to 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: Mon, 07 Apr 2003 17:05:07 -0000 Recent (in these couple of days) changes in fxp causes mpd with PPPoE to freeze. No message or anything. Restarting mpd unfreezes the condition. Is there anything I can do to get more information out of this situation? Thanks, Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 10:10:56 2003 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 74B1C37B401 for ; Mon, 7 Apr 2003 10:10:56 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D48F943F93 for ; Mon, 7 Apr 2003 10:10:55 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.8/8.12.3) with ESMTP id h37HAWLA025363; Mon, 7 Apr 2003 10:10:32 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.8/8.12.3/Submit) id h37HANWg025294; Mon, 7 Apr 2003 10:10:23 -0700 Date: Mon, 7 Apr 2003 10:10:23 -0700 From: Brooks Davis To: Rayson Ho Message-ID: <20030407101023.D9478@Odin.AC.HMC.Edu> References: <20030404210917.GA67633@node1.cluster.srrc.usda.gov> <20030406152149.3637.qmail@web11401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="LKTjZJSUETSlgu2t" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030406152149.3637.qmail@web11401.mail.yahoo.com>; from raysonlogin@yahoo.com on Sun, Apr 06, 2003 at 08:21:49AM -0700 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: brooks@aero.org cc: PBS Users cc: kris@obsecurity.org cc: current@freebsd.org cc: Glenn Johnson Subject: Re: GridEngine (was Re: building OpenPBS-2.3.16 on FreeBSD 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: Mon, 07 Apr 2003 17:10:56 -0000 --LKTjZJSUETSlgu2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 06, 2003 at 08:21:49AM -0700, Rayson Ho wrote: > FYI, earlier this year, Brooks made an announce on bsdforums.org: >=20 > http://www.bsdforums.org/forums/showthread.php?threadid=3D6486 >=20 > Last month the FreeBSD and MacOSX ports were merged to the SGE cvs. >=20 > I am not sure about FreeBSD 5.0 support, may be Brooks can answer > that?? I've tested with 4.x and 5.0 systems. I run current enough places that I need 5.0 support. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --LKTjZJSUETSlgu2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+kbD+XY6L6fI4GtQRAjCFAKCIca26KgMPYvhH6jE7soWGl/kwAwCgyQWp 5VksHm4QZTXTFZYgG5Rl4Tk= =DfxQ -----END PGP SIGNATURE----- --LKTjZJSUETSlgu2t-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 10:12:06 2003 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 C5B1337B401 for ; Mon, 7 Apr 2003 10:12:06 -0700 (PDT) Received: from rms21.rommon.net (rms21.rommon.net [193.64.42.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D1C643FBF for ; Mon, 7 Apr 2003 10:12:05 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PHE (h93.vuokselantie10.fi [193.64.42.147]) by rms21.rommon.net (8.12.6p2/8.12.6) with SMTP id h37HC1qo002432 for ; Mon, 7 Apr 2003 20:12:03 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <01e901c2fd28$d17a5650$932a40c1@PHE> From: "Petri Helenius" To: Date: Mon, 7 Apr 2003 20:12:05 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: raidframe 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, 07 Apr 2003 17:12:07 -0000 Is the raidframe in 5.0 being maintained? I posted about several different panics a few months ago and so far haven磘 seen replies nor the source has changed in the last five months or so... Pete From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 10:15:51 2003 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 837AF37B407 for ; Mon, 7 Apr 2003 10:15:51 -0700 (PDT) Received: from web40303.mail.yahoo.com (web40303.mail.yahoo.com [66.218.78.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 0D35243F75 for ; Mon, 7 Apr 2003 10:15:51 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030407171547.75344.qmail@web40303.mail.yahoo.com> Received: from [165.193.27.35] by web40303.mail.yahoo.com via HTTP; Mon, 07 Apr 2003 10:15:47 PDT Date: Mon, 7 Apr 2003 10:15:47 -0700 (PDT) From: Maksim Yevmenkin To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: mobile@freebsd.org Subject: Bluetooth stack for FreeBSD 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, 07 Apr 2003 17:15:52 -0000 Dear Hackers, I'm very pleased to announce that another release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030407.tar.gz I would like to thank you Pav Lucistnik for creating Bluetooth on FreeBSD web page (http://www.oook.cz/bsd/bluetooth.html) and all people who helped me with testing. Please try the new code and let me know if you have any problems/questions/etc. Also please do not forget to CC to one of the FreeBSD mailing lists. Below is a quick summary of changes: All code - Resolve problem with M_NOWAIT/M_DONTWAIT flags in MALLOC and mbuf related calls; Drivers - ng_ubt(4) was re-written. It now can provide traditional device nodes based interface (needed for firmware download); - ng_h4(4), ng_ubt(4) and ng_bt3c(4) drivers now receive data directly into mbuf clusters; HCI layer - Added new command {read|write}_node_role_switch to enable/disable role switch for incoming connections. This fixes the problem with devices that do not support role switch; - Handle HCI ENCRYPTION_CHANGE event and update connection descriptor; - Fix minor bug in packet mask check code; L2CAP layer - L2CAP layer now will respond to disconnect request, even if channel already in DISCONNECTING state; Bluetooth sockets layer - Raw HCI and L2CAP sockets now have notion of "privileged" commands. Now regular users can run hccontrol(8)/l2control(8) and execute most of the commands; - Fix locking bug in raw L2CAP sockets code; - Generate unique token for L2CAP sockets; - L2CAP and RFCOMM sockets now detect and detach sockets that have been disconnected before receiving side had a chance to accept them. This removes sockets that stuck in CLOSED state on accepting socket queue; - Fix "early initialization" bug in RFCOMM sockets that causes crash when ng_btsocket(4) module is loaded from loader prompt at boot time. Userspace tools - Change btsockstat(1) so it prints information about RFCOMM sessions; - Install btsockstat(1) as SUID and drop SUID when core file in used; - Added bcmfw(8) - Broadcom 0x2033 chip based firmware download utility Note: This is UNTESTED code since I have no hardware to test it on; - Fix Makefile's and use ${.CURDIR} in include path; - Minor improvements to hccontrol(8). Better documentation and stuff; - hcsecd(8) now refuses to run if it was started by non-privileged user; Ports - All ports/ now use relative path to bluetooth/include; - Minor fixes in hcidump(1): get rid of 'inline' functions, display warning if run as non-privileged user, display credits in RFCOMM UIH frames; display more SDP attributes; - Minor fixes in obexapp(1): updated man page with more examples, connect automatically in client mode (CONnect command was removed), fix typo in default server root path, in server mode try to wait for the client to close connection; - Update SDP with the latest patches from Linux BlueZ (up to 1.1 release) When upgrading please follow these steps 1) Download latest snapshot 2) Extract it into your home directory. Please *do not* extract shapshot into /usr. you *should* build snapshot *outside* of main FreeBSD source tree. 3) Build and install kernel modules cd $snapshot_dir/src/sys/modules/netgraph/bluetooth make depend make make install make cleandir 4) Build and install userspace tools cd $snapshot_dir/src/usr.bin/bluetooth make depend make make install make cleandir cd $snapshot_dir/src/usr.sbin/bluetooth make depend make make install make cleandir rehash 5) Build and install ports (optional - you might need glib12 and openobex libraries installed) IMPORTANT: - Build snapshot *outside* of FreeBSD main source tree. *Do not* update sources in /usr/src. If you run 'cvsup' then all your changes to /usr/src *will be lost* - Always update your userspace tools - After bulding and installing new kernel *do not* forget to re-compile and re-install Bluetooth kernel modules (from snapshot). You need this because kernel build will install old (stock) Bluetooth modules - After making "word" please *do not* forget to re-compile/re-install both kernel modules and userland tools from snapshot thanks, max __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 10:45:35 2003 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 2863837B401 for ; Mon, 7 Apr 2003 10:45:35 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB19143FD7 for ; Mon, 7 Apr 2003 10:45:32 -0700 (PDT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 8B19D2ED43E; Mon, 7 Apr 2003 10:45:32 -0700 (PDT) Date: Mon, 7 Apr 2003 19:45:32 +0200 From: Maxime Henrion To: freebsd-current@freebsd.org Message-ID: <20030407174532.GC1750@elvis.mu.org> References: <20030407170504.GA1099@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407170504.GA1099@leafy.idv.tw> User-Agent: Mutt/1.4.1i Subject: Re: recent fxp changes causes mpd to 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: Mon, 07 Apr 2003 17:45:35 -0000 leafy wrote: > Recent (in these couple of days) changes in fxp causes mpd with PPPoE to freeze. No message or anything. Restarting mpd unfreezes the condition. Is there anything I can do to get more information out of this situation? Can you check that you're running the latest version of the fxp(4) driver ? Latest revsisions are : if_fxp.c: $FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.162 2003/04/07 17:02:44 mux Exp $ if_fxpreg.h: $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.33 2003/04/06 21:35:45 mux Exp $ if_fxpvar.h: $FreeBSD: src/sys/dev/fxp/if_fxpvar.h,v 1.24 2003/04/02 16:47:16 mux Exp $ rcvbundl.h: $FreeBSD: src/sys/dev/fxp/rcvbundl.h,v 1.1 2001/10/25 05:23:31 jlemon Exp $ Are you using the DEVICE_POLLING kernel option ? If so, your problem may be already fixed. Cheers, Maxime From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 10:52:53 2003 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 0786737B401 for ; Mon, 7 Apr 2003 10:52:53 -0700 (PDT) Received: from herbelot.dyndns.org (herbelot.net1.nerim.net [62.212.117.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E0C43FBF for ; Mon, 7 Apr 2003 10:52:51 -0700 (PDT) (envelope-from thierry@herbelot.com) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.12.6/8.12.6) with ESMTP id h37HbC0f018484; Mon, 7 Apr 2003 19:37:12 +0200 (CEST) From: Thierry Herbelot To: Andre Guibert de Bruet , current@freebsd.org Date: Mon, 7 Apr 2003 19:52:43 +0200 User-Agent: KMail/1.5.1 References: <20030407024249.S92580@alpha.siliconlandmark.com> In-Reply-To: <20030407024249.S92580@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200304071952.43591.thierry@herbelot.com> Subject: Re: nge not in GENERIC? 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, 07 Apr 2003 17:52:53 -0000 Le Monday 07 April 2003 08:45, Andre Guibert de Bruet a 閏rit : > Hi, > > Is there a reason why the MII-based nge(4) doesn't figure in GENERIC? > because, at least in -Current, nge can be loaded at runtime, as a kld module. TfH From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 11:49:00 2003 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 8066737B404 for ; Mon, 7 Apr 2003 11:49:00 -0700 (PDT) Received: from web40304.mail.yahoo.com (web40304.mail.yahoo.com [66.218.78.83]) by mx1.FreeBSD.org (Postfix) with SMTP id D3D8843F93 for ; Mon, 7 Apr 2003 11:48:59 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030407184859.83905.qmail@web40304.mail.yahoo.com> Received: from [165.193.27.35] by web40304.mail.yahoo.com via HTTP; Mon, 07 Apr 2003 11:48:59 PDT Date: Mon, 7 Apr 2003 11:48:59 -0700 (PDT) From: Maksim Yevmenkin To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1205582294-1049741339=:83842" cc: mobile@freebsd.org Subject: Re: Bluetooth stack for FreeBSD 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, 07 Apr 2003 18:49:00 -0000 --0-1205582294-1049741339=:83842 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline OOPS... Last minute screw up :) Please re-download the snapshot from http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030407.tar.gz or just patch ports/obexapp/transport.c with attached patch. I'm *so* sorry about this... thanks, max __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com --0-1205582294-1049741339=:83842 Content-Type: application/octet-stream; name="transport.c.diff" Content-Transfer-Encoding: base64 Content-Description: transport.c.diff Content-Disposition: attachment; filename="transport.c.diff" SW5kZXg6IHRyYW5zcG9ydC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNT IGZpbGU6IC91c3IvbG9jYWwvY3ZzL3BvcnRzL29iZXhhcHAvdHJhbnNwb3J0 LmMsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNApyZXRyaWV2aW5nIHJldmlz aW9uIDEuNQpkaWZmIC11IC1yMS40IC1yMS41Ci0tLSB0cmFuc3BvcnQuYwk3 IEFwciAyMDAzIDAxOjI2OjU1IC0wMDAwCTEuNAorKysgdHJhbnNwb3J0LmMJ NyBBcHIgMjAwMyAxODoyODo1NyAtMDAwMAkxLjUKQEAgLTI1LDcgKzI1LDcg QEAKICAqIE9VVCBPRiBUSEUgVVNFIE9GIFRISVMgU09GVFdBUkUsIEVWRU4g SUYgQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YKICAqIFNVQ0ggREFN QUdFLgogICoKLSAqICRJZDogdHJhbnNwb3J0LmMsdiAxLjQgMjAwMy8wNC8w NyAwMToyNjo1NSBtYXggRXhwICQKKyAqICRJZDogdHJhbnNwb3J0LmMsdiAx LjUgMjAwMy8wNC8wNyAxODoyODo1NyBtYXggRXhwICQKICAqICRGcmVlQlNE JAogICovCiAKQEAgLTE0OCw3ICsxNDgsNyBAQAogCQlGRF9TRVQoY29udGV4 dC0+dGZkLCAmcmZkcyk7CiAKIAkJdG0udHZfc2VjID0gNTsKLQkJdG0udHZf c2VjID0gMDsKKwkJdG0udHZfdXNlYyA9IDA7CiAKIAkJc2VsZWN0KGNvbnRl eHQtPnRmZCArIDEsICZyZmRzLCBOVUxMLCBOVUxMLCAmdG0pOwogCX0K --0-1205582294-1049741339=:83842-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 12:05:53 2003 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 DDE1437B401 for ; Mon, 7 Apr 2003 12:05:53 -0700 (PDT) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF5543FA3 for ; Mon, 7 Apr 2003 12:05:52 -0700 (PDT) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.100.1]) by energyhq.homeip.net (Postfix) with SMTP id 1EDD82B95E; Mon, 7 Apr 2003 21:05:54 +0200 (CEST) Date: Mon, 7 Apr 2003 21:06:01 +0200 From: Miguel Mendez To: "Petri Helenius" Message-Id: <20030407210601.62f88cfb.flynn@energyhq.homeip.net> In-Reply-To: <01e901c2fd28$d17a5650$932a40c1@PHE> References: <01e901c2fd28$d17a5650$932a40c1@PHE> X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 19:05:54 -0000 --=.SEFO8,jG0NreW/ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, 7 Apr 2003 20:12:05 +0300 "Petri Helenius" wrote: Hi, =20 > Is the raidframe in 5.0 being maintained? I posted about several > different panics a few months ago and so far haven=B4t seen replies nor > the source has changed in the last five months or so... Since nobody has replied (hint hint, scottl@ :), I'll tell you my little experience with RAIDframe on FreeBSD. I've tried the 4.x patches and those seem to work reasonably well (it was some months ago). I've never had any luck with it on 5.0, neither -RELEASE nor -CURRENT. The same hardware running NetBSD 1.6Q (CURRENT) works like a charm. I'm not sure about the state of RAIDframe on 5.0, but I'm under the impression that it has made nearly zero progress for months. If you feel adventurous (sp), you can get your hands dirty with the code, I did a while ago, it's not for the faint for heart. IMVHO the whole code should be dumped and reimplemented inside the GEOM framework. Your best bet on 5.0 is the good old ccd or vinum. Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Tired of Spam? -> http://www.trustic.com --=.SEFO8,jG0NreW/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (NetBSD) iD8DBQE+kcwcnLctrNyFFPERAhVoAKDF22mtvN6qeNr8anS1AtrFQJqvUgCgtwhW lWxgSB7J3MkH0GTqL7xfFkg= =kYmr -----END PGP SIGNATURE----- --=.SEFO8,jG0NreW/-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 13:02:31 2003 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 5D09D37B405 for ; Mon, 7 Apr 2003 13:02:31 -0700 (PDT) Received: from lucifer.seguridad.unam.mx (lucifer.seguridad.unam.mx [132.248.124.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8997243F93 for ; Mon, 7 Apr 2003 13:02:30 -0700 (PDT) (envelope-from anunez@seguridad.unam.mx) Received: by lucifer.seguridad.unam.mx (Postfix, from userid 1000) id 48A21454; Mon, 7 Apr 2003 14:05:24 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by lucifer.seguridad.unam.mx (Postfix) with ESMTP id 3A74D386 for ; Mon, 7 Apr 2003 14:05:24 -0600 (CST) Date: Mon, 7 Apr 2003 14:05:20 -0600 (CST) From: =?ISO-8859-1?Q?Alejandro_N=FA=F1ez_Sandoval?= To: freebsd-current@freebsd.org Message-ID: <20030407135636.K15643-100000@lucifer.seguridad.unam.mx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: !!options CD9660_ROOT in 5.0!! 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, 07 Apr 2003 20:02:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hi all, i have a big problem, i try to make a CD with a File system, but CD9660_ROOT is not supported in FreeBSD 5.0, my question is how can i use CD9960_ROOT o similar option in FreeBSD 5.0? thanks. ___________________________________________________________________________= ____ Alejandro N=FA=F1ez Sandoval. Departamento de Seguridad en C=F3mputo. UNAM-DGSCA. Tel: (52-55) 56228559 PGP Key fingerprint =3D 18 F5 73 32 DA C9 FE 71 C0 06 3A C5 E6 25 17 34 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iQEVAwUBPpHaBJdcir2vGKqVAQHsMgf+K2Kd/SUO9QFkZDN7aKHOuphs5BZtZIgR R0XWb0lJouKUA9Tx6B9VuZVXdld/Fp9PLxYS3Adu7VBmgV4a30ZVDYl1AAmuw9FS cItQ8RVWYuTjSdgjEmGDjT++2o21MW5SI8/g/qoMVKWRb46GqjCetNL+feiv6V4L FAj9w+Z8OvY0S1n1yFFwm7DSZV4T/n4s9B4OIMjziFZH0uL+PuUpnGfwbdl/BuGO cpqr2ILx4U52scozRG+XPNIsPWysyTd+PbXRJsczv5RFXQgzvs2P7GbGgLRe01sC Ye7lPEv9e7xi6OwQ8fFLSnQ2zUEihg0z/PUuZjGP1C1/lwfd6sKI6Q=3D=3D =3Dkw/7 -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 13:05:51 2003 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 B779D37B401 for ; Mon, 7 Apr 2003 13:05:51 -0700 (PDT) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EEF943F3F for ; Mon, 7 Apr 2003 13:05:51 -0700 (PDT) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id 1F9B79C4C; Mon, 7 Apr 2003 15:51:43 -0400 (EDT) Date: Mon, 7 Apr 2003 15:51:43 -0400 From: Mike Barcroft To: =?iso-8859-1?Q?Alejandro_N=FA=F1ez_Sandoval?= Message-ID: <20030407155143.A536@espresso.bsdmike.org> References: <20030407135636.K15643-100000@lucifer.seguridad.unam.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030407135636.K15643-100000@lucifer.seguridad.unam.mx>; from anunez@seguridad.unam.mx on Mon, Apr 07, 2003 at 02:05:20PM -0600 Organization: The FreeBSD Project cc: freebsd-current@freebsd.org Subject: Re: !!options CD9660_ROOT in 5.0!! 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, 07 Apr 2003 20:05:52 -0000 Alejandro Nez Sandoval writes: > Hi all, i have a big problem, i try to make a CD with a File system, > but CD9660_ROOT is not supported in FreeBSD 5.0, my question is how can i > use CD9960_ROOT o similar option in FreeBSD 5.0? IIRC, the need for them we removed. Meaning you shouldn't need any extra options to boot from CD-ROM. Best regards, Mike Barcroft From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 15:04:03 2003 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 4E08D37B401 for ; Mon, 7 Apr 2003 15:04:03 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CFC343FA3 for ; Mon, 7 Apr 2003 15:04:02 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h37M41Us095642; Mon, 7 Apr 2003 18:04:01 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h37M40at095639; Mon, 7 Apr 2003 18:04:01 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Mon, 7 Apr 2003 18:04:00 -0400 (EDT) From: Andre Guibert de Bruet To: Thierry Herbelot In-Reply-To: <200304071952.43591.thierry@herbelot.com> Message-ID: <20030407175544.J92580@alpha.siliconlandmark.com> References: <20030407024249.S92580@alpha.siliconlandmark.com> <200304071952.43591.thierry@herbelot.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: current@freebsd.org Subject: Re: nge not in GENERIC? 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, 07 Apr 2003 22:04:03 -0000 On Mon, 7 Apr 2003, Thierry Herbelot wrote: > Le Monday 07 April 2003 08:45, Andre Guibert de Bruet a =E9crit : > > > > Is there a reason why the MII-based nge(4) doesn't figure in GENERIC? > > because, at least in -Current, nge can be loaded at runtime, as a kld mod= ule. I understand the need to remove drivers from GENERIC for the floppy distribution, but I was thinking more along the lines of having it figure in /sys/i386/conf/GENERIC commented out. Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 15:10:55 2003 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 DD50137B401 for ; Mon, 7 Apr 2003 15:10:54 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id BCDD443FB1 for ; Mon, 7 Apr 2003 15:10:53 -0700 (PDT) (envelope-from s.moeck@gmx.de) Received: (qmail 5130 invoked by uid 65534); 7 Apr 2003 22:10:52 -0000 Received: from dsl254-062-177.sea1.dsl.speakeasy.net (HELO xpn) (216.254.62.177) by mail.gmx.net (mp003-rz3) with SMTP; 08 Apr 2003 00:10:52 +0200 From: =?iso-8859-1?Q?Stephan_M=F6ck?= To: Date: Mon, 7 Apr 2003 14:10:36 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: DB3 problem 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, 07 Apr 2003 22:10:55 -0000 I have just installed DB3 and I want to compile an example programm from the examples_c directory. The compilation stops with errors. gcc -o dbtest ex_access.c /var/tmp//ccdld6iZ.o: In function `ex_access': /var/tmp//ccdld6iZ.o(.text+0x5b): undefined reference to `db_create' /var/tmp//ccdld6iZ.o(.text+0x72): undefined reference to `db_strerror' /var/tmp//ccdld6iZ.o(.text+0x444): undefined reference to `db_strerror' Does anybody no what's the problem is? ############################################################### #include #include #include //#include #include //#include #ifdef HAVE_VXWORKS #include "stdio.h" #define ERROR_RETURN ERROR #else #define DATABASE "access.db" #define ERROR_RETURN 1 int main __P((void)); #endif int ex_access __P((void)); #ifndef HAVE_VXWORKS int main() { return (ex_access() == ERROR_RETURN ? EXIT_FAILURE : EXIT_SUCCESS); } #endif int ex_access() { DB *dbp; DBC *dbcp; DBT key, data; u_int32_t len; int ret; char *p, *t, buf[1024], rbuf[1024]; const char *progname = "ex_access"; /* Program name. */ /* Remove the previous database. */ (void)remove(DATABASE); /* Create and initialize database object, open the database. */ if ((ret = db_create(&dbp, NULL, 0)) != 0) { fprintf(stderr, "%s: db_create: %s\n", progname, db_strerror(ret)); return (ERROR_RETURN); } dbp->set_errfile(dbp, stderr); dbp->set_errpfx(dbp, progname); if ((ret = dbp->set_pagesize(dbp, 1024)) != 0) { dbp->err(dbp, ret, "set_pagesize"); goto err1; } if ((ret = dbp->set_cachesize(dbp, 0, 32 * 1024, 0)) != 0) { dbp->err(dbp, ret, "set_cachesize"); goto err1; } if ((ret = dbp->open(dbp, DATABASE, NULL, DB_BTREE, DB_CREATE, 0664)) != 0) { dbp->err(dbp, ret, "%s: open", DATABASE); goto err1; } /* * Insert records into the database, where the key is the user * input and the data is the user input in reverse order. */ memset(&key, 0, sizeof(DBT)); memset(&data, 0, sizeof(DBT)); for (;;) { printf("input> "); fflush(stdout); if (fgets(buf, sizeof(buf), stdin) == NULL) break; if ((len = strlen(buf)) <= 1) continue; for (t = rbuf, p = buf + (len - 2); p >= buf;) *t++ = *p--; *t++ = '\0'; key.data = buf; data.data = rbuf; data.size = key.size = len - 1; switch (ret = dbp->put(dbp, NULL, &key, &data, DB_NOOVERWRITE)) { case 0: break; default: dbp->err(dbp, ret, "DB->put"); if (ret != DB_KEYEXIST) goto err1; break; } } printf("\n"); /* Acquire a cursor for the database. */ if ((ret = dbp->cursor(dbp, NULL, &dbcp, 0)) != 0) { dbp->err(dbp, ret, "DB->cursor"); goto err1; } /* Initialize the key/data pair so the flags aren't set. */ memset(&key, 0, sizeof(key)); memset(&data, 0, sizeof(data)); /* Walk through the database and print out the key/data pairs. */ while ((ret = dbcp->c_get(dbcp, &key, &data, DB_NEXT)) == 0) printf("%.*s : %.*s\n",(int)key.size, (char *)key.data, (int)data.size, (char *)data.data); if (ret != DB_NOTFOUND) { dbp->err(dbp, ret, "DBcursor->get"); goto err2; } /* Close everything down. */ if ((ret = dbcp->c_close(dbcp)) != 0) { dbp->err(dbp, ret, "DBcursor->close"); goto err1; } if ((ret = dbp->close(dbp, 0)) != 0) { fprintf(stderr, "%s: DB->close: %s\n", progname, db_strerror(ret)); return (ERROR_RETURN); } return (0); err2: (void)dbcp->c_close(dbcp); err1: (void)dbp->close(dbp, 0); return (ERROR_RETURN); } ######################################################### From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 15:14:03 2003 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 A52FF37B401 for ; Mon, 7 Apr 2003 15:14:03 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9818643F3F for ; Mon, 7 Apr 2003 15:14:02 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h37ME1gp054092; Mon, 7 Apr 2003 17:14:01 -0500 (CDT) (envelope-from dan) Date: Mon, 7 Apr 2003 17:14:01 -0500 From: Dan Nelson To: Stephan =?utf-8?B?TcO2Y2s=?= Message-ID: <20030407221401.GC2729@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: DB3 problem 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, 07 Apr 2003 22:14:03 -0000 In the last episode (Apr 07), Stephan M?ck said: > I have just installed DB3 and I want to compile an example programm from the > examples_c directory. The compilation stops with errors. > > gcc -o dbtest ex_access.c > > /var/tmp//ccdld6iZ.o: In function `ex_access': > /var/tmp//ccdld6iZ.o(.text+0x5b): undefined reference to `db_create' > /var/tmp//ccdld6iZ.o(.text+0x72): undefined reference to `db_strerror' > /var/tmp//ccdld6iZ.o(.text+0x444): undefined reference to `db_strerror' Add -L/usr/local/lib -ldb3 to your link line. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 15:14:19 2003 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 2824937B408 for ; Mon, 7 Apr 2003 15:14:19 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 359B743FBD for ; Mon, 7 Apr 2003 15:14:18 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.8/8.12.3) with ESMTP id h37MEFLA027151; Mon, 7 Apr 2003 15:14:16 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.8/8.12.3/Submit) id h37MEFTs027148; Mon, 7 Apr 2003 15:14:15 -0700 Date: Mon, 7 Apr 2003 15:14:15 -0700 From: Brooks Davis To: =?iso-8859-1?Q?Stephan_M=F6ck?= Message-ID: <20030407151415.A25581@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from s.moeck@gmx.de on Mon, Apr 07, 2003 at 02:10:36PM +0200 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org Subject: Re: DB3 problem 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, 07 Apr 2003 22:14:19 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [This belonged on -questions if on any @freebsd.org list.] On Mon, Apr 07, 2003 at 02:10:36PM +0200, Stephan M=F6ck wrote: > I have just installed DB3 and I want to compile an example programm from = the > examples_c directory. The compilation stops with errors. >=20 > gcc -o dbtest ex_access.c >=20 > /var/tmp//ccdld6iZ.o: In function `ex_access': > /var/tmp//ccdld6iZ.o(.text+0x5b): undefined reference to `db_create' > /var/tmp//ccdld6iZ.o(.text+0x72): undefined reference to `db_strerror' > /var/tmp//ccdld6iZ.o(.text+0x444): undefined reference to `db_strerror' >=20 > Does anybody no what's the problem is? You have to link against the library by adding the -ldb3 option to the commandline. -- Brooks --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+kfg2XY6L6fI4GtQRAtxNAJ461Ntbft26PLI7K1iI4dCcgdN6vQCeJ2Bw bnOdbMCrAJOaDjkdJU/cy9Y= =Ym6S -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 16:05:22 2003 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 E49F337B401 for ; Mon, 7 Apr 2003 16:05:22 -0700 (PDT) Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id A219B43FA3 for ; Mon, 7 Apr 2003 16:05:21 -0700 (PDT) (envelope-from gjohnson@srrc.ars.usda.gov) Received: from node1.cluster.srrc.usda.gov (localhost [127.0.0.1]) by symbion.srrc.usda.gov (8.12.9/8.12.9) with ESMTP id h37N4Wta068290; Mon, 7 Apr 2003 18:04:32 -0500 (CDT) (envelope-from glenn@node1.cluster.srrc.usda.gov) Received: (from glenn@localhost)h37N4PZg068289; Mon, 7 Apr 2003 18:04:25 -0500 (CDT) (envelope-from glenn) Date: Mon, 7 Apr 2003 18:04:25 -0500 From: Glenn Johnson To: Kris Kennaway Message-ID: <20030407230425.GA68258@node1.cluster.srrc.usda.gov> Mail-Followup-To: Glenn Johnson , Kris Kennaway , Julian Elischer , current@freebsd.org References: <20030404234917.GA98049@node1.cluster.srrc.usda.gov> <20030405000712.GA9839@node1.cluster.srrc.usda.gov> <20030405023615.GA27656@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030405023615.GA27656@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: Julian Elischer cc: current@freebsd.org Subject: Re: kp_proc and kp_eproc 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, 07 Apr 2003 23:05:23 -0000 On Fri, Apr 04, 2003 at 06:36:15PM -0800, Kris Kennaway wrote: > On Fri, Apr 04, 2003 at 06:07:12PM -0600, Glenn Johnson wrote: > > > On Fri, Apr 04, 2003 at 03:54:05PM -0800, Julian Elischer wrote: > > > > > yes.. > > > > > > The entire process structure and it's surrounding enviroment has > > > been through a blender. > > > > > > What do you wnat to do? > > > > I would like to learn what I need to do to get the software to > > compile on FreeBSD-5. I guess the question is, what information > > do I need to provide? The software in question is OpenPBS > > (http://www.openpbs.org), so it nothing proprietary. There were a > > whole bunch of dependency problems that I worked through manually > > and finally got to the point of the kp_proc failure. Here is a > > snippet of code that produces the failure: > > Here are untested patches I made for this a while ago. There's also a > port PR somewhere. Kris, Your patch does the trick. I have updated the pbs port, which is severely out of date. Should I contact the listed maintainer or just send it in via send-pr? Thanks. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 16:49:34 2003 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 81E8737B401 for ; Mon, 7 Apr 2003 16:49:34 -0700 (PDT) Received: from www.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C72D343FBD for ; Mon, 7 Apr 2003 16:49:33 -0700 (PDT) (envelope-from oremanj@www.get-linux.org) Received: (qmail 8225 invoked by uid 1001); 7 Apr 2003 23:52:02 -0000 Date: Mon, 7 Apr 2003 16:52:02 -0700 From: Joshua Oreman To: Bill Moran Message-ID: <20030407235202.GA8120@webserver.get-linux.org> Mail-Followup-To: Bill Moran , freebsd-current@freebsd.org References: <002101c2f9f5$199eb390$613818ac@craftmfg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002101c2f9f5$199eb390$613818ac@craftmfg.com> User-Agent: Mutt/1.4i cc: freebsd-current@freebsd.org Subject: Re: DVD burning under 5.0 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, 07 Apr 2003 23:49:34 -0000 On Thu, Apr 03, 2003 at 10:24:21AM -0500 or thereabouts, Bill Moran arranged some electrons to write: > Is anyone actually using DVD burning under FreeBSD 5? Yep. It works. > If so, what make/model burner? Sony DRU600a (i think) - supports all formats except -RAM > Also, how compatible are the resultant > DVDs? (i.e. can I toss one in a Windows XP machine DVD reader > and browse the files?) Any problems or gotchas? > They should be fine, as long as you use ISO9660. UDF on dvd's isn't really supported yet. > > Looking for success stories and real-world information. I know the > release notes claim compatibiltiy, but I'm curious as to folks experiences. > For the +RW disks, you can use burncd. Example: # burncd -f /dev/ide.node.of.your.burner -F format dvd+rw # burncd -f /dev/ide.node.of.your.burner dvdrw file.iso For -R and -RW, use dvdrecord. There are a few patches needed to make it compile. Google may be helpful, or I can send my patched source tree. I don't have the patch itself though :-( > > Also, I'm aware of the status of 5 as -CURRENT still, and I'm posting > a second email asking for opinions on stability. > > Thanks in advance for any information. > > -Bill Hope this helps, -- Josh From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 17:13:04 2003 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 1CD5A37B401 for ; Mon, 7 Apr 2003 17:13:04 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B8C343FAF for ; Mon, 7 Apr 2003 17:13:03 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 2CD7266D16; Mon, 7 Apr 2003 17:13:03 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 0C03B10E4; Mon, 7 Apr 2003 17:13:03 -0700 (PDT) Date: Mon, 7 Apr 2003 17:13:03 -0700 From: Kris Kennaway To: Glenn Johnson , Kris Kennaway , Julian Elischer , current@freebsd.org Message-ID: <20030408001302.GA60589@rot13.obsecurity.org> References: <20030404234917.GA98049@node1.cluster.srrc.usda.gov> <20030405000712.GA9839@node1.cluster.srrc.usda.gov> <20030405023615.GA27656@rot13.obsecurity.org> <20030407230425.GA68258@node1.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20030407230425.GA68258@node1.cluster.srrc.usda.gov> User-Agent: Mutt/1.4i Subject: Re: kp_proc and kp_eproc 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: Tue, 08 Apr 2003 00:13:04 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 07, 2003 at 06:04:25PM -0500, Glenn Johnson wrote: > Your patch does the trick. I have updated the pbs port, which is > severely out of date. Should I contact the listed maintainer or just > send it in via send-pr? Both, probably.. Kris --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+khQOWry0BWjoQKURAolfAKC9rB5Dlb1OeN8Hd4G+kWDDSRdBGgCgzqJg oUyqpo7jr26gEA6kfcJzXG0= =nQNg -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 17:50:39 2003 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 8A28F37B401 for ; Mon, 7 Apr 2003 17:50:39 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74A3943F85 for ; Mon, 7 Apr 2003 17:50:38 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 25A7C24DB8 for ; Tue, 8 Apr 2003 09:50:37 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id CD7E424D06 for ; Tue, 8 Apr 2003 09:50:32 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id 8652A1E460E for ; Tue, 8 Apr 2003 09:50:32 +0900 (JST) Date: Tue, 08 Apr 2003 09:50:32 +0900 Message-ID: <7mn0j1yfqf.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: current@freebsd.org In-Reply-To: <7m4r5byssv.wl@black.imgsrc.co.jp> References: <20030405231240.N68710@tsunami.platypusgroup.com> <7m4r5byssv.wl@black.imgsrc.co.jp> User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: Re: Okay. who broke ata. 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: Tue, 08 Apr 2003 00:50:39 -0000 At Mon, 7 Apr 2003 01:56:44 +0000 (UTC), kuriyama wrote: > ad0: 76319MB [155061/16/63] at ata0-master UDMA100 > ad1: 39266MB [79780/16/63] at ata0-slave UDMA100 > ad4: READ command timeout tag=0 serv=0 - resetting > ata2: resetting devices .. After yesterday's commit by Soren, it seems to be fixed. -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 18:22:25 2003 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 2C2DE37B401 for ; Mon, 7 Apr 2003 18:22:25 -0700 (PDT) Received: from mail1.arcor-ip.de (mail1.arcor-ip.de [145.253.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7084243FBF for ; Mon, 7 Apr 2003 18:22:24 -0700 (PDT) (envelope-from Friedemann.Becker@student.uni-tuebingen.de) Received: from chasey (213.23.49.176) by mail1.arcor-ip.de (5.5.034) id 3E1E87630058B658 for current@freebsd.org; Tue, 8 Apr 2003 03:22:23 +0200 Date: Tue, 8 Apr 2003 01:22:32 +0200 (=?ISO-8859-1?Q?Westeurop=E4ische_Sommerzeit?=) From: Friedemann Becker To: current@freebsd.org In-Reply-To: <7mn0j1yfqf.wl@black.imgsrc.co.jp> Message-ID: References: <20030405231240.N68710@tsunami.platypusgroup.com> <7m4r5byssv.wl@black.imgsrc.co.jp> <7mn0j1yfqf.wl@black.imgsrc.co.jp> X-X-Sender: zxmxy33@mailserv02.uni-tuebingen.de MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Okay. who broke ata. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Friedemann.Becker@student.uni-tuebingen.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 01:22:25 -0000 On Tue, 8 Apr 2003, Jun Kuriyama wrote: > At Mon, 7 Apr 2003 01:56:44 +0000 (UTC), > kuriyama wrote: > > ad0: 76319MB [155061/16/63] at ata0-master UDMA100 > > ad1: 39266MB [79780/16/63] at ata0-slave UDMA100 > > ad4: READ command timeout tag=0 serv=0 - resetting > > ata2: resetting devices .. > > After yesterday's commit by Soren, it seems to be fixed. very good. didn't hear anything, but i'll try, test and report :) Friedemann From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 18:55:26 2003 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 A3A2437B401 for ; Mon, 7 Apr 2003 18:55:26 -0700 (PDT) Received: from orion.moderntimes.com.tw (orion.moderntimes.com.tw [61.220.198.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB6643FBF for ; Mon, 7 Apr 2003 18:55:23 -0700 (PDT) (envelope-from leafy@orion.moderntimes.com.tw) Received: from orion.moderntimes.com.tw (nobody@localhost [127.0.0.1]) h389tD7o019204 for ; Tue, 8 Apr 2003 09:55:14 GMT (envelope-from leafy@orion.moderntimes.com.tw) Received: (from leafy@localhost) by orion.moderntimes.com.tw (8.12.9/8.12.9/Submit) id h389tDKK019203 for freebsd-current@freebsd.org; Tue, 8 Apr 2003 09:55:13 GMT Date: Tue, 8 Apr 2003 09:55:13 +0000 From: Jiawei Ye To: freebsd-current@freebsd.org Message-ID: <20030408095513.GA19190@orion.moderntimes.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Latest fxp driver still freezes mpd 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: Tue, 08 Apr 2003 01:55:26 -0000 With the latest fxp, mpd still freezes in PPPoE connections. I am not using DEVICE_POLLING in the kernel. Jiawei Ye From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 21:19:52 2003 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 840D037B401 for ; Mon, 7 Apr 2003 21:19:52 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A2C143F3F for ; Mon, 7 Apr 2003 21:19:51 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h384M4qC048697; Tue, 8 Apr 2003 00:22:04 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h384M2Q8048696; Tue, 8 Apr 2003 00:22:02 -0400 (EDT) Date: Tue, 8 Apr 2003 00:22:02 -0400 From: Mathew Kanner To: "M. Warner Losh" Message-ID: <20030408042202.GS17533@cnd.mcgill.ca> References: <20030406164134.GN17533@cnd.mcgill.ca> <20030407.000118.68039554.imp@bsdimp.com> <20030407064749.GO17533@cnd.mcgill.ca> <20030407.011258.62370040.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407.011258.62370040.imp@bsdimp.com> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Tue, 08 Apr 2003 04:19:52 -0000 First, in regards to your comments to Terry, indeed you are right, it's just a simple on-board soundchip, no dma for the mpu, no fancy bridges that I know of. On Apr 07, M. Warner Losh wrote: > [... trimmed ...] > : > You have to make them be full pci devices. > : > Hweover, this > : > is relatively easy to do. You hacks will just not work. > : > : But it's an ISA device on on a pci card. > > that's not possible. It is *NOT* an ISA device unless it is on a card > that has ISA fingers on it. Otherwise it *IS* a PCI device. Does the > pci card have a PCI to ISA bridge on it? If not, then you have to > deal with it as a PCI bus. I learned my lesson in math class not to argue from instinct alone, so I accept that what you are saying is the truth and try to make it hang off the pci device. Does your gut say I can bus_bus_alloc_resource in the pci driver and do port io given that I could from the isa driver? Will it catch overlap from the pci and isa busses? (suppose I really had an isa pnp mpu card and this pci card both wanting ports 0x300-0x302) I had a look at the netbsd code and they can say stuff like this is a config file: mpu at isa? mpu at somesoundcard? I hope my mpu code doesn't need to know about particular soundcards, like DRIVER_MODULE(mpu, snd_cmi,...) DRIVER_MODULE(mpu, snd_visamstrcrd,...) Incidentally, what about vga and joysticks for that matter? Not isa, but isa drivers. > [...more snips...] > You likely need to attach the mpu device to the pci soundcard in some > way, or if the pci device has its own function, directly to the pci > device. Chances are excellent that's what the interrupt problem you > are encountering are. Not an interrupt problem. Looking at code for other OSes, it doesn't seem like anybody has interrupts for tx ready for mpu401s. I dug out my other soundcard and the older midi driver that I did a few months ago and it now has the exact same problem of blasting the stuff too fast. I can only assume something has changed in the synth timer code (unlikely), or the general freebsd timer code in last few months. Thank you very much for your comments. --Mat > > Warner -- Brain: Pinky, are you pondering what I'm pondering? Pinky: I think so Brain, but pants with horizontal stripes make me look chubby. From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 21:41:34 2003 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 5D40237B401 for ; Mon, 7 Apr 2003 21:41:34 -0700 (PDT) Received: from srv2.resnet.ohio-state.edu (srv2.resnet.ohio-state.edu [164.107.3.56]) by mx1.FreeBSD.org (Postfix) with SMTP id 5032D43FAF for ; Mon, 7 Apr 2003 21:41:32 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: (qmail 7282 invoked by uid 506); 8 Apr 2003 05:09:57 -0000 Received: from mistry.7@osu.edu by srv2.resnet.ohio-state.edu by uid 503 with qmail-scanner-1.14 ( Clear:. Processed in 0.022045 secs); 08 Apr 2003 05:09:57 -0000 Received: from rdrt-164-107-205-53.resnet.ohio-state.edu (HELO 192.168.1.100) (164.107.205.53) by srv2.resnet.ohio-state.edu with SMTP; 8 Apr 2003 05:09:57 -0000 From: Anish Mistry To: freebsd-current@freebsd.org Date: Tue, 8 Apr 2003 00:42:25 -0400 User-Agent: KMail/1.5 References: <200304051238.52084.mistry.7@osu.edu> In-Reply-To: <200304051238.52084.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304080042.25690.mistry.7@osu.edu> Subject: Re: USB Ohci Suspend/Resume 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: Tue, 08 Apr 2003 04:41:34 -0000 On Saturday 05 April 2003 12:38 pm, Anish Mistry wrote: > Hi, > I've been working on some usb suspend/resume code for my laptop since the USB > ports stop working after a resume. After a lot of trial and error I finally > got it to "work" sorta. Behavior with my code: > 1) If I remove any type of device, suspend the laptop and then resume any usb > device that I plug in will start working correctly, etc. > attach -> detach -> suspend -> resume -> attach (OK) > 2) When I leave a device plugged in and remove it while it is suspended, then > resume it, the laptop will resume properly, but when I plug the device back > it will show a detaching message then panic. > attach -> suspend -> detach -> resume -> attach (Panic) > 3) If I leave the device plugged in then suspend and resume with the device > plugged in it will panic. > attach -> suspend -> resume -> (Panic) > 4) If I suspend the laptop, plug in the device, and then resume, then it's ok. > suspend -> attach -> resume -> (Ok) > > Now for the weird part, at least for me. Panics for numbers (2) and (3) only > happen with certain classes of devices (ums,ukbd), but with devices like > (uhid,umass,uscanner,ugen) there was no panic and the devices reattached just > fine. These were the only type of devices that I was able to test, so the > lists probably includes other device types. > > If anyone has any suggestions it would be appreciated. This is my first > attempt at any kernel code. > > Attached is my dmesg, and usb code patch. > > Thanks, > > This is where it panics: > ohci_device_intr_close > > This GDB was configured as "i386-undermydesk-freebsd"... > panic: page fault > panic messages: > --- > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x10 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc266605f > stack pointer = 0x10:0xcd357be4 > frame pointer = 0x10:0xcd357c00 > 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 = 337 (usb0) > trap number = 12 > panic: page fault > > syncing disks, buffers remaining... 1414 1414 1413 1413 1413 1413 1413 1413 > 1413 1413 1413 1413 1413 1413 1413 > wakeup from sleeping state (slept 00:00:09) > ata0: resetting devices .. > done > ata1: resetting devices .. > done > 1413 1413 1413 1413 1413 1413 1413 > giving up on 1326 buffers > Uptime: 1m39s > Dumping 239 MB > ata0: resetting devices .. > done > 16 32 48 64 80 96 112 128 144 160 176 192 208 224 > --- > Reading symbols from > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/ > acpi/acpi.ko.debug...done. > pi/acpi.ko.debug > Reading symbols from > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/ > usb/usb.ko.debug...done. > Loaded symbols for > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/us > b/usb.ko.debug > Reading symbols from > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/ > linux/linux.ko.debug...done. > Loaded symbols for > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/li > nux/linux.ko.debug > Reading symbols from > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/ > ums/ums.ko.debug...done. > Loaded symbols for > /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/um > s/ums.ko.debug > #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 > 239 dumping++; > (kgdb) bt > #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 > #1 0xc01e5a98 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:371 > #2 0xc01e5d43 in panic () at /usr/src/sys/kern/kern_shutdown.c:542 > #3 0xc02fa7e2 in trap_fatal (frame=0xcd357ba4, eva=0) > at /usr/src/sys/i386/i386/trap.c:843 > #4 0xc02fa4c2 in trap_pfault (frame=0xcd357ba4, usermode=0, eva=16) > at /usr/src/sys/i386/i386/trap.c:757 > #5 0xc02fa03d in trap (frame= > {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 4, tf_esi = -1033428992, > tf_ ebp = -852132864, tf_isp = -852132912, tf_ebx = > -1033431168, tf_edx = 0, tf_ecx = -1033444956, tf_eax > = -1033429216, tf_trapno = 12, tf_err = 2, tf_eip = -10334 > 78049, tf_cs = 8, tf_eflags = 66118, tf_esp = -1033351552, tf_ss = > -852132872}) > at /usr/src/sys/i386/i386/trap.c:444 > #6 0xc02eaa08 in calltrap () at {standard input}:96 > #7 0xc265c148 in usbd_close_pipe (pipe=0xc2671780) > at /usr/src/sys/dev/usb/usbdi.c:272 > #8 0xc26b3c4d in ums_disable (priv=0xc2671780) > at /usr/src/sys/dev/usb/ums.c:582 > #9 0xc26b36d2 in ums_detach (self=0x0) at /usr/src/sys/dev/usb/ums.c:371 > #10 0xc01f9d57 in device_detach (dev=0xc2672000) at device_if.h:48 > #11 0xc01f90ef in device_delete_child (dev=0x0, child=0xc28390a0) > at /usr/src/sys/kern/subr_bus.c:976 > #12 0xc265be93 in usb_disconnect_port (up=0x4, parent=0x0) > ---Type to continue, or q to quit--- > at /usr/src/sys/dev/usb/usb_subr.c:1364 > #13 0xc265919e in uhub_explore (dev=0xc262e100) > at /usr/src/sys/dev/usb/uhub.c:428 > #14 0xc2659f65 in usb_discover (v=0xc242c1a0) at > /usr/src/sys/dev/usb/usb.c:702 > #15 0xc2659958 in usb_event_thread (arg=0xc242c1a0) > at /usr/src/sys/dev/usb/usb.c:399 > #16 0xc01d3912 in fork_exit (callout=0xc26598f0 , arg=0x0, > frame=0x0) at /usr/src/sys/kern/kern_fork.c:791 > (kgdb) > > > -- > Anish Mistry > I've worked a bit more at this, but the only thing I can seem to do to fix this for the ums and ukbd is to comment out the usbd_close_pipe() call. Then device then seems to work perfectly with no panics or other visible side effects, but this just doesn't seem like a correct procedure. If any USB people have any suggestions it would be appreciated. Thanks, -- Anish Mistry From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 21:58:22 2003 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 5624737B401 for ; Mon, 7 Apr 2003 21:58:22 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 698EB43FAF for ; Mon, 7 Apr 2003 21:58:20 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.8p1/8.12.8) id h384wEoH020351; Tue, 8 Apr 2003 06:58:14 +0200 (CEST) (envelope-from sos) From: Soeren Schmidt Message-Id: <200304080458.h384wEoH020351@spider.deepcore.dk> In-Reply-To: <20030407235202.GA8120@webserver.get-linux.org> To: Joshua Oreman Date: Tue, 8 Apr 2003 06:58:14 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 cc: Bill Moran cc: freebsd-current@FreeBSD.ORG Subject: Re: DVD burning under 5.0 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: Tue, 08 Apr 2003 04:58:22 -0000 It seems Joshua Oreman wrote: > For the +RW disks, you can use burncd. > Example: > # burncd -f /dev/ide.node.of.your.burner -F format dvd+rw > # burncd -f /dev/ide.node.of.your.burner dvdrw file.iso DVD-RW is also supported now, I'll get to the +/-R when I get my hands on some media to test with... -S鴕en From owner-freebsd-current@FreeBSD.ORG Mon Apr 7 22:15:00 2003 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 4A5E237B401 for ; Mon, 7 Apr 2003 22:15:00 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D70A43F3F for ; Mon, 7 Apr 2003 22:14:59 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h385ErA7098253; Mon, 7 Apr 2003 23:14:53 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 07 Apr 2003 23:13:17 -0600 (MDT) Message-Id: <20030407.231317.35012982.imp@bsdimp.com> To: mat@cnd.mcgill.ca From: "M. Warner Losh" In-Reply-To: <20030408042202.GS17533@cnd.mcgill.ca> References: <20030407064749.GO17533@cnd.mcgill.ca> <20030407.011258.62370040.imp@bsdimp.com> <20030408042202.GS17533@cnd.mcgill.ca> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Tue, 08 Apr 2003 05:15:00 -0000 In message: <20030408042202.GS17533@cnd.mcgill.ca> Mathew Kanner writes: : On Apr 07, M. Warner Losh wrote: : > [... trimmed ...] : > : > You have to make them be full pci devices. : > : > Hweover, this : > : > is relatively easy to do. You hacks will just not work. : > : : > : But it's an ISA device on on a pci card. : > : > that's not possible. It is *NOT* an ISA device unless it is on a card : > that has ISA fingers on it. Otherwise it *IS* a PCI device. Does the : > pci card have a PCI to ISA bridge on it? If not, then you have to : > deal with it as a PCI bus. : : I learned my lesson in math class not to argue from instinct : alone, so I accept that what you are saying is the truth and try to : make it hang off the pci device. Yes. I'm sorry if I'm sounding grumpy about it :-). : Does your gut say I can bus_bus_alloc_resource in the pci driver and do : port io given that I could from the isa driver? Will it catch overlap : from the pci and isa busses? (suppose I really had an isa pnp mpu : card and this pci card both wanting ports 0x300-0x302) Yes. You can do that. In fact, most of the drivers in the tree have common 'resource allocation' routines. : I had a look at the netbsd code and they can say stuff like : this is a config file: : mpu at isa? : mpu at somesoundcard? : I hope my mpu code doesn't need to know about particular : soundcards, like : DRIVER_MODULE(mpu, snd_cmi,...) : DRIVER_MODULE(mpu, snd_visamstrcrd,...) While you can do that, chances you'll want to do a mii-like bus to make this easier. There are a couple of different ways to deal with doing these sorts of things. I think the easiest follows after the mii model. Network drivers with mii hardware attach an miibus child to them when they detect that their NIC has an mii attachment. What mii is doesn't matter too much, but it is basically similar. The sound cards would attach, in their attach routine, a sbbus (sbbus == soundblaster bus) child. The sbbus would then have different children: mpu, joystick and maybe others that are common to all sbbus. I think that the sbbus may need to have the sound card driver code enumerate these devices and assign their resources so that they can later attach. This is, in some ways, similar to what you were doing with the 'reach around' attachment to the ISA bus. I'd be happy to help you out a little with writing some sample code for you so that you can concentrate on the mpu devices and such if my description isn't clear or detailed enough to do this. : Incidentally, what about vga and joysticks for that matter? : Not isa, but isa drivers. vga is a very special case. joysticks also are poorly handled in FreeBSD right now. : > [...more snips...] : > You likely need to attach the mpu device to the pci soundcard in some : > way, or if the pci device has its own function, directly to the pci : > device. Chances are excellent that's what the interrupt problem you : > are encountering are. : : Not an interrupt problem. Looking at code for other OSes, it : doesn't seem like anybody has interrupts for tx ready for mpu401s. OK. : I dug out my other soundcard and the older midi driver that I : did a few months ago and it now has the exact same problem of blasting : the stuff too fast. I can only assume something has changed in the : synth timer code (unlikely), or the general freebsd timer code in last : few months. FreeBSD timer could would be my guess. Maybe the defualt 'HZ' has changed? Warner From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 00:00:02 2003 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 836A637B404 for ; Tue, 8 Apr 2003 00:00:02 -0700 (PDT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E052143FBF for ; Tue, 8 Apr 2003 00:00:00 -0700 (PDT) (envelope-from Alex.Wilkinson@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id h3870M7U011563 for ; Tue, 8 Apr 2003 16:30:22 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au ; Tue, 8 Apr 2003 16:29:41 +0930 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81])h386kgh20324; Tue, 8 Apr 2003 16:16:43 +0930 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2FV1PKVL; Tue, 8 Apr 2003 16:16:30 +0930 Date: Tue, 8 Apr 2003 16:16:43 +0930 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au To: Dag-Erling Smorgrav In-Reply-To: Message-ID: <20030408161241.S70285@squirm.dsto.defence.gov.au> References: <20030407143118.V1049@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: current@freebsd.org Subject: SCHED_ULE question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex.Wilkinson@dsto.defence.gov.au List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 07:00:02 -0000 Cool, thanks for that, but what's the diff between: #sysctl kern.quantum kern.quantum: 100000 AND #sysctl kern.quntum sysctl: unknown oid 'kern.quntum' What is meant to 'quantum' ? - aW "Wilkinson,Alex" writes: > How can I verify that I am using the new and improved scheduler > (SCHED_ULE) on a running system that does not have the kernel config > file to grep through. # sysctl kern.quantum sysctl: unknown oid 'kern.quantum' From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 03:43:48 2003 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 48B4E37B401; Tue, 8 Apr 2003 03:43:48 -0700 (PDT) Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C493543F85; Tue, 8 Apr 2003 03:43:46 -0700 (PDT) (envelope-from fujita@soum.co.jp) Received: from force.soum.co.jp (force.soum.co.jp [IPv6:3ffe:501:80a:1:a00:20ff:fef0:4c9c]) by gate.soum.co.jp (8.12.9/8.12.9) with ESMTP id h38AhgSp036966; Tue, 8 Apr 2003 19:43:43 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from vanilla.soum.co.jp (vanilla.soum.co.jp [3ffe:501:80a:1:202:b3ff:fe98:8115])h38AhfZ22621; Tue, 8 Apr 2003 19:43:41 +0900 (JST) Received: from localhost (localhost [::1]) by vanilla.soum.co.jp (Postfix) with ESMTP id 43A505498; Tue, 8 Apr 2003 19:43:41 +0900 (JST) Date: Tue, 08 Apr 2003 19:43:40 +0900 (JST) Message-Id: <20030408.194340.115907060.fujita@soum.co.jp> To: mux@freebsd.org From: FUJITA Kazutoshi In-Reply-To: <20030407174532.GC1750@elvis.mu.org> References: <20030407170504.GA1099@leafy.idv.tw> <20030407174532.GC1750@elvis.mu.org> X-PGP-PublicKey: http://www.soum.co.jp/~fujita/fujita-GnuPG-publickey.txt X-PGP-FingerPrint: 9956 2ECE 7E7D B425 EC2D D49E FEBB 3C5F 2C34 1ECA Organization: SOUM Corporation, JAPAN X-URL: http://www.soum.co.jp/ X-Mailer: Mew version 3.1 on Emacs 21.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIvU0FLQUtJKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: recent fxp changes causes mpd to 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: Tue, 08 Apr 2003 10:43:48 -0000 From: Maxime Henrion Subject: Re: recent fxp changes causes mpd to freeze Date: Mon, 7 Apr 2003 19:45:32 +0200 Message-ID: <20030407174532.GC1750@elvis.mu.org> > leafy wrote: > > Recent (in these couple of days) changes in fxp causes mpd with PPPoE to freeze. No message or anything. Restarting mpd unfreezes the condition. Is there anything I can do to get more information out of this situation? My ThinkPad has similar(?) problem. But I don't use mpd, just connect to LAN. fxp often freeze, and 'ifconfig fxp0 up' solve this for a while. fxp0@pci2:8:0: class=0x020000 card=0x02091014 chip=0x10318086 rev=0x41 hdr=0x00 vendor = 'Intel Corporation' device = '82801CAM (ICH3) PRO/100 VE (LOM) Network Connection' class = network subclass = ethernet > Can you check that you're running the latest version of the fxp(4) > driver ? Latest revsisions are : > > if_fxp.c: > $FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.162 2003/04/07 17:02:44 mux Exp $ > if_fxpreg.h: > $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.33 2003/04/06 21:35:45 mux Exp $ > if_fxpvar.h: > $FreeBSD: src/sys/dev/fxp/if_fxpvar.h,v 1.24 2003/04/02 16:47:16 mux Exp $ > rcvbundl.h: > $FreeBSD: src/sys/dev/fxp/rcvbundl.h,v 1.1 2001/10/25 05:23:31 jlemon Exp $ % grep '$FreeBSD' /sys/dev/fxp/* /sys/dev/fxp/if_fxp.c:__FBSDID("$FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.162 2003/04/07 17:02:44 mux Exp $"); /sys/dev/fxp/if_fxpreg.h: * $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.33 2003/04/06 21:35:45 mux Exp $ /sys/dev/fxp/if_fxpvar.h: * $FreeBSD: src/sys/dev/fxp/if_fxpvar.h,v 1.24 2003/04/02 16:47:16 mux Exp $ /sys/dev/fxp/rcvbundl.h: * $FreeBSD: src/sys/dev/fxp/rcvbundl.h,v 1.1 2001/10/25 05:23:31 jlemon Exp $ Any suggestions ? Regards, From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 04:17:19 2003 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 446DE37B401 for ; Tue, 8 Apr 2003 04:17:19 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42B6D43F85 for ; Tue, 8 Apr 2003 04:17:18 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 014A45308; Tue, 8 Apr 2003 13:17:15 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Alex.Wilkinson@dsto.defence.gov.au From: Dag-Erling Smorgrav Date: Tue, 08 Apr 2003 13:17:15 +0200 In-Reply-To: <20030408161241.S70285@squirm.dsto.defence.gov.au> ("Wilkinson,Alex"'s message of "Tue, 8 Apr 2003 16:16:43 +0930 (CST)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030407143118.V1049@squirm.dsto.defence.gov.au> <20030408161241.S70285@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: current@freebsd.org Subject: Re: SCHED_ULE question 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: Tue, 08 Apr 2003 11:17:19 -0000 "Wilkinson,Alex" writes: > Cool, thanks for that, but what's the diff between: > > #sysctl kern.quantum > kern.quantum: 100000 > > AND > > #sysctl kern.quntum > sysctl: unknown oid 'kern.quntum' > > What is meant to 'quantum' ? It's the maximum number of ticks a process can run without being preempted. It's specific to the 4BSD scheduler, so you can use its presence (or absence) to determine which scheduler is in use. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 04:49:30 2003 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 9D31E37B401 for ; Tue, 8 Apr 2003 04:49:30 -0700 (PDT) Received: from fump.kawo2.rwth-aachen.de (fump.kawo2.RWTH-Aachen.DE [134.130.181.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80EF943FD7 for ; Tue, 8 Apr 2003 04:49:29 -0700 (PDT) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: from fump.kawo2.rwth-aachen.de (localhost.kawo2.rwth-aachen.de [127.0.0.1])h38BnQOm032902; Tue, 8 Apr 2003 13:49:26 +0200 (CEST) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: (from alex@localhost) by fump.kawo2.rwth-aachen.de (8.12.8/8.12.6/Submit) id h38BnPS0032901; Tue, 8 Apr 2003 13:49:25 +0200 (CEST) Date: Tue, 8 Apr 2003 13:49:25 +0200 From: Alexander Langer To: Bill Moran , freebsd-current@freebsd.org Message-ID: <20030408114925.GP803@fump.kawo2.rwth-aachen.de> Mail-Followup-To: Alexander Langer , Bill Moran , freebsd-current@freebsd.org References: <002101c2f9f5$199eb390$613818ac@craftmfg.com> <20030407235202.GA8120@webserver.get-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407235202.GA8120@webserver.get-linux.org> X-PGP-Fingerprint: 7EC1 5B98 4554 2A63 9079 2B2F 9A94 CD6F 7F14 EFA4 X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. User-Agent: Mutt/1.5.3i Subject: Re: DVD burning under 5.0 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: Tue, 08 Apr 2003 11:49:30 -0000 Thus spake Joshua Oreman (oremanj@www.get-linux.org): > For the +RW disks, you can use burncd. > Example: > # burncd -f /dev/ide.node.of.your.burner -F format dvd+rw > # burncd -f /dev/ide.node.of.your.burner dvdrw file.iso How would you burn DVD+R? with the "data", as usual? Note that I want the DVD-ROM compatibility bit set, so DVD-ROM drives can read it. All my DVD-ROMs refuse to read the DVD+R written with "burncd dvdrw". Thanks Alex From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 05:41:54 2003 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 AD12237B404; Tue, 8 Apr 2003 05:41:54 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B860643FA3; Tue, 8 Apr 2003 05:41:50 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h38Cfkgg014837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2003 15:41:46 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h38CfkAQ014832; Tue, 8 Apr 2003 15:41:46 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Apr 2003 15:41:46 +0300 From: Ruslan Ermilov To: markus@FreeBSD.org Message-ID: <20030408124146.GA13627@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline User-Agent: Mutt/1.5.4i cc: current@FreeBSD.org Subject: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 12:41:55 -0000 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have been unlucky to try to do a major update of all of my ports, including upgrading XFree86 to version 4.3, on my 5.0-CURRENT notebook. The update went fine except things like xclock(1) now angry and eat all system memory and are eventually get killed due to the ``out of swap space'' bug ;-). I've tracked it down to the update of fontconfig port to version 2.1.92. Reverting to fontconfig-2.1_7 made the symptoms go away. This was a standard install of XFree86-4, with the xf86config(1) generated config file. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ksOJUkv4P6juNwoRAhPbAJ4h8BNj4YtGI1LQRjqgiFsBxGYxUgCggm8I rJnTP8kxjo5WATv7vBX5OoE= =Hbzm -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 05:46:25 2003 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 706C137B401; Tue, 8 Apr 2003 05:46:25 -0700 (PDT) Received: from mail.cordis.lu (mail.cordis.lu [212.190.217.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 809B743FA3; Tue, 8 Apr 2003 05:46:23 -0700 (PDT) (envelope-from a.carter@cordis.lu) Received: from mailsvr.intrasoft.lu (mail.intrasoft.lu [212.190.217.251]) by mail.cordis.lu (8.12.8/8.12.8) with ESMTP id h38Cp81d021072; Tue, 8 Apr 2003 14:51:09 +0200 Received: by mail.intrasoft.lu with Internet Mail Service (5.5.2656.59) id <2HMPC47V>; Tue, 8 Apr 2003 14:43:41 +0200 Received: from intra241.intrasoft.lu (212.190.217.170 [212.190.217.170]) by mailsvr.intrasoft.lu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id 2HMPC474; Tue, 8 Apr 2003 14:43:35 +0200 From: CARTER Anthony To: Ruslan Ermilov , markus@freebsd.org Organization: Intrasoft Date: Tue, 8 Apr 2003 14:46:39 +0200 User-Agent: KMail/1.5.1 References: <20030408124146.GA13627@sunbay.com> In-Reply-To: <20030408124146.GA13627@sunbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304081446.39330.a.carter@intrasoft.lu> X-Spam-Status: No, hits=-128.7 required=4.2 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_KMAIL,USER_IN_WHITELIST version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 12:46:25 -0000 I had this bug, but now it is over...It has been fixed. Do a CVSUP and all should now be ok. Anthony On Tuesday 08 April 2003 14:41, Ruslan Ermilov wrote: > I have been unlucky to try to do a major update of all > of my ports, including upgrading XFree86 to version 4.3, > on my 5.0-CURRENT notebook. > > The update went fine except things like xclock(1) now > angry and eat all system memory and are eventually get > killed due to the ``out of swap space'' bug ;-). > > I've tracked it down to the update of fontconfig port > to version 2.1.92. Reverting to fontconfig-2.1_7 made > the symptoms go away. > > This was a standard install of XFree86-4, with the > xf86config(1) generated config file. > > > Cheers, From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 06:18:48 2003 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 060CD37B401; Tue, 8 Apr 2003 06:18:48 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DB1343F93; Tue, 8 Apr 2003 06:18:42 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h38DINgg019699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2003 16:18:24 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h38DINXI019694; Tue, 8 Apr 2003 16:18:23 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Apr 2003 16:18:23 +0300 From: Ruslan Ermilov To: CARTER Anthony Message-ID: <20030408131823.GA19391@sunbay.com> References: <20030408124146.GA13627@sunbay.com> <200304081446.39330.a.carter@intrasoft.lu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <200304081446.39330.a.carter@intrasoft.lu> User-Agent: Mutt/1.5.4i cc: markus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 13:18:48 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > I had this bug, but now it is over...It has been fixed. Do a CVSUP and al= l=20 > should now be ok. >=20 No. This is with the latest port. Where specifically it was fixed? > On Tuesday 08 April 2003 14:41, Ruslan Ermilov wrote: > > I have been unlucky to try to do a major update of all > > of my ports, including upgrading XFree86 to version 4.3, > > on my 5.0-CURRENT notebook. > > > > The update went fine except things like xclock(1) now > > angry and eat all system memory and are eventually get > > killed due to the ``out of swap space'' bug ;-). > > > > I've tracked it down to the update of fontconfig port > > to version 2.1.92. Reverting to fontconfig-2.1_7 made > > the symptoms go away. > > > > This was a standard install of XFree86-4, with the > > xf86config(1) generated config file. > > > > > > Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kswfUkv4P6juNwoRAvupAJ9sO8pgOOjyVBAxVCZ0PfUJtLVB7wCfc5d6 /XeiNBveVj1AkwODZuEPkCc= =A2tb -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 06:25:10 2003 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 5705C37B401; Tue, 8 Apr 2003 06:25:10 -0700 (PDT) Received: from mail.cordis.lu (mail.cordis.lu [212.190.217.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0086C43FB1; Tue, 8 Apr 2003 06:25:09 -0700 (PDT) (envelope-from a.carter@cordis.lu) Received: from mailsvr.intrasoft.lu (mail.intrasoft.lu [212.190.217.251]) by mail.cordis.lu (8.12.8/8.12.8) with ESMTP id h38DTt1d022686; Tue, 8 Apr 2003 15:29:55 +0200 Received: by mail.intrasoft.lu with Internet Mail Service (5.5.2656.59) id <2HMPCVD8>; Tue, 8 Apr 2003 15:22:27 +0200 Received: from intra241.intrasoft.lu (212.190.217.170 [212.190.217.170]) by mailsvr.intrasoft.lu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id 2HMPCVD7; Tue, 8 Apr 2003 15:22:25 +0200 From: CARTER Anthony To: Ruslan Ermilov , CARTER Anthony Organization: Intrasoft Date: Tue, 8 Apr 2003 15:25:29 +0200 User-Agent: KMail/1.5.1 References: <20030408131823.GA19391@sunbay.com> In-Reply-To: <20030408131823.GA19391@sunbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304081525.29711.a.carter@intrasoft.lu> X-Spam-Status: No, hits=-131.9 required=4.2 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL,USER_IN_WHITELIST version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: markus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 13:25:10 -0000 Originally (end of last week) there was a loop where the xft had a looping dependency that caused an "out of swap space" bug appearing while compiling Mesa (among others). What version of Xft are you using? Maybe it is not related, but I am running latest XFree and KDE and Xclock and fontconfig without any problems so far ;) Anthony On Tuesday 08 April 2003 15:18, Ruslan Ermilov wrote: > On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > > I had this bug, but now it is over...It has been fixed. Do a CVSUP and > > all > > > should now be ok. > > No. This is with the latest port. Where specifically it > was fixed? > > > On Tuesday 08 April 2003 14:41, Ruslan Ermilov wrote: > > > I have been unlucky to try to do a major update of all > > > of my ports, including upgrading XFree86 to version 4.3, > > > on my 5.0-CURRENT notebook. > > > > > > The update went fine except things like xclock(1) now > > > angry and eat all system memory and are eventually get > > > killed due to the ``out of swap space'' bug ;-). > > > > > > I've tracked it down to the update of fontconfig port > > > to version 2.1.92. Reverting to fontconfig-2.1_7 made > > > the symptoms go away. > > > > > > This was a standard install of XFree86-4, with the > > > xf86config(1) generated config file. > > > > > > > > > Cheers, From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 06:28:07 2003 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 3DF5D37B401; Tue, 8 Apr 2003 06:28:07 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2528343F85; Tue, 8 Apr 2003 06:27:52 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h38DRUgg020939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2003 16:27:30 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h38DRUlO020934; Tue, 8 Apr 2003 16:27:30 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Apr 2003 16:27:30 +0300 From: Ruslan Ermilov To: CARTER Anthony Message-ID: <20030408132730.GD19391@sunbay.com> References: <20030408131823.GA19391@sunbay.com> <200304081525.29711.a.carter@intrasoft.lu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/unnNtmY43mpUSKx" Content-Disposition: inline In-Reply-To: <200304081525.29711.a.carter@intrasoft.lu> User-Agent: Mutt/1.5.4i cc: marcus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 13:28:07 -0000 --/unnNtmY43mpUSKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 08, 2003 at 03:25:29PM +0200, CARTER Anthony wrote: > Originally (end of last week) there was a loop where the xft had a loopin= g=20 > dependency that caused an "out of swap space" bug appearing while compili= ng=20 > Mesa (among others). >=20 > What version of Xft are you using? >=20 Like I said, I rebuilt everything from ports yesterday. The latest, Xft-2.1_7. > Maybe it is not related, but I am running latest XFree and KDE and Xclock= and=20 > fontconfig without any problems so far ;) >=20 The WM is not an issue here. > On Tuesday 08 April 2003 15:18, Ruslan Ermilov wrote: > > On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > > > I had this bug, but now it is over...It has been fixed. Do a CVSUP and > > > > all > > > > > should now be ok. > > > > No. This is with the latest port. Where specifically it > > was fixed? > > > > > On Tuesday 08 April 2003 14:41, Ruslan Ermilov wrote: > > > > I have been unlucky to try to do a major update of all > > > > of my ports, including upgrading XFree86 to version 4.3, > > > > on my 5.0-CURRENT notebook. > > > > > > > > The update went fine except things like xclock(1) now > > > > angry and eat all system memory and are eventually get > > > > killed due to the ``out of swap space'' bug ;-). > > > > > > > > I've tracked it down to the update of fontconfig port > > > > to version 2.1.92. Reverting to fontconfig-2.1_7 made > > > > the symptoms go away. > > > > > > > > This was a standard install of XFree86-4, with the > > > > xf86config(1) generated config file. > > > > > > > > > > > > Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --/unnNtmY43mpUSKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ks5CUkv4P6juNwoRAnfdAJ4t48gpQgpir0GMIxBKCGri2KxSlQCfZDMu S8MNB/DHs3P84j7JGfqFZrI= =mpyz -----END PGP SIGNATURE----- --/unnNtmY43mpUSKx-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 06:52:42 2003 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 E527437B405 for ; Tue, 8 Apr 2003 06:52:42 -0700 (PDT) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id 4FCD243FD7 for ; Tue, 8 Apr 2003 06:52:42 -0700 (PDT) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) Sender: dpelleg@gs166.sp.cs.cmu.edu To: current@freebsd.org From: Dan Pelleg Date: 08 Apr 2003 09:52:19 -0400 Message-ID: Lines: 48 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: NIS exhausts system resources 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: Tue, 08 Apr 2003 13:52:43 -0000 I'm using a -CURRENT NIS client against a -STABLE server. When I can ssh in, things work, so this is not the SSH issue reported here several times. But sometimes, using NIS spins the system to the effect it's unusable. The logs are full of: kernel: file: table is full syslogd: /dev/console: Too many open files in system rpcbind: rpc: failed to open /etc/netconfig rpcbind: warning: /etc/hosts.allow, line 23: cannot open /etc/hosts.allow: Too many open files in system If I'm lucky and have some open session, I can type "reboot" in it and after a while things shut down cleanly. If not, I can't login (or can't execute reboot) and have to do a hard reset. When does this happen, you ask? I triggered it this morning by booting the machine when the NIS server was down. I had also seen it in the past when configuring NIS, and it happened as soon as I set the domainname. Any ideas? I can provide packet captures on request, however note the failure where the server is down. Configuration details: rc.conf: nfs_server_enable="YES" nfs_client_enable="YES" mountd_flags="-r -l" nisdomainname="foo" nis_client_enable="YES" rpc_lockd_enable="NO" rpc_statd_enable="YES" rpcbind_enable="YES" rpcbind_flags="-l" amd_enable="YES" nsswitch.conf: passwd: nis files group: nis files tail of passwd: -:*:0:::: +:*::::: Thanks in advance, -- Dan Pelleg From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 06:53:35 2003 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 5AFEB37B401; Tue, 8 Apr 2003 06:53:35 -0700 (PDT) Received: from mail.cordis.lu (mail.cordis.lu [212.190.217.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD8A843F85; Tue, 8 Apr 2003 06:53:33 -0700 (PDT) (envelope-from a.carter@cordis.lu) Received: from mailsvr.intrasoft.lu (mail.intrasoft.lu [212.190.217.251]) by mail.cordis.lu (8.12.8/8.12.8) with ESMTP id h38DwK1d024099; Tue, 8 Apr 2003 15:58:20 +0200 Received: by mail.intrasoft.lu with Internet Mail Service (5.5.2656.59) id <2HMPCVKG>; Tue, 8 Apr 2003 15:50:52 +0200 Received: from intra241.intrasoft.lu (212.190.217.170 [212.190.217.170]) by mailsvr.intrasoft.lu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id 2HMPCVKF; Tue, 8 Apr 2003 15:50:48 +0200 From: CARTER Anthony To: Ruslan Ermilov , CARTER Anthony Organization: Intrasoft Date: Tue, 8 Apr 2003 15:53:52 +0200 User-Agent: KMail/1.5.1 References: <20030408132730.GD19391@sunbay.com> In-Reply-To: <20030408132730.GD19391@sunbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304081553.52781.a.carter@intrasoft.lu> X-Spam-Status: No, hits=-131.9 required=4.2 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL,USER_IN_WHITELIST version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: marcus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 13:53:35 -0000 Is the problem during xclock execution or xclock compilation? Anthony On Tuesday 08 April 2003 15:27, Ruslan Ermilov wrote: > On Tue, Apr 08, 2003 at 03:25:29PM +0200, CARTER Anthony wrote: > > Originally (end of last week) there was a loop where the xft had a > > looping > > > dependency that caused an "out of swap space" bug appearing while > > compiling > > > Mesa (among others). > > > > What version of Xft are you using? > > Like I said, I rebuilt everything from ports yesterday. > The latest, Xft-2.1_7. > > > Maybe it is not related, but I am running latest XFree and KDE and > > Xclock and > > > fontconfig without any problems so far ;) > > The WM is not an issue here. > > > On Tuesday 08 April 2003 15:18, Ruslan Ermilov wrote: > > > On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > > > > I had this bug, but now it is over...It has been fixed. Do a CVSUP > > and > > > > all > > > > > > > should now be ok. > > > > > > No. This is with the latest port. Where specifically it > > > was fixed? > > > > > > > On Tuesday 08 April 2003 14:41, Ruslan Ermilov wrote: > > > > > I have been unlucky to try to do a major update of all > > > > > of my ports, including upgrading XFree86 to version 4.3, > > > > > on my 5.0-CURRENT notebook. > > > > > > > > > > The update went fine except things like xclock(1) now > > > > > angry and eat all system memory and are eventually get > > > > > killed due to the ``out of swap space'' bug ;-). > > > > > > > > > > I've tracked it down to the update of fontconfig port > > > > > to version 2.1.92. Reverting to fontconfig-2.1_7 made > > > > > the symptoms go away. > > > > > > > > > > This was a standard install of XFree86-4, with the > > > > > xf86config(1) generated config file. > > > > > > > > > > > > > > > Cheers, From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 06:56:23 2003 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 566F437B40A; Tue, 8 Apr 2003 06:56:23 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE97C43F85; Tue, 8 Apr 2003 06:56:19 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h38DuBgg024641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2003 16:56:11 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h38DuB6n024636; Tue, 8 Apr 2003 16:56:11 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Apr 2003 16:56:11 +0300 From: Ruslan Ermilov To: CARTER Anthony Message-ID: <20030408135611.GB23660@sunbay.com> References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: <200304081553.52781.a.carter@intrasoft.lu> User-Agent: Mutt/1.5.4i cc: marcus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 13:56:23 -0000 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 08, 2003 at 03:53:52PM +0200, CARTER Anthony wrote: > Is the problem during xclock execution or xclock compilation? >=20 At runtime. When I run xclock under truss(1), it shows the paths to the fonts, and never stops doing it, eventually eating all memory and being killed by kernel. The same thing happens when I say run mozilla (also upgraded from fresh ports). Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ktT6Ukv4P6juNwoRAlHbAJ9CLWBg1zZ8Xiqpf5kt5YX7xnfCfQCggSHz klQbCMWxNCTNQHrC48rblmA= =hyHP -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 07:00:53 2003 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 0AAC837B401; Tue, 8 Apr 2003 07:00:53 -0700 (PDT) Received: from volatile.chemikals.org (cae88-48-006.sc.rr.com [24.88.48.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0832C43F3F; Tue, 8 Apr 2003 07:00:52 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost [127.0.0.1]) h38E0WIe077515; Tue, 8 Apr 2003 10:00:33 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Tue, 8 Apr 2003 10:00:32 -0400 (EDT) From: Wesley Morgan To: Ruslan Ermilov In-Reply-To: <20030408135611.GB23660@sunbay.com> Message-ID: <20030408095850.K77443@volatile.chemikals.org> References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> <20030408135611.GB23660@sunbay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 14:00:53 -0000 On Tue, 8 Apr 2003, Ruslan Ermilov wrote: > At runtime. When I run xclock under truss(1), it shows the > paths to the fonts, and never stops doing it, eventually > eating all memory and being killed by kernel. The same > thing happens when I say run mozilla (also upgraded from > fresh ports). I've got a -STABLE system running fine with all the latest ports, and my -CURRENT laptop works as well. Have you checked all your font config files for something like a circular include? -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 07:07:53 2003 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 1090D37B401 for ; Tue, 8 Apr 2003 07:07:53 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E1A43F75 for ; Tue, 8 Apr 2003 07:07:48 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h38E7Jgg026063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2003 17:07:19 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h38E7G8X026054; Tue, 8 Apr 2003 17:07:16 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Apr 2003 17:07:16 +0300 From: Ruslan Ermilov To: Wesley Morgan Message-ID: <20030408140716.GA25511@sunbay.com> References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> <20030408135611.GB23660@sunbay.com> <20030408095850.K77443@volatile.chemikals.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20030408095850.K77443@volatile.chemikals.org> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 14:07:53 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 08, 2003 at 10:00:32AM -0400, Wesley Morgan wrote: > On Tue, 8 Apr 2003, Ruslan Ermilov wrote: >=20 > > At runtime. When I run xclock under truss(1), it shows the > > paths to the fonts, and never stops doing it, eventually > > eating all memory and being killed by kernel. The same > > thing happens when I say run mozilla (also upgraded from > > fresh ports). >=20 > I've got a -STABLE system running fine with all the latest ports, and my > -CURRENT laptop works as well. Have you checked all your font config files > for something like a circular include? >=20 Like I said, the problem goes away when I downgrade the port. I don't know too much about font config files and never edited them manually; I've just started afresh, removed all of my ports and some garbage that was left, updated the ports tree and reinstalled the ports I need, including XFree86-4. The first time I ran startx, I saw an unnormal disk activity, and that turned out to be xclock that is run by default. Where do I go to check for this circular include you mention? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kteUUkv4P6juNwoRAiCjAJ9KkTuY+J/wz0yBBBL8/YqXsdk7hACfV0Nr QkxWhJdtwHr6xzP1QknDbgs= =fHzq -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 07:26:28 2003 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 5666437B401 for ; Tue, 8 Apr 2003 07:26:28 -0700 (PDT) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 445A543FBF for ; Tue, 8 Apr 2003 07:26:27 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.sul.t-online.de by mailout04.sul.t-online.com with smtp id 192u3N-000698-01; Tue, 08 Apr 2003 16:26:25 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.125.201]) by fmrl03.sul.t-online.com with esmtp id 192u37-0rSMToC; Tue, 8 Apr 2003 16:26:09 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h38EQ6BR002230 for ; Tue, 8 Apr 2003 16:26:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h38EQGpr005395 for ; Tue, 8 Apr 2003 16:26:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 8 Apr 2003 16:26:16 +0200 From: Alexander Leidinger To: current@freebsd.org Message-Id: <20030408162616.60edc33c.Alexander@Leidinger.net> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Subject: Problem umount'ing msdosfs type filesystems 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: Tue, 08 Apr 2003 14:26:28 -0000 Hi, has some else besides me problems with a "umount /mnt" where /mnt is the mountpoint of a msdosfs? -current as of 2003-04-02. (254) netchild@ttyp2 % umount -f /mnt umount: unmount of /mnt failed: Operation not permitted Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 07:28:17 2003 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 D4BEF37B401 for ; Tue, 8 Apr 2003 07:28:17 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DF1143FAF for ; Tue, 8 Apr 2003 07:28:17 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0064.cvx40-bradley.dialup.earthlink.net ([216.244.42.64] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 192u55-0003Ba-00; Tue, 08 Apr 2003 07:28:12 -0700 Message-ID: <3E92DC28.6281F203@mindspring.com> Date: Tue, 08 Apr 2003 07:26:48 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alex.Wilkinson@dsto.defence.gov.au References: <20030407143118.V1049@squirm.dsto.defence.gov.au> <20030408161241.S70285@squirm.dsto.defence.gov.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a40fe43f1e6b209be9ad654b963c1546d2a8438e0f32a48e08350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: SCHED_ULE question 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: Tue, 08 Apr 2003 14:28:18 -0000 "Wilkinson,Alex" wrote: > Cool, thanks for that, but what's the diff between: > > #sysctl kern.quantum > kern.quantum: 100000 > > AND > > #sysctl kern.quntum > sysctl: unknown oid 'kern.quntum' You mispelled it... but it's not there in SCHED_ULE. > What is meant to 'quantum' ? A quantum is the longest interval that a process is allowed to run in the presence of another ready-to-run process existing, without voluntarily releasing the CPU for another process to run (e.g. by making a blocking system call that doesn't result in a threads context switch to another thread in the same process). It is the granularity at which some schedulers implement time sharing. Use a search engine to search for the independent terms: scheduler quantum See also: lbolt -- Terry From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 07:33:36 2003 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 426F237B405 for ; Tue, 8 Apr 2003 07:33:36 -0700 (PDT) Received: from dsl093-019-250.msp1.dsl.speakeasy.net (dsl093-019-250.msp1.dsl.speakeasy.net [66.93.19.250]) by mx1.FreeBSD.org (Postfix) with SMTP id 9148F43FCB for ; Tue, 8 Apr 2003 07:33:34 -0700 (PDT) (envelope-from peter@jocose.org) Received: (qmail 73449 invoked from network); 8 Apr 2003 14:33:33 -0000 Received: from unknown (HELO jocose.org) (10.0.0.100) by 0 with SMTP; 8 Apr 2003 14:33:33 -0000 Message-ID: <3E92DDB7.4070204@jocose.org> Date: Tue, 08 Apr 2003 09:33:27 -0500 From: Peter Schultz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> <20030408135611.GB23660@sunbay.com> In-Reply-To: <20030408135611.GB23660@sunbay.com> X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: marcus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 14:33:36 -0000 The problem with printf from this past weekend may be screwing with you. My -CURRENT installation has become completely unstable. Now all I see when I try to do anything is: "syntax error: "for" unexpected." Oh well, I've been meaning to start fresh to get the new file system, my current -CURRENT has lasted over a year without any major hiccups so I don't feel too horrible. Pete... From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 08:06:08 2003 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 7AB7C37B401 for ; Tue, 8 Apr 2003 08:06:08 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0238543F85 for ; Tue, 8 Apr 2003 08:06:08 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0064.cvx40-bradley.dialup.earthlink.net ([216.244.42.64] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 192ufk-0000pK-00; Tue, 08 Apr 2003 08:06:05 -0700 Message-ID: <3E92E509.A7A43986@mindspring.com> Date: Tue, 08 Apr 2003 08:04:41 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Pelleg References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4ffe7a537144d0153218d3071459c05d5350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org Subject: Re: NIS exhausts system resources 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: Tue, 08 Apr 2003 15:06:08 -0000 Dan Pelleg wrote: > When does this happen, you ask? I triggered it this morning by booting the > machine when the NIS server was down. I had also seen it in the past when > configuring NIS, and it happened as soon as I set the domainname. Any > ideas? I can provide packet captures on request, however note the failure > where the server is down. Historical behaviour when the NIS server is down has been for the client machines to hang until the NIS server is back up. FreeBSD doesn't serialize NIS requests trough a single local daemon, so it doesn't hang "like it's supposed to". It's probably that you could reorder the source code to ensure that no file opens (other than sockets) are held across an NIS request; this would certainly reduce pressure on the number of open files. Note that since you are SSH'ing in, and have other processes running, most likely, you just need to increase "MAXUSERS" to increase the maximum number of open files, and let them hang simultaneously, instead of running out of descriptors. In general, NIS servers are not supposed to go down, ever. -- Terry From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 08:09:39 2003 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 6BD7037B401; Tue, 8 Apr 2003 08:09:39 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86A8843FA3; Tue, 8 Apr 2003 08:09:38 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h38F9Vr7020943; Tue, 8 Apr 2003 10:09:31 -0500 (CDT) (envelope-from dan) Date: Tue, 8 Apr 2003 10:09:31 -0500 From: Dan Nelson To: Ruslan Ermilov Message-ID: <20030408150931.GC86482@dan.emsphone.com> References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> <20030408135611.GB23660@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030408135611.GB23660@sunbay.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: marcus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 15:09:39 -0000 In the last episode (Apr 08), Ruslan Ermilov said: > On Tue, Apr 08, 2003 at 03:53:52PM +0200, CARTER Anthony wrote: > > Is the problem during xclock execution or xclock compilation? > > At runtime. When I run xclock under truss(1), it shows the paths to > the fonts, and never stops doing it, eventually eating all memory and > being killed by kernel. The same thing happens when I say run > mozilla (also upgraded from fresh ports). Maybe it's building the font cache. Xft takes a insane amount of memory while it's doing this; mine got up to 200MB. If all your X programs start up at once and each decides to rebuild the cache you could certainly run out of RAM real quick. Try running fc-cache as root before starting X, so the cache is already built when the X clients need it. For me, 2.1.92 is much better than 2.1 ever was. After the XFree86 4.3.0 update, I couldn't run any Xft-enabled app at all without a core dump until I upgraded to 2.1.92. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 08:42:08 2003 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 3853E37B401 for ; Tue, 8 Apr 2003 08:42:08 -0700 (PDT) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id A17C543F3F for ; Tue, 8 Apr 2003 08:42:06 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.131.65] (port=49176 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 192vEb-0001xY-00 for freebsd-current@freebsd.org; Tue, 08 Apr 2003 23:42:05 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h38Fg4tr001368 for ; Tue, 8 Apr 2003 23:42:05 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.9/8.12.9/Submit) id h38Fg4Pd001367 for freebsd-current@freebsd.org; Tue, 8 Apr 2003 23:42:04 +0800 (CST) Date: Tue, 8 Apr 2003 23:42:04 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20030408154204.GA1353@leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: if_fxp.c vs mpd vs netgraph 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: Tue, 08 Apr 2003 15:42:08 -0000 I am now using fxp_c before backing out the atomic operations. fxp does not hang using userland pppoe, it only freezes with kernel pppoe, which uses netgraph, so the atomic freeze might be related to netgraph somehow? Perhaps ng_ether? Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 09:05:04 2003 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 3D73337B401; Tue, 8 Apr 2003 09:05:04 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB1E643FAF; Tue, 8 Apr 2003 09:05:02 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail4.nc.rr.com (fe4 [24.93.67.51])h38G3lMq024674; Tue, 8 Apr 2003 12:03:47 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Tue, 8 Apr 2003 12:06:48 -0400 Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) h38G4d7q070236; Tue, 8 Apr 2003 12:04:39 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Ruslan Ermilov In-Reply-To: <20030408124146.GA13627@sunbay.com> References: <20030408124146.GA13627@sunbay.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-uaTipTfCxtCI8KyNkpBt" Organization: MarcusCom, Inc. Message-Id: <1049817897.9048.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 08 Apr 2003 12:04:58 -0400 X-Spam-Status: No, hits=-36.2 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 16:05:04 -0000 --=-uaTipTfCxtCI8KyNkpBt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-04-08 at 08:41, Ruslan Ermilov wrote: > I have been unlucky to try to do a major update of all > of my ports, including upgrading XFree86 to version 4.3, > on my 5.0-CURRENT notebook. >=20 > The update went fine except things like xclock(1) now > angry and eat all system memory and are eventually get > killed due to the ``out of swap space'' bug ;-). >=20 > I've tracked it down to the update of fontconfig port > to version 2.1.92. Reverting to fontconfig-2.1_7 made > the symptoms go away. >=20 > This was a standard install of XFree86-4, with the > xf86config(1) generated config file. You're the only one that thinks 2.1.92 is worse that 2.1 :-). I thought 2.1.92 was going to be a silver bullet for most of the reported font problems. I have heard reports of this problem, but every other user said the problem exists in 2.1 as well. I've read this whole thread, and I'd like feedback on what das mentioned (i.e. upgrade to -CURRENT from today and make sure it's still broken). Also, I'd like to see if what Dan Nelson suggested works (i.e. running fc-cache -v -f as root fixes it). If it's still broken, what LANG are you using? What fonts do you have installed? Can you setenv FC_DEBUG to 1023, then send me the output after running xclock? Joe >=20 >=20 > Cheers, --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-uaTipTfCxtCI8KyNkpBt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+kvMpb2iPiv4Uz4cRAqgdAJ9HUXL+F77YcsOSkX5x1KgbdWX6FQCfZqNy dxi8Uu+0msh5RE4/HuS8tyw= =zkIt -----END PGP SIGNATURE----- --=-uaTipTfCxtCI8KyNkpBt-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 09:15:15 2003 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 CB39137B401 for ; Tue, 8 Apr 2003 09:15:15 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53F5E43F3F for ; Tue, 8 Apr 2003 09:15:12 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h38GErgg042151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2003 19:14:53 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h38GErdo042146; Tue, 8 Apr 2003 19:14:53 +0300 (EEST) (envelope-from ru) Date: Tue, 8 Apr 2003 19:14:52 +0300 From: Ruslan Ermilov To: Joe Marcus Clarke Message-ID: <20030408161452.GA41726@sunbay.com> References: <20030408124146.GA13627@sunbay.com> <1049817897.9048.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <1049817897.9048.5.camel@shumai.marcuscom.com> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 16:15:16 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 08, 2003 at 12:04:58PM -0400, Joe Marcus Clarke wrote: > On Tue, 2003-04-08 at 08:41, Ruslan Ermilov wrote: > > I have been unlucky to try to do a major update of all > > of my ports, including upgrading XFree86 to version 4.3, > > on my 5.0-CURRENT notebook. > >=20 > > The update went fine except things like xclock(1) now > > angry and eat all system memory and are eventually get > > killed due to the ``out of swap space'' bug ;-). > >=20 > > I've tracked it down to the update of fontconfig port > > to version 2.1.92. Reverting to fontconfig-2.1_7 made > > the symptoms go away. > >=20 > > This was a standard install of XFree86-4, with the > > xf86config(1) generated config file. >=20 > You're the only one that thinks 2.1.92 is worse that 2.1 :-). >=20 I don't. It just causes me trouble. > I thought > 2.1.92 was going to be a silver bullet for most of the reported font > problems. I have heard reports of this problem, but every other user > said the problem exists in 2.1 as well. I've read this whole thread, > and I'd like feedback on what das mentioned (i.e. upgrade to -CURRENT > from today and make sure it's still broken). Also, I'd like to see if > what Dan Nelson suggested works (i.e. running fc-cache -v -f as root > fixes it). >=20 OK, I will try that later today, and let you know. > If it's still broken, what LANG are you using? >=20 I tried resetting the LANG, it's no cause. > What fonts do you have installed? >=20 Just standard XFree86-4 install. > Can you setenv FC_DEBUG to 1023, then send me the output > after running xclock? >=20 Sure, I will. Thanks! Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kvV8Ukv4P6juNwoRAtO1AJ9htR0Z2NL33FLKOSX0ynBkGLrGGgCePzFP SMjTRFsDhUHqDYLKCIFCe4Q= =2P2I -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 09:33:08 2003 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 6063037B401 for ; Tue, 8 Apr 2003 09:33:08 -0700 (PDT) Received: from meriadoc.jobeus.net (meriadoc.jobeus.net [205.206.125.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A13443FAF for ; Tue, 8 Apr 2003 09:33:07 -0700 (PDT) (envelope-from freebsd@jobeus.net) Received: from meriadoc.jobeus.net (freebsd@localhost [127.0.0.1]) by meriadoc.jobeus.net (8.12.9/8.12.3) with ESMTP id h38GX5kA021389 for ; Tue, 8 Apr 2003 10:33:05 -0600 (MDT) (envelope-from freebsd@jobeus.net) Received: from localhost (freebsd@localhost)h38GX2o1021386 for ; Tue, 8 Apr 2003 10:33:05 -0600 (MDT) X-Authentication-Warning: meriadoc.jobeus.net: freebsd owned process doing -bs Date: Tue, 8 Apr 2003 10:33:02 -0600 (MDT) From: Scott Carmichael To: freebsd-current@freebsd.org Message-ID: <20030408102930.U21317@meriadoc.jobeus.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 'for' unexpected. 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: Tue, 08 Apr 2003 16:33:08 -0000 Since updating the tree and recompiling the other night, I keep getting these errors about 'for' unexpected... When using make to rebuild the source tree, when using make to install a port, and also in cron error outputs to root@. The error I get there is: Date: Tue, 8 Apr 2003 10:11:01 -0600 (MDT) From: Cron Daemon To: operator@meriadoc.jobeus.net Subject: Cron /usr/libexec/save-entropy /etc/defaults/rc.conf: 438: Syntax error: "for" unexpected So, anyways, anyone know what this could be? I can't seem to even type a 'for' statement in sh and make it work. Eek. From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 09:42:17 2003 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 3DE2437B401 for ; Tue, 8 Apr 2003 09:42:17 -0700 (PDT) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id 9DD4343FBF for ; Tue, 8 Apr 2003 09:42:16 -0700 (PDT) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16018.64453.390850.48895@gs166.sp.cs.cmu.edu> Date: Tue, 8 Apr 2003 12:41:41 -0400 To: Terry Lambert In-Reply-To: <3E92E509.A7A43986@mindspring.com> References: <3E92E509.A7A43986@mindspring.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Dan Pelleg Sender: dpelleg+@gs166.sp.cs.cmu.edu cc: current@freebsd.org Subject: Re: NIS exhausts system resources X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Pelleg List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 16:42:17 -0000 Terry Lambert writes: > Dan Pelleg wrote: > > When does this happen, you ask? I triggered it this morning by booting the > > machine when the NIS server was down. I had also seen it in the past when > > configuring NIS, and it happened as soon as I set the domainname. Any > > ideas? I can provide packet captures on request, however note the failure > > where the server is down. > > Historical behaviour when the NIS server is down has been for the > client machines to hang until the NIS server is back up. > > FreeBSD doesn't serialize NIS requests trough a single local daemon, > so it doesn't hang "like it's supposed to". > > It's probably that you could reorder the source code to ensure that > no file opens (other than sockets) are held across an NIS request; > this would certainly reduce pressure on the number of open files. > > Note that since you are SSH'ing in, and have other processes running, > most likely, you just need to increase "MAXUSERS" to increase the > maximum number of open files, and let them hang simultaneously, > instead of running out of descriptors. > I'm not sure I understand this. First, if the server is down when the client boots, this will stop the client's boot sequence (or at least slow it significantly down). sshd isn't given a chance to start. The only sign of life from the machine at this point is ICMP replies and the sound of the grinding disk (probably syslogd). Next, this is a wimpy machine. 233Mhz processor and 64MB of RAM. I don't know if that matters or not, but I'm not confident of my ability to tweak the memory usage on it. > In general, NIS servers are not supposed to go down, ever. > > -- Terry From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 10:08:00 2003 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 0592737B404 for ; Tue, 8 Apr 2003 10:08:00 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1585943FBD for ; Tue, 8 Apr 2003 10:07:59 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0105.cvx22-bradley.dialup.earthlink.net ([209.179.198.105] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 192wZa-00026v-00; Tue, 08 Apr 2003 10:07:51 -0700 Message-ID: <3E930195.4E25DDCE@mindspring.com> Date: Tue, 08 Apr 2003 10:06:29 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Pelleg References: <16018.64453.390850.48895@gs166.sp.cs.cmu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a42c9b871186f35be62182c7d381bb9c71350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org Subject: Re: NIS exhausts system resources 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: Tue, 08 Apr 2003 17:08:00 -0000 Dan Pelleg wrote: > I'm not sure I understand this. First, if the server is down when the > client boots, this will stop the client's boot sequence (or at least slow > it significantly down). Not really. All it will do is cause requests for information normally contained in NIS to fail, following some delay (for example, for gethostbyaddr(), if the hosts file is NIS distributed, it will cause a 3 minute delay on reverse address resolution, before failing back to returning the IP address). For getpwnam(), the lookup will simply fail completely, after the NIS server is judged to no be responding, which will only occur after a connection attempt fails after a certain amount of time. > sshd isn't given a chance to start. I mistakenly understood your original posting to say that it "was the sshd problem reported here several times"; missed the "NOT"; sorry. > The only sign of life from the machine at this point is ICMP replies > and the sound of the grinding disk (probably syslogd). You also said there was another "sign of life": | kernel: file: table is full | syslogd: /dev/console: Too many open files in system | rpcbind: rpc: failed to open /etc/netconfig | rpcbind: warning: /etc/hosts.allow, line 23: cannot open /etc/hosts.allow: | Too many open files in system The "file: table is full" and the "Too many open files in system" can be fixed by the method I describe: recompile your kernel with a larger MAXUSERS. As far as the "too many open files", there are two possible causes. The first is that so many things are piled up waiting for NIS, that there are *really* "too many open files". Rasing the MAXUSERS raises the definition of "too many". Raise it high enough, and the problem will "go away" (e.g. if "too many" is "10", you will have problems when you try to open 50 files, but if "too many" is "100", you won't have that problem). The second cause is probably that the "/etc/hosts.allow" file is opened, the file read, the NIS checked, and then the file is closed. If you changed the order of operation so that the file was not held open while NIS was being checked, then you would not have the problem, e.g.: Fails OK Open A Open A Read A Read A Open B Close A Open B Close B Close A Close B <2 files held open> <1 file held open> ... in other words, if you divide the number of open files by 2, then maybe if (2*X > "too many"), just (X < "too many"). Make sense? > Next, this is a wimpy machine. 233Mhz processor and 64MB of RAM. I don't > know if that matters or not, but I'm not confident of my ability to tweak > the memory usage on it. cd /usr/src/sys/i386/conf cp GENERIC MYKERNEL vi MYKERNEL # Increase MAXUSERS by 2-3 times config MYKERNEL cd ../compile/MYKERNEL make depend make make install -- Terry From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 10:22:21 2003 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 8743537B401; Tue, 8 Apr 2003 10:22:21 -0700 (PDT) Received: from imo-d05.mx.aol.com (imo-d05.mx.aol.com [205.188.157.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91FCD43F3F; Tue, 8 Apr 2003 10:22:20 -0700 (PDT) (envelope-from BelletJr@aol.com) Received: from BelletJr@aol.com by imo-d05.mx.aol.com (mail_out_v34.21.) id n.1a2.12d5cfe0 (4340); Tue, 8 Apr 2003 13:22:04 -0400 (EDT) From: BelletJr@aol.com Message-ID: <1a2.12d5cfe0.2bc45f3b@aol.com> Date: Tue, 8 Apr 2003 13:22:03 EDT To: current@freebsd.org, questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 5.0 for Windows sub 116 Subject: How to automate this boot process? 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: Tue, 08 Apr 2003 17:22:21 -0000 Hello, Due to an unresolved problem (with 5.0-Release) that prevents me from booting directly from my hard drive, I boot the system with the kernel.flp floppy then type the following commands in the loader: unload kernel set currdev=disk2s2a boot boot/kernel/kernel How can I automate this with a dedicated floppy? From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 10:30:07 2003 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 17CDA37B43E for ; Tue, 8 Apr 2003 10:30:07 -0700 (PDT) Received: from web11404.mail.yahoo.com (web11404.mail.yahoo.com [216.136.131.234]) by mx1.FreeBSD.org (Postfix) with SMTP id D20B243FBD for ; Tue, 8 Apr 2003 10:30:03 -0700 (PDT) (envelope-from shizukakudo_99@yahoo.com) Message-ID: <20030408173003.84783.qmail@web11404.mail.yahoo.com> Received: from [219.76.96.9] by web11404.mail.yahoo.com via HTTP; Tue, 08 Apr 2003 10:30:03 PDT Date: Tue, 8 Apr 2003 10:30:03 -0700 (PDT) From: Shizuka Kudo To: Ruslan Ermilov , CARTER Anthony In-Reply-To: <20030408131823.GA19391@sunbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: markus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 17:30:07 -0000 --- Ruslan Ermilov wrote: > On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > > I had this bug, but now it is over...It has been fixed. Do a CVSUP and all > > should now be ok. > > > No. This is with the latest port. Where specifically it > was fixed? > The exact cvs message is as follows. Having you tried 'fc-cache -f' to rebuild font cache as root in a text console and delete the fontcache in your home directory (This solved my problem when starting a KDE session)? Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 13 23:07:29 2003 UTC (3 weeks, 4 days ago) by marcus Branch: MAIN CVS Tags: RELEASE_4_8_0 Changes since 1.12: +2 -2 lines Diff to previous 1.12 (colored) Fix a bug in fontconfig's configure script that was causing fonts.conf to not include /usr/X11R6/lib/X11/fonts if XFree86 was not installed. This was in turn leading to crashes in things such as xclock. This bug has been filed with fontconfig's Bugzilla as bug #45. Reported by: many Brought to my attention by: anholt Approved by: portmgr (will) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 10:32:50 2003 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 931BF37B40A; Tue, 8 Apr 2003 10:32:50 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5787A43FA3; Tue, 8 Apr 2003 10:32:49 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail5.nc.rr.com (fe5 [24.93.67.52])h38HSThA000417; Tue, 8 Apr 2003 13:28:29 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Tue, 8 Apr 2003 13:30:05 -0400 Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h38HWJ7q070669; Tue, 8 Apr 2003 13:32:19 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Ruslan Ermilov In-Reply-To: <20030408140716.GA25511@sunbay.com> References: <20030408132730.GD19391@sunbay.com> <200304081553.52781.a.carter@intrasoft.lu> <20030408135611.GB23660@sunbay.com> <20030408095850.K77443@volatile.chemikals.org> <20030408140716.GA25511@sunbay.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3WgFd/mHjzXrTjfa1Utw" Organization: MarcusCom, Inc. Message-Id: <1049823157.360.1.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 08 Apr 2003 13:32:37 -0400 X-Spam-Status: No, hits=-39.2 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 17:32:51 -0000 --=-3WgFd/mHjzXrTjfa1Utw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-04-08 at 10:07, Ruslan Ermilov wrote: > On Tue, Apr 08, 2003 at 10:00:32AM -0400, Wesley Morgan wrote: > > On Tue, 8 Apr 2003, Ruslan Ermilov wrote: > >=20 > > > At runtime. When I run xclock under truss(1), it shows the > > > paths to the fonts, and never stops doing it, eventually > > > eating all memory and being killed by kernel. The same > > > thing happens when I say run mozilla (also upgraded from > > > fresh ports). > >=20 > > I've got a -STABLE system running fine with all the latest ports, and m= y > > -CURRENT laptop works as well. Have you checked all your font config fi= les > > for something like a circular include? > >=20 > Like I said, the problem goes away when I downgrade the port. >=20 > I don't know too much about font config files and never edited > them manually; I've just started afresh, removed all of my > ports and some garbage that was left, updated the ports tree > and reinstalled the ports I need, including XFree86-4. >=20 > The first time I ran startx, I saw an unnormal disk activity, > and that turned out to be xclock that is run by default. >=20 > Where do I go to check for this circular include you mention? A freshly installed system shouldn't have such an include. However, you would find either a recursive symlink somewhere in /usr/X11R6/lib/X11/fonts, or an include loop in /usr/X11R6/etc/fonts/fonts.conf. Joe >=20 >=20 > Cheers, --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-3WgFd/mHjzXrTjfa1Utw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+kwe1b2iPiv4Uz4cRAg+IAJ9ivanMDEj1m26O9z9hQbvCpcncfQCeNHUk szqXo9i3ap4H2F5UR1dVZ8A= =VUjh -----END PGP SIGNATURE----- --=-3WgFd/mHjzXrTjfa1Utw-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 10:42:19 2003 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 4E17837B407 for ; Tue, 8 Apr 2003 10:42:19 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEC6643FBD for ; Tue, 8 Apr 2003 10:42:18 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h38HgIQL084969; Tue, 8 Apr 2003 12:42:18 -0500 (CDT) (envelope-from dan) Date: Tue, 8 Apr 2003 12:42:18 -0500 From: Dan Nelson To: Terry Lambert Message-ID: <20030408174218.GE86482@dan.emsphone.com> References: <3E92E509.A7A43986@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E92E509.A7A43986@mindspring.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: Dan Pelleg cc: current@freebsd.org Subject: Re: NIS exhausts system resources 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: Tue, 08 Apr 2003 17:42:19 -0000 In the last episode (Apr 08), Terry Lambert said: > Dan Pelleg wrote: > > When does this happen, you ask? I triggered it this morning by > > booting the machine when the NIS server was down. I had also seen > > it in the past when configuring NIS, and it happened as soon as I > > set the domainname. Any ideas? I can provide packet captures on > > request, however note the failure where the server is down. > > Historical behaviour when the NIS server is down has been for the > client machines to hang until the NIS server is back up. I've never seen that here. I have three NIS servers though, so there has never been a case when all NIS resources were unavailable. Usually what I see in the logs are: Mar 12 13:52:13 ypbind[113]: NIS server [10.0.0.11] for domain not responding Mar 12 13:52:13 ypbind[113]: NIS server [10.0.0.89] for domain OK Was it ypbind that was hogging all the file descriptors, or what, I wonder? -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 10:45:38 2003 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 B627437B41A for ; Tue, 8 Apr 2003 10:45:38 -0700 (PDT) Received: from postal3.es.net (postoffice3.gridpma.com [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD96443F75 for ; Tue, 8 Apr 2003 10:45:37 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id MUA74016; Tue, 08 Apr 2003 10:45:35 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CA3285D07; Tue, 8 Apr 2003 10:45:35 -0700 (PDT) To: Scott Carmichael In-Reply-To: Message from Scott Carmichael <20030408102930.U21317@meriadoc.jobeus.net> Date: Tue, 08 Apr 2003 10:45:35 -0700 From: "Kevin Oberman" Message-Id: <20030408174535.CA3285D07@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: 'for' unexpected. 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: Tue, 08 Apr 2003 17:45:39 -0000 > Date: Tue, 8 Apr 2003 10:33:02 -0600 (MDT) > From: Scott Carmichael > Sender: owner-freebsd-current@freebsd.org > > Since updating the tree and recompiling the other night, I keep getting > these errors about 'for' unexpected... When using make to rebuild the > source tree, when using make to install a port, and also in cron error > outputs to root@. The error I get there is: > > Date: Tue, 8 Apr 2003 10:11:01 -0600 (MDT) > From: Cron Daemon > To: operator@meriadoc.jobeus.net > Subject: Cron /usr/libexec/save-entropy > > /etc/defaults/rc.conf: 438: Syntax error: "for" unexpected > > > > So, anyways, anyone know what this could be? I can't seem to even type > a 'for' statement in sh and make it work. Eek. See the archives. This is a problem reported earlier this week. Work around: cd /usr/src/bin/sh make clean make make install cd /usr/src make installworld 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 Tue Apr 8 10:53:38 2003 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 F423C37B401 for ; Tue, 8 Apr 2003 10:53:37 -0700 (PDT) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id 02B5443FA3 for ; Tue, 8 Apr 2003 10:53:35 -0700 (PDT) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16019.3188.797715.762884@gs166.sp.cs.cmu.edu> Date: Tue, 8 Apr 2003 13:52:52 -0400 To: Terry Lambert In-Reply-To: <3E930195.4E25DDCE@mindspring.com> References: <3E92E509.A7A43986@mindspring.com> <16018.64453.390850.48895@gs166.sp.cs.cmu.edu> <3E930195.4E25DDCE@mindspring.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Dan Pelleg Sender: dpelleg+@gs166.sp.cs.cmu.edu cc: current@freebsd.org Subject: Re: NIS exhausts system resources X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Pelleg List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 17:53:38 -0000 Terry Lambert writes: > Dan Pelleg wrote: > > I'm not sure I understand this. First, if the server is down when the > > client boots, this will stop the client's boot sequence (or at least slow > > it significantly down). > > Not really. All it will do is cause requests for information > normally contained in NIS to fail, following some delay (for > example, for gethostbyaddr(), if the hosts file is NIS > distributed, it will cause a 3 minute delay on reverse address > resolution, before failing back to returning the IP address). > > For getpwnam(), the lookup will simply fail completely, after > the NIS server is judged to no be responding, which will only > occur after a connection attempt fails after a certain amount > of time. > This sounds plausible, thanks. However, In the past, when configuring NIS for the first time, I did see the machine go unresponsive on me as soon as I did a "domainname foo". This was probably at a time when the server wasn't set up correctly. But why would that immediately cause high resource usage? There shouldn't be any name or user lookups taking place. This is a very quiet machine - I don't think it was running more than very lightly loaded postfix and sshd at the time, and I was the only user logging in. Name lookups, by the way, should not go out anyway - the machine is running its own named. > > > sshd isn't given a chance to start. > > I mistakenly understood your original posting to say that it > "was the sshd problem reported here several times"; missed the > "NOT"; sorry. > > > The only sign of life from the machine at this point is ICMP replies > > and the sound of the grinding disk (probably syslogd). > > You also said there was another "sign of life": > > | kernel: file: table is full > | syslogd: /dev/console: Too many open files in system > | rpcbind: rpc: failed to open /etc/netconfig > | rpcbind: warning: /etc/hosts.allow, line 23: cannot open /etc/hosts.allow: > | Too many open files in system > These are lines I extracted from the log files after the machine went back up (I turned on the NIS server and rebooted the client). Sorry if this wasn't clear. > The "file: table is full" and the "Too many open files in system" > can be fixed by the method I describe: recompile your kernel with > a larger MAXUSERS. > > As far as the "too many open files", there are two possible > causes. The first is that so many things are piled up waiting > for NIS, that there are *really* "too many open files". Rasing > the MAXUSERS raises the definition of "too many". Raise it high > enough, and the problem will "go away" (e.g. if "too many" is "10", > you will have problems when you try to open 50 files, but if "too > many" is "100", you won't have that problem). > > > The second cause is probably that the "/etc/hosts.allow" file is > opened, the file read, the NIS checked, and then the file is > closed. If you changed the order of operation so that the file > was not held open while NIS was being checked, then you would not > have the problem, e.g.: > > Fails OK > Open A Open A > Read A Read A > Open B Close A > Open B > Close B > Close A Close B > > <2 files held open> <1 file held open> > > ... in other words, if you divide the number of open files by 2, > then maybe if (2*X > "too many"), just (X < "too many"). > > Make sense? > Yes, it does. > > > Next, this is a wimpy machine. 233Mhz processor and 64MB of RAM. I don't > > know if that matters or not, but I'm not confident of my ability to tweak > > the memory usage on it. > > cd /usr/src/sys/i386/conf > cp GENERIC MYKERNEL > vi MYKERNEL # Increase MAXUSERS by 2-3 times > config MYKERNEL > cd ../compile/MYKERNEL > make depend > make > make install > I was going to say "I have my MAXUSERS set to 0, which is still 0 after multipying by 3". But checking the config file it turns out that it doesn't have MAXUSERS defined at all. And neither does GENERIC (from a copy of which I probably started my own config file) nor NOTES. What is the equivalent of MAXUSERS on -CURRENT? From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 11:00:45 2003 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 4F45C37B401; Tue, 8 Apr 2003 11:00:45 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 626CC43FB1; Tue, 8 Apr 2003 11:00:44 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail3.nc.rr.com (fe3 [24.93.67.50])h38HuMhE004832; Tue, 8 Apr 2003 13:56:23 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail3.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Tue, 8 Apr 2003 13:58:11 -0400 Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h38I0G7q071275; Tue, 8 Apr 2003 14:00:17 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Shizuka Kudo In-Reply-To: <20030408173003.84783.qmail@web11404.mail.yahoo.com> References: <20030408173003.84783.qmail@web11404.mail.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rOvrazLiDBTYXT4UK4v1" Organization: MarcusCom, Inc. Message-Id: <1049824834.360.17.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 08 Apr 2003 14:00:34 -0400 X-Spam-Status: No, hits=-39.2 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: markus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 18:00:45 -0000 --=-rOvrazLiDBTYXT4UK4v1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-04-08 at 13:30, Shizuka Kudo wrote: > --- Ruslan Ermilov wrote: > > On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > > > I had this bug, but now it is over...It has been fixed. Do a CVSUP an= d all=20 > > > should now be ok. > > >=20 > > No. This is with the latest port. Where specifically it > > was fixed? > >=20 >=20 > The exact cvs message is as follows. Having you tried 'fc-cache -f' to re= build font cache as root > in a text console and delete the fontcache in your home directory (This s= olved my problem when > starting a KDE session)? But Ruslan is reporting the bug in 2.1.92 which incorporates this fix.=20 Besides, what Ruslan is seeing is a different crash. I'm wondering if it is indeed an issue with not having enough memory. All my machines have at least 512 MB of RAM, and I've never encountered this error.=20 Anyone have a machine with < 200 MB of RAM and is _not_ having a problem with fontconfig? Joe >=20 > Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 13 23= :07:29 2003 UTC (3 weeks, > 4 days ago) by marcus=20 > Branch: MAIN=20 > CVS Tags: RELEASE_4_8_0=20 > Changes since 1.12: +2 -2 lines > Diff to previous 1.12 (colored)=20 >=20 > Fix a bug in fontconfig's configure script that was causing fonts.conf > to not include /usr/X11R6/lib/X11/fonts if XFree86 was not installed. > This was in turn leading to crashes in things such as xclock. This bug > has been filed with fontconfig's Bugzilla as bug #45. >=20 > Reported by: many > Brought to my attention by: anholt > Approved by: portmgr (will) >=20 >=20 >=20 > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.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= " --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-rOvrazLiDBTYXT4UK4v1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+kw5Cb2iPiv4Uz4cRAgcrAKCu7jiQOBFKXWKjehIBk3sWJlpXKACgn0Q/ JswB1uccu3JmNgXyDwtA0m0= =aheG -----END PGP SIGNATURE----- --=-rOvrazLiDBTYXT4UK4v1-- From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 11:01:32 2003 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 C9B1637B404; Tue, 8 Apr 2003 11:01:31 -0700 (PDT) Received: from ip68-14-60-78.no.no.cox.net (ip68-14-60-78.no.no.cox.net [68.14.60.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 912DE43F3F; Tue, 8 Apr 2003 11:01:30 -0700 (PDT) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: from ip68-14-60-78.no.no.cox.net (conrads@localhost [127.0.0.1]) h38I6km7000936; Tue, 8 Apr 2003 13:06:46 -0500 (CDT) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: (from conrads@localhost)h38I6kYw000935; Tue, 8 Apr 2003 13:06:46 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030405002444.GR1750@elvis.mu.org> Date: Tue, 08 Apr 2003 13:06:46 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: Conrad Sabatier To: Maxime Henrion cc: current@freebsd.org Subject: Re: HEADS UP: fxp breakage 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: Tue, 08 Apr 2003 18:01:32 -0000 I just cvsupped today (4/8/03) and built a clean world and kernel. The only problem I'm having now is that if I try to load the acpi module, the kernel panics as before in bus_dmamem_alloc(). Other than that, everything's fine. My kernel config even includes options DEVICE_POLLING and PAE. $ fgrep -h \*\ \$FreeBSD /usr/src/sys/dev/fxp/* * $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.33 2003/04/06 21:35:45 mux Exp $ * $FreeBSD: src/sys/dev/fxp/if_fxpvar.h,v 1.24 2003/04/02 16:47:16 mux Exp $ * $FreeBSD: src/sys/dev/fxp/rcvbundl.h,v 1.1 2001/10/25 05:23:31 jlemon Exp $ -- Conrad Sabatier - "In Unix veritas" From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 11:06:56 2003 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 6469D37B401 for ; Tue, 8 Apr 2003 11:06:56 -0700 (PDT) Received: from mail.gactr.uga.edu (mail.gactr.uga.edu [128.192.37.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 858CC43FAF for ; Tue, 8 Apr 2003 11:06:54 -0700 (PDT) (envelope-from Robin.Blanchard@gactr.uga.edu) Received: (qmail 69807 invoked from network); 8 Apr 2003 18:06:53 -0000 Received: from unknown (HELO ex.gactr.uga.edu) ([10.10.11.21]) (envelope-sender ) by mail.servers.gactr.gc.nat (qmail-ldap-1.03) with SMTP for ; 8 Apr 2003 18:06:53 -0000 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 8 Apr 2003 14:06:52 -0400 Message-ID: X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HEADS UP: fxp breakage Thread-Index: AcL9+Olk8SqQuvccQvy0QI/r5cfhMAAAED9A From: "Robin P. Blanchard" To: "Conrad Sabatier" , "Maxime Henrion" cc: current@freebsd.org Subject: RE: HEADS UP: fxp breakage 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: Tue, 08 Apr 2003 18:06:56 -0000 All four (uni and smp) of my test -CURRENT boxes are up and running fine with: # fgrep -h \$FreeBSD: /usr/src/sys/dev/fxp/* =20 __FBSDID("$FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.163 2003/04/08 13:05:11 = mux Exp $"); * $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.33 2003/04/06 21:35:45 mux = Exp $ * $FreeBSD: src/sys/dev/fxp/if_fxpvar.h,v 1.24 2003/04/02 16:47:16 mux = Exp $ * $FreeBSD: src/sys/dev/fxp/rcvbundl.h,v 1.1 2001/10/25 05:23:31 jlemon = Exp $ Uni-kernel includes DEVICE_POLLING and SCHED_ULE and smp-kernel includes = only SCHED_ULE. > -----Original Message----- > From: Conrad Sabatier [mailto:conrads@cox.net]=20 > Sent: Tuesday, April 08, 2003 2:07 PM > To: Maxime Henrion > Cc: current@freebsd.org; Robin P. Blanchard > Subject: Re: HEADS UP: fxp breakage >=20 >=20 > I just cvsupped today (4/8/03) and built a clean world and=20 > kernel. The only problem I'm having now is that if I try to=20 > load the acpi module, the kernel panics as before in=20 > bus_dmamem_alloc(). Other than that, everything's fine. My=20 > kernel config even includes options DEVICE_POLLING and PAE. >=20 > $ fgrep -h \*\ \$FreeBSD /usr/src/sys/dev/fxp/* > * $FreeBSD: src/sys/dev/fxp/if_fxpreg.h,v 1.33 2003/04/06=20 > 21:35:45 mux Exp $ > * $FreeBSD: src/sys/dev/fxp/if_fxpvar.h,v 1.24 2003/04/02=20 > 16:47:16 mux Exp $ > * $FreeBSD: src/sys/dev/fxp/rcvbundl.h,v 1.1 2001/10/25=20 > 05:23:31 jlemon Exp $ >=20 > --=20 > Conrad Sabatier - "In Unix veritas" >=20 From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 11:25:39 2003 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 F06A037B405 for ; Tue, 8 Apr 2003 11:25:38 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE2943FD7 for ; Tue, 8 Apr 2003 11:25:35 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21584 invoked from network); 8 Apr 2003 18:25:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 8 Apr 2003 18:25:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h38IPXOv046559; Tue, 8 Apr 2003 14:25:33 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 08 Apr 2003 14:25:33 -0400 (EDT) From: John Baldwin To: Conrad Sabatier cc: current@freebsd.org Subject: Re: HEADS UP: fxp breakage 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: Tue, 08 Apr 2003 18:25:39 -0000 On 08-Apr-2003 Conrad Sabatier wrote: > I just cvsupped today (4/8/03) and built a clean world and kernel. The > only problem I'm having now is that if I try to load the acpi module, the > kernel panics as before in bus_dmamem_alloc(). Other than that, > everything's fine. My kernel config even includes options DEVICE_POLLING > and PAE. The acpi module will not work with a PAE kernel. The module assumes physical addresses are 32-bits, but they are a different size with PAE. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 11:33:03 2003 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 0E92737B401; Tue, 8 Apr 2003 11:33:03 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E3743FCB; Tue, 8 Apr 2003 11:32:59 -0700 (PDT) (envelope-from adam@blacktabby.org) Received: from emmenthaler.blacktabby.org (12-240-109-159.client.attbi.com[12.240.109.159]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2003040818325800300sdp8de>; Tue, 8 Apr 2003 18:32:58 +0000 Received: from cheshire.blacktabby.org (cheshire.blacktabby.org [192.168.1.198]) by emmenthaler.blacktabby.org (Postfix) with SMTP id 360473A91; Tue, 8 Apr 2003 11:32:58 -0700 (PDT) Date: Tue, 8 Apr 2003 11:32:57 -0700 From: Adam Kranzel To: Joe Marcus Clarke Message-Id: <20030408113257.31f29844.adam@blacktabby.org> In-Reply-To: <1049824834.360.17.camel@gyros> References: <20030408173003.84783.qmail@web11404.mail.yahoo.com> <1049824834.360.17.camel@gyros> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: markus@freebsd.org cc: current@freebsd.org Subject: Re: fontconfig-2.1.92 considered harmful 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: Tue, 08 Apr 2003 18:33:03 -0000 On 08 Apr 2003 14:00:34 -0400 Joe Marcus Clarke wrote: > On Tue, 2003-04-08 at 13:30, Shizuka Kudo wrote: > > --- Ruslan Ermilov wrote: > > > On Tue, Apr 08, 2003 at 02:46:39PM +0200, CARTER Anthony wrote: > > > > I had this bug, but now it is over...It has been fixed. Do a CVSUP and all > > > > should now be ok. > > > > > > > No. This is with the latest port. Where specifically it > > > was fixed? > > > > > > > The exact cvs message is as follows. Having you tried 'fc-cache -f' to rebuild font cache as root > > in a text console and delete the fontcache in your home directory (This solved my problem when > > starting a KDE session)? > > But Ruslan is reporting the bug in 2.1.92 which incorporates this fix. > Besides, what Ruslan is seeing is a different crash. I'm wondering if > it is indeed an issue with not having enough memory. All my machines > have at least 512 MB of RAM, and I've never encountered this error. > Anyone have a machine with < 200 MB of RAM and is _not_ having a problem > with fontconfig? > > Joe I'm having no obvious trouble with it here (on a k6-2/500MHz with 192MB ram), I just updated to the latest version from ports this morning. All my programs seem to be working properly. -Adam From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 11:54:38 2003 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 B804737B401 for ; Tue, 8 Apr 2003 11:54:38 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3EDD43F75 for ; Tue, 8 Apr 2003 11:54:37 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h38IubqC051768; Tue, 8 Apr 2003 14:56:37 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h38Iuao2051767; Tue, 8 Apr 2003 14:56:36 -0400 (EDT) Date: Tue, 8 Apr 2003 14:56:36 -0400 From: Mathew Kanner To: "M. Warner Losh" Message-ID: <20030408185636.GW17533@cnd.mcgill.ca> References: <20030407064749.GO17533@cnd.mcgill.ca> <20030407.011258.62370040.imp@bsdimp.com> <20030408042202.GS17533@cnd.mcgill.ca> <20030407.231317.35012982.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407.231317.35012982.imp@bsdimp.com> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i cc: freebsd-current@freebsd.org Subject: Re: midi problem, an isa device on a pci 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: Tue, 08 Apr 2003 18:54:39 -0000 On Apr 08, M. Warner Losh wrote: > In message: <20030408042202.GS17533@cnd.mcgill.ca> > Mathew Kanner writes: [snip] > : > that's not possible. It is *NOT* an ISA device unless it is on a card > : > that has ISA fingers on it. Otherwise it *IS* a PCI device. Does the > : > pci card have a PCI to ISA bridge on it? If not, then you have to > : > deal with it as a PCI bus. > : > : I learned my lesson in math class not to argue from instinct > : alone, so I accept that what you are saying is the truth and try to > : make it hang off the pci device. > > Yes. I'm sorry if I'm sounding grumpy about it :-). No at all, I like having your input and help. If you're ever in Montreal, I'll bribe you with beer. > : Does your gut say I can bus_bus_alloc_resource in the pci driver and do > : port io given that I could from the isa driver? Will it catch overlap > : from the pci and isa busses? (suppose I really had an isa pnp mpu > : card and this pci card both wanting ports 0x300-0x302) > > Yes. You can do that. In fact, most of the drivers in the tree have > common 'resource allocation' routines. Ok, a quick and possibly unrelated question, I see the nexus device, the root of all devices and busses, but what/where is the code that defines the root0 device that I see from devinfo -u? > > : I had a look at the netbsd code and they can say stuff like > : this is a config file: > : mpu at isa? > : mpu at somesoundcard? > : I hope my mpu code doesn't need to know about particular > : soundcards, like > : DRIVER_MODULE(mpu, snd_cmi,...) > : DRIVER_MODULE(mpu, snd_visamstrcrd,...) > > While you can do that, chances you'll want to do a mii-like bus to > make this easier. > > There are a couple of different ways to deal with doing these sorts of > things. I think the easiest follows after the mii model. > > Network drivers with mii hardware attach an miibus child to them when > they detect that their NIC has an mii attachment. What mii is doesn't > matter too much, but it is basically similar. The sound cards would > attach, in their attach routine, a sbbus (sbbus == soundblaster bus) > child. The sbbus would then have different children: mpu, joystick > and maybe others that are common to all sbbus. I think that the sbbus > may need to have the sound card driver code enumerate these devices > and assign their resources so that they can later attach. > > This is, in some ways, similar to what you were doing with the 'reach > around' attachment to the ISA bus. > > I'd be happy to help you out a little with writing some sample code > for you so that you can concentrate on the mpu devices and such if my > description isn't clear or detailed enough to do this. Good description, sbbus -> lmmbus (legacy multimedia bus), but I'm open to suggestions. I plan to include mpu and joysticks. > > : Incidentally, what about vga and joysticks for that matter? > : Not isa, but isa drivers. > > vga is a very special case. joysticks also are poorly handled in > FreeBSD right now. > > : > [...more snips...] > : > You likely need to attach the mpu device to the pci soundcard in some > : > way, or if the pci device has its own function, directly to the pci > : > device. Chances are excellent that's what the interrupt problem you > : > are encountering are. > : > : Not an interrupt problem. Looking at code for other OSes, it > : doesn't seem like anybody has interrupts for tx ready for mpu401s. > > OK. > > : I dug out my other soundcard and the older midi driver that I > : did a few months ago and it now has the exact same problem of blasting > : the stuff too fast. I can only assume something has changed in the > : synth timer code (unlikely), or the general freebsd timer code in last > : few months. > > FreeBSD timer could would be my guess. Maybe the defualt 'HZ' has > changed? Argh, yes I changed the default HZ. Really I have to work on understanding the midi infrastructure better. Current road map (also increasing order of not happening): - kldunload'ing of midi - handle multiple midi devices without panic-ing - understand / fixing midi timing - snd_es137x midi working again (with joy on lmmbus) - generic mpu 401 - get timidity to run off a pass-through midi dev - opl (anybody whos seen/heard of opl and has wants to participate please stand up) I hope to be able to do all the code myself but expect me to badger you in a week or so. You've become my shepherd whether you like or not :) Cheers and thanks, --Mat -- Tactic: Are you a good user, or a bad user? (ReBoot) From owner-freebsd-current@FreeBSD.ORG Tue Apr 8 12:36:43 2003 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 DD53137B429 for ; Tue, 8 Apr 2003 12:36:43 -0700 (PDT) Received: from twin.jawsworks.net (adsl-64-142-6-40.sonic.net [64.142.6.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 128DD43F85 for ; Tue, 8 Apr 2003 12:36:41 -0700 (PDT) (envelope-from josh@jawsworks.net) Received: from whisper (laptop.jawsworks.net [192.168.123.52]) (authenticated bits=0) by twin.jawsworks.net (8.12.8/8.12.8) with ESMTP id h38JaeO7076096 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 8 Apr 2003 12:36:40 -0700 (PDT) (envelope-from josh@jawsworks.net) Message-ID: <0d5d01c2fe06$2926e930$347ba8c0@whisper> From: "Josh Homan" To: References: <20030408190132.4D55A37B401@hub.freebsd.org> Date: Tue, 8 Apr 2003 12:36:33 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: CURRENT on Dell PE600SC panics on 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: Tue, 08 Apr 2003 19:36:44 -0000 All, I've got one of the newer Dell PowerEdge 600SC servers with the 533MHz planar board (I believe the P4 PE600SCs all have this board but the Celerons have the 400MHz with a lower performance ATA setup) and I can't get -CURRENT to boot on it. I get a kernel panic right before where the ATA drive information would print. Right now I've got the basic config as shipped from Dell with one 40GB IBM drive as master (CS) on the "primary" ATA channel, nothing on the "secondary" ATA channel, and the CDROM drive on the "tertiary" channel (per the Dell information update -- note that this is different from the 400MHz planar boards). I can boot the generic kernel from 5.0-RELEASE just fine, but when I try and boot a generic kernel from -CURRENT (I've tried several, cvsuping at various dates between 30-MAR and 7-APR), I drop into the debugger here: [...] 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 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x20 fault code = supervisor read, page not present instruction pointer = 0x8 :0xc01c5e05 stack pointer = 0x10:0xc8655cc8 frame pointer = 0x10:0xc8655ce0 code segment = bsae 0x0 limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 24 (irq11: atapci0) kernel: type 12 trap, code=0 Stopped at ata_generic_intr+0x35: testb $0x1,0x20(%eax) So far my efforts at troubleshooting have included disabling DMA via loader.conf: hw.ata.ata_dma="0" hw.ata.atapi_dma="0" hw.ata.ata_tags="0" Here's my dmesg from a -RELEASE boot with a -CURRENT (7-APR) world: Copyright (c) 1992-2003 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.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc0672000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06720b8. link_elf: symbol eventhandler_prune_list undefined KLD file acpi.ko - could not finalize loading Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2399335160 Hz CPU: Pentium 4 (2399.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xffffffffbfebfbff> real memory = 134152192 (127 MB) avail memory = 123404288 (117 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface Using $PIR table, 7 entries at 0xc00fc320 pcib0: at pcibus 0 on motherboard pci0: on pcib0 em0: port 0xecc0-0xecff mem 0xfe100000-0xfe11ffff irq 10 at device 2.0 on pci0 em0: Speed:100 Mbps Duplex:Full pci0: at device 8.0 (no driver attached) atapci0: port 0x900-0x90f,0x36c-0x36f,0x168-0x16f,0x3ec-0x3ef,0x1e8-0x1ef irq 11 at device 14.0 on pci0 ata2: at 0x1e8 on atapci0 ata3: at 0x168 on atapci0 atapci1: port 0x8b0-0x8bf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 ohci0: mem 0xfe120000-0xfe120fff irq 5 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib255: at pcibus 255 on motherboard pci255: on pcib255 orm0: