From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 09:05:34 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B7F816A4CE; Sun, 31 Oct 2004 09:05:34 +0000 (GMT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9DE843D58; Sun, 31 Oct 2004 09:05:33 +0000 (GMT) (envelope-from nectar@celabo.org) Received: from lum.celabo.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lum.celabo.org", Issuer "celabo.org CA" (not verified)) by gw.celabo.org (Postfix) with ESMTP id BF0795482B; Sun, 31 Oct 2004 03:05:32 -0600 (CST) Received: by lum.celabo.org (Postfix, from userid 1001) id 3AC5A48DBA4; Sun, 31 Oct 2004 09:45:26 +0100 (CET) Date: Sun, 31 Oct 2004 09:45:25 +0100 From: "Jacques A. Vidrine" To: Danny Braniss Message-ID: <20041031084525.GF2099@lum.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Danny Braniss , bushman@rsu.ru, hackers@freebsd.org, "Christian S.J. Peron" References: <1098785868.61417.39.camel@localhost> <20041027073335.8B74343D55@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041027073335.8B74343D55@mx1.FreeBSD.org> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i cc: hackers@freebsd.org cc: "Christian S.J. Peron" cc: bushman@rsu.ru Subject: Re: nsdispatch services patch + lookupd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 09:05:34 -0000 On Wed, Oct 27, 2004 at 09:33:33AM +0200, Danny Braniss wrote: > while trying to add hesiod/dns support, i've noticed, what looks as a problem: > > in nss_tls.h, the function name##_getstate(...) can return a static pointer, > which gets freed in name##_endstate(...), as far as i know, freeing a non > malloced memory is asking for trouble. > proposed fix, instead of static, also do a calloc(...). Yes, looks like you are correct. I will fix this month. Thanks for the report! (Is there already a PR?) Cheers, -- Jacques A Vidrine / NTT/Verio nectar@celabo.org / jvidrine@verio.net / nectar@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 09:05:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AF3F16A4CE; Sun, 31 Oct 2004 09:05:44 +0000 (GMT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8EE443D6D; Sun, 31 Oct 2004 09:05:43 +0000 (GMT) (envelope-from nectar@celabo.org) Received: from lum.celabo.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lum.celabo.org", Issuer "celabo.org CA" (not verified)) by gw.celabo.org (Postfix) with ESMTP id 8182A5489A; Sun, 31 Oct 2004 03:05:42 -0600 (CST) Received: by lum.celabo.org (Postfix, from userid 1001) id DA03548DBE5; Sun, 31 Oct 2004 09:47:59 +0100 (CET) Date: Sun, 31 Oct 2004 09:47:59 +0100 From: "Jacques A. Vidrine" To: Michael Bushkov Message-ID: <20041031084759.GA2132@lum.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Michael Bushkov , hackers@freebsd.org, "Christian S.J. Peron" References: <1098785868.61417.39.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1098785868.61417.39.camel@localhost> User-Agent: Mutt/1.5.6i cc: hackers@freebsd.org cc: "Christian S.J. Peron" Subject: Re: nsdispatch services patch + lookupd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 09:05:44 -0000 On Tue, Oct 26, 2004 at 02:17:49PM +0400, Michael Bushkov wrote: > Hello! > I've been asking to commit nsdispatch services patch (the patch, which > makes getserv* functions run over nsdispatch interface) since the middle > of summer. And it's still not committed. The problem is that the next > release of the lookupd daemon (which i support) depends on this patch, > as it implements 'services' data source. > > I've included the patch once again here. Is it possible to commit it in > the nearest future? I'll handle this month. Could you open a PR? Cheers, -- Jacques A Vidrine / NTT/Verio nectar@celabo.org / jvidrine@verio.net / nectar@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 11:42:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C213816A4CE for ; Sun, 31 Oct 2004 11:42:14 +0000 (GMT) Received: from www.kukulies.org (www.kukulies.org [213.146.112.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F8743D49 for ; Sun, 31 Oct 2004 11:42:13 +0000 (GMT) (envelope-from kuku@www.kukulies.org) Received: from www.kukulies.org (localhost [127.0.0.1]) by www.kukulies.org (8.12.11/8.12.10) with ESMTP id i9VBgAqE046869 for ; Sun, 31 Oct 2004 12:42:11 +0100 (CET) (envelope-from kuku@www.kukulies.org) Received: (from kuku@localhost) by www.kukulies.org (8.12.11/8.12.10/Submit) id i9VBgAAu046868 for hackers@freebsd.org; Sun, 31 Oct 2004 12:42:10 +0100 (CET) (envelope-from kuku) Date: Sun, 31 Oct 2004 12:42:10 +0100 From: "Christoph P. Kukulies" To: hackers@freebsd.org Message-ID: <20041031114210.GA46741@kukulies.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 11:42:14 -0000 Yesterday a major desaster happened: I stumbled across the power cable of my Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running at that time. Nothing seemed to got damaged, just a palm rest popped off. Ah yes, the HD bay sprung off and in a moment of reflex I pushed it in again in the running system. After that I tried to mount the disk (which had not been mounted at that point of time). Anyway, trying to # fsck_ffs /dev/ad2s1e ** /dev/ad2s1e Cannot find file system superblock LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y 32 is not a file system superblock 89808 is not a file system superblock 179584 is not a file system superblock 269360 is not a file system superblock 359136 is not a file system superblock 448912 is not a file system superblock 538688 is not a file system superblock 628464 is not a file system superblock 718240 is not a file system superblock 808016 is not a file system superblock .... 20813728 is not a file system superblock 20903504 is not a file system superblock 20993280 is not a file system superblock 21083056 is not a file system superblock 21172832 is not a file system superblock 21262608 is not a file system superblock SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). # Any idea what I can do now? I wrote a little program that opens /dev/ad2s1e #include #include #include #include #include #include #include #include #include #include #include #include #include #include main(){ int fd; int k,i=0; int buf[512/(sizeof (int))]; if((fd=open("/dev/ad2s1e",O_RDONLY)) < 0) printf("error opening device\n"),exit(2); printf("opened device\n"); while(read(fd,buf,512)>0){ for(k=0;k<(512/(sizeof (int)));k++){ /*if(buf[k]==FS_UFS1_MAGIC) printf("UFS1 * %d\n",i),fflush(stdout); */ if(buf[k]==FS_UFS2_MAGIC) printf("UFS2 * %d\n",i),fflush(stdout); i++; } } } I'm not sure whether my approach is correct. Anyway, the blocks I find with that method aren't recognized as superblocks either. -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 12:26:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCDDC16A4CE for ; Sun, 31 Oct 2004 12:26:06 +0000 (GMT) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4F4B43D39 for ; Sun, 31 Oct 2004 12:26:05 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received-SPF: pass (mp2.macomnet.net: domain of maxim@FreeBSD.org designates 127.0.0.1 as permitted sender) receiver=mp2.macomnet.net; client_ip=127.0.0.1; envelope-from=maxim@FreeBSD.org; Received: from localhost (tyxqrs48@localhost [127.0.0.1]) by mp2.macomnet.net (8.12.11/8.12.11) with ESMTP id i9VCQ4Pl081379; Sun, 31 Oct 2004 15:26:04 +0300 (MSK) (envelope-from maxim@FreeBSD.org) Date: Sun, 31 Oct 2004 15:26:04 +0300 (MSK) From: Maxim Konovalov To: "Christoph P. Kukulies" In-Reply-To: <20041031114210.GA46741@kukulies.org> Message-ID: <20041031152426.P81269@mp2.macomnet.net> References: <20041031114210.GA46741@kukulies.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@FreeBSD.org Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 12:26:06 -0000 [...] > Any idea what I can do now? > > I wrote a little program that opens /dev/ad2s1e [...] > I'm not sure whether my approach is correct. src/tools/tools/find-sb ls -d /usr/ports/sysutils/*ffs* > Anyway, the blocks I find with that method > aren't recognized as superblocks either. -- Maxim Konovalov From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 12:47:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11E5C16A4CE; Sun, 31 Oct 2004 12:47:09 +0000 (GMT) Received: from www.kukulies.org (www.kukulies.org [213.146.112.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA46843D3F; Sun, 31 Oct 2004 12:47:07 +0000 (GMT) (envelope-from kuku@www.kukulies.org) Received: from www.kukulies.org (localhost [127.0.0.1]) by www.kukulies.org (8.12.11/8.12.10) with ESMTP id i9VCl5gj047357; Sun, 31 Oct 2004 13:47:05 +0100 (CET) (envelope-from kuku@www.kukulies.org) Received: (from kuku@localhost) by www.kukulies.org (8.12.11/8.12.10/Submit) id i9VCl5Pe047356; Sun, 31 Oct 2004 13:47:05 +0100 (CET) (envelope-from kuku) Date: Sun, 31 Oct 2004 13:47:04 +0100 From: "Christoph P. Kukulies" To: Maxim Konovalov Message-ID: <20041031124704.GA47288@kukulies.org> References: <20041031114210.GA46741@kukulies.org> <20041031152426.P81269@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031152426.P81269@mp2.macomnet.net> User-Agent: Mutt/1.4.1i cc: hackers@FreeBSD.org Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 12:47:09 -0000 On Sun, Oct 31, 2004 at 03:26:04PM +0300, Maxim Konovalov wrote: > [...] > > Any idea what I can do now? > > > > I wrote a little program that opens /dev/ad2s1e > > [...] > > I'm not sure whether my approach is correct. > > src/tools/tools/find-sb > ls -d /usr/ports/sysutils/*ffs* Thanks. But... ffsrecov-0.5 is marked as broken: Incompatible with UFS2 header files. :-( -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 13:55:37 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA90F16A4CE; Sun, 31 Oct 2004 13:55:37 +0000 (GMT) Received: from www.kukulies.org (www.kukulies.org [213.146.112.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB59B43D55; Sun, 31 Oct 2004 13:55:36 +0000 (GMT) (envelope-from kuku@www.kukulies.org) Received: from www.kukulies.org (localhost [127.0.0.1]) by www.kukulies.org (8.12.11/8.12.10) with ESMTP id i9VDtY8p047992; Sun, 31 Oct 2004 14:55:34 +0100 (CET) (envelope-from kuku@www.kukulies.org) Received: (from kuku@localhost) by www.kukulies.org (8.12.11/8.12.10/Submit) id i9VDtYbo047991; Sun, 31 Oct 2004 14:55:34 +0100 (CET) (envelope-from kuku) Date: Sun, 31 Oct 2004 14:55:34 +0100 From: "Christoph P. Kukulies" To: Maxim Konovalov Message-ID: <20041031135534.GA47952@kukulies.org> References: <20041031114210.GA46741@kukulies.org> <20041031152426.P81269@mp2.macomnet.net> <20041031124704.GA47288@kukulies.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031124704.GA47288@kukulies.org> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 13:55:38 -0000 On Sun, Oct 31, 2004 at 01:47:04PM +0100, Christoph P. Kukulies wrote: > On Sun, Oct 31, 2004 at 03:26:04PM +0300, Maxim Konovalov wrote: > > [...] > > > Any idea what I can do now? > > > > > > I wrote a little program that opens /dev/ad2s1e > > > > [...] > > > I'm not sure whether my approach is correct. > > > > src/tools/tools/find-sb ...gave me the following: cks from last guess Found UFS1 superblock at offset 10165436416, block 19854368 Filesystem might begin at offset 10165428224, block 19854352 376192 blocks from last guess Found UFS1 superblock at offset 10358046720, block 20230560 Filesystem might begin at offset 10358038528, block 20230544 376192 blocks from last guess Found UFS1 superblock at offset 10550657024, block 20606752 Filesystem might begin at offset 10550648832, block 20606736 376192 blocks from last guess Found UFS1 superblock at offset 10743267328, block 20982944 Filesystem might begin at offset 10743259136, block 20982928 376192 blocks from last guess reached end-of-file at 10913440256 kukuboo2k# fsck_ffs -b 19854352 /dev/ad2s1e Alternate super block location: 19854352 ** /dev/ad2s1e 19854352 is not a file system superblock kukuboo2k# fsck_ffs -b 19854368 /dev/ad2s1e Alternate super block location: 19854368 ** /dev/ad2s1e ** Last Mounted on ** Phase 1 - Check Blocks and Sizes 1496 DUP I=3 1497 DUP I=3 1498 DUP I=3 CANNOT READ BLK: 21443008 CONTINUE? [yn] I got lots of these CANNOT READ BLK messages during previous attempts with different superblock numbers although they were not accompanied by kernel messages or hard errors. -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 14:46:25 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0FE416A4CE for ; Sun, 31 Oct 2004 14:46:25 +0000 (GMT) Received: from smtp2.dnainternet.net (smtp2.dnainternet.net [62.240.72.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B5F43D48 for ; Sun, 31 Oct 2004 14:46:24 +0000 (GMT) (envelope-from erik.u@dnainternet.net) Received: from b-204-211.cable.kpy.customers.dnainternet.fi ([212.149.204.211]:61001smtp2.dnainternet.net with ESMTP id S1228844AbUJaOqX (ORCPT ); Sun, 31 Oct 2004 16:46:23 +0200 Message-ID: <4184FABF.7070906@dnainternet.net> Date: Sun, 31 Oct 2004 16:46:23 +0200 From: Erik Udo User-Agent: Mozilla Thunderbird 0.8 (X11/20041024) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <20041031114210.GA46741@kukulies.org> In-Reply-To: <20041031114210.GA46741@kukulies.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 14:46:25 -0000 What if you repartition & slice the disk exactly the way it was in sysinstall, and then Toggle Newfs off, and write changes. It worked fine for me. Christoph P. Kukulies wrote: > Yesterday a major desaster happened: I stumbled across the power cable of my > Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running > at that time. Nothing seemed to got damaged, just a palm rest popped off. > > Ah yes, the HD bay sprung off and in a moment of reflex I pushed it > in again in the running system. After that I tried to mount the > disk (which had not been mounted at that point of time). Anyway, > trying to > > # fsck_ffs /dev/ad2s1e > ** /dev/ad2s1e > Cannot find file system superblock > > LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y > > 32 is not a file system superblock > 89808 is not a file system superblock > 179584 is not a file system superblock > 269360 is not a file system superblock > 359136 is not a file system superblock > 448912 is not a file system superblock > 538688 is not a file system superblock > 628464 is not a file system superblock > 718240 is not a file system superblock > 808016 is not a file system superblock > > .... > 20813728 is not a file system superblock > 20903504 is not a file system superblock > 20993280 is not a file system superblock > 21083056 is not a file system superblock > 21172832 is not a file system superblock > 21262608 is not a file system superblock > SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE > -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE > SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). > # > > Any idea what I can do now? > > I wrote a little program that opens /dev/ad2s1e > > #include > #include > #include > #include > #include > #include > #include > #include > #include > > #include > #include > #include > > > #include > #include > main(){ > int fd; > int k,i=0; > int buf[512/(sizeof (int))]; > if((fd=open("/dev/ad2s1e",O_RDONLY)) < 0) > printf("error opening device\n"),exit(2); > printf("opened device\n"); > while(read(fd,buf,512)>0){ > for(k=0;k<(512/(sizeof (int)));k++){ > /*if(buf[k]==FS_UFS1_MAGIC) > printf("UFS1 * %d\n",i),fflush(stdout); */ > if(buf[k]==FS_UFS2_MAGIC) > printf("UFS2 * %d\n",i),fflush(stdout); > i++; > } > } > } > > > I'm not sure whether my approach is correct. > Anyway, the blocks I find with that method > aren't recognized as superblocks either. > > > -- > Chris Christoph P. U. Kukulies kuku_at_kukulies.org > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 17:04:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59A2C16A4CE for ; Sun, 31 Oct 2004 17:04:51 +0000 (GMT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 29EAF43D2D for ; Sun, 31 Oct 2004 17:04:50 +0000 (GMT) (envelope-from lists-freebsd-hackers@biaix.org) Received: (qmail 92786 invoked by uid 1000); 31 Oct 2004 17:02:25 -0000 Date: Sun, 31 Oct 2004 18:02:25 +0100 From: Joan Picanyol Message-ID: <20041031170225.GA92611@grummit.biaix.org> References: <20041031114210.GA46741@kukulies.org> <20041031152426.P81269@mp2.macomnet.net> <20041031124704.GA47288@kukulies.org> <20041031135534.GA47952@kukulies.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031135534.GA47952@kukulies.org> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 17:04:51 -0000 * Christoph P. Kukulies [20041031 14:53]: > On Sun, Oct 31, 2004 at 01:47:04PM +0100, Christoph P. Kukulies wrote: > > On Sun, Oct 31, 2004 at 03:26:04PM +0300, Maxim Konovalov wrote: > > > [...] > > > > Any idea what I can do now? > > > > > > > > I wrote a little program that opens /dev/ad2s1e > > > > > > [...] > > > > I'm not sure whether my approach is correct. > > > > > > src/tools/tools/find-sb [...] > kukuboo2k# fsck_ffs -b 19854352 /dev/ad2s1e > Alternate super block location: 19854352 > ** /dev/ad2s1e > 19854352 is not a file system superblock > kukuboo2k# fsck_ffs -b 19854368 /dev/ad2s1e > Alternate super block location: 19854368 > ** /dev/ad2s1e > ** Last Mounted on > ** Phase 1 - Check Blocks and Sizes > 1496 DUP I=3 > 1497 DUP I=3 > 1498 DUP I=3 > > CANNOT READ BLK: 21443008 Looks like the drive is going... src/tools/tools/recoverdisk qvb -- pica From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 19:42:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 221CF16A4CE for ; Sun, 31 Oct 2004 19:42:20 +0000 (GMT) Received: from mail2.numachi.com (mail2.numachi.com [198.175.254.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 7CA3843D1D for ; Sun, 31 Oct 2004 19:42:19 +0000 (GMT) (envelope-from reichert@numachi.com) Received: (qmail 78158 invoked from network); 31 Oct 2004 19:42:18 -0000 Received: from natto.numachi.com (198.175.254.216) by mail2.numachi.com with SMTP; 31 Oct 2004 19:42:18 -0000 Received: (qmail 70338 invoked by uid 1001); 31 Oct 2004 19:42:18 -0000 Date: Sun, 31 Oct 2004 14:42:18 -0500 From: Brian Reichert To: "Christoph P. Kukulies" Message-ID: <20041031194218.GH82832@numachi.com> References: <20041031114210.GA46741@kukulies.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031114210.GA46741@kukulies.org> User-Agent: Mutt/1.5.6i cc: hackers@freebsd.org Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 19:42:20 -0000 On Sun, Oct 31, 2004 at 12:42:10PM +0100, Christoph P. Kukulies wrote: > Yesterday a major desaster happened: I stumbled across the power cable of my > Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running > at that time. Nothing seemed to got damaged, just a palm rest popped off. Wouldn't 'newfs -n ' tell you were they would be (assuming you can recreate the options used on your FS to begin with)? > -- > Chris Christoph P. U. Kukulies kuku_at_kukulies.org > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Brian Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 19:48:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3255C16A4CE for ; Sun, 31 Oct 2004 19:48:44 +0000 (GMT) Received: from www.kukulies.org (www.kukulies.org [213.146.112.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E4C943D53 for ; Sun, 31 Oct 2004 19:48:43 +0000 (GMT) (envelope-from kuku@www.kukulies.org) Received: from www.kukulies.org (localhost [127.0.0.1]) by www.kukulies.org (8.12.11/8.12.10) with ESMTP id i9VJmex9050623; Sun, 31 Oct 2004 20:48:40 +0100 (CET) (envelope-from kuku@www.kukulies.org) Received: (from kuku@localhost) by www.kukulies.org (8.12.11/8.12.10/Submit) id i9VJmd55050622; Sun, 31 Oct 2004 20:48:39 +0100 (CET) (envelope-from kuku) Date: Sun, 31 Oct 2004 20:48:39 +0100 From: "Christoph P. Kukulies" To: Brian Reichert Message-ID: <20041031194839.GA50581@kukulies.org> References: <20041031114210.GA46741@kukulies.org> <20041031194218.GH82832@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031194218.GH82832@numachi.com> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: finding alternate superblocks in ffs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 19:48:44 -0000 On Sun, Oct 31, 2004 at 02:42:18PM -0500, Brian Reichert wrote: > On Sun, Oct 31, 2004 at 12:42:10PM +0100, Christoph P. Kukulies wrote: > > Yesterday a major desaster happened: I stumbled across the power cable of my > > Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running > > at that time. Nothing seemed to got damaged, just a palm rest popped off. > > Wouldn't 'newfs -n ' tell you were they would be (assuming > you can recreate the options used on your FS to begin with)? you mean -N ? Indeed. That prints the superblock backups. Nice option. I was able to dd if=/dev/ad2s1e without any errors (funny that the fsck says it cannot read lotsa blocks). I moved that (10GB) dump to another machine where I might mount it on a virtual device and perform further recovery measures. Any ideas how to proceed? -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 31 21:41:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5997016A4CE for ; Sun, 31 Oct 2004 21:41:01 +0000 (GMT) Received: from www.kukulies.org (www.kukulies.org [213.146.112.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA4143D3F for ; Sun, 31 Oct 2004 21:41:00 +0000 (GMT) (envelope-from kuku@www.kukulies.org) Received: from www.kukulies.org (localhost [127.0.0.1]) by www.kukulies.org (8.12.11/8.12.10) with ESMTP id i9VLewc0051767 for ; Sun, 31 Oct 2004 22:40:58 +0100 (CET) (envelope-from kuku@www.kukulies.org) Received: (from kuku@localhost) by www.kukulies.org (8.12.11/8.12.10/Submit) id i9VLevdg051766 for hackers@freebsd.org; Sun, 31 Oct 2004 22:40:57 +0100 (CET) (envelope-from kuku) Date: Sun, 31 Oct 2004 22:40:57 +0100 From: "Christoph P. Kukulies" To: hackers@freebsd.org Message-ID: <20041031214057.GA51676@kukulies.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: mdconfig - need some help X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 21:41:01 -0000 I'm trying to recover a filesystem. I dd'd /dev/ad2s1e into a 10 GB file and transfered it to another system. # mdconfig -a -t vnode -f ad2s1.dmp md2 # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 257838 168758 68454 71% / devfs 1 1 0 100% /dev /dev/ad0s1e 257838 4752 232460 2% /tmp /dev/ad0s1f 57829724 32600992 20602356 61% /usr /dev/ad0s1d 257838 91456 145756 39% /var procfs 4 4 0 100% /proc # mount /dev/md2 /mnt mount: /dev/md2 on /mnt: incorrect super block # fsck /dev/md2 fsck: Could not determine filesystem type # fsck -t ffs /dev/md2 ** /dev/md2 Cannot find file system superblock ioctl (GCINFO): Inappropriate ioctl for device fsck_ffs: /dev/md2: can't read disk label What am I doing wrong? -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 03:31:16 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C377516A4CE for ; Mon, 1 Nov 2004 03:31:16 +0000 (GMT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 2AF5643D31 for ; Mon, 1 Nov 2004 03:31:15 +0000 (GMT) (envelope-from lists-freebsd-hackers@biaix.org) Received: (qmail 97511 invoked by uid 1000); 1 Nov 2004 03:28:50 -0000 Date: Mon, 1 Nov 2004 04:28:50 +0100 From: Joan Picanyol To: "Christoph P. Kukulies" Message-ID: <20041101032850.GB96908@grummit.biaix.org> References: <20041031214057.GA51676@kukulies.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031214057.GA51676@kukulies.org> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: mdconfig - need some help X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 03:31:16 -0000 * Christoph P. Kukulies [20041031 22:38]: > # fsck /dev/md2 > fsck: Could not determine filesystem type I've seen this if /dev/md2 is not in /etc/fstab > # fsck -t ffs /dev/md2 > ** /dev/md2 > Cannot find file system superblock > ioctl (GCINFO): Inappropriate ioctl for device > fsck_ffs: /dev/md2: can't read disk label Apparently, fsck needs a disklabel. I /again/ suggest using src/tools/tools/recoverdisk and try to get as much as possible from your disk; let it run a couple times to diferent files. Start from there again. good luck -- pica From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 15:10:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BFD716A4CE for ; Mon, 1 Nov 2004 15:10:02 +0000 (GMT) Received: from invasion.mail.pas.earthlink.net (invasion.mail.pas.earthlink.net [207.217.120.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 351F443D48 for ; Mon, 1 Nov 2004 15:10:02 +0000 (GMT) (envelope-from martes.wigglesworth@earthlink.net) Received: from [213.209.169.198] (helo=[192.168.1.50]) by invasion.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1COdol-0005Fs-7K; Mon, 01 Nov 2004 07:10:01 -0800 From: Martes Wigglesworth To: Andreas Kohn , Hackers-list-bsd In-Reply-To: <4185F81F.9030004@gmx.net> References: <20041030120101.CB1E616A4D5@hub.freebsd.org> <1099148287.1232.3.camel@Mobile1.276NET> <4185F81F.9030004@gmx.net> Content-Type: text/plain Organization: Wiggtekmicro Corporation Message-Id: <1099321796.628.5.camel@Mobile1.276NET> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 01 Nov 2004 18:09:57 +0300 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 532caf459ba90ce6996df0496707a79d9bea09fe345ed53d9ef193a6bfc3dd486088a8451a09ddc78f0e3c82021e11ca08a8bb3e8e732a70350badd9bab72f9c X-Originating-IP: 213.209.169.198 Subject: Re: EHCI Kernel Panic w/ 5.2.1-RELEASE Kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: martes.wigglesworth@earthlink.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 15:10:02 -0000 My kernel panic seems to come from the usb port actually having a device in the port, at boot. When I do not have a device in the port, bootup continues, however, my usb ports are not usable. This is my dmesg output. > dmesg|grep usb usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 usb3: unrecoverable error, controller halted usb3: blocking intrs 0x10 usb3: port reset timeout > Any ideas? I am not getting mail from the questions forum, yet, so I just thought that I would post here, just in case someone has a solution -- Respectfully, M.G.W. System: Asus M6N Intel Dothan 1.7 512MB RAM 40GB HD 10/100/1000 NIC Wireless b/g (not working yet) BSD-5.2.1 GCC-3.3.5/3.3.3(until I replace indigenous gcc) IFORT-for linux(Intell Fortran) gfortran python-2.3 Perl-5.6.1/5.8.5 Java-sdk-1.4.2_5 KDE-3.1.4 From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 15:11:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 556FD16A4CE for ; Mon, 1 Nov 2004 15:11:18 +0000 (GMT) Received: from starling.mail.pas.earthlink.net (starling.mail.pas.earthlink.net [207.217.120.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04AB943D39 for ; Mon, 1 Nov 2004 15:11:18 +0000 (GMT) (envelope-from martes.wigglesworth@earthlink.net) Received: from [213.209.169.198] (helo=[192.168.1.50]) by starling.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1COdpy-0003Mv-Qz; Mon, 01 Nov 2004 07:11:17 -0800 From: Martes Wigglesworth To: Andreas Kohn , Hackers-list-bsd In-Reply-To: <4185F81F.9030004@gmx.net> References: <20041030120101.CB1E616A4D5@hub.freebsd.org> <1099148287.1232.3.camel@Mobile1.276NET> <4185F81F.9030004@gmx.net> Content-Type: text/plain Organization: Wiggtekmicro Corporation Message-Id: <1099321875.628.8.camel@Mobile1.276NET> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 01 Nov 2004 18:11:15 +0300 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 532caf459ba90ce6996df0496707a79d9bea09fe345ed53d9ef193a6bfc3dd486088a8451a09ddc7907d2388e49b73f4547562a158a8cca8350badd9bab72f9c X-Originating-IP: 213.209.169.198 Subject: Re: EHCI Kernel Panic w/ 5.2.1-RELEASE Kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: martes.wigglesworth@earthlink.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 15:11:18 -0000 My kernel panic seems to come from the usb port actually having a device in the port, at boot. When I do not have a device in the port, bootup continues, however, my usb ports are not usable. This is my dmesg output. > dmesg|grep usb usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 usb3: unrecoverable error, controller halted usb3: blocking intrs 0x10 usb3: port reset timeout > Any ideas? I am not getting mail from the questions forum, yet, so I just thought that I would post here, just in case someone has a solution -- Respectfully, M.G.W. System: Asus M6N Intel Dothan 1.7 512MB RAM 40GB HD 10/100/1000 NIC Wireless b/g (not working yet) BSD-5.2.1 GCC-3.3.5/3.3.3(until I replace indigenous gcc) IFORT-for linux(Intell Fortran) gfortran python-2.3 Perl-5.6.1/5.8.5 Java-sdk-1.4.2_5 KDE-3.1.4 From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 15:18:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B17116A4CE; Mon, 1 Nov 2004 15:18:11 +0000 (GMT) Received: from av6-1-sn3.vrr.skanova.net (av6-1-sn3.vrr.skanova.net [81.228.9.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39A1D43D55; Mon, 1 Nov 2004 15:18:10 +0000 (GMT) (envelope-from martin@gneto.com) Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 1243D382ED; Mon, 1 Nov 2004 16:18:09 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id F19F338193; Mon, 1 Nov 2004 16:18:08 +0100 (CET) Received: from [192.168.2.30] (h118n1fls31o985.telia.com [213.65.16.118]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id DFF6B37E50; Mon, 1 Nov 2004 16:18:08 +0100 (CET) Message-ID: <418653A9.90100@gneto.com> Date: Mon, 01 Nov 2004 16:18:01 +0100 From: Martin Nilsson User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: Hackers-list-bsd References: <20041030120101.CB1E616A4D5@hub.freebsd.org> <1099148287.1232.3.camel@Mobile1.276NET> <4185F81F.9030004@gmx.net> <1099321796.628.5.camel@Mobile1.276NET> In-Reply-To: <1099321796.628.5.camel@Mobile1.276NET> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: re@freebsd.org Subject: Re: EHCI Kernel Panic w/ 5.2.1-RELEASE Kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 15:18:11 -0000 Martes Wigglesworth wrote: > My kernel panic seems to come from the usb port actually having a device > in the port, at boot. When I do not have a device in the port, bootup > continues, however, my usb ports are not usable. This is my dmesg > output. I have the same problem with a SeverWorks P3 machine and a 7in1 USB cardreader. It panics at the end of kernel init if the cardreader is plugged into the machine. This machine does not have EHCI controller or USB 2.0 I don't know if this considered a showstopper for 5.3R but it can be very confusing if you don't know what is causing the panic! Not a good first FreeBSD experience! /Martin From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 15:21:28 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F02816A4CE for ; Mon, 1 Nov 2004 15:21:28 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 95AED43D41 for ; Mon, 1 Nov 2004 15:21:27 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 47387 invoked by uid 0); 1 Nov 2004 15:19:54 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.165.87) by node15.coopprint.com with SMTP; 1 Nov 2004 15:19:54 -0000 Message-ID: <41865482.5020504@gamersimpact.com> Date: Mon, 01 Nov 2004 09:21:38 -0600 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Nilsson References: <20041030120101.CB1E616A4D5@hub.freebsd.org> <1099148287.1232.3.camel@Mobile1.276NET> <4185F81F.9030004@gmx.net> <1099321796.628.5.camel@Mobile1.276NET> <418653A9.90100@gneto.com> In-Reply-To: <418653A9.90100@gneto.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Hackers-list-bsd Subject: Re: EHCI Kernel Panic w/ 5.2.1-RELEASE Kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 15:21:28 -0000 Martin Nilsson wrote: > Martes Wigglesworth wrote: > >> My kernel panic seems to come from the usb port actually having a device >> in the port, at boot. When I do not have a device in the port, bootup >> continues, however, my usb ports are not usable. This is my dmesg >> output. > > > I have the same problem with a SeverWorks P3 machine and a 7in1 USB > cardreader. It panics at the end of kernel init if the cardreader is > plugged into the machine. This machine does not have EHCI controller > or USB 2.0 > > I don't know if this considered a showstopper for 5.3R but it can be > very confusing if you don't know what is causing the panic! Not a good > first FreeBSD experience! I don't think this constitutes a show stopper. A show stopper would be if a bug in sysinstall caused it to zero all your harddrives regardless of your desires. -- Ryan Sommers ryans@gamersimpact.com From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 16:23:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C3D16A4CE for ; Mon, 1 Nov 2004 16:23:13 +0000 (GMT) Received: from amsfep18-int.chello.nl (amsfep18-int.chello.nl [213.46.243.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EAF843D5F for ; Mon, 1 Nov 2004 16:23:11 +0000 (GMT) (envelope-from Danovitsch@Vitsch.net) Received: from Vitsch.net ([212.187.78.35]) by amsfep18-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041101162309.CRKF8514.amsfep18-int.chello.nl@Vitsch.net>; Mon, 1 Nov 2004 17:23:10 +0100 Received: from 192.168.2.8 (cp402377-c.venlo1.lb.home.nl [217.122.93.195]) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id iA1GMuun055859; Mon, 1 Nov 2004 17:22:57 +0100 (CET) (envelope-from Danovitsch@Vitsch.net) From: "Daan Vreeken [PA4DAN]" To: martes.wigglesworth@earthlink.net Date: Mon, 1 Nov 2004 17:23:03 +0100 User-Agent: KMail/1.5.2 References: <20041030120101.CB1E616A4D5@hub.freebsd.org> <4185F81F.9030004@gmx.net> <1099321796.628.5.camel@Mobile1.276NET> In-Reply-To: <1099321796.628.5.camel@Mobile1.276NET> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411011723.03121.Danovitsch@Vitsch.net> cc: FreeBSD-hackers@FreeBSD.org Subject: Re: EHCI Kernel Panic w/ 5.2.1-RELEASE Kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 16:23:13 -0000 On Monday 01 November 2004 16:09, Martes Wigglesworth wrote: > My kernel panic seems to come from the usb port actually having a device > in the port, at boot. When I do not have a device in the port, bootup > continues, however, my usb ports are not usable. This is my dmesg > output. > > > dmesg|grep usb > > usb0: on uhci0 > usb0: USB revision 1.0 > usb1: on uhci1 > usb1: USB revision 1.0 > usb2: on uhci2 > usb2: USB revision 1.0 Over a week ago I discovered a bug in the UHCI driver that causes problems when devices are plugged in during boot. I filed a PR with a patch that has been taken into the UHCI driver in -CURRENT : http://www.freebsd.org/cgi/query-pr.cgi?pr=73000 Can you try the patch that's at the end of the PR on your system? (It should patch without a problem on 5.2.1-RELEASE). I'm not sure if it fixes your problem since your problem seems to be EHCI-related, but you never know. Good luck, Daan From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 1 19:34:55 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D60C16A4CE for ; Mon, 1 Nov 2004 19:34:55 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB98943D45 for ; Mon, 1 Nov 2004 19:34:54 +0000 (GMT) (envelope-from rdormer@gmail.com) Received: by rproxy.gmail.com with SMTP id 73so190246rnk for ; Mon, 01 Nov 2004 11:34:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=IZ/btwC/b4QT/zN0fR/aLBzBrq3n9lWx59jnAo4g9iThk29O/8d8lPY+rc5n+KzU9pDsID71C9aUwoju9Q5ROSyK6mu35BFnXzcAoiUoyLayrCGOc9gthbdDWOZrqNBNoFKvzoPd9HggRto30YQFce2VFqJvyx9tk9y1HiQkmGo= Received: by 10.38.13.75 with SMTP id 75mr483369rnm; Mon, 01 Nov 2004 11:34:48 -0800 (PST) Received: by 10.38.76.31 with HTTP; Mon, 1 Nov 2004 11:34:48 -0800 (PST) Message-ID: <3174add6041101113442ae55ee@mail.gmail.com> Date: Mon, 1 Nov 2004 14:34:48 -0500 From: Robert Dormer To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: pkg_add conflicts X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Robert Dormer List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 19:34:55 -0000 Can someone tell me, when was the @conflicts command added to the package system? I keep trying to install things on my 4.9-RELEASE box and getting complaints from pkg_add about this command. -Rob D. From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 15:08:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A43AB16A4CF for ; Tue, 2 Nov 2004 15:08:22 +0000 (GMT) Received: from grsu.by (grsu.by [194.158.202.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 81FFC43D31 for ; Tue, 2 Nov 2004 15:08:20 +0000 (GMT) (envelope-from grog@grsu.by) Received: (qmail 73674 invoked from network); 2 Nov 2004 15:07:29 -0000 Received: from unknown (HELO ?10.31.16.99?) (grog@10.31.16.99) by grsu.by with SMTP; 2 Nov 2004 15:07:28 -0000 Message-ID: <4187A4CC.4080003@grsu.by> Date: Tue, 02 Nov 2004 17:16:28 +0200 From: Yury Tarasievich User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: serial ATA support? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 15:08:22 -0000 Do I understand right (after looking into sources) that 4-STABLE has no support for serial ATA devices?? regards From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 17:17:19 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8A4016A4D4 for ; Tue, 2 Nov 2004 17:17:19 +0000 (GMT) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE2143D48 for ; Tue, 2 Nov 2004 17:17:17 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [194.192.25.143] (laptop.deepcore.dk [194.192.25.143]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id iA2HH8cF092537; Tue, 2 Nov 2004 18:17:10 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <4187C0F1.4020701@DeepCore.dk> Date: Tue, 02 Nov 2004 18:16:33 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040802) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yury Tarasievich References: <4187A4CC.4080003@grsu.by> In-Reply-To: <4187A4CC.4080003@grsu.by> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: freebsd-hackers@freebsd.org Subject: Re: serial ATA support? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 17:17:19 -0000 Yury Tarasievich wrote: > Do I understand right (after looking into sources) that 4-STABLE has no= =20 > support for serial ATA devices?? Almost none, it works with a few controllers that looks like stock ATA=20 ones (HPT fx). Anyhow you want 5.3 to get real SATA support.. --=20 -S=F8ren From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 17:38:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E8EC16A4CE for ; Tue, 2 Nov 2004 17:38:06 +0000 (GMT) Received: from angryfist.fasttrackmonkey.com (angryfist.fasttrackmonkey.com [216.223.196.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C86D343D1D for ; Tue, 2 Nov 2004 17:38:03 +0000 (GMT) (envelope-from spork@fasttrackmonkey.com) Received: (qmail 46104 invoked by uid 2003); 2 Nov 2004 17:34:46 -0000 Received: from spork@fasttrackmonkey.com by angryfist.fasttrackmonkey.com by uid 1001 with qmail-scanner-1.20 (clamscan: 0.65. Clear:RC:1(216.220.116.154):. Processed in 0.075303 secs); 02 Nov 2004 17:34:46 -0000 Received: from unknown (HELO ?192.168.0.40?) (216.220.116.154) by 0 with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Nov 2004 17:34:46 -0000 Date: Tue, 2 Nov 2004 12:38:01 -0500 (EST) From: Charles Sprickman X-X-Sender: spork@oof.local To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= In-Reply-To: <4187C0F1.4020701@DeepCore.dk> Message-ID: References: <4187A4CC.4080003@grsu.by> <4187C0F1.4020701@DeepCore.dk> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-934998336-1099417081=:11466" cc: Yury Tarasievich cc: freebsd-hackers@freebsd.org Subject: Re: serial ATA support? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 17:38:06 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-934998336-1099417081=:11466 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE However if you're stuck in that "I need something now, and 5.3 isn't it"=20 space, you can look at SATA drives and a hardware raid controller from=20 3Ware or Adaptec... Charles On Tue, 2 Nov 2004, [ISO-8859-1] S=F8ren Schmidt wrote: > Yury Tarasievich wrote: >> Do I understand right (after looking into sources) that 4-STABLE has no= =20 >> support for serial ATA devices?? > > Almost none, it works with a few controllers that looks like stock ATA on= es=20 > (HPT fx). > Anyhow you want 5.3 to get real SATA support.. > > --=20 > > -S=F8ren > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > --0-934998336-1099417081=:11466-- From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 19:04:12 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3550E16A4CE for ; Tue, 2 Nov 2004 19:04:12 +0000 (GMT) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0373F43D39 for ; Tue, 2 Nov 2004 19:04:12 +0000 (GMT) (envelope-from cliftonr@lava.net) Received: by malasada.lava.net (Postfix, from userid 102) id 6ED29153886; Tue, 2 Nov 2004 09:04:11 -1000 (HST) Date: Tue, 2 Nov 2004 09:04:11 -1000 From: Clifton Royston To: Robert Dormer Message-ID: <20041102190410.GB4511@lava.net> References: <20041102120055.34B7516A4D6@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041102120055.34B7516A4D6@hub.freebsd.org> User-Agent: Mutt/1.4.2i cc: hackers@freebsd.org Subject: Re: pkg_add conflicts X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 19:04:12 -0000 On Tue, Nov 02, 2004 at 12:00:55PM +0000, freebsd-hackers-request@freebsd.org wrote: > Date: Mon, 1 Nov 2004 14:34:48 -0500 > From: Robert Dormer > Subject: pkg_add conflicts > To: freebsd-hackers@freebsd.org > Message-ID: <3174add6041101113442ae55ee@mail.gmail.com> > Content-Type: text/plain; charset=US-ASCII > > Can someone tell me, when was the @conflicts command added to the > package system? I keep trying to install things on my 4.9-RELEASE box > and getting complaints from pkg_add about this command. It was quite a while ago, but the change came from CURRENT and I'm not sure when/if it was backported to 4.x. Install the pkg_install-devel tools, and things will go fine. I'm switched over to using those on 4.8 + patches, and they work smoothly on a number of machines. The @conflicts directive is actually a good thing, as it can prevent various maddening and hard-to-fix problems coming up. If you have trouble installing pkg_install-devel from a package - which you shouldn't - update ports and install pkg_install-devel from ports before switching back to the packaging system. -- Clifton -- Clifton Royston -- cliftonr@tikitechnologies.com Tiki Technologies Lead Programmer/Software Architect Did you ever fly a kite in bed? Did you ever walk with ten cats on your head? Did you ever milk this kind of cow? Well we can do it. We know how. If you never did, you should. These things are fun, and fun is good. -- Dr. Seuss From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 19:38:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D733E16A4CE for ; Tue, 2 Nov 2004 19:38:39 +0000 (GMT) Received: from mx1.z-axis.com (z.axis28.z.subnet.rcn.com [209.122.82.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C08843D49 for ; Tue, 2 Nov 2004 19:38:37 +0000 (GMT) (envelope-from justin@z-axis.com) Received: (qmail 2168 invoked by uid 89); 2 Nov 2004 19:38:37 -0000 Received: from unknown (HELO ?127.0.0.1?) (justin@209.122.82.179) by mx1.z-axis.com with SMTP; 2 Nov 2004 19:38:37 -0000 Message-ID: <4187E23C.7000900@z-axis.com> Date: Tue, 02 Nov 2004 11:38:36 -0800 From: Justin Bennett Organization: Z-Axis, Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Hackers X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ipfw pipes: theoretical speed vs. reality X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 19:38:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, I have recently been setting up pipes to shape bandwidth on our local net. However, unless I am missing something, the TCP overhead seems quite large. If I configure the following pipe: $IPFW pipe 1 config bw 64Kbit/s $IPFW add 31 pipe 1 ip from 192.168.0.1/24 to any $IPFW add 32 pipe 1 ip from any to 192.168.0.1/24 The run traffic from my machine (192.168.0.2) through it, I get less than half the expected bandwidth (3.9KB/s). I tried another test with a 512Kbit/s pipe, and got around 30KB/s. I know on most ATM/FR lines, you can expect about 10% overhead, but 50% seems high. When I remove the pipe, my T1 comes back to life, and I can pull the same data at 160+KB/s. Am I missing something? Thanks, Justin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFBh+I8lNUG+Ne1CZMRAl95AJ973J3YiUIStcyJ5c5gM+i2lrebTACfUE83 4V9bl8bR9GxjHsKqL764hJk= =gc51 -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 19:44:15 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A66316A4CE for ; Tue, 2 Nov 2004 19:44:15 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 417BB43D48 for ; Tue, 2 Nov 2004 19:44:15 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 28CFE7A403; Tue, 2 Nov 2004 11:44:15 -0800 (PST) Message-ID: <4187E38F.2070809@elischer.org> Date: Tue, 02 Nov 2004 11:44:15 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Justin Bennett References: <4187E23C.7000900@z-axis.com> In-Reply-To: <4187E23C.7000900@z-axis.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Hackers Subject: Re: ipfw pipes: theoretical speed vs. reality X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 19:44:15 -0000 Justin Bennett wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > All, > > I have recently been setting up pipes to shape bandwidth on our local > net. > > However, unless I am missing something, the TCP overhead seems quite > large. > > If I configure the following pipe: > > $IPFW pipe 1 config bw 64Kbit/s > $IPFW add 31 pipe 1 ip from 192.168.0.1/24 to any > $IPFW add 32 pipe 1 ip from any to 192.168.0.1/24 > > The run traffic from my machine (192.168.0.2) through it, I get less > than half the expected bandwidth (3.9KB/s). I tried another test with a > 512Kbit/s pipe, and got around 30KB/s. > > I know on most ATM/FR lines, you can expect about 10% overhead, but 50% > seems high. > > When I remove the pipe, my T1 comes back to life, and I can pull the > same data at 160+KB/s. > > Am I missing something? yes you are queuing data in both directions on the same queue, thus serialising it.. use 2 seprarate pipes. one for each direction. > > > Thanks, > > Justin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFBh+I8lNUG+Ne1CZMRAl95AJ973J3YiUIStcyJ5c5gM+i2lrebTACfUE83 > 4V9bl8bR9GxjHsKqL764hJk= > =gc51 > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 19:48:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A6B716A4CE for ; Tue, 2 Nov 2004 19:48:20 +0000 (GMT) Received: from mx1.z-axis.com (z.axis28.z.subnet.rcn.com [209.122.82.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBE5043D53 for ; Tue, 2 Nov 2004 19:48:19 +0000 (GMT) (envelope-from justin@z-axis.com) Received: (qmail 3992 invoked by uid 89); 2 Nov 2004 19:48:19 -0000 Received: from unknown (HELO ?127.0.0.1?) (justin@209.122.82.179) by mx1.z-axis.com with SMTP; 2 Nov 2004 19:48:19 -0000 Message-ID: <4187E483.8050008@z-axis.com> Date: Tue, 02 Nov 2004 11:48:19 -0800 From: Justin Bennett Organization: Z-Axis, Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Hackers References: <4187E23C.7000900@z-axis.com> <4187E38F.2070809@elischer.org> In-Reply-To: <4187E38F.2070809@elischer.org> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ipfw pipes: theoretical speed vs. reality X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 19:48:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | | | Justin Bennett wrote: | | All, | | I have recently been setting up pipes to shape bandwidth on our local | net. | | However, unless I am missing something, the TCP overhead seems quite | large. | | If I configure the following pipe: | | $IPFW pipe 1 config bw 64Kbit/s | $IPFW add 31 pipe 1 ip from 192.168.0.1/24 to any | $IPFW add 32 pipe 1 ip from any to 192.168.0.1/24 | | The run traffic from my machine (192.168.0.2) through it, I get less | than half the expected bandwidth (3.9KB/s). I tried another test with a | 512Kbit/s pipe, and got around 30KB/s. | | I know on most ATM/FR lines, you can expect about 10% overhead, but 50% | seems high. | | When I remove the pipe, my T1 comes back to life, and I can pull the | same data at 160+KB/s. | | Am I missing something? | | | |> yes you are queuing data in both directions on the same queue, thus |> serialising it.. | |> use 2 seprarate pipes. one for each direction. Thanks. I knew it was simple, just couldn't wrap my head around it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFBh+SDlNUG+Ne1CZMRAl4WAJ9DEaiyU9N/SPKGi6WlqdHe2qkhmwCghv7m So0IGU5OchsjXYHduNPm4C8= =ZjYx -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 2 22:26:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CDAC16A4CE for ; Tue, 2 Nov 2004 22:26:11 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id F288F43D46 for ; Tue, 2 Nov 2004 22:26:10 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3E5AF54CE9; Tue, 2 Nov 2004 14:28:12 -0800 (PST) Date: Tue, 2 Nov 2004 14:28:12 -0800 From: Kris Kennaway To: Clifton Royston Message-ID: <20041102222812.GA66048@xor.obsecurity.org> References: <20041102120055.34B7516A4D6@hub.freebsd.org> <20041102190410.GB4511@lava.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20041102190410.GB4511@lava.net> User-Agent: Mutt/1.4.2.1i cc: Robert Dormer cc: hackers@freebsd.org Subject: Re: pkg_add conflicts X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 22:26:11 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 02, 2004 at 09:04:11AM -1000, Clifton Royston wrote: > On Tue, Nov 02, 2004 at 12:00:55PM +0000, freebsd-hackers-request@freebsd= .org wrote: > > Date: Mon, 1 Nov 2004 14:34:48 -0500 > > From: Robert Dormer > > Subject: pkg_add conflicts > > To: freebsd-hackers@freebsd.org > > Message-ID: <3174add6041101113442ae55ee@mail.gmail.com> > > Content-Type: text/plain; charset=3DUS-ASCII > >=20 > > Can someone tell me, when was the @conflicts command added to the=20 > > package system? I keep trying to install things on my 4.9-RELEASE box > > and getting complaints from pkg_add about this command. >=20 > It was quite a while ago, but the change came from CURRENT and I'm > not sure when/if it was backported to 4.x. >=20 > Install the pkg_install-devel tools, and things will go fine. ITYM pkg_install, not -devel (which is a development version that may at a given point contain bugs). Kris --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBiAn7Wry0BWjoQKURApcTAJ9rfGd1X9SXEgb/6EH61aHybPc32gCgiJYW 73ET9EaCbt7SR48/QCOgnoc= =w7p9 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 3 12:24:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5236116A4CE for ; Wed, 3 Nov 2004 12:24:32 +0000 (GMT) Received: from grsu.by (grsu.by [194.158.202.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 8FD6643D3F for ; Wed, 3 Nov 2004 12:24:27 +0000 (GMT) (envelope-from grog@grsu.by) Received: (qmail 56817 invoked from network); 3 Nov 2004 12:23:44 -0000 Received: from unknown (HELO ?10.31.16.99?) (grog@10.31.16.99) by grsu.by with SMTP; 3 Nov 2004 12:23:44 -0000 Message-ID: <4188CFF1.80401@grsu.by> Date: Wed, 03 Nov 2004 14:32:49 +0200 From: Yury Tarasievich User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4187A4CC.4080003@grsu.by> <4187C0F1.4020701@DeepCore.dk> In-Reply-To: <4187C0F1.4020701@DeepCore.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: serial ATA support? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 12:24:32 -0000 S=F8ren Schmidt wrote: > Yury Tarasievich wrote: >=20 >> Do I understand right (after looking into sources) that 4-STABLE has=20 >> no support for serial ATA devices?? >=20 >=20 > Almost none, it works with a few controllers that looks like stock ATA = > ones (HPT fx). > Anyhow you want 5.3 to get real SATA support.. I see. And "needing a 5.3" is bad news. ,Yury From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 02:42:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7939016A4CE for ; Fri, 5 Nov 2004 02:42:22 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D57843D48 for ; Fri, 5 Nov 2004 02:42:22 +0000 (GMT) (envelope-from rdormer@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so5127rng for ; Thu, 04 Nov 2004 18:42:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=NQSZZYlUhx7Gf4DSuwYs0m4zY9bSucCbAXSx3KrsJotzyw3Zmorzg2vlH/egdzLwxV8qqSq55POOJU+yvZH/Rq7wvpIHDdA46SKywlGq+mdsgnySDaPvLhM1K+cSoXDpy0WQ0as/iHYrGwYk46knSuVkzqZ6CHw00nHgZl7zLlg= Received: by 10.38.81.73 with SMTP id e73mr27336rnb; Thu, 04 Nov 2004 18:42:09 -0800 (PST) Received: by 10.38.76.31 with HTTP; Thu, 4 Nov 2004 18:42:09 -0800 (PST) Message-ID: <3174add604110418421ce4d066@mail.gmail.com> Date: Fri, 5 Nov 2004 02:42:09 +0000 From: Robert Dormer To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: gif device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Robert Dormer List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 02:42:22 -0000 Hello all, I've added the requisite pseudo-device gif 4 line to my kernel config and recompiled it, to no avail - the gif device does not appear in the ifconfig listing, and any attempt to use gifconfig fails. Can anyone shed any light on this one? From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 02:59:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BEF816A4CE for ; Fri, 5 Nov 2004 02:59:48 +0000 (GMT) Received: from smtp.mmedia.is (smtp.mmedia.is [217.151.180.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4D3C43D3F for ; Fri, 5 Nov 2004 02:59:45 +0000 (GMT) (envelope-from baldur@foo.is) Received: from tesla.foo.is (postfix@tesla.foo.is [217.151.166.96]) iA52xdgl012068; Fri, 5 Nov 2004 02:59:44 GMT Received: from [192.168.1.1] (abacus.foo.is [192.168.1.1]) by tesla.foo.is (Postfix) with ESMTP id A1CB7A965; Fri, 5 Nov 2004 02:59:39 +0000 (GMT) Message-ID: <418AEC90.2020700@foo.is> Date: Fri, 05 Nov 2004 02:59:28 +0000 From: Baldur Gislason User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040925) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Dormer References: <3174add604110418421ce4d066@mail.gmail.com> In-Reply-To: <3174add604110418421ce4d066@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: gif device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 02:59:48 -0000 ifconfig gif0 create perharps.... Baldur Robert Dormer wrote: >Hello all, > >I've added the requisite > >pseudo-device gif 4 > >line to my kernel config and recompiled it, to no avail - the gif >device does not appear in the ifconfig listing, and any attempt to use >gifconfig fails. Can anyone shed any light on this one? >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > > > > From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 03:05:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 456C116A4CE for ; Fri, 5 Nov 2004 03:05:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A7E843D1F for ; Fri, 5 Nov 2004 03:05:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 9FDEE1FF92F; Fri, 5 Nov 2004 04:05:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id AC16F1FF91D; Fri, 5 Nov 2004 04:05:06 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 9BB6D1538C; Fri, 5 Nov 2004 03:02:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 9920D15384; Fri, 5 Nov 2004 03:02:40 +0000 (UTC) Date: Fri, 5 Nov 2004 03:02:40 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Robert Dormer In-Reply-To: <3174add604110418421ce4d066@mail.gmail.com> Message-ID: References: <3174add604110418421ce4d066@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-hackers@freebsd.org Subject: Re: gif device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 03:05:11 -0000 On Fri, 5 Nov 2004, Robert Dormer wrote: Hi, > I've added the requisite > > pseudo-device gif 4 > > line to my kernel config and recompiled it, to no avail - the gif > device does not appear in the ifconfig listing, and any attempt to use > gifconfig fails. Can anyone shed any light on this one? depends on which version you are using. you could try ifconfig gif0 create and see what happens. -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 4 16:56:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4663D16A4CE for ; Thu, 4 Nov 2004 16:56:44 +0000 (GMT) Received: from prime.gushi.org (prime.gushi.org [65.125.228.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E484D43D45 for ; Thu, 4 Nov 2004 16:56:43 +0000 (GMT) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (danm@localhost.com [127.0.0.1] (may be forged)) by prime.gushi.org (8.13.1/8.13.1) with ESMTP id iA4H1GD6097626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Nov 2004 12:01:16 -0500 (EST) Received: from localhost (danm@localhost) by prime.gushi.org (8.13.1/8.13.1/Submit) with ESMTP id iA4H1FIp097623 for ; Thu, 4 Nov 2004 12:01:15 -0500 (EST) Date: Thu, 4 Nov 2004 12:01:15 -0500 (EST) From: "Dan Mahoney, System Admin" To: hackers@freebsd.org Message-ID: <20041104115425.A95642@prime.gushi.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Fri, 05 Nov 2004 13:41:17 +0000 Subject: Hardware Serial Numbers under FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 16:56:44 -0000 Hey all, I'm trying to create an inventory script for systems that will be loaded via net-boot. I was wondering if there was any useful way to obtain the serial number of devices like the hard drives, processor, and/or motherboard. (as far as I can guess, those are the only things likely to store a serial number in a machine-readable format). I'm scripting in perl, but of course have nothing against making system calls to get at the low-level stuff. Please email me, as I'm not subscribed. -Dan -- ha. you have not met me. ha. but i have sene pictures thanks but uh., seen dammit! SEEN! I don't know who dammit! is. so anyway -Undernet #reboot, October 2nd, 2000, 3AM --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 4 23:22:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EB1516A4CE for ; Thu, 4 Nov 2004 23:22:08 +0000 (GMT) Received: from fridge.docomolabs-usa.com (key1.docomolabs-usa.com [216.98.102.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AF043D46 for ; Thu, 4 Nov 2004 23:22:07 +0000 (GMT) (envelope-from shah@docomolabs-usa.com) Message-ID: <003f01c4c2c5$17e2c560$8a6115ac@dcml.docomolabsusa.com> From: "Devesh Shah" To: Date: Thu, 4 Nov 2004 15:22:03 -0800 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 05 Nov 2004 13:41:17 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Loadable Scheduler in Freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 23:22:08 -0000 Hi, Hoping that this is the correct alias.... Is there a loadable scheduler exist for freebsd 5.2.1 that I could use = or any work in the pipeline to develope the infrastructure for freebsd? = I believe, Linux has policy based loadable scheduler but could not = find one for freebsd. I know, Freebsd provides 4bsd and ULE scheduer = based on the option that one sets in kernel config file. Based on the SYSINIT framework, I have made ULE scheduler as a loadable = module but have not quite figured how to migrate from default 4bsd to newly loaded ule scheduler = or is it possible at all. Any help is appreciated so I would not duplicate the effort. thanks, -devesh From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 15:56:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF34616A4CE for ; Fri, 5 Nov 2004 15:56:48 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 886B243D41 for ; Fri, 5 Nov 2004 15:56:48 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iA5FumNp092119; Fri, 5 Nov 2004 09:56:48 -0600 (CST) (envelope-from dan) Date: Fri, 5 Nov 2004 09:56:47 -0600 From: Dan Nelson To: "Dan Mahoney, System Admin" Message-ID: <20041105155647.GG10428@dan.emsphone.com> References: <20041104115425.A95642@prime.gushi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041104115425.A95642@prime.gushi.org> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: hackers@freebsd.org Subject: Re: Hardware Serial Numbers under FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 15:56:48 -0000 In the last episode (Nov 04), Dan Mahoney, System Admin said: > Hey all, I'm trying to create an inventory script for systems that > will be loaded via net-boot. I was wondering if there was any useful > way to obtain the serial number of devices like the hard drives, > processor, and/or motherboard. (as far as I can guess, those are the > only things likely to store a serial number in a machine-readable > format). You can get the serial number of scsi disks with "camcontrol inq da0 -S", once for each drive. I don't have any cpus with serial numbers, but if you have a P4 with it enabled, I think the cpuid command in ports can print it. As for the motherboard serial number, you'll probably need to open the case to get that, but try the "dmidecode" port. My Asus board prints a serial number of "xxxxxxxxxxx", but other boards might actually put a real value in there. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 16:15:19 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 080EB16A4CF for ; Fri, 5 Nov 2004 16:15:19 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B67143D4C for ; Fri, 5 Nov 2004 16:15:18 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 344333E98; Fri, 5 Nov 2004 17:15:17 +0100 (CET) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id 18E143D09; Fri, 5 Nov 2004 17:15:15 +0100 (CET) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id C32B84088; Fri, 5 Nov 2004 17:15:13 +0100 (CET) To: "Dan Mahoney, System Admin" In-Reply-To: <20041104115425.A95642@prime.gushi.org> (Dan Mahoney's message of "Thu, 4 Nov 2004 12:01:15 -0500 (EST)") References: <20041104115425.A95642@prime.gushi.org> From: Arne Schwabe Date: Fri, 05 Nov 2004 17:15:13 +0100 Message-ID: <864qk4e0ha.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: hackers@freebsd.org Subject: Re: Hardware Serial Numbers under FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 16:15:19 -0000 "Dan Mahoney, System Admin" writes: > Hey all, I'm trying to create an inventory script for systems that will be > loaded via net-boot. I was wondering if there was any useful way to > obtain the serial number of devices like the hard drives, processor, > and/or motherboard. (as far as I can guess, those are the only things > likely to store a serial number in a machine-readable format). > > I'm scripting in perl, but of course have nothing against making system > calls to get at the low-level stuff. for harddisk you can try smartctl, for bios/mainboard you can try dmidecode (in ports). Arne -- compiling millions of tiny c-programs...done checking for a working configure script... not found From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 16:53:16 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41E5216A4CE for ; Fri, 5 Nov 2004 16:53:16 +0000 (GMT) Received: from mail.secureworks.net (mail.secureworks.net [209.101.212.155]) by mx1.FreeBSD.org (Postfix) with SMTP id B2DE343D4C for ; Fri, 5 Nov 2004 16:53:15 +0000 (GMT) (envelope-from mdg@secureworks.net) Received: (qmail 48752 invoked from network); 5 Nov 2004 16:52:58 -0000 Received: from unknown (HELO HOST-192-168-8-243.internal.secureworks.net) (209.101.212.253) by mail.secureworks.net with SMTP; 5 Nov 2004 16:52:58 -0000 Date: Fri, 5 Nov 2004 11:52:54 -0500 (EST) From: Matthew George X-X-Sender: mdg@localhost To: Dan Nelson In-Reply-To: <20041105155647.GG10428@dan.emsphone.com> Message-ID: <20041105115154.C28258@localhost> References: <20041104115425.A95642@prime.gushi.org> <20041105155647.GG10428@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: "Dan Mahoney, System Admin" Subject: Re: Hardware Serial Numbers under FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 16:53:16 -0000 On Fri, 5 Nov 2004, Dan Nelson wrote: > ports can print it. As for the motherboard serial number, you'll > probably need to open the case to get that, but try the "dmidecode" > port. My Asus board prints a serial number of "xxxxxxxxxxx", but other > boards might actually put a real value in there. > > If you have IBM hardware, you can use vpd(4) -- Matthew George SecureWorks Technical Operations From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 5 21:26:45 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 976B616A4CE for ; Fri, 5 Nov 2004 21:26:45 +0000 (GMT) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A22E43D2D for ; Fri, 5 Nov 2004 21:26:45 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.13.1/8.12.10) with ESMTP id iA5LQIEM006894; Fri, 5 Nov 2004 16:26:18 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.13.1/8.12.10/Submit) id iA5LQIET006893; Fri, 5 Nov 2004 16:26:18 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Fri, 5 Nov 2004 16:26:18 -0500 From: David Schultz To: Devesh Shah Message-ID: <20041105212617.GA6762@VARK.MIT.EDU> Mail-Followup-To: Devesh Shah , FreeBSD-hackers@FreeBSD.ORG References: <003f01c4c2c5$17e2c560$8a6115ac@dcml.docomolabsusa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003f01c4c2c5$17e2c560$8a6115ac@dcml.docomolabsusa.com> cc: FreeBSD-hackers@FreeBSD.ORG Subject: Re: Loadable Scheduler in Freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 21:26:45 -0000 On Thu, Nov 04, 2004, Devesh Shah wrote: > Is there a loadable scheduler exist for freebsd 5.2.1 that I > could use or any work in the pipeline to develope the > infrastructure for freebsd? I believe, Linux has policy based > loadable scheduler but could not find one for freebsd. I know, > Freebsd provides 4bsd and ULE scheduer based on the option that > one sets in kernel config file. This was discussed before around the time ULE was first committed. In short, it wouldn't be amazingly difficult to implement loadable schedulers, but the feature isn't useful enough to justify the added complexity of handing everything off from one scheduler to another. Realistically, how many times a day do you want to change from one scheduling algorithm to another? It would be more useful to write a scheduler that is able to cope with multiple priority classes (e.g. RR realtime, priority, fair share) for different sets of processes simultaneously, with a configurable way to balance load between them. (You could look at Solaris' processor sets for ideas on how to do the partitioning, although Solaris doesn't allow you to specify different scheduling algorithms.) Even this may be more complicated than what people need, however. Yet another interesting idea in this space is fine-grained application control over thread scheduling for KSE. See: http://www.cs.berkeley.edu/~brewer/papers/capriccio-sosp-2003.pdf From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 02:13:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02DA916A4CE for ; Sat, 6 Nov 2004 02:13:18 +0000 (GMT) Received: from smtp2.via.net (smtp2.via.net [209.81.9.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF98943D39 for ; Sat, 6 Nov 2004 02:13:17 +0000 (GMT) (envelope-from joe@via.net) Received: from mail.via.net (mail.via.net [209.81.9.12]) iA62DHB0008294 for ; Fri, 5 Nov 2004 18:13:17 -0800 (PST) Received: from [209.81.2.54] (iphone5.VIA.NET [209.81.2.54]) by mail.via.net (8.12.9p1/8.12.7) with ESMTP id iA62DE8a073314 for ; Fri, 5 Nov 2004 18:13:14 -0800 (PST) (envelope-from joe@via.net) User-Agent: Microsoft-Entourage/10.1.6.040913.0 Date: Fri, 05 Nov 2004 18:13:19 -0800 From: joe mcguckin To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: ClamAV 0.80/559/Thu Oct 28 06:08:33 2004 clamav-milter version 0.80j on smtp2.via.net X-Virus-Status: Clean Subject: Can ifconfig modify mac address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 02:13:18 -0000 Has ifconfig been updated to that the mac address can be modified? FreeBSD used to not allow this... Joe -- Joe McGuckin ViaNet Communications 994 San Antonio Road Palo Alto, CA 94303 Phone: 650-213-1302 Cell: 650-207-0372 Fax: 650-969-2124 From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 02:17:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B2A16A4CE for ; Sat, 6 Nov 2004 02:17:20 +0000 (GMT) Received: from imf24aec.mail.bellsouth.net (imf24aec.mail.bellsouth.net [205.152.59.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B461643D48 for ; Sat, 6 Nov 2004 02:17:19 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from [192.168.1.5] ([68.209.163.3]) by imf24aec.mail.bellsouth.netESMTP <20041106021718.DZQK2410.imf24aec.mail.bellsouth.net@[192.168.1.5]>; Fri, 5 Nov 2004 21:17:18 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1--1006333604" Message-Id: Content-Transfer-Encoding: 7bit From: Michael Johnson Date: Fri, 5 Nov 2004 21:17:14 -0500 To: joe mcguckin X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) cc: FreeBSD-hackers@freebsd.org Subject: Re: Can ifconfig modify mac address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 02:17:20 -0000 --Apple-Mail-1--1006333604 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed It really depends on if you card supports it see http://ezine.daemonnews.org/200406/netgraph.html Michael On Nov 5, 2004, at 9:13 PM, joe mcguckin wrote: > Has ifconfig been updated to that the mac address can be modified? > FreeBSD > used to not allow this... > > Joe > > -- > > Joe McGuckin > > ViaNet Communications > 994 San Antonio Road > Palo Alto, CA 94303 > > Phone: 650-213-1302 > Cell: 650-207-0372 > Fax: 650-969-2124 > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" --Apple-Mail-1--1006333604 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBjDQqn4uqfTwEb9YRAg4mAJ9gyGp5i9bKFSut7G2balClilwskQCdE7BP cfH4z+uztQUfReg2weEKDD0= =JTFy -----END PGP SIGNATURE----- --Apple-Mail-1--1006333604-- From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 02:20:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EE4D16A4CE for ; Sat, 6 Nov 2004 02:20:31 +0000 (GMT) Received: from priv-edtnes28.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id C871643D48 for ; Sat, 6 Nov 2004 02:20:30 +0000 (GMT) (envelope-from pfak@telus.net) Received: from hartkiem2nnl7x ([64.180.28.217]) by priv-edtnes28.telusplanet.netSMTP <20041106022030.RTXX27486.priv-edtnes28.telusplanet.net@hartkiem2nnl7x> for ; Fri, 5 Nov 2004 19:20:30 -0700 Message-ID: <001a01c4c3a7$31597ec0$bb01a8c0@hartkiem2nnl7x> From: "Peter Kieser" To: References: Date: Fri, 5 Nov 2004 18:20:32 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: Can ifconfig modify mac address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 02:20:31 -0000 ifconfig ether -- Peter Kieser Home: 604.338.9294 / Email: pfak@telus.net // "Learn from yesterday, live for today, hope for tomorrow." // ----- Original Message ----- From: "joe mcguckin" To: Sent: Friday, November 05, 2004 6:13 PM Subject: Can ifconfig modify mac address? > Has ifconfig been updated to that the mac address can be modified? FreeBSD > used to not allow this... > > Joe > > -- > > Joe McGuckin > > ViaNet Communications > 994 San Antonio Road > Palo Alto, CA 94303 > > Phone: 650-213-1302 > Cell: 650-207-0372 > Fax: 650-969-2124 > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 07:00:41 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A48F16A4CE; Sat, 6 Nov 2004 07:00:41 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DCF143D46; Sat, 6 Nov 2004 07:00:40 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id B04EF651FA; Sat, 6 Nov 2004 07:00:38 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46923-02-5; Sat, 6 Nov 2004 07:00:38 +0000 (GMT) Received: from empiric.dek.spc.org (dhcp120.icir.org [192.150.187.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 0EF7A651F4; Sat, 6 Nov 2004 07:00:38 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 7F4B46253; Fri, 5 Nov 2004 23:00:27 -0800 (PST) Date: Fri, 5 Nov 2004 23:00:27 -0800 From: Bruce M Simpson To: freebsd-hackers@FreeBSD.org Message-ID: <20041106070027.GB11401@empiric.icir.org> Mail-Followup-To: freebsd-hackers@FreeBSD.org, kan@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2Z2K0IlrPCVsbNpk" Content-Disposition: inline cc: kan@FreeBSD.org Subject: c++filt is broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 07:00:41 -0000 --2Z2K0IlrPCVsbNpk Content-Type: multipart/mixed; boundary="32u276st3Jlj2kUU" Content-Disposition: inline --32u276st3Jlj2kUU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline c++filt is broken, at least on 5.3 and -CURRENT. It no longer builds during a buildworld. This is really annoying for those of using the base system compiler to build large C++ projects. I've attached a Makefile which works for me; I haven't integrated it into my local buildworld, though. BMS --32u276st3Jlj2kUU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=Makefile # $XORP$ S= /usr/src .PATH: $S/contrib/gcc PROG= c++filt SRCS= cp-demangle.c dyn-string.c CFLAGS+= -DSTANDALONE_DEMANGLER CFLAGS+= -Dxmalloc=malloc -Dxrealloc=realloc LDADD+= -lgcc NOMAN= defined test: ${PROG} ${.OBJDIR}/${PROG} < ${.CURDIR}/sample .include --32u276st3Jlj2kUU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=sample N11__gnu_debug14_Safe_iteratorIN10__gnu_norm14_List_iteratorIP7BGPPeerEEN15__gnu_debug_def4listIS4_SaIS4_EEEEE --32u276st3Jlj2kUU-- --2Z2K0IlrPCVsbNpk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFBjHaKueUpAYYNtTsRAovDAJ9tFbweHHvvtAKhrtrt+od+u7BkYQCcCw+h nW99tmP/95rxEC41qURxE6c= =BAOh -----END PGP SIGNATURE----- --2Z2K0IlrPCVsbNpk-- From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 14:22:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8294E16A4CE for ; Sat, 6 Nov 2004 14:22:13 +0000 (GMT) Received: from wat.spinweb.net (wat.spinweb.net [204.2.109.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1859443D2F for ; Sat, 6 Nov 2004 14:22:13 +0000 (GMT) (envelope-from support@twginc.net) Received: from envoi (adsl-68-250-86-180.dsl.ipltin.ameritech.net [68.250.86.180]) (authenticated bits=0) by wat.spinweb.net (8.13.1/8.12.6) with ESMTP id iA6EMBkp001589 for ; Sat, 6 Nov 2004 09:22:12 -0500 (EST) (envelope-from support@twginc.net) From: "TWG Engineering" To: Date: Sat, 6 Nov 2004 09:22:13 -0500 Message-ID: <002601c4c40c$034965d0$4200a8c0@envoi> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: FreeBSD 4.7-RELEASE-p27 (VKERN) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 14:22:13 -0000 Dear group, I am interested in setting up a server for my students at University of Indianapolis with a virtual OS configuration. I have used servers with = the VKERN configuration. I have not been able to find information on = setting up a box with whatever current release has this feature set available. = Thanks ahead of time for any information. From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 19:21:25 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACEE416A4CE for ; Sat, 6 Nov 2004 19:21:25 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 852D943D39 for ; Sat, 6 Nov 2004 19:21:25 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 4523 invoked from network); 6 Nov 2004 19:21:25 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Nov 2004 19:21:24 -0000 Received: from hydrogen.funkthat.com (wnspsl@localhost.funkthat.com [127.0.0.1])iA6JLOB6070277; Sat, 6 Nov 2004 11:21:24 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id iA6JLNCQ070276; Sat, 6 Nov 2004 11:21:23 -0800 (PST) Date: Sat, 6 Nov 2004 11:21:23 -0800 From: John-Mark Gurney To: Devesh Shah Message-ID: <20041106192122.GE22681@funkthat.com> Mail-Followup-To: Devesh Shah , FreeBSD-hackers@FreeBSD.org References: <003f01c4c2c5$17e2c560$8a6115ac@dcml.docomolabsusa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003f01c4c2c5$17e2c560$8a6115ac@dcml.docomolabsusa.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: FreeBSD-hackers@FreeBSD.org Subject: Re: Loadable Scheduler in Freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 19:21:25 -0000 Devesh Shah wrote this message on Thu, Nov 04, 2004 at 15:22 -0800: > Based on the SYSINIT framework, I have made ULE scheduler as a loadable module but have not quite > figured how to migrate from default 4bsd to newly loaded ule scheduler or is it possible at all. As someone suggested, switches schedulers would be very complex.. what would be much more doable is require a scheduler module loaded by loader, and then select which scheduler from the loader... (though I don't know how many ifdef's outside scheduler modules exist today).. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 19:35:59 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 352B916A4CE for ; Sat, 6 Nov 2004 19:35:59 +0000 (GMT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 206AA43D49 for ; Sat, 6 Nov 2004 19:35:59 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id iA6JZqJZ095366; Sat, 6 Nov 2004 11:35:52 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id iA6JZqEQ095365; Sat, 6 Nov 2004 11:35:52 -0800 (PST) (envelope-from rizzo) Date: Sat, 6 Nov 2004 11:35:52 -0800 From: Luigi Rizzo To: Devesh Shah , FreeBSD-hackers@FreeBSD.org Message-ID: <20041106113552.A95250@xorpc.icir.org> References: <003f01c4c2c5$17e2c560$8a6115ac@dcml.docomolabsusa.com> <20041106192122.GE22681@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20041106192122.GE22681@funkthat.com>; from gurney_j@resnet.uoregon.edu on Sat, Nov 06, 2004 at 11:21:23AM -0800 Subject: Re: Loadable Scheduler in Freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 19:35:59 -0000 On Sat, Nov 06, 2004 at 11:21:23AM -0800, John-Mark Gurney wrote: > Devesh Shah wrote this message on Thu, Nov 04, 2004 at 15:22 -0800: > > Based on the SYSINIT framework, I have made ULE scheduler as a loadable module but have not quite > > figured how to migrate from default 4bsd to newly loaded ule scheduler or is it possible at all. > > As someone suggested, switches schedulers would be very complex.. actually i beg to differ, as we implemented it in 4.x back in summer 2002 -- our code allowed to switch between schedulers at runtime, and we had a prototype Proportional Share (PS for short) scheduler which you could use instead of the standard BSD one. I don't see much of a problem in switching schedulers at runtime, if you properly hide the scheduler's internal information from the process' descriptor, which is what we did. At which point, switching scheduler only requires to rearrange the scheduler's information with no impact on the process descriptor or state. Of course you can't expect "guarantees" to be preserved across switches,if nothing else because they might well be measured in different way. if you wonder why our code was not committed, it was because there was not, and i think there is not yet, a good theoretical framework for multiprocessor proportional share scheduling, so our PS scheduler (note, not the scheduler abstraction framework, only the PS scheduler instance) would not work in the SMP case, and this apparently was a requirement for inclusion. cheers luigi From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 22:49:26 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11E3116A4CF for ; Sat, 6 Nov 2004 22:49:26 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEE843D1F for ; Sat, 6 Nov 2004 22:49:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5317D51350; Sat, 6 Nov 2004 14:52:04 -0800 (PST) Date: Sat, 6 Nov 2004 14:52:04 -0800 From: Kris Kennaway To: TWG Engineering Message-ID: <20041106225204.GA69639@xor.obsecurity.org> References: <002601c4c40c$034965d0$4200a8c0@envoi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <002601c4c40c$034965d0$4200a8c0@envoi> User-Agent: Mutt/1.4.2.1i cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 4.7-RELEASE-p27 (VKERN) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 22:49:26 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Nov 06, 2004 at 09:22:13AM -0500, TWG Engineering wrote: > Dear group, > I am interested in setting up a server for my students at University of > Indianapolis with a virtual OS configuration. I have used servers with the > VKERN configuration. I have not been able to find information on setting up > a box with whatever current release has this feature set available. Thanks > ahead of time for any information. There is no standard kernel configuration by this name; it must have been a locally-customized kernel. Kris --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBjVWUWry0BWjoQKURAt8cAKCUhL/XjAgZub2B62l8NMS1BBHuzwCgqT8z Q7CZzOT/OthFIDXFOL3K4h4= =/PV3 -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--