From owner-freebsd-current Sun Sep 29 0:33:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD34537B401 for ; Sun, 29 Sep 2002 00:33:08 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 974DF43E3B for ; Sun, 29 Sep 2002 00:33:07 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g8T7Wj6K098029 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 29 Sep 2002 09:33:02 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g8T7WfgK033723 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 29 Sep 2002 09:32:42 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id g8T7WejS063283; Sun, 29 Sep 2002 09:32:40 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id g8T7WS9K063282; Sun, 29 Sep 2002 09:32:29 +0200 (CEST) Date: Sun, 29 Sep 2002 09:32:27 +0200 From: Bernd Walter To: Lars Eggert Cc: current Subject: Re: kernel panic when booting with USB CF reader Message-ID: <20020929073226.GG57920@cicely8.cicely.de> Reply-To: ticso@cicely.de References: <3D966358.8010606@isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D966358.8010606@isi.edu> X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 28, 2002 at 07:20:08PM -0700, Lars Eggert wrote: > Hi, > > I'm seeing a kernel panic on -current (9/26) when booting with a SanDisk > ImageMate II USB comact flash reader plugged in. The panic occurs after > the kernel has loaded when the first rc.d scripts execute (dumpon, > vinum, etc). > > If I boot with the device disconnected, I can plug it in and unplug it > without problems later. > > Attached is a boot trace and a gdb backtrace. (gdb crashed on me, so I > couldn't get more information.) Here's the relevant info from the trace: > > SMP: AP CPU #1 Launched! > Mounting root from ufs:/dev/da0s1a > Entropy harvesting: interrupts ethernet point_to_point. > kernel dumps on /dev/da1s1b > vinum: loaded > umass0: BBB reset failed, STALLED > da2 at umass-sim0 bus 0 target 0 lun 0 > da2: Removable Direct Access SCSI-2 device > da2: 1.000MB/s transfers > da2: Attempt to query device size failed: NOT READY, Medium not present > (da2:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da2:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da2:umass-sim0:0:0:0): SCSI Status: Check Condition > (da2:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da2:umass-sim0:0:0:0): Medium not present > (da2:umass-sim0:0:0:0): Unretryable error > > > Fatal trap 18: integer divide fault while in kernel mode > cpuid = 1; lapic.id = 02000000 > instruction pointer = 0x8:0xc0437608 > stack pointer = 0x10:0xeb484870 > frame pointer = 0x10:0xeb4848f8 > 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 = 67 (vinum) > kernel: type 18 trap, code=0 > Stopped at __qdivrem+0x38: divl %ecx,%eax I'm seeing the same with a SCSI mo drive. As a short term work around I inserted a media. src from 31th Aug did run and from 21th Sep does not. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 0:43:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 075C537B401 for ; Sun, 29 Sep 2002 00:43:52 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27A1D43E42 for ; Sun, 29 Sep 2002 00:43:51 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g8T7hS0U042956; Sun, 29 Sep 2002 09:43:29 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: walt Cc: freebsd-current@FreeBSD.ORG Subject: Re: Is phk rewriting the kernel over the weekend? In-Reply-To: Your message of "Sat, 28 Sep 2002 15:37:10 PDT." <3D962F16.1000608@hotmail.com> Date: Sun, 29 Sep 2002 09:43:28 +0200 Message-ID: <42955.1033285408@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3D962F16.1000608@hotmail.com>, walt writes: >I need some of whatever it is you're taking. Hehehehe :-) What happened was that I spent too much time on a stupid bug in the GEOM code, and decided that my life was too short for that. I've worked with FlexeLint in my earlier life and decided that even at my hourly rates, spending $1k on a good tool is good economy. After running it on various bits of my own code I decided to let it loose on LINT. And what can I say ? It finds bugs in our code! Some are stylistic, some are potential some are actual. As with all tools, one should not blindly apply the output. What makes this tool interesting compared to a normal lint, is a feature called "specific walk". As it goes, it tries to trace values and memory as best it can, and it will record which functions are called with which values from where. It will then reexamine those functions in the light of those possible paramter values and see if that looks sane. I'll agree with bruce that this is nothing people can't do themselves, but I think getting a program to do it may be faster and more reliable. Here is an example of what it finds (this is not to pick on anybody, it was just the first one I spotted now): During Specific Walk: File ../../../ufs/ufs/ufs_vnops.c line 1757: ufs_makeinode(!=0, ?, ?, ?) ../../../ufs/ufs/ufs_vnops.c 2384 Warning 429: Custodial pointer 'acl' (line 2265) has not been freed or returned This basically says that ufs_makeinode() was called from line 1757 and the first argument is know to be non-NULL, the others we know nothing about. Tracing through ufs_makeinode(), it knows that malloc allocates memory and tracks that "Custodial" pointer through the code and notices that we can return from ufs_makeinode() without having disposed of the pointer in some sensible way. As far as I can tell, that means that a FREE(acl, M_ACL) is missing in line 2384 and we have a really good and productive memory-leak if you create files/directories in directories which don't have an ACL. Now, $1k is not loose change, and a 5 concurrent user network license for the cluster would cost $3k, but maybe we should put that on the donations want list anyway ? Or is this foundation work ? Poul-Henning PS: Flexelint is distributed as "obfuscated K&R C source", which compiles on any and all system with a just moderately non-disgusting C compiler. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 1:10:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D4FA37B401 for ; Sun, 29 Sep 2002 01:10:44 -0700 (PDT) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDA6F43E3B for ; Sun, 29 Sep 2002 01:10:43 -0700 (PDT) (envelope-from wsk@ns.gddsn.org.cn) Received: from wsk (wsk [192.168.168.136]) by ns.gddsn.org.cn (Postfix) with SMTP id 8114138CBCF for ; Sun, 29 Sep 2002 15:48:07 +0800 (CST) Message-ID: <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn> From: "suken woo" To: References: <3D94718D.1080702@mail.gddsn.org.cn> <20020928145705.A12212@snoopy.cablecom.ch> Subject: Re: current make depend: 'ar_args' has incomplete type help Date: Sun, 29 Sep 2002 15:48:07 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG aSBkbyBpdCBhcyB5b3VyIGluZGljYXRpb24sYnV0IGkgZ2V0IGNwcCBjb3JlIGR1bXANCi0tLS0t IE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0gDQpGcm9tOiAiSGFuc3BldGVyIFJvdGgiIDxoYW5zcGV0 ZXJfcm90aEBob3RtYWlsLmNvbT4NClRvOiA8ZnJlZWJzZC1jdXJyZW50QEZyZWVCU0QuT1JHPg0K U2VudDogU2F0dXJkYXksIFNlcHRlbWJlciAyOCwgMjAwMiA4OjU3IFBNDQpTdWJqZWN0OiBSZTog Y3VycmVudCBtYWtlIGRlcGVuZDogJ2FyX2FyZ3MnIGhhcyBpbmNvbXBsZXRlIHR5cGUgaGVscA0K DQoNCj4gICBPbiBTZXAgMjcgYXQgMjI6NTYsIHdzayBzcG9rZToNCj4gDQo+ID4gDQo+ID4gZm9s a3M6DQo+ID4gYWZ0ZXIgc3VjY2VlZCBidWlsZHdvcmxkICxpIGN1c3RvbSBteWtlcm5lbCBhbmQg Z2V0IHRoZSBlcnJvciBtZXNzYWdlcyANCj4gPiBmcm9tIG1ha2UgZGVwZW5kLg0KPiBbLi4uXQ0K PiA+IEluIGZpbGUgaW5jbHVkZWQgZnJvbSAuLi8uLi8uLi9zeXMvYnVmLmg6MjcxLA0KPiA+ICAg ICAgICAgICAgICAgICAgZnJvbSAuLi8uLi8uLi9pMzg2L2kzODYvZ2VuYXNzeW0uYzo0NjoNCj4g PiAuLi8uLi8uLi9zeXMvcHJvYy5oOjExNzogZmllbGQgYGFyX2FyZ3MnIGhhcyBpbmNvbXBsZXRl IHR5cGUNCj4gDQo+IEkgaGFkIHRoZSBzYW1lLiBJIHRyaWVkIHRvIGJ1aWxkIGFuZCBpbnN0YWxs IHRoZSBrZXJuZWwgZmlyc3QuDQo+IE1heWJlLCBpdCdzIGJlY2F1c2UgeW91IGhhdmUgYW4gb2xk IGNvbXBpbGVyIGluc3RhbGxlZC4NCj4gVHJ5IGluc3RhbGxpbmcgd29ybGQgZmlyc3QuDQo+IA0K PiBBbHRlcm5hdGl2ZWx5IHlvdSBtaWdodCB0cnkgdG8gcGF0Y2ggcHJvYy5oLg0KPiANCj4gLS0t IHByb2MuaCAgICAgIEZyaSBTZXAgMjcgMjI6MDk6MjkgMjAwMg0KPiArKysgcHJvYy5oLm9yaWcg RnJpIFNlcCAyNyAyMTo0OTozMyAyMDAyDQo+IEBAIC0xMTQsNyArMTE0LDcgQEANCj4gIHN0cnVj dCBwYXJncyB7DQo+ICAgICAgICAgdV9pbnQgICBhcl9yZWY7ICAgICAgICAgLyogUmVmZXJlbmNl IGNvdW50LiAqLw0KPiAgICAgICAgIHVfaW50ICAgYXJfbGVuZ3RoOyAgICAgIC8qIExlbmd0aC4g Ki8NCj4gLSAgICAgICB1X2NoYXIgICphcl9hcmdzOyAgICAgICAvKiBBcmd1bWVudHMuICovDQo+ ICsgICAgICAgdV9jaGFyICBhcl9hcmdzW107ICAgICAgLyogQXJndW1lbnRzLiAqLw0KPiAgfTsN Cj4gIA0KPiAgLyotDQo+IA0KPiAtSGFuc3BldGVyDQo+IA0KPiBUbyBVbnN1YnNjcmliZTogc2Vu ZCBtYWlsIHRvIG1ham9yZG9tb0BGcmVlQlNELm9yZw0KPiB3aXRoICJ1bnN1YnNjcmliZSBmcmVl YnNkLWN1cnJlbnQiIGluIHRoZSBib2R5IG9mIHRoZSBtZXNzYWdlDQo+IA0K To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 1:20: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 976BB37B401 for ; Sun, 29 Sep 2002 01:20:08 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49C3E43E75 for ; Sun, 29 Sep 2002 01:20:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020929082007.MUJO5955.rwcrmhc51.attbi.com@InterJet.elischer.org>; Sun, 29 Sep 2002 08:20:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id BAA74840; Sun, 29 Sep 2002 01:16:45 -0700 (PDT) Date: Sun, 29 Sep 2002 01:16:45 -0700 (PDT) From: Julian Elischer To: Lucky Green Cc: freebsd-current@freebsd.org Subject: Re: FireWire in 5.0? In-Reply-To: <003001c26766$5d480000$6501a8c0@VAIO650> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It's in.... it's in /sys/dev/firewire. the test and control programs should move out of there when the authors are happy with them and go into usr.sbin or somewhere. On Sat, 28 Sep 2002, Lucky Green wrote: > I need to plan for some new servers by the end of the year. One of the > boxes will require support for FireWire IEEE 1394. While I don't expect > 5.0 to ship by November 20, I was wondering what the developers on this > list believe the odds are that the FireWire code will make it into a > stable 5.0 release by, say, January? > > I am aware that there is existing FireWire code, I am just wondering by > when you think the integration will likely be done. > > Thanks in advance, > --Lucky Green > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 2:46:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D032E37B401 for ; Sun, 29 Sep 2002 02:46:37 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53CE243E6E for ; Sun, 29 Sep 2002 02:46:35 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g8T9kIL39789; Sun, 29 Sep 2002 12:46:20 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id g8T9kGTs003911; Sun, 29 Sep 2002 12:46:16 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id g8T9kBVH003910; Sun, 29 Sep 2002 12:46:11 +0300 (EEST) Date: Sun, 29 Sep 2002 12:46:11 +0300 From: Maxim Sobolev To: attila! Cc: FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag Message-ID: <20020929094611.GA2374@vega.vega.com> References: <20020929020757.cpMi1596@hun.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020929020757.cpMi1596@hun.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'll look into this later. Thanks for reporting! -Maxim On Sun, Sep 29, 2002 at 02:07:57AM +0000, attila! wrote: > 5.0-CURRENT as of 1200 28 Sep 2002 > > tar flag > > -l (--one-file-system) > > is broken. tar crosses the mount boundary. > > NUTS --means I must go to single user or declare > specific directories for backup and hand enter the > mount points in the tree. > > -- > Sanity is the Playground for the Unimaginative > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 3:34:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88CC337B401 for ; Sun, 29 Sep 2002 03:34:32 -0700 (PDT) Received: from vador.skynet.be (vador.skynet.be [195.238.3.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B1B643E6A for ; Sun, 29 Sep 2002 03:34:31 -0700 (PDT) (envelope-from mariog@tomservo.cc) Received: from TSO (64.111-200-80.adsl.skynet.be [80.200.111.64]) by vador.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.20) with ESMTP id g8TAYQm24205; Sun, 29 Sep 2002 12:34:26 +0200 (MET DST) (envelope-from ) From: "Mario Goebbels" To: "'David Schultz'" Cc: Subject: RE: Soundcard drivers Date: Sun, 29 Sep 2002 12:34:41 +0200 Message-ID: <000d01c267a3$d1b586a0$2000000a@TSO> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20020929051008.GA2312@HAL9000.homeunix.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3663.0 Importance: Normal Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Is there still any development being done on the soundcard > drivers in > > FreeBSD? Especially regarding EMU10K2 support? > > Go to www.opensound.com/freebsd/. Their drivers should work > fine, even with more than two speakers, and they tend to > sound better than the stock FreeBSD drivers. The downside is > that after the free trial you have to pay for them, but if > you really like to listen to music, they're worth it. Doesn't support SMP. I have a multiprocessor. :/ > > I'm asking out of curiosity, because listening to radio > while being in > > FreeBSD is suboptimal :) > > Reading mail with Outlook Express's brain-damaged formatting > is suboptimal, too. :-P It's hard for me to get productive without a MP3 player or similar, that's why I'm still in Windows ;) -mg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 3:44:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B50C937B401 for ; Sun, 29 Sep 2002 03:44:38 -0700 (PDT) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C7AC43E77 for ; Sun, 29 Sep 2002 03:44:38 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TAicj6036019 for ; Sun, 29 Sep 2002 03:44:38 -0700 (PDT) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id g8TAicgQ036017 for current@freebsd.org; Sun, 29 Sep 2002 03:44:38 -0700 (PDT) Date: Sun, 29 Sep 2002 03:44:38 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200209291044.g8TAicgQ036017@beast.freebsd.org> To: current@freebsd.org Subject: alpha tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Sun Sep 29 03:14:12 PDT 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Sun Sep 29 03:40:35 PDT 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Sun Sep 29 03:40:36 PDT 2002 -------------------------------------------------------------- ===> vinum cc1: warnings being treated as errors /h/des/src/sys/dev/advansys/adv_pci.c: In function `adv_pci_attach': /h/des/src/sys/dev/advansys/adv_pci.c:197: warning: overflow in implicit constant conversion *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 4:56:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A3AA37B401 for ; Sun, 29 Sep 2002 04:56:34 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99D2643E6A for ; Sun, 29 Sep 2002 04:56:33 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8TBuQZ2025267 for ; Sun, 29 Sep 2002 13:56:31 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.here (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g8TBuAF02985 for ; Sun, 29 Sep 2002 13:56:11 +0200 (MEST) Received: (from hampi@localhost) by snoopy.here (8.11.6/8.11.6) id g8TBu1J01500 for freebsd-current@FreeBSD.ORG; Sun, 29 Sep 2002 13:56:01 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Sun, 29 Sep 2002 13:56:01 +0200 From: Hanspeter Roth To: freebsd-current@FreeBSD.ORG Subject: Re: current make depend: 'ar_args' has incomplete type help Message-ID: <20020929135601.A1405@snoopy.cablecom.ch> Reply-To: freebsd-current@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <3D94718D.1080702@mail.gddsn.org.cn> <20020928145705.A12212@snoopy.cablecom.ch> <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn>; from wsk@ns.gddsn.org.cn on Sun, Sep 29, 2002 at 03:48:07PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sep 29 at 15:48, suken woo spoke: > i do it as your indication,but i get cpp core dump Ok. I must admit I'm a current-newbie. Maybe I've done wrong assumptions. I think there are several approaches to a current system. 1. download the current installation floppies and install via ftp from scratch. I have no experience how long this would take. 2. download the developer-preview cds and install from scratch. I'm now about to download them. 3. upgrade from a 4.6.2-Release or 4-Stable. I first tried from 4.6.2-Release but I gave up. Then I tried from a 4-Stable. Then I realized that the version 3.2 of gcc might be required. (I got some compilation errors.) Then I tried buildworld/installworld. But I had several core-dumps. Even single `test -e' failed. I tried to patch several Makefiles. Finally I managed to installworld and installkernel. But then booting hung at apci.ko. Asking here on the current list I got no answers from the current-gurus. I'm about to doubt, that the latter attempt is supposed to work at all. Thus I'm trying another approach. I'm about to download the 5.0-DP1 images... (Maybe installing from floppy would take shorer...) -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 5: 6: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC6D37B401 for ; Sun, 29 Sep 2002 05:06:08 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBAB843E42 for ; Sun, 29 Sep 2002 05:06:07 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8TC66Z2027677 for ; Sun, 29 Sep 2002 14:06:06 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.here (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g8TC61F05131 for ; Sun, 29 Sep 2002 14:06:01 +0200 (MEST) Received: (from hampi@localhost) by snoopy.here (8.11.6/8.11.6) id g8TC5wK01544 for freebsd-current@FreeBSD.ORG; Sun, 29 Sep 2002 14:05:58 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Sun, 29 Sep 2002 14:05:57 +0200 From: Hanspeter Roth To: freebsd-current@FreeBSD.ORG Subject: Re: current make depend: 'ar_args' has incomplete type help Message-ID: <20020929140557.B1405@snoopy.cablecom.ch> Reply-To: freebsd-current@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <3D94718D.1080702@mail.gddsn.org.cn> <20020928145705.A12212@snoopy.cablecom.ch> <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn>; from wsk@ns.gddsn.org.cn on Sun, Sep 29, 2002 at 03:48:07PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sep 29 at 15:48, suken woo spoke: > i do it as your indication,but i get cpp core dump Is there enough free space on /tmp and /usr/obj? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 5:17:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BBDA37B401 for ; Sun, 29 Sep 2002 05:17:28 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55A1D43E42 for ; Sun, 29 Sep 2002 05:17:27 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8TCHPZ2030708 for ; Sun, 29 Sep 2002 14:17:25 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.here (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g8TCHPF07548 for ; Sun, 29 Sep 2002 14:17:25 +0200 (MEST) Received: (from hampi@localhost) by snoopy.here (8.11.6/8.11.6) id g8TCGvc01665 for freebsd-current@FreeBSD.ORG; Sun, 29 Sep 2002 14:16:57 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Sun, 29 Sep 2002 14:16:57 +0200 From: Hanspeter Roth To: freebsd-current@FreeBSD.ORG Subject: Re: current make depend: 'ar_args' has incomplete type help Message-ID: <20020929141657.A1645@snoopy.cablecom.ch> Reply-To: freebsd-current@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <3D94718D.1080702@mail.gddsn.org.cn> <20020928145705.A12212@snoopy.cablecom.ch> <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn> <20020929135601.A1405@snoopy.cablecom.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020929135601.A1405@snoopy.cablecom.ch>; from hanspeter_roth@hotmail.com on Sun, Sep 29, 2002 at 01:56:01PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sep 29 at 13:56, Hanspeter Roth spoke: > Asking here on the current list I got no answers from the > current-gurus. Sorry, this is not true... -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 5:45:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF10837B401 for ; Sun, 29 Sep 2002 05:45:53 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E902643E42 for ; Sun, 29 Sep 2002 05:45:52 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8TCjlZ2037994 for ; Sun, 29 Sep 2002 14:45:52 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.here (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g8TCjkF13441 for ; Sun, 29 Sep 2002 14:45:46 +0200 (MEST) Received: (from hampi@localhost) by snoopy.here (8.11.6/8.11.6) id g8TCjev00396 for freebsd-current@FreeBSD.ORG; Sun, 29 Sep 2002 14:45:40 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Sun, 29 Sep 2002 14:45:40 +0200 From: Hanspeter Roth To: freebsd-current@FreeBSD.ORG Subject: Fatal trap 12 Message-ID: <20020929144540.A367@snoopy.cablecom.ch> Reply-To: freebsd-current@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <20020928191817.A1182@snoopy.cablecom.ch> <20020929.122544.81708915.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020929.122544.81708915.iwasaki@jp.FreeBSD.org>; from iwasaki@jp.FreeBSD.org on Sun, Sep 29, 2002 at 12:25:44PM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sep 29 at 12:25, Mitsuru IWASAKI spoke: > If you think this is caused by acpi.ko, just disable acpi.ko loading. > Please read thru loader(8) and device.hints(5). Yes, this is it. I've now disabled acpi and the boot process comes further. vga0: at port 0x3c0-0x3df iomem ... unknown: can't assign resources (port) unknown: can't assign resources (irq) ... Mounting root from ufs:/dev/ad0s3a Fatal trap 12: page fault while in kernal mode fault virtual address = ... ... current process = 1 (init) kernel: type 12 trap, code=0 Stopped at generic_bcopy+0x1a: repe movsl (%esi),%es:(%edi) db> Context switches not allowd in the debugger. db> The ad0s3x devices are the same as in 4.6: crw-r----- 2 root operator 116, 0x00040002 Sep 28 19:44 ad0s3 crw-r----- 2 root operator 116, 0x00040000 Sep 28 19:44 ad0s3a crw-r----- 2 root operator 116, 0x00040001 Sep 28 19:44 ad0s3b crw-r----- 2 root operator 116, 0x00040002 Sep 28 19:44 ad0s3c ... What can I do with the Fatal trap 12? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 5:53:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCD7B37B401 for ; Sun, 29 Sep 2002 05:53:12 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7185A43E4A for ; Sun, 29 Sep 2002 05:53:12 -0700 (PDT) (envelope-from wa1ter@hotmail.com) Received: from hotmail.com wa1ter@smtp-send.myrealbox.com [64.175.106.182] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.12 $ on Novell NetWare via secured & encrypted transport (TLS); Sun, 29 Sep 2002 06:53:13 -0600 Message-ID: <3D96F76E.4020601@hotmail.com> Date: Sun, 29 Sep 2002 05:51:58 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020921 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Is phk rewriting the kernel over the weekend? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message <3D962F16.1000608@hotmail.com>, walt writes: > >>I need some of whatever it is you're taking. > > > Hehehehe :-) > > I've worked with FlexeLint in my earlier life and decided that even > at my hourly rates, spending $1k on a good tool is good economy. A credible demonstration of increased productivity. This is good advertising for the FlexeLint people and they should gratefully donate your copy :-) I wonder if it could find the very annoying crashes in the X server. -- I'm sick of hearing about how big my Beziers are! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 6:17:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3883437B401 for ; Sun, 29 Sep 2002 06:17:49 -0700 (PDT) Received: from mail46.fg.online.no (mail46-s.fg.online.no [148.122.161.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id C155043E4A for ; Sun, 29 Sep 2002 06:17:47 -0700 (PDT) (envelope-from frode@nordahl.net) Received: from samwise (ti200720a080-0824.bb.online.no [80.212.247.56]) by mail46.fg.online.no (8.9.3/8.9.3) with ESMTP id PAA14222; Sun, 29 Sep 2002 15:17:42 +0200 (MEST) Subject: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) From: Frode Nordahl To: walt Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <3D96F76E.4020601@hotmail.com> References: <3D96F76E.4020601@hotmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 29 Sep 2002 15:17:41 +0200 Message-Id: <1033305463.2302.8.camel@samwise.xu.nordahl.net> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey, On Sun, 2002-09-29 at 14:51, walt wrote: [snip] > > I wonder if it could find the very annoying crashes in the X server. > > -- > I'm sick of hearing about how big my Beziers are! I found this on the Xpert mailinglist: http://www.xfree86.org/pipermail/xpert/2002-June/018300.html Seems like this won't get fixed until XFree86 4.3.0, but the bug seems to be in the "Type1" font handler only. (a call to abort()) I have removed it from my XFree86 config now, and I'm hoping for no more Bezier crashes :) Mvh, Frode Nordahl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 8:47:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B3C437B401; Sun, 29 Sep 2002 08:47:26 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1628B43E65; Sun, 29 Sep 2002 08:47:23 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g8TFkxL52627; Sun, 29 Sep 2002 18:47:00 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id g8TFkvTs004521; Sun, 29 Sep 2002 18:46:57 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id g8TFkmH0004520; Sun, 29 Sep 2002 18:46:48 +0300 (EEST) Date: Sun, 29 Sep 2002 18:46:47 +0300 From: Maxim Sobolev To: Frode Nordahl Cc: walt , freebsd-current@FreeBSD.ORG, anholt@FreeBSD.ORG Subject: Re: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) Message-ID: <20020929154647.GA4494@vega.vega.com> References: <3D96F76E.4020601@hotmail.com> <1033305463.2302.8.camel@samwise.xu.nordahl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1033305463.2302.8.camel@samwise.xu.nordahl.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think it should be fixed in FreeBSD ports before 4.7, because it is really annoying when server crashes without any particular reason. Eric, what do you think about it? -Maxim On Sun, Sep 29, 2002 at 03:17:41PM +0200, Frode Nordahl wrote: > Hey, > > On Sun, 2002-09-29 at 14:51, walt wrote: > [snip] > > > > I wonder if it could find the very annoying crashes in the X server. > > > > -- > > I'm sick of hearing about how big my Beziers are! > > I found this on the Xpert mailinglist: > http://www.xfree86.org/pipermail/xpert/2002-June/018300.html > > Seems like this won't get fixed until XFree86 4.3.0, but the bug seems > to be in the "Type1" font handler only. (a call to abort()) > > I have removed it from my XFree86 config now, and I'm hoping for no more > Bezier crashes :) > > > Mvh, > Frode Nordahl > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 8:48:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B43137B401 for ; Sun, 29 Sep 2002 08:48:49 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EB3443E42 for ; Sun, 29 Sep 2002 08:48:48 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g8TFmFL52632; Sun, 29 Sep 2002 18:48:18 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id g8TFmDTs004529; Sun, 29 Sep 2002 18:48:13 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id g8TFmAOm004528; Sun, 29 Sep 2002 18:48:10 +0300 (EEST) Date: Sun, 29 Sep 2002 18:48:10 +0300 From: Maxim Sobolev To: attila! Cc: FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag Message-ID: <20020929154810.GB4494@vega.vega.com> References: <20020929020757.cpMi1596@hun.org> <20020929094611.GA2374@vega.vega.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020929094611.GA2374@vega.vega.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 29, 2002 at 12:46:11PM +0300, Maxim Sobolev wrote: > I'll look into this later. Thanks for reporting! I can't reproduce it locally. Could you please provide more details about your setup? -Maxim > > -Maxim > > On Sun, Sep 29, 2002 at 02:07:57AM +0000, attila! wrote: > > 5.0-CURRENT as of 1200 28 Sep 2002 > > > > tar flag > > > > -l (--one-file-system) > > > > is broken. tar crosses the mount boundary. > > > > NUTS --means I must go to single user or declare > > specific directories for backup and hand enter the > > mount points in the tree. > > > > -- > > Sanity is the Playground for the Unimaginative > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 10:25:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D6EF37B401; Sun, 29 Sep 2002 10:25:17 -0700 (PDT) Received: from volatile.chemikals.org (cae57-176-131.sc.rr.com [66.57.176.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8083743E4A; Sun, 29 Sep 2002 10:25:16 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.12.5/8.12.5) with ESMTP id g8THP9QU003760; Sun, 29 Sep 2002 13:25:09 -0400 (EDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost) by volatile.chemikals.org (8.12.6/8.12.6/Submit) with ESMTP id g8THP9Uh003757; Sun, 29 Sep 2002 13:25:09 -0400 (EDT) X-Authentication-Warning: volatile.chemikals.org: morganw owned process doing -bs Date: Sun, 29 Sep 2002 13:25:09 -0400 (EDT) From: Wesley Morgan To: Maxim Sobolev Cc: Frode Nordahl , walt , , Subject: Re: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) In-Reply-To: <20020929154647.GA4494@vega.vega.com> Message-ID: <20020929132405.Q3750-100000@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Does this bug effect -stable? It only showed up in -current recently. Isn't it a bigger chance that something on the FreeBSD side made this bug much more visible? On Sun, 29 Sep 2002, Maxim Sobolev wrote: > I think it should be fixed in FreeBSD ports before 4.7, because it > is really annoying when server crashes without any particular > reason. > > Eric, what do you think about it? > > -Maxim > > On Sun, Sep 29, 2002 at 03:17:41PM +0200, Frode Nordahl wrote: > > Hey, > > > > On Sun, 2002-09-29 at 14:51, walt wrote: > > [snip] > > > > > > I wonder if it could find the very annoying crashes in the X server. > > > > > > -- > > > I'm sick of hearing about how big my Beziers are! > > > > I found this on the Xpert mailinglist: > > http://www.xfree86.org/pipermail/xpert/2002-June/018300.html > > > > Seems like this won't get fixed until XFree86 4.3.0, but the bug seems > > to be in the "Type1" font handler only. (a call to abort()) > > > > I have removed it from my XFree86 config now, and I'm hoping for no more > > Bezier crashes :) > > > > > > Mvh, > > Frode Nordahl > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ morganw@chemikals.org _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 12:18:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB5ED37B401; Sun, 29 Sep 2002 12:18:25 -0700 (PDT) Received: from haystack.lclark.edu (haystack.lclark.edu [149.175.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE4A43E4A; Sun, 29 Sep 2002 12:18:25 -0700 (PDT) (envelope-from anholt@FreeBSD.org) Received: from copeland-30-191.lclark.edu (anholt@copeland-30-191.lclark.edu [149.175.30.191]) by haystack.lclark.edu (8.9.3/8.9.3) with ESMTP id MAA04494; Sun, 29 Sep 2002 12:17:54 -0700 (PDT) Subject: Re: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) From: Eric Anholt To: Wesley Morgan Cc: Maxim Sobolev , Frode Nordahl , walt , freebsd-current@FreeBSD.org In-Reply-To: <20020929132405.Q3750-100000@volatile.chemikals.org> References: <20020929132405.Q3750-100000@volatile.chemikals.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 29 Sep 2002 12:17:54 -0700 Message-Id: <1033327093.873.11.camel@anholt.dyndns.org> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2002-09-29 at 10:25, Wesley Morgan wrote: > Does this bug effect -stable? It only showed up in -current recently. > Isn't it a bigger chance that something on the FreeBSD side made this bug > much more visible? > > On Sun, 29 Sep 2002, Maxim Sobolev wrote: > > > I think it should be fixed in FreeBSD ports before 4.7, because it > > is really annoying when server crashes without any particular > > reason. > > > > Eric, what do you think about it? > > > > -Maxim From what I had heard on the lists it was only a thing that happened when people upgraded kernels, and that it had stopped after some date of kernel. I hadn't experienced it, so I ignored it. I don't know about that link posted, I thought that was a mozilla bug that was supposed to be fixed. -- Eric Anholt http://people.freebsd.org/~anholt/dri/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 12:52: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5B1337B401; Sun, 29 Sep 2002 12:51:58 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5043E6A; Sun, 29 Sep 2002 12:51:58 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id C5192665E3; Sun, 29 Sep 2002 19:51:53 +0000 (GMT) Date: Sun, 29 Sep 2002 19:51:53 +0000 (GMT) Message-Id: <20020929195153.Oy3a2352@hun.org> From: attila! X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-No-Archive: yes In-Reply-To: <20020929154810.GB4494@vega.vega.com> References: <20020929094611.GA2374@vega.vega.com> <20020929020757.cpMi1596@hun.org> <20020929094611.GA2374@vega.vega.com> To: Maxim Sobolev Cc: FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 1. world and kernel slice dated 28 Sep 2002 1200 GMT 3264 -r-xr-xr-x 1 root wheel 3327414 Sep 29 17:36 /boot/kernel/kernel 496 -r-xr-xr-x 1 root wheel 499424 Sep 29 17:35 /usr/bin/tar 2. Tyan 2642 dual 1.2GHz Athlon w/ dual 160 MB/sec SCSI /dev/da0a 101141 72063 20987 77% / /dev/da0e 2078659 1593383 318984 83% /usr /dev/da0f 2078659 1235883 676484 65% /usr/local /dev/da0g 2086164 991494 927777 52% /user /dev/da0h 2088046 1 1921002 0% /drv/da0h /dev/da1a 101141 60779 32271 65% /drv/da1a /dev/da1e 2078659 74729 1837638 4% /drv/da1e /dev/da1f 2078659 169833 1742534 9% /drv/da1f /dev/da1g 2086164 1702723 216548 89% /source /dev/da1h 2088046 1790550 130453 93% /usr/ports 3. operation: cd / tar -l -ycv -b 200 -f /source/2929.1842.root.tbz .??* * or tar --one-file-system -ycv -b 200 -f /source/2929.1842.root.tbz .??* * copied /dev /proc /source (2G partion mount point) which, of course, makes it recursive --ouch! also cd /usr tar --one-file-system -ycv -b 200 -f /source/2929.1842.usr.tbz .??* * transfered local, ports, and pkg which are all mounted filesystems. So, before committing this to mail, I thought would try the work around: find -x .??* * \! -type d -print >.tfile tar --files-from .tfile -yc -b 200 -f /source/2929.1842.usr.tbz .??* * but, alas, 'find' has the same problem ... it crosses the mount point to a different device. Makes me suspect there is common code for the find in 'tar' with 'find'. If you need more info, or wish me to test it, please let me know. If you're on the usual +3, it's still "today". best, Dr Daniel Flickinger Sent: Sun, 29 Sep 2002 18:48:10 +0300 by Maxim + On Sun, Sep 29, 2002 at 12:46:11PM +0300, Maxim Sobolev wrote: + > I'll look into this later. Thanks for reporting! + + I can't reproduce it locally. Could you please provide + more details about your setup? + + -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 13:23: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4622637B401; Sun, 29 Sep 2002 13:23:00 -0700 (PDT) Received: from mail44.fg.online.no (mail44-s.fg.online.no [148.122.161.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F8F43E42; Sun, 29 Sep 2002 13:22:58 -0700 (PDT) (envelope-from frode@nordahl.net) Received: from samwise (ti200720a080-0824.bb.online.no [80.212.247.56]) by mail44.fg.online.no (8.9.3/8.9.3) with ESMTP id WAA03730; Sun, 29 Sep 2002 22:22:55 +0200 (MEST) Subject: Re: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) From: Frode Nordahl To: Eric Anholt Cc: Wesley Morgan , Maxim Sobolev , walt , freebsd-current@FreeBSD.org In-Reply-To: <1033327093.873.11.camel@anholt.dyndns.org> References: <20020929132405.Q3750-100000@volatile.chemikals.org> <1033327093.873.11.camel@anholt.dyndns.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 29 Sep 2002 22:22:53 +0200 Message-Id: <1033330975.615.41.camel@samwise.xu.nordahl.net> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2002-09-29 at 21:17, Eric Anholt wrote: > >From what I had heard on the lists it was only a thing that happened > when people upgraded kernels, and that it had stopped after some date of > kernel. I hadn't experienced it, so I ignored it. I don't know about > that link posted, I thought that was a mozilla bug that was supposed to > be fixed. It seems like the bug has been present in XFree86 all the time. But some thing has changed in CURRENT that tickles this bug. I started to experience this after I removed all ports and recompiled XFree86 with the new GCC 3.2.1. X also dies with signal 11 some times, so theres more to it than the Bezier bug. But if it is a CURRENT kernel or compiler issue, I don't understand why / how this should affect -STABLE / -RELEASE. I'll take a backup of my current X installation and do some tests and comparisons against the Aug 24 port build of XFree86. I'll have to find a sure way to reproduce the abort() and / or SIGSEGV failure first though. > -- > Eric Anholt > http://people.freebsd.org/~anholt/dri/ > -- Mvh, Frode Nordahl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 13:26: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B51C37B401; Sun, 29 Sep 2002 13:26:08 -0700 (PDT) Received: from volatile.chemikals.org (cae57-176-131.sc.rr.com [66.57.176.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E7FF43E75; Sun, 29 Sep 2002 13:26:07 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.12.5/8.12.5) with ESMTP id g8TKPxQU004981; Sun, 29 Sep 2002 16:25:59 -0400 (EDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost) by volatile.chemikals.org (8.12.6/8.12.6/Submit) with ESMTP id g8TKPw0D004978; Sun, 29 Sep 2002 16:25:59 -0400 (EDT) X-Authentication-Warning: volatile.chemikals.org: morganw owned process doing -bs Date: Sun, 29 Sep 2002 16:25:58 -0400 (EDT) From: Wesley Morgan To: Frode Nordahl Cc: Eric Anholt , Maxim Sobolev , walt , Subject: Re: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) In-Reply-To: <1033330975.615.41.camel@samwise.xu.nordahl.net> Message-ID: <20020929162442.N4827-100000@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, i don't see any -stable systems bombing out. But it _always_ occurrs when typing. No matter what app... Sometimes in the linux opera, sometimes in the konq address bar. I dont think it ever happened when typing in an Xterm though. On 29 Sep 2002, Frode Nordahl wrote: > On Sun, 2002-09-29 at 21:17, Eric Anholt wrote: > > >From what I had heard on the lists it was only a thing that happened > > when people upgraded kernels, and that it had stopped after some date of > > kernel. I hadn't experienced it, so I ignored it. I don't know about > > that link posted, I thought that was a mozilla bug that was supposed to > > be fixed. > > It seems like the bug has been present in XFree86 all the time. But > some thing has changed in CURRENT that tickles this bug. > > I started to experience this after I removed all ports and recompiled > XFree86 with the new GCC 3.2.1. > > X also dies with signal 11 some times, so theres more to it than the > Bezier bug. > > But if it is a CURRENT kernel or compiler issue, I don't understand why > / how this should affect -STABLE / -RELEASE. > > I'll take a backup of my current X installation and do some tests and > comparisons against the Aug 24 port build of XFree86. > > I'll have to find a sure way to reproduce the abort() and / or SIGSEGV > failure first though. > > > -- > > Eric Anholt > > http://people.freebsd.org/~anholt/dri/ > > > > -- > Mvh, > Frode Nordahl > -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ morganw@chemikals.org _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 13:40:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3502237B401; Sun, 29 Sep 2002 13:40:10 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6065C43E7B; Sun, 29 Sep 2002 13:40:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020929204007.LEPJ27763.sccrmhc02.attbi.com@InterJet.elischer.org>; Sun, 29 Sep 2002 20:40:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA77151; Sun, 29 Sep 2002 13:28:16 -0700 (PDT) Date: Sun, 29 Sep 2002 13:28:15 -0700 (PDT) From: Julian Elischer To: attila! Cc: Maxim Sobolev , FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag In-Reply-To: <20020929195153.Oy3a2352@hun.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The "one filesystem" option means "do not traverse a mount point when enumerating the tree given by an argument." You specified .??* * which includes source dev proc and drv as well as user and usr once it started enumeraing the subdirs from source it did not trwverse any mountpoints... just as you asked... find is also doing what you asked... try: tar -l -ycv -b 200 -f /source/2929.1842.root.tbz . On Sun, 29 Sep 2002, attila! wrote: > > 1. world and kernel slice dated 28 Sep 2002 1200 GMT > > 3264 -r-xr-xr-x 1 root wheel 3327414 Sep 29 17:36 /boot/kernel/kernel > 496 -r-xr-xr-x 1 root wheel 499424 Sep 29 17:35 /usr/bin/tar > > 2. Tyan 2642 dual 1.2GHz Athlon w/ dual 160 MB/sec SCSI > > /dev/da0a 101141 72063 20987 77% / > /dev/da0e 2078659 1593383 318984 83% /usr > /dev/da0f 2078659 1235883 676484 65% /usr/local > /dev/da0g 2086164 991494 927777 52% /user > /dev/da0h 2088046 1 1921002 0% /drv/da0h > /dev/da1a 101141 60779 32271 65% /drv/da1a > /dev/da1e 2078659 74729 1837638 4% /drv/da1e > /dev/da1f 2078659 169833 1742534 9% /drv/da1f > /dev/da1g 2086164 1702723 216548 89% /source > /dev/da1h 2088046 1790550 130453 93% /usr/ports > > 3. operation: > > cd / > tar -l -ycv -b 200 -f /source/2929.1842.root.tbz .??* * > or > tar --one-file-system -ycv -b 200 -f /source/2929.1842.root.tbz .??* * > > copied /dev /proc /source (2G partion mount point) which, > of course, makes it recursive --ouch! > > also > > cd /usr > tar --one-file-system -ycv -b 200 -f /source/2929.1842.usr.tbz .??* * > > transfered local, ports, and pkg which are all mounted > filesystems. > > So, before committing this to mail, I thought would try > the work around: > > find -x .??* * \! -type d -print >.tfile > tar --files-from .tfile -yc -b 200 -f /source/2929.1842.usr.tbz .??* * > > but, alas, 'find' has the same problem ... it crosses the > mount point to a different device. Makes me suspect there > is common code for the find in 'tar' with 'find'. > > If you need more info, or wish me to test it, please let > me know. If you're on the usual +3, it's still "today". > > best, > > Dr Daniel Flickinger > > > Sent: Sun, 29 Sep 2002 18:48:10 +0300 by Maxim > > + On Sun, Sep 29, 2002 at 12:46:11PM +0300, Maxim Sobolev wrote: > + > I'll look into this later. Thanks for reporting! > + > + I can't reproduce it locally. Could you please provide > + more details about your setup? > + > + -Maxim > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 15: 0:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDE7F37B401 for ; Sun, 29 Sep 2002 15:00:17 -0700 (PDT) Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7AF343E42 for ; Sun, 29 Sep 2002 15:00:15 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5]) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g8TM0BY41687 for ; Mon, 30 Sep 2002 07:00:12 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 30 Sep 2002 07:00:03 +0900 (JST) Message-Id: <20020930.070003.70227125.iwasaki@jp.FreeBSD.org> To: current@FreeBSD.ORG Subject: [PATCH] Workaround for bogus INT 12H BIOS service implementation From: Mitsuru IWASAKI 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 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've found that some recent machine's BIOS doesn't support INT 12H (Get base memory size) BIOS service, instead they seems to support SMAP (system memory map: INT 15H function e820H) for this purpose. I already checked that there is no problems on Linux or Windows or others, but FreeBSD won't boot at all. I'll report bogus INT 12H BIOS service implementation to BIOS vendors if I get chances. On the other hand, I think we need to have a workaround in a safety way for this problem for newer machines. Here is the patches. I'll commit them in a few days if no objection. Thanks Index: sys/boot/i386/boot2/boot2.c =================================================================== RCS file: /home/ncvs/src/sys/boot/i386/boot2/boot2.c,v retrieving revision 1.44 diff -u -r1.44 boot2.c --- sys/boot/i386/boot2/boot2.c 1 Sep 2002 21:29:10 -0000 1.44 +++ sys/boot/i386/boot2/boot2.c 29 Sep 2002 21:16:19 -0000 @@ -231,7 +231,7 @@ dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; bootinfo.bi_version = BOOTINFO_VERSION; bootinfo.bi_size = sizeof(bootinfo); - bootinfo.bi_basemem = memsize(MEM_BASE); + bootinfo.bi_basemem = 0; /* XXX will be filled at loader or kernel */ bootinfo.bi_extmem = memsize(MEM_EXT); bootinfo.bi_memsizes_valid++; for (i = 0; i < N_BIOS_GEOM; i++) Index: sys/boot/i386/loader/main.c =================================================================== RCS file: /home/ncvs/src/sys/boot/i386/loader/main.c,v retrieving revision 1.25 diff -u -r1.25 main.c --- sys/boot/i386/loader/main.c 5 Nov 2001 19:03:01 -0000 1.25 +++ sys/boot/i386/loader/main.c 29 Sep 2002 21:01:51 -0000 @@ -129,6 +129,10 @@ if (devsw[i]->dv_init != NULL) (devsw[i]->dv_init)(); printf("BIOS %dkB/%dkB available memory\n", bios_basemem / 1024, bios_extmem / 1024); + if (initial_bootinfo != NULL) { + initial_bootinfo->bi_basemem = bios_basemem / 1024; + initial_bootinfo->bi_extmem = bios_extmem / 1024; + } /* detect ACPI for future reference */ biosacpi_detect(); Index: sys/i386/i386/machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v retrieving revision 1.532 diff -u -r1.532 machdep.c --- sys/i386/i386/machdep.c 7 Sep 2002 19:12:42 -0000 1.532 +++ sys/i386/i386/machdep.c 29 Sep 2002 21:15:26 -0000 @@ -1269,8 +1269,12 @@ /* * Perform "base memory" related probes & setup */ - vm86_intcall(0x12, &vmf); - basemem = vmf.vmf_ax; + if (bootinfo.bi_basemem != 0) { + basemem = bootinfo.bi_basemem; + } else { + vm86_intcall(0x12, &vmf); + basemem = vmf.vmf_ax; + } if (basemem > 640) { printf("Preposterous BIOS basemem of %uK, truncating to 640K\n", basemem); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 15:41:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2331A37B419; Sun, 29 Sep 2002 15:41:13 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DA0643E6A; Sun, 29 Sep 2002 15:41:12 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 23C1C665E3; Sun, 29 Sep 2002 22:41:12 +0000 (GMT) Date: Sun, 29 Sep 2002 22:41:12 +0000 (GMT) Message-Id: <20020929224112.QVYQ5944@hun.org> From: attila! X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-No-Archive: yes In-Reply-To: References: <20020929195153.Oy3a2352@hun.org> To: Julian Elischer Cc: Maxim Sobolev , FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, you are correct: the use of '.' rather than '*' stops the recursion into separately mounted files systems; thanx for the clarification! However, the manual syntax for tar is anything but clear --typical of the last 25+ years of *nix manuals' arcane definitions. The definition for find may be technically correct, but the statement still leaves the opening to interpret the statement as the 'starting file'; the fact the starting file is a mount point is irrelevant. To me, "starting file" is the file system "level" at the point of start and anything mounted to that level would not be included --but, in this case, I am wrong. Both manual statements should be cleaned up and stated in explicit terms. I've argued this point for 25 years on many other fronts so I don't suppose it's going to change... out! tar: -l --one-file-system Stay in local filesystem when creating an archive (do not cross mount points). find: -x Prevent find from descending into directories that have a device number different than that of the file from which the descent began. Sent: Sun, 29 Sep 2002 13:28:15 -0700 (PDT) > The "one filesystem" option means "do not traverse a mount > point when enumerating the tree given by an argument." > > You specified .??* * > > which includes source dev proc and drv as well as user and > usr > > once it started enumeraing the subdirs from source it did > not trwverse any mountpoints... just as you asked... > > find is also doing what you asked... > > try: tar -l -ycv -b 200 -f /source/2929.1842.root.tbz . > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 15:49:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04D0D37B401 for ; Sun, 29 Sep 2002 15:49:09 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7766143E42 for ; Sun, 29 Sep 2002 15:49:08 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 04B0766B79; Sun, 29 Sep 2002 15:49:07 -0700 (PDT) Date: Sun, 29 Sep 2002 15:49:07 -0700 From: Kris Kennaway To: current@FreeBSD.org Subject: panic: pipe buffer gone Message-ID: <20020929224907.GA37446@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I just got this on the bento cluster: panic: pipe buffer gone Backtrace: [...] #11 0xc0266170 in pipe_write (fp=0xc5188f00, uio=0xd917dc7c, ---Type to continue, or q to quit--- active_cred=0xc67cdc00, flags=0, td=0xc5d84c00) at /local0/scratch/sys/kern/sys_pipe.c:1068 #12 0xc0262675 in dofilewrite (td=0xc5d84c00, fp=0xc5188f00, fd=0, buf=0x80ce004, nbyte=0, offset=0, flags=0) at file.h:213 #13 0xc02624b9 in write (td=0xc5d84c00, uap=0xd917dd10) at /local0/scratch/sys/kern/sys_generic.c:332 It's a bit mysterious because sys_pipe.c:1068 is panic("pipe buffer overflowed")..but I have the core if anyone would like me to do some debugging monkeywork. Kris --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9l4NjWry0BWjoQKURAr2GAKDrUosFYdQyZ4clXFeipe4ZQcDcoACeNGcD XN2DkwScXM9RA1X0MKfTPV4= =dlQC -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 15:53:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCB8337B401 for ; Sun, 29 Sep 2002 15:53:12 -0700 (PDT) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9488043E4A for ; Sun, 29 Sep 2002 15:53:12 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id g8TMrCj6015312 for ; Sun, 29 Sep 2002 15:53:12 -0700 (PDT) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id g8TMrC3P015302 for current@freebsd.org; Sun, 29 Sep 2002 15:53:12 -0700 (PDT) Date: Sun, 29 Sep 2002 15:53:12 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200209292253.g8TMrC3P015302@beast.freebsd.org> To: current@freebsd.org Subject: alpha tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Sun Sep 29 15:17:37 PDT 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Sun Sep 29 15:48:03 PDT 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Sun Sep 29 15:48:04 PDT 2002 -------------------------------------------------------------- ===> vinum cc1: warnings being treated as errors /h/des/src/sys/dev/advansys/adv_pci.c: In function `adv_pci_attach': /h/des/src/sys/dev/advansys/adv_pci.c:197: warning: overflow in implicit constant conversion *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 16: 0:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31D3337B40A; Sun, 29 Sep 2002 16:00:11 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6217243E81; Sun, 29 Sep 2002 16:00:10 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020929230009.QKBJ22381.sccrmhc03.attbi.com@InterJet.elischer.org>; Sun, 29 Sep 2002 23:00:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA77671; Sun, 29 Sep 2002 15:52:40 -0700 (PDT) Date: Sun, 29 Sep 2002 15:52:39 -0700 (PDT) From: Julian Elischer To: attila! Cc: Maxim Sobolev , FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag In-Reply-To: <20020929224112.QVYQ5944@hun.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 29 Sep 2002, attila! wrote: > Yes, you are correct: the use of '.' rather than '*' > stops the recursion into separately mounted files > systems; thanx for the clarification! > > However, the manual syntax for tar is anything but clear > --typical of the last 25+ years of *nix manuals' arcane > definitions. Each argument is a separate start point from which a descent is made. (in the terms given by the 'find' man page). The -l option is applied separatly to each argument.. That's what I would expect.... viszlat! > > The definition for find may be technically correct, but > the statement still leaves the opening to interpret the > statement as the 'starting file'; the fact the starting > file is a mount point is irrelevant. To me, "starting > file" is the file system "level" at the point of start > and anything mounted to that level would not be > included --but, in this case, I am wrong. > > Both manual statements should be cleaned up and stated > in explicit terms. I've argued this point for 25 years > on many other fronts so I don't suppose it's going to > change... > > out! > > tar: > > -l > --one-file-system Stay in local filesystem when creating > an archive (do not cross mount points). > > find: > > -x Prevent find from descending into directories that have > a device number different than that of the file from which > the descent began. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 16:19:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F4FC37B401 for ; Sun, 29 Sep 2002 16:19:25 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26A3843E3B for ; Sun, 29 Sep 2002 16:19:25 -0700 (PDT) (envelope-from wa1ter@hotmail.com) Received: from hotmail.com wa1ter@smtp-send.myrealbox.com [67.114.254.146] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.12 $ on Novell NetWare via secured & encrypted transport (TLS); Sun, 29 Sep 2002 17:19:24 -0600 Message-ID: <3D978A2D.8050304@hotmail.com> Date: Sun, 29 Sep 2002 16:18:05 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020921 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: XFree86 crash, Bezier thing References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wesley Morgan wrote: > Yes, i don't see any -stable systems bombing out. But it _always_ occurrs > when typing. No matter what app... I've seen in most often when starting X/gnome. Almost always happens when gnome-panel is just appearing on screen. No typing going on yet, naturally. If gnome-panel is using a TypeI font that might account for it. Oddly, though, usually if I just type startx a second time it all starts OK. Later it may crash with mozilla also, of course. I took TypeI out of my fonts-path and so far no more crashes, but it's been less than 24 hours, so still a bit early to crow. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 16:29:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0626737B401 for ; Sun, 29 Sep 2002 16:29:15 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 47AD843E75 for ; Sun, 29 Sep 2002 16:29:14 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 80619 invoked by uid 1000); 29 Sep 2002 23:29:15 -0000 Date: Sun, 29 Sep 2002 16:29:15 -0700 (PDT) From: Nate Lawson To: Lars Eggert Cc: Joe Marcus Clarke , current@FreeBSD.ORG, gnome@FreeBSD.ORG Subject: Re: sys/sys/proc.h 1.250 breaks devel/libgtop2 port In-Reply-To: <3D951F2A.5020504@isi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 27 Sep 2002, Lars Eggert wrote: > Joe Marcus Clarke wrote: > > On Fri, 2002-09-27 at 21:54, Lars Eggert wrote: > > > >>Juli Mallett wrote: > >> > >>>* De: Lars Eggert [ Data: 2002-09-27 ] > >>> [ Subjecte: sys/sys/proc.h 1.250 breaks devel/libgtop2 port ] > >>> > >>>>commenting out p_kse in sys/sys/proc.h rev 1.250 broke the > >>>>devel/libgtop2 port (which still uses that field in > >>>>sysdeps/freebsd/proctime.c). > >>> > >>>FWIW this bit me too, and I just initialised the values to zero and wrote > >>>myself a note to note it to gnome@, and then lost the note. > >> > >>That's the stopgap I settled on, too :-) > >> > >>Now the build hangs because of sys/vnode.h rev 1.208, which removed > >>VT_UFS... > > > > > > Yep, I have a fix for this, too. You can change the == to a call to > > strcmp, and basically do a : > > > > strcmp("ufs", variable) == 0; > > > > Like I said, I'm on vacation, or I'd have the actual patch to give to > > you. > > No problem, that workaround is easy enough to apply. Thanks! > > Lars > -- > Lars Eggert USC Information Sciences Institute It's not a workaround, it's an outright fix. vnode->v_tag is now const char * and that's the proper way to check for a fs type FROM USER MODE (just making sure people note that :) To get an idea how this works, grep getnewvnode in the sys/fs/* sources. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 16:56:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FE3337B401; Sun, 29 Sep 2002 16:56:13 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CC2343E4A; Sun, 29 Sep 2002 16:56:09 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 90B2872FCC; Sun, 29 Sep 2002 16:52:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 8DBE972FC5; Sun, 29 Sep 2002 16:52:10 -0700 (PDT) Date: Sun, 29 Sep 2002 16:52:10 -0700 (PDT) From: Doug White To: Mitsuru IWASAKI Cc: sos@FreeBSD.org, Subject: Re: [PATCH] Promise PDC20277 ATA RAID controller support In-Reply-To: <20020928.124100.44565818.iwasaki@jp.FreeBSD.org> Message-ID: <20020929165045.P23901-100000@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 28 Sep 2002, Mitsuru IWASAKI wrote: > Hi, I got a new machine with Promise PDC20277 ATA RAID controller. > This controller isn't supported yet, so I wrote simple patches for it. > It's working now, so far so good :) > Soren, Could you review the patches and commit them if acceptable? I submitted the same change to Soren a month ago, when I got an Intel SE7500WV2 motherboard. Still no commit. Soren, do you need one of these for testing? > + case 0x7275105a: /* Promise PDC20277 controllers */ Here's the ID. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 18:49:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2B8B37B401 for ; Sun, 29 Sep 2002 18:49:44 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C01DD43E6E for ; Sun, 29 Sep 2002 18:49:43 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id LAA17695; Mon, 30 Sep 2002 11:49:33 +1000 Date: Mon, 30 Sep 2002 11:58:55 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mitsuru IWASAKI Cc: current@FreeBSD.ORG Subject: Re: [PATCH] Workaround for bogus INT 12H BIOS service implementation In-Reply-To: <20020930.070003.70227125.iwasaki@jp.FreeBSD.org> Message-ID: <20020930115717.J43806-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 30 Sep 2002, Mitsuru IWASAKI wrote: > Hi, I've found that some recent machine's BIOS doesn't support INT 12H > (Get base memory size) BIOS service, instead they seems to support > SMAP (system memory map: INT 15H function e820H) for this purpose. > I already checked that there is no problems on Linux or Windows or > others, but FreeBSD won't boot at all. > > I'll report bogus INT 12H BIOS service implementation to BIOS vendors > if I get chances. On the other hand, I think we need to have a > workaround in a safety way for this problem for newer machines. > > Here is the patches. I'll commit them in a few days if no objection. > ... > Index: sys/i386/i386/machdep.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v > retrieving revision 1.532 > diff -u -r1.532 machdep.c > --- sys/i386/i386/machdep.c 7 Sep 2002 19:12:42 -0000 1.532 > +++ sys/i386/i386/machdep.c 29 Sep 2002 21:15:26 -0000 > @@ -1269,8 +1269,12 @@ > /* > * Perform "base memory" related probes & setup > */ > - vm86_intcall(0x12, &vmf); > - basemem = vmf.vmf_ax; > + if (bootinfo.bi_basemem != 0) { > + basemem = bootinfo.bi_basemem; > + } else { > + vm86_intcall(0x12, &vmf); > + basemem = vmf.vmf_ax; > + } > if (basemem > 640) { > printf("Preposterous BIOS basemem of %uK, truncating to 640K\n", > basemem); The kernel hasn't used bootinfo.bi_basemem for a long time and shouldn't start using it again now. It already uses the 0x15/0xe820 call for everything except basemem (except when the this call fails, it falls back to 0x15/0xe801). Maybe the bug has something to do with the kernel using the 0x12 call without checking whether the call succeeded. When both the 0x15/0xe820 and the 0x15/0xe801 calls fail, the kernel falls back to an 0x15/0x88 call for determining extmem ... except this is ifdefed out and replaced by looking at the rtc values. Maybe the unreliability of the 0x15/0x88 call has something to do with not checking if the call succeeded. The patch makes no difference for booting directly from boot2 ... except memsize() in boot2 also fails to check for errors, so it returns garbage values. I think the basemem == 0 case should just work, so the systems with a broken INT 0x12 should at worst lose 640K of memory, no matter whether basemem is set to 0 because INT 0x12 fails or because it actually returns 0. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 20:15:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F23E37B401 for ; Sun, 29 Sep 2002 20:15:32 -0700 (PDT) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE34243E4A for ; Sun, 29 Sep 2002 20:15:31 -0700 (PDT) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (unknown [192.168.168.4]) by ns.gddsn.org.cn (Postfix) with ESMTP id 3645038CBCF for ; Mon, 30 Sep 2002 11:15:26 +0800 (CST) Message-ID: <3D97C4D2.9060704@mail.gddsn.org.cn> Date: Mon, 30 Sep 2002 11:28:18 +0800 From: suken woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020912 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: Re: current make depend: 'ar_args' has incomplete type help References: <3D94718D.1080702@mail.gddsn.org.cn> <20020928145705.A12212@snoopy.cablecom.ch> <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn> <20020929135601.A1405@snoopy.cablecom.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hanspeter Roth wrote: > On Sep 29 at 15:48, suken woo spoke: > > > >>i do it as your indication,but i get cpp core dump >> >> > >Ok. I must admit I'm a current-newbie. >Maybe I've done wrong assumptions. >I think there are several approaches to a current system. > >1. download the current installation floppies and install via ftp > from scratch. I have no experience how long this would take. > >2. download the developer-preview cds and install from scratch. I'm > now about to download them. > >3. upgrade from a 4.6.2-Release or 4-Stable. I first tried from > 4.6.2-Release but I gave up. Then I tried from a 4-Stable. Then I > realized that the version 3.2 of gcc might be required. (I got > some compilation errors.) Then I tried buildworld/installworld. > But I had several core-dumps. Even single `test -e' failed. > I tried to patch several Makefiles. Finally I managed to > installworld and installkernel. But then booting hung at apci.ko. > Asking here on the current list I got no answers from the > current-gurus. > >I'm about to doubt, that the latter attempt is supposed to work at >all. >Thus I'm trying another approach. I'm about to download the 5.0-DP1 >images... >(Maybe installing from floppy would take shorer...) > >-Hanspeter > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > > > > thanks , i just wanna upgrade from FBSD4.x or 4.x-stable.and i would try it again later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 22: 7:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A872137B401; Sun, 29 Sep 2002 22:07:56 -0700 (PDT) Received: from relay.nvnpp.vrn.ru (relay.nvnpp.vrn.ru [195.98.93.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE55A43E75; Sun, 29 Sep 2002 22:07:54 -0700 (PDT) (envelope-from gpr@nvnpp.vrn.ru) Received: from gpr by relay.nvnpp.vrn.ru with local (Exim 4.10) id 17vsl9-000KFp-00; Mon, 30 Sep 2002 09:06:19 +0400 Date: Mon, 30 Sep 2002 09:06:19 +0400 From: Gennady Proskurin To: "Niels Chr. Bank-Pedersen" Cc: Mark Murray , sos@freebsd.org, current@freebsd.org Subject: Re: ATA driver broken? Message-ID: <20020930050618.GB72737@relay.nvnpp.vrn.ru> References: <200209281655.g8SGt2cD000650@grimreaper.grondar.org> <20020928173512.GF11679@bank-pedersen.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020928173512.GF11679@bank-pedersen.dk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Niels. On Sat, Sep 28, 2002 at 07:35:13PM +0200, Niels Chr. Bank-Pedersen wrote: > On Sat, Sep 28, 2002 at 05:55:02PM +0100, Mark Murray wrote: > > Hi > > > > I can't boot a kernel after my 22nd Sept one. The ATA disk controller > > does not probe at all, and no bootable disk is found by the kernel. > > > > The machine is a Toshiba Libretto 110CT. > > I'm seeing the same (sortof) on my Dual PIII machine - ATA as well as > ISA (PCI-ISA bridge), SCSI (sym) and NIC (fxp) has dissapeared recently. > I was suspecting the legacy(4) commits on the 23rd to be causing this. > Boot messages (before/after) attached. > Are you sure you are loading acpi.ko module synced with kernel? [...] -- Gennady To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 22:25: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9E4E37B401; Sun, 29 Sep 2002 22:25:04 -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 B6A4043E65; Sun, 29 Sep 2002 22:24:57 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.5/8.12.6) id g8U5OrZY079705; Mon, 30 Sep 2002 07:24:53 +0200 (CEST) (envelope-from sos) From: Soeren Schmidt Message-Id: <200209300524.g8U5OrZY079705@spider.deepcore.dk> Subject: Re: [PATCH] Promise PDC20277 ATA RAID controller support In-Reply-To: <20020929165045.P23901-100000@carver.gumbysoft.com> To: Doug White Date: Mon, 30 Sep 2002 07:24:53 +0200 (CEST) Cc: Mitsuru IWASAKI , sos@FreeBSD.org, current@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems Doug White wrote: > On Sat, 28 Sep 2002, Mitsuru IWASAKI wrote: > > > Hi, I got a new machine with Promise PDC20277 ATA RAID controller. > > This controller isn't supported yet, so I wrote simple patches for it. > > It's working now, so far so good :) > > Soren, Could you review the patches and commit them if acceptable? > > I submitted the same change to Soren a month ago, when I got an Intel > SE7500WV2 motherboard. Still no commit. I've just gotten the docs from promise, and commit is now pending.. > Soren, do you need one of these for testing? That would always be nice :) -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Sep 29 23:40:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CED9237B401 for ; Sun, 29 Sep 2002 23:40:08 -0700 (PDT) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ABED43E4A for ; Sun, 29 Sep 2002 23:40:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020930064008.MNDE15492.rwcrmhc53.attbi.com@InterJet.elischer.org> for ; Mon, 30 Sep 2002 06:40:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA79128 for ; Sun, 29 Sep 2002 23:31:27 -0700 (PDT) Date: Sun, 29 Sep 2002 23:31:26 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Subject: amusing KSE ktrace. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It occured to me to day to look at several KSE threads running under ktrace.. Talk about confusing.. The key to understanding it is that the lines RET fork 0 are actually the upcalls when a thread blocks, and they will report to the userland scheduler all the RETs that occured since the last RET fork 0 In any case it sure is difficult to follow :-) (6 threads each printing one char and then sleeping) 17595 ksetest RET write 1 17595 ksetest CALL nanosleep(0x84b7fcc,0x84b7fc4) 17595 ksetest CALL nanosleep(0x84a6fcc,0x84a6fc4) 17595 ksetest CALL write(0x1,0xbfbffc17,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "K" 17595 ksetest RET write 1 17595 ksetest CALL nanosleep(0x8275fcc,0x8275fc4) 17595 ksetest RET fork 0 17595 ksetest CALL nanosleep(0x8264fcc,0x8264fc4) 17595 ksetest RET fork 0 17595 ksetest CALL kse_yield 17595 ksetest CALL nanosleep(0xbfbffc10,0xbfbffc08) 17595 ksetest RET fork 0 17595 ksetest CALL kse_yield 17595 ksetest RET nanosleep 0 17595 ksetest RET nanosleep 0 17595 ksetest RET nanosleep 0 17595 ksetest RET nanosleep 0 17595 ksetest CALL write(0x1,0x84b7fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "." 17595 ksetest RET write 1 17595 ksetest CALL write(0x1,0x84a6fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "*" 17595 ksetest RET write 1 17595 ksetest CALL write(0x1,0x8264fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "+" 17595 ksetest RET write 1 17595 ksetest CALL write(0x1,0x8275fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "-" 17595 ksetest RET write 1 17595 ksetest CALL nanosleep(0x84b7fcc,0x84b7fc4) 17595 ksetest CALL nanosleep(0x84a6fcc,0x84a6fc4) 17595 ksetest CALL write(0x1,0xbfbffc17,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "L" 17595 ksetest RET write 1 17595 ksetest CALL nanosleep(0x8264fcc,0x8264fc4) 17595 ksetest RET fork 0 17595 ksetest CALL nanosleep(0x8275fcc,0x8275fc4) 17595 ksetest RET fork 0 17595 ksetest CALL kse_yield 17595 ksetest CALL nanosleep(0xbfbffc10,0xbfbffc08) 17595 ksetest RET fork 0 17595 ksetest CALL kse_yield 17595 ksetest RET nanosleep 0 17595 ksetest RET nanosleep 0 17595 ksetest RET nanosleep 0 17595 ksetest RET nanosleep 0 17595 ksetest CALL write(0x1,0x84b7fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "." 17595 ksetest RET write 1 17595 ksetest CALL write(0x1,0x84a6fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "*" 17595 ksetest RET write 1 17595 ksetest CALL write(0x1,0x8275fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "-" 17595 ksetest RET write 1 17595 ksetest CALL write(0x1,0x8264fd3,0x1) 17595 ksetest GIO fd 1 wrote 1 byte "+" 17595 ksetest RET write 1 17595 ksetest CALL nanosleep(0x84b7fcc,0x84b7fc4) 17595 ksetest CALL nanosleep(0x84a6fcc,0x84a6fc4) 17595 ksetest CALL write(0x1,0xbfbffc17,0x1) 17595 ksetest GIO fd 1 wrote 1 byte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 0:20:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F417637B401; Mon, 30 Sep 2002 00:20:43 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 217D343E6E; Mon, 30 Sep 2002 00:20:43 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g8U7KN0U059915; Mon, 30 Sep 2002 09:20:23 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: audit@freebsd.org, current@freebsd.org Subject: PATCH: various memory leaks. From: Poul-Henning Kamp Date: Mon, 30 Sep 2002 09:20:23 +0200 Message-ID: <59914.1033370423@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I went through the FlexeLint output of the LINT kernel on i386 and tried to examine all warnings about memoryleaks in central or semi-central code. I this patch I belive addresses the ones I think I could confirm, in the following files: cam/scsi/scsi_cd.c cam/scsi/scsi_da.c dev/ata/ata-all.c fs/pseudofs/pseudofs_vncache.c fs/umapfs/umap_vfsops.c kern/kern_ktrace.c kern/kern_linker.c ufs/ufs/ufs_vnops.c I would appreciate if the respective owners, authors, maintainers etc would review and commit their own bits from this patch. Thanks in advance! Poul-Henning Index: cam/scsi/scsi_cd.c =================================================================== RCS file: /home/ncvs/src/sys/cam/scsi/scsi_cd.c,v retrieving revision 1.61 diff -u -r1.61 scsi_cd.c --- cam/scsi/scsi_cd.c 28 Sep 2002 17:14:05 -0000 1.61 +++ cam/scsi/scsi_cd.c 30 Sep 2002 06:11:54 -0000 @@ -1463,6 +1463,7 @@ start_ccb->ccb_h.ccb_bp = NULL; start_ccb->ccb_h.ccb_state = CD_CCB_PROBE; xpt_action(start_ccb); + /* XXX missing free(rcap, M_TEMP) ??? */ break; } } Index: cam/scsi/scsi_da.c =================================================================== RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v retrieving revision 1.108 diff -u -r1.108 scsi_da.c --- cam/scsi/scsi_da.c 20 Sep 2002 19:35:52 -0000 1.108 +++ cam/scsi/scsi_da.c 30 Sep 2002 06:13:35 -0000 @@ -1249,6 +1249,7 @@ start_ccb->ccb_h.ccb_bp = NULL; start_ccb->ccb_h.ccb_state = DA_CCB_PROBE; xpt_action(start_ccb); + /* XXX missing free(rcap, M_TEMP) ?? */ break; } } Index: dev/ata/ata-all.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v retrieving revision 1.154 diff -u -r1.154 ata-all.c --- dev/ata/ata-all.c 12 Sep 2002 14:32:33 -0000 1.154 +++ dev/ata/ata-all.c 30 Sep 2002 06:19:11 -0000 @@ -454,8 +454,10 @@ if (iocmd->u.atapi.flags & ATAPI_CMD_WRITE) { error = copyin(iocmd->u.atapi.data, buf, iocmd->u.atapi.count); - if (error) + if (error) { + free(buf, M_ATA); return error; + } } error = atapi_queue_cmd(atadev, iocmd->u.atapi.ccb, buf, iocmd->u.atapi.count, Index: fs/pseudofs/pseudofs_vncache.c =================================================================== RCS file: /home/ncvs/src/sys/fs/pseudofs/pseudofs_vncache.c,v retrieving revision 1.17 diff -u -r1.17 pseudofs_vncache.c --- fs/pseudofs/pseudofs_vncache.c 14 Sep 2002 09:02:24 -0000 1.17 +++ fs/pseudofs/pseudofs_vncache.c 30 Sep 2002 06:23:59 -0000 @@ -136,8 +136,10 @@ if (++pfs_vncache_entries > pfs_vncache_maxentries) pfs_vncache_maxentries = pfs_vncache_entries; error = getnewvnode("pseudofs", mp, pfs_vnodeop_p, vpp); - if (error) + if (error) { + FREE(pvd, M_PFSVNCACHE); return (error); + } pvd->pvd_pn = pn; pvd->pvd_pid = pid; (*vpp)->v_data = pvd; Index: fs/umapfs/umap_vfsops.c =================================================================== RCS file: /home/ncvs/src/sys/fs/umapfs/umap_vfsops.c,v retrieving revision 1.46 diff -u -r1.46 umap_vfsops.c --- fs/umapfs/umap_vfsops.c 4 Aug 2002 10:29:31 -0000 1.46 +++ fs/umapfs/umap_vfsops.c 30 Sep 2002 06:26:18 -0000 @@ -170,6 +170,8 @@ if (args.nentries > MAPFILEENTRIES || args.gnentries > GMAPFILEENTRIES) { vput(lowerrootvp); + free(amp, M_UMAPFSMNT); + /* XXX missing error = EINVAL ? */ return (error); } @@ -177,8 +179,10 @@ amp->info_gnentries = args.gnentries; error = copyin(args.mapdata, (caddr_t)amp->info_mapdata, 2*sizeof(u_long)*args.nentries); - if (error) + if (error) { + free(amp, M_UMAPFSMNT); return (error); + } #ifdef DEBUG printf("umap_mount:nentries %d\n",args.nentries); @@ -189,8 +193,10 @@ error = copyin(args.gmapdata, (caddr_t)amp->info_gmapdata, 2*sizeof(u_long)*args.gnentries); - if (error) + if (error) { + free(amp, M_UMAPFSMNT); return (error); + } #ifdef DEBUG printf("umap_mount:gnentries %d\n",args.gnentries); Index: kern/kern_ktrace.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_ktrace.c,v retrieving revision 1.77 diff -u -r1.77 kern_ktrace.c --- kern/kern_ktrace.c 11 Sep 2002 21:00:56 -0000 1.77 +++ kern/kern_ktrace.c 30 Sep 2002 06:35:00 -0000 @@ -325,8 +325,11 @@ bcopy(args, buf, buflen); } req = ktr_getrequest(KTR_SYSCALL); - if (req == NULL) + if (req == NULL) { + if (buf != NULL) + free(buf, M_KTRACE); return; + } ktp = &req->ktr_data.ktr_syscall; ktp->ktr_code = code; ktp->ktr_narg = narg; @@ -372,8 +375,11 @@ bcopy(path, buf, namelen); } req = ktr_getrequest(KTR_NAMEI); - if (req == NULL) + if (req == NULL) { + if (buf != NULL) + free(buf, M_KTRACE); return; + } if (namelen > 0) { req->ktr_header.ktr_len = namelen; req->ktr_header.ktr_buffer = buf; @@ -621,11 +627,15 @@ return (EINVAL); cp = malloc(uap->len, M_KTRACE, M_WAITOK); error = copyin(uap->addr, cp, uap->len); - if (error) + if (error) { + free(cp, M_KTRACE); return (error); + } req = ktr_getrequest(KTR_USER); - if (req == NULL) + if (req == NULL) { + free(cp, M_KTRACE); return (0); + } req->ktr_header.ktr_buffer = cp; req->ktr_header.ktr_len = uap->len; ktr_submitrequest(req); Index: kern/kern_linker.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_linker.c,v retrieving revision 1.94 diff -u -r1.94 kern_linker.c --- kern/kern_linker.c 15 Aug 2002 20:55:03 -0000 1.94 +++ kern/kern_linker.c 30 Sep 2002 06:36:15 -0000 @@ -1531,6 +1531,7 @@ printf("warning: KLD '%s' is newer than the linker.hints" " file\n", result); bad: + free(pathbuf, M_LINKER); if (hints) free(hints, M_TEMP); if (nd.ni_vp != NULL) { Index: ufs/ufs/ufs_vnops.c =================================================================== RCS file: /home/ncvs/src/sys/ufs/ufs/ufs_vnops.c,v retrieving revision 1.210 diff -u -r1.210 ufs_vnops.c --- ufs/ufs/ufs_vnops.c 28 Sep 2002 17:15:31 -0000 1.210 +++ ufs/ufs/ufs_vnops.c 30 Sep 2002 07:06:33 -0000 @@ -1480,6 +1480,8 @@ default: UFS_VFREE(tvp, ip->i_number, dmode); vput(tvp); + FREE(acl, M_ACL); + FREE(dacl, M_ACL); return (error); } #else /* !UFS_ACL */ @@ -2381,6 +2383,8 @@ default: UFS_VFREE(tvp, ip->i_number, mode); vput(tvp); + FREE(acl, M_ACL); + acl = NULL; return (error); } #else /* !UFS_ACL */ -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 0:30:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7DB937B401; Mon, 30 Sep 2002 00:30:43 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 700C043E65; Mon, 30 Sep 2002 00:30:40 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g8U7UYL87629; Mon, 30 Sep 2002 10:30:35 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id g8U7UaTs006291; Mon, 30 Sep 2002 10:30:36 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id g8U7UVaL006290; Mon, 30 Sep 2002 10:30:31 +0300 (EEST) Date: Mon, 30 Sep 2002 10:30:31 +0300 From: Maxim Sobolev To: Eric Anholt Cc: Wesley Morgan , Frode Nordahl , walt , freebsd-current@FreeBSD.ORG Subject: Re: XFree86 crash, Bezier thing (was Re: Is phk rewriting the kernel over the weekend?) Message-ID: <20020930073031.GA6275@vega.vega.com> References: <20020929132405.Q3750-100000@volatile.chemikals.org> <1033327093.873.11.camel@anholt.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1033327093.873.11.camel@anholt.dyndns.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 29, 2002 at 12:17:54PM -0700, Eric Anholt wrote: > On Sun, 2002-09-29 at 10:25, Wesley Morgan wrote: > > Does this bug effect -stable? It only showed up in -current recently. > > Isn't it a bigger chance that something on the FreeBSD side made this bug > > much more visible? > > > > On Sun, 29 Sep 2002, Maxim Sobolev wrote: > > > > > I think it should be fixed in FreeBSD ports before 4.7, because it > > > is really annoying when server crashes without any particular > > > reason. > > > > > > Eric, what do you think about it? > > > > > > -Maxim > > >From what I had heard on the lists it was only a thing that happened > when people upgraded kernels, and that it had stopped after some date of > kernel. I hadn't experienced it, so I ignored it. I don't know about > that link posted, I thought that was a mozilla bug that was supposed to > be fixed. I don't think that it is related to kernel (what kernel has to do with Type1 font renderer in X server???). I'm seeing this problem when trying to open MS Word document in AbiWord, perhaps a bug in AbiWord itself, but IMO no application should be able to crash the server, so that we need to fix it ASAP. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 2:46:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E7F437B401 for ; Mon, 30 Sep 2002 02:46:29 -0700 (PDT) Received: from cse.cs.huji.ac.il (cse.cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id E808843E81 for ; Mon, 30 Sep 2002 02:46:27 -0700 (PDT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cse.cs.huji.ac.il with esmtp id 17vx8D-000CIG-00; Mon, 30 Sep 2002 12:46:25 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Jeff Roberson Cc: freebsd-current@FreeBSD.ORG Subject: Re: R e: VFS panic is now fixed. In-reply-to: Your message of Thu, 26 Sep 2002 21:20:48 -0400 (EDT) . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Sep 2002 12:46:25 +0300 From: Danny Braniss Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG if i can help, please let me know! all im doing is: newfs /dev/ad0s2a mount /dev/ad0s2a /mnt-root rsh dev -n dump 0f - /c/4 | restore rf - and after a short while it panics. with today's cvsup, and with this 'fix': *** vfs_subr.c 2002/09/29 08:16:40 1.1 --- vfs_subr.c 2002/09/29 10:36:04 *************** *** 877,883 **** s = splbio(); mtx_lock(&vnode_free_list_mtx); ! /* * Try to reuse vnodes if we hit the max. This situation only * occurs in certain large-memory (2G+) situations. We cannot --- 877,883 ---- s = splbio(); mtx_lock(&vnode_free_list_mtx); ! vnmp = 0; /* * Try to reuse vnodes if we hit the max. This situation only * occurs in certain large-memory (2G+) situations. We cannot im now getting a differnet panic :-) lock order reversal 1st 0xc058fd20 vnode_free_list (vnode_free_list) @ /r+d/5.0/src/sys/kern/vfs_subr.c:879 2nd 0xc26653d8 process lock (process lock) @ /r+d/5.0/src/sys/i386/i386/trap.c :731 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x48 fault code = supervisor read, page not present instruction pointer = 0x8:0xc03268d6 stack pointer = 0x10:0xcc8287e0 frame pointer = 0x10:0xcc82882c 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 = 267 (restore) kernel: type 12 trap, code=0 Stopped at getnewvnode+0xc6: cmpl $0,0x48(%ebx) db> trace getnewvnode(c04d18c9,c25d3a00,c2301700,cc828884,c757d0ae) at getnewvnode+0xc6 ffs_vget(c25d3a00,8cdd,2,cc8288f4,8180) at ffs_vget+0x93 ffs_valloc(c2a04de0,8180,c2741400,cc8288f4,cc8288f8) at ffs_valloc+0x100 ufs_makeinode(8180,c2a04de0,cc828bec,cc828c00,602) at ufs_makeinode+0x69 ufs_create(cc828a48,cc828a68,c0334919,cc828a48,c04e7780) at ufs_create+0x39 ufs_vnoperate(cc828a48,c04e7780,c2a04de0,cc828bec,cc828c00) at ufs_vnoperate+0x18 VOP_CREATE(c2a04de0,cc828bec,cc828c00,cc828aac,2) at VOP_CREATE+0x39 vn_open_cred(cc828bd8,cc828cd8,180,c2741400,cc828cc4) at vn_open_cred+0x179 vn_open(cc828bd8,cc828cd8,180,28f,c056a5c0) at vn_open+0x29 kern_open(c22a1480,80b32d3,0,602,1b6) at kern_open+0x183 open(c22a1480,cc828d10,c04de480,418,3) at open+0x30 syscall(2f,2f,2f,80b32d3,0) at syscall+0x2be Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (5, FreeBSD ELF32, open), eip = 0x8054953, esp = 0xbfbff41c, ebp = 0xbfbff468 --- db> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 3:45:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9ED937B401 for ; Mon, 30 Sep 2002 03:45:45 -0700 (PDT) Received: from beast.freebsd.org (beast.freebsd.org [216.136.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1C7243E65 for ; Mon, 30 Sep 2002 03:45:45 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: from beast.freebsd.org (localhost [127.0.0.1]) by beast.freebsd.org (8.12.6/8.12.6) with ESMTP id g8UAjjj6018738 for ; Mon, 30 Sep 2002 03:45:45 -0700 (PDT) (envelope-from des@beast.freebsd.org) Received: (from des@localhost) by beast.freebsd.org (8.12.6/8.12.6/Submit) id g8UAjjWf018736 for current@freebsd.org; Mon, 30 Sep 2002 03:45:45 -0700 (PDT) Date: Mon, 30 Sep 2002 03:45:45 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200209301045.g8UAjjWf018736@beast.freebsd.org> To: current@freebsd.org Subject: alpha tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /home/des/tinderbox/alpha/obj/h/des/src/alpha/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Mon Sep 30 03:15:08 PDT 2002 -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Mon Sep 30 03:41:41 PDT 2002 -------------------------------------------------------------- >>> Kernel build for LINT started on Mon Sep 30 03:41:41 PDT 2002 -------------------------------------------------------------- ===> vinum cc1: warnings being treated as errors /h/des/src/sys/dev/advansys/adv_pci.c: In function `adv_pci_attach': /h/des/src/sys/dev/advansys/adv_pci.c:197: warning: overflow in implicit constant conversion *** Error code 1 Stop in /h/des/obj/h/des/src/sys/LINT. *** Error code 1 Stop in /h/des/src. *** Error code 1 Stop in /h/des/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 7: 6: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1976437B401 for ; Mon, 30 Sep 2002 07:06:01 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60EE943E4A for ; Mon, 30 Sep 2002 07:06:00 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g8UE5e0U064761 for ; Mon, 30 Sep 2002 16:05:41 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: scd, mcd, matcd lovers/maintainers please ? Date: Mon, 30 Sep 2002 16:05:40 +0200 Message-ID: <64760.1033394740@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Last call: Unless somebody with access to this hardware and willing to maintain these drivers step forward Real Soon Now, I intend to retire them from -current before 5.0-R. Poul-Henning ------- Forwarded Message From: Poul-Henning Kamp Date: Mon, 30 Sep 2002 06:49:20 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/isa mcd.c scd.c src/sys/i386/isa/matcd matcd.c phk 2002/09/30 06:49:20 PDT Modified files: sys/i386/isa mcd.c scd.c sys/i386/isa/matcd matcd.c Log: If GEOM is in the kernel, take these three out. I have no way of testing any modifications to them, they shouldn't even bother with disklabels in the first place and they are just plain obsolete old hardware which should be axed entirely before 5.0-R IMO. Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.60 +3 -0 src/sys/i386/isa/matcd/matcd.c 1.126 +3 -0 src/sys/i386/isa/mcd.c 1.67 +3 -0 src/sys/i386/isa/scd.c ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 7:34:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0ECA37B401 for ; Mon, 30 Sep 2002 07:34:30 -0700 (PDT) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C06D43E42 for ; Mon, 30 Sep 2002 07:34:30 -0700 (PDT) (envelope-from hm@hcs.de) Received: from localhost (localhost.hcs.de [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id EE01B15622; Mon, 30 Sep 2002 16:34:27 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id C1D6C155F0; Mon, 30 Sep 2002 16:34:25 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id AC69754B; Mon, 30 Sep 2002 16:34:25 +0200 (METDST) Date: Mon, 30 Sep 2002 16:34:25 +0200 From: Hellmuth Michaelis To: Poul-Henning Kamp Cc: current@freebsd.org Subject: Re: scd, mcd, matcd lovers/maintainers please ? Message-ID: <20020930143425.GA7114@hcswork.hcs.de> Reply-To: hm@hcs.de References: <64760.1033394740@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64760.1033394740@critter.freebsd.dk> Organization: HCS Hanseatischer Computerservice GmbH X-Virus-Scanned-HCS: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 30, 2002 at 04:05:40PM +0200, Poul-Henning Kamp wrote: > > Unless somebody with access to this hardware and willing to maintain > these drivers step forward Real Soon Now, I intend to retire them > from -current before 5.0-R. For a possible maintainer for the mcd driver i have at least 2 Mitsumi drives + ISA controllers + documentation in good working condition which i am willing to ship for this purpose to anywhere on earth. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 7:41:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E61E737B401 for ; Mon, 30 Sep 2002 07:41:23 -0700 (PDT) Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE2F043E6E for ; Mon, 30 Sep 2002 07:41:20 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5]) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g8UEetY95291; Mon, 30 Sep 2002 23:40:55 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 30 Sep 2002 23:40:44 +0900 (JST) Message-Id: <20020930.234044.43000637.iwasaki@jp.FreeBSD.org> To: bde@zeta.org.au Cc: current@FreeBSD.ORG Subject: Re: [PATCH] Workaround for bogus INT 12H BIOS service implementation From: Mitsuru IWASAKI In-Reply-To: <20020930115717.J43806-100000@gamplex.bde.org> References: <20020930.070003.70227125.iwasaki@jp.FreeBSD.org> <20020930115717.J43806-100000@gamplex.bde.org> 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 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > > Index: sys/i386/i386/machdep.c > > =================================================================== > > RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v > > retrieving revision 1.532 > > diff -u -r1.532 machdep.c > > --- sys/i386/i386/machdep.c 7 Sep 2002 19:12:42 -0000 1.532 > > +++ sys/i386/i386/machdep.c 29 Sep 2002 21:15:26 -0000 > > @@ -1269,8 +1269,12 @@ > > /* > > * Perform "base memory" related probes & setup > > */ > > - vm86_intcall(0x12, &vmf); > > - basemem = vmf.vmf_ax; > > + if (bootinfo.bi_basemem != 0) { > > + basemem = bootinfo.bi_basemem; > > + } else { > > + vm86_intcall(0x12, &vmf); > > + basemem = vmf.vmf_ax; > > + } > > if (basemem > 640) { > > printf("Preposterous BIOS basemem of %uK, truncating to 640K\n", > > basemem); > > The kernel hasn't used bootinfo.bi_basemem for a long time and shouldn't > start using it again now. It already uses the 0x15/0xe820 call for > everything except basemem (except when the this call fails, it falls > back to 0x15/0xe801). Maybe the bug has something to do with the > kernel using the 0x12 call without checking whether the call succeeded. > > When both the 0x15/0xe820 and the 0x15/0xe801 calls fail, the kernel > falls back to an 0x15/0x88 call for determining extmem ... except this > is ifdefed out and replaced by looking at the rtc values. Maybe the > unreliability of the 0x15/0x88 call has something to do with not > checking if the call succeeded. Yes, I think the best way to determine base mem size in getmemsize() is to try 0x15/0xe820 call first, then fall back to 0x12 call. But I'm not sure whether it's OK to call vm86_datacall(0x15) before determining base mem size... > The patch makes no difference for booting directly from boot2 ... except > memsize() in boot2 also fails to check for errors, so it returns garbage > values. Yes I know that :-) But booting kernel directly from boot2 is not working at all for several years, so my understanding is that /boot/loader is necessary to boot kernel. > I think the basemem == 0 case should just work, so the systems with a > broken INT 0x12 should at worst lose 640K of memory, no matter whether > basemem is set to 0 because INT 0x12 fails or because it actually > returns 0. Hmmm, actually no. I know that some machines get panic with fatal trap 12 if we do 0x12 call. The worst case is getting panic, not losing 640K memory. And it seems that today's Linux don't have 0x12 calling any more, so I didn't see any problem on the machines. Now I have some ideas on this issue; - 0x15/0xe820 call in getmemsize() to determine base mem size. (But how?) - 0x15/0xe820 call in locore.s before calling init386(). - specify the size by loader tunable (e.g. hw.basememsize). Comments? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 7:48: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1218937B401 for ; Mon, 30 Sep 2002 07:48:06 -0700 (PDT) Received: from www.contentmedia.de (www.contentmedia.de [213.61.138.91]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F50643E77 for ; Mon, 30 Sep 2002 07:48:01 -0700 (PDT) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 23109 invoked from network); 30 Sep 2002 14:44:55 -0000 Received: from unknown (HELO leeloo.intern.geht.de) (217.227.201.92) by www.contentmedia.de with SMTP; 30 Sep 2002 14:44:55 -0000 Date: Mon, 30 Sep 2002 16:47:48 +0200 From: Marc Recht To: current@FreeBSD.ORG, julian@FreeBSD.org Subject: panic: lockmgr: locking against myself Message-Id: <20020930164748.0c163987.marc@informatik.uni-bremen.de> X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.aZlp3ziBcr96(p" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.aZlp3ziBcr96(p Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi! While local package initilization I get a panic. World and kernel from today. This I found in messages: Sep 30 15:49:55 leeloo kernel: panic: lockmgr: locking against myself Sep 30 15:49:55 leeloo kernel: Sep 30 15:49:55 leeloo kernel: syncing disks... panic: bremfree: bp 0xd381a080 not locked Sep 30 15:49:55 leeloo kernel: Uptime: 26s Sep 30 15:49:55 leeloo kernel: pfs_vncache_unload(): 4 entries remaining Sep 30 15:49:55 leeloo kernel: Dumping 1535 MB Sep 30 15:49:55 leeloo kernel: ata0: resetting devices .. Sep 30 15:49:55 leeloo kernel: panic: bremfree: bp 0xd3886870 not locked Sep 30 15:49:55 leeloo kernel: Uptime: 26s Sep 30 15:49:55 leeloo kernel: pfs_vncache_unload(): 4 entries remaining Sep 30 15:49:55 leeloo kernel: panic: witness_destroy: lock (sleep mutex) pseudofs_vncache is not initialized The hand-written tr: panic: lockmgr: locking against myself lockmgr vm_map_lookup vm_pfault trap_pfault(18,10,10,0,2e) call trap Please let me know if (and how) I could provide more info. Marc --=.aZlp3ziBcr96(p Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9mGQd7YQCetAaG3MRAno9AJ42Q8RzhaK8AwZmgv4xbdhpBjfOiQCfYCgi wQZw9PAqapy6vC5vjPUaapc= =8XNB -----END PGP SIGNATURE----- --=.aZlp3ziBcr96(p-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 8:59:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B62C37B406 for ; Mon, 30 Sep 2002 08:59:55 -0700 (PDT) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5060543E6A for ; Mon, 30 Sep 2002 08:59:54 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2753 invoked from network); 30 Sep 2002 15:59:54 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 30 Sep 2002 15:59:54 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g8UFxqBv006508 for ; Mon, 30 Sep 2002 11:59:52 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020929144540.A367@snoopy.cablecom.ch> Date: Mon, 30 Sep 2002 11:59:56 -0400 (EDT) From: John Baldwin To: freebsd-current@FreeBSD.ORG Subject: RE: Fatal trap 12 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 29-Sep-2002 Hanspeter Roth wrote: > On Sep 29 at 12:25, Mitsuru IWASAKI spoke: > >> If you think this is caused by acpi.ko, just disable acpi.ko loading. >> Please read thru loader(8) and device.hints(5). > > Yes, this is it. I've now disabled acpi and the boot process comes > further. > > > vga0: at port 0x3c0-0x3df iomem ... > unknown: can't assign resources (port) > unknown: can't assign resources (irq) > > ... > > Mounting root from ufs:/dev/ad0s3a > > Fatal trap 12: page fault while in kernal mode > fault virtual address = ... > ... > current process = 1 (init) > kernel: type 12 trap, code=0 > Stopped at generic_bcopy+0x1a: repe movsl (%esi),%es:(%edi) > db> Context switches not allowd in the debugger. > db> These messages above that you left out are very important. :( Also, if you can get a trace by typing 't' at the db> prompt that can be very helpful as well. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 10:40:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E265E37B401 for ; Mon, 30 Sep 2002 10:40:51 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E8F43E65 for ; Mon, 30 Sep 2002 10:40:50 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.cablecom.ch (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8UHemZ2069489 for ; Mon, 30 Sep 2002 19:40:48 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: (from idefix@localhost) by snoopy.cablecom.ch (8.11.6/8.11.6) id g8UHeU800932 for freebsd-current@freebsd.org; Mon, 30 Sep 2002 19:40:30 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Mon, 30 Sep 2002 19:40:30 +0200 From: Hanspeter Roth To: freebsd-current@freebsd.org Subject: installing DP1 via ftp Message-ID: <20020930194030.A905@gicco.cablecom.ch> Reply-To: freebsd-current@freebsd.org Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I've installed DP1 from CD. It doesn't like the Promise ATA100 TX2. `boot -c' just behaves exactly like normal boot and stops in the debugger. Thus I thought I could install via FTP. But what will I get? Will I get a `current' current? Or will I get DP1 from April again? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Sep 30 11:15:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3273137B425 for ; Mon, 30 Sep 2002 11:15:31 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78D6E43E6E for ; Mon, 30 Sep 2002 11:15:30 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8UIFSZ2084797 for ; Mon, 30 Sep 2002 20:15:29 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.here (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g8UIFFF06066 for ; Mon, 30 Sep 2002 20:15:27 +0200 (MEST) Received: (from hampi@localhost) by snoopy.here (8.11.6/8.11.6) id g8UIFDc00352 for freebsd-current@FreeBSD.ORG; Mon, 30 Sep 2002 20:15:13 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Mon, 30 Sep 2002 20:15:13 +0200 From: Hanspeter Roth To: freebsd-current@FreeBSD.ORG Subject: Re: Fatal trap 12 Message-ID: <20020930201513.A318@snoopy.cablecom.ch> Reply-To: freebsd-current@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <20020929144540.A367@snoopy.cablecom.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.ORG on Mon, Sep 30, 2002 at 11:59:56AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sep 30 at 11:59, John Baldwin spoke: > > These messages above that you left out are very important. :( > Also, if you can get a trace by typing 't' at the db> prompt > that can be very helpful as well. Ok. I hope there aren't to many mistakes. vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) Tiemcounters tick every 10.000 msec ad0: 76351MB [155127/16/63] at ata0-master UDMA100 acd0: CD-RW at ata1-master PIO4 acd1: CD-RW at ata2-master PIO4 acd2: CD-RW at ata3-master PIO4 acd3: CD-RW at ata4-master PIO4 acd4: CD-RW at ata5-master PIO4 Mounting root from ufs:/dev/ad0s3a Fatal trap 12: page fault while in kernal mode fault virtual address = 0xdeadc0de fault code = supervisor write, page not present instruction pointer = 0x8:0xc044d03e stack pointer = 0x10:0xcd214a94 frame pointer = 0x10:0xcd214c9a code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1 (init) kernel: type 12 trap, code=0 Stopped at generic_bcopy+0x1a: repe movsl (%esi),%es:(%edi) db> Context switches not allowd in the debugger. db> db> trace generic_bcopy(c0f079c0,cd214cf0,0,0,cd214cd8) at generic_bcopy+0x1a start_init(0,cd214d48,c04b26b1,348,0) at start_init+0x45e fork_exit(c02b28b0,0,cd214d48) at fork_exit+0xa5 fork_trampoline() at fork_trampoline+0x1a --- trap 0, eip = 0, esp = 0xcd214d7c, ebp = 0x2f --- db> I have also attached a dmesg. I tought it would be one from Release. But it seems to be a concatenation of Current and Release... -Hanspeter --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg5.boot" Copyright (c) 1992-2002 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-CURRENT #: Sat Sep 28 18:14:51 CEST 2002 hampi@snoopy.here:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc065f000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1160341146 Hz CPU: AMD Athlon(TM) XP 1800+ (1160.34-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xffffffffc0400000 real memory = 268419072 (262128K bytes) avail memory = 253677568 (247732K bytes) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface Using $PIR table, 9 entries at 0xc00f1e30 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xf0000000-0xf3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 ohci0: mem 0xef000000-0xef000fff irq 9 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xee800000-0xee800fff irq 9 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xb800-0xb80f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: port 0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xee000000-0xee003fff irq 10 at device 9.0 on pci0 ata2: at 0xa000 on atapci1 ata3: at 0x9400 on atapci1 pci0: at device 10.0 (no driver attached) rl0: port 0x8000-0x80ff mem 0xed800000-0xed8000ff irq 9 at device 11.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode /usr/src/sys/vm/uma_core.c:1307: could sleep with "rl0" locked from /usr/src/sys/pci/if_rl.c:872 rl0: Ethernet address: 00:02:44:67:ad:1b miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto /usr/src/sys/vm/uma_core.c:1307: could sleep with "rl0" locked from /usr/src/sys/pci/if_rl.c:597 atapci2: port 0x6400-0x640f,0x6800-0x6803,0x7000-0x7007,0x7400-0x7403,0x7800-0x7807 mem 0xed000000-0xed003fff irq 9 at device 12.0 on pci0 ata4: at 0x7800 on atapci2 ata5: at 0x7000 on atapci2 orm0: